joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402530
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40256f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40256f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40256f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40256f
cmp dword [ecx + 0x74], 0xe
jbe 0x40256f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4080d8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408175
push ebx
push esi
call fcn.004080a1
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00408035
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408122
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408174
push edi
push eax
call fcn.00406a3b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408142
call fcn.00406b96
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408173
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00408035
add esp, 0x20
test eax, eax
jne 0x408161
push edi
call fcn.00406b96
jmp 0x408169
push ebx
call fcn.00406b96
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409384
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411048
push 0x411040
push str.FlsAlloc
push 0x1f
call fcn.00409243
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093b8
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f10c]
call esi
jmp 0x4093be
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409402
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411058
push 0x411050
push str.FlsGetValue
push 0x21
call fcn.00409243
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409439
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409441
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411060
push 0x411058
push str.FlsSetValue
push 0x22
call fcn.00409243
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40947b
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f10c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e840
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e86d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e86d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40ae65
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e170]
jne 0x40ae6f
repz ret
jmp fcn.0040b3d7
Function at 0x10007c8c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1001b5e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.100086d2
test eax, eax
jne 0x10007cb3
xor al, al
jmp 0x10007dab
push ebx
xor ebx, ebx
mov dword [ebp - 0x214], 0x104
push ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.shlwapi.dll_PathCreateFromUrlW]
test eax, eax
jns 0x10007ce1
xor al, al
jmp 0x10007daa
push edi
push ebx
push 0x80
push 3
push ebx
xor ebx, ebx
lea eax, [ebp - 0x20c]
inc ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10007da7
push 0
lea eax, [ebp - 0x218]
push eax
push 4
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
push edi
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x10007da7
cmp dword [ebp - 0x218], 4
jne 0x10007da7
push 3
lea eax, [ebp - 0x210]
push 0x10013ff4
push eax
call sub.MSVCR120.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10007d6f
push 3
lea eax, [ebp - 0x210]
push 0x10013ff8
push eax
call sub.MSVCR120.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10007da3
xor eax, eax
push eax
push eax
push eax
movsx ax, byte [ebp - 0x20d]
movzx eax, ax
push eax
call fcn.10007f50
mov ecx, dword [0x1001c610]
add esp, 0x10
mov edi, eax
mov esi, edx
call fcn.10007f50
cmp edx, esi
jb 0x10007da1
ja 0x10007da3
cmp eax, edi
jae 0x10007da3
xor ebx, ebx
mov al, bl
jmp 0x10007da9
xor al, al
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10010fb8
mov esp, ebp
pop ebp
ret 4
Function at 0x402180
Capabilities:
Query or enumerate registry value
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x403680
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4021e8
push 0
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x4036b8
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jmp 0x4021de
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push str.SoftwareMicrosoft
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402267
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0xf003f
push 1
push 0
push 0
push str.GDIPlus
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x402267
mov dword [ebp - 0xc], 0x20230217
push 4
lea ecx, [ebp - 0xc]
push ecx
push 4
push 0
push 0x403758
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x402267
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40226f
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x414ddd
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
xor dword [edx], ecx
add edx, 4
sub eax, 0xf712e726
cmp edx, esi
jne fcn.00414ddd
dec edi
push edi
mov eax, dword [esp]
add esp, 4
ret
Function at 0x404660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x404682
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
test dl, 7
jne 0x404791
mov ecx, dword [ebp + 0xc]
lea esi, [ecx + edx]
mov dword [ebp - 0x10], esi
cmp ecx, esi
je 0x40477f
mov eax, dword [ebp + 0x10]
push edi
lea edi, [ecx + 3]
lea edx, [eax + 2]
sub ecx, eax
mov dword [ebp - 0xc], edi
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], ecx
movzx ebx, byte [edi - 3]
movzx eax, byte [edi - 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + edx]
mov ecx, dword [ebp - 0xc]
shl ebx, 8
or ebx, eax
movzx eax, byte [edi]
movzx edi, byte [edi + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [ecx + 2]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 3]
shl edi, 8
or edi, eax
movzx eax, byte [ecx + 4]
shl edi, 8
or edi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
call fcn.004042a0
mov esi, dword [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor ecx, dword [ebp - 8]
xor edx, dword [ebp - 4]
mov eax, ecx
shr eax, 0x18
mov byte [esi - 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
shr eax, 8
mov byte [esi], al
mov eax, esi
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov byte [eax + 1], cl
mov ecx, esi
mov eax, edx
shr eax, 0x18
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
mov eax, edx
shr eax, 8
add edi, 8
mov byte [ecx + 4], al
mov byte [ecx + 5], dl
add ecx, 8
mov dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
lea eax, [edi - 3]
add esp, 0xc
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], edi
cmp eax, dword [ebp - 0x10]
jne 0x4046b4
mov eax, dword [ebp + 0x18]
pop edi
test eax, eax
je 0x40478b
mov esi, dword [ebp - 4]
mov dword [eax], ebx
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp + 0xc], 0x57f650
call fcn.004ae6bf
push 0x5d4370
lea eax, [ebp - 0x24]
push eax
call fcn.004adbe3
int3
Function at 0x404c80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [ebp + 0x18]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
test edi, edi
je 0x404ca1
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
test cl, 7
jne 0x404da2
mov eax, dword [ebp + 0xc]
push esi
lea esi, [eax + ecx]
cmp eax, esi
je 0x404d90
mov edi, eax
mov eax, dword [ebp + 0x10]
lea ecx, [edi + 3]
push ebx
mov dword [ebp + 0xc], ecx
lea ebx, [eax + 2]
sub edi, eax
lea ecx, [ecx]
movzx edx, byte [ecx - 3]
movzx eax, byte [ecx - 2]
shl edx, 8
or edx, eax
movzx eax, byte [edi + ebx]
shl edx, 8
or edx, eax
movzx eax, byte [ecx]
movzx ecx, byte [ecx + 1]
shl edx, 8
or edx, eax
mov eax, dword [ebp + 0xc]
xor edx, dword [ebp - 8]
movzx eax, byte [eax + 2]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [eax + 3]
or ecx, eax
mov eax, dword [ebp + 0xc]
shl ecx, 8
movzx eax, byte [eax + 4]
or ecx, eax
xor ecx, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
call fcn.004048c0
add esp, 0xc
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 0x18
mov byte [ebx - 2], al
mov eax, edx
shr eax, 0x10
mov byte [ebx - 1], al
mov eax, edx
shr eax, 8
mov byte [ebx], al
mov eax, ecx
shr eax, 0x18
mov byte [ebx + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 3], al
mov eax, ecx
mov byte [ebx + 5], cl
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
shr eax, 8
add ecx, 8
mov byte [ebx + 4], al
lea eax, [ecx - 3]
mov byte [ebx + 1], dl
mov dword [ebp - 8], edx
mov dword [ebp + 0xc], ecx
lea ebx, [ebx + 8]
cmp eax, esi
jne 0x404cd0
mov edi, dword [ebp + 0x18]
pop ebx
pop esi
test edi, edi
je 0x404d9d
mov eax, dword [ebp - 4]
mov dword [edi], edx
mov dword [edi + 4], eax
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp + 0xc], 0x57f650
call fcn.004ae6bf
push 0x5d4370
lea eax, [ebp - 0x1c]
push eax
call fcn.004adbe3
int3
Function at 0x404ed0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1060
call fcn.004ae7f0
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esi - 1]
cmp eax, 0x37
ja 0x404fe7
push ebx
push edi
push 0x1048
lea eax, [ebp - 0x104c]
push 0x57e608
push eax
call fcn.004ae030
mov ebx, dword [ebp + 0xc]
lea edi, [ebp - 0x104c]
lea eax, [ebx + esi]
mov dword [ebp - 0x1050], eax
add esp, 0xc
mov eax, ebx
mov dword [ebp - 0x1058], edi
lea esp, [esp]
mov edi, dword [ebp - 0x1050]
xor edx, edx
lea esi, [edx + 4]
jmp 0x404f40
movzx ecx, byte [eax]
shl edx, 8
inc eax
or edx, ecx
cmp eax, edi
cmove eax, ebx
dec esi
jne 0x404f40
mov edi, dword [ebp - 0x1058]
add edi, 4
xor dword [edi - 4], edx
lea ecx, [ebp - 0x1004]
mov dword [ebp - 0x1058], edi
cmp edi, ecx
jne 0x404f30
pop edi
mov dword [ebp - 0x1054], esi
mov dword [ebp - 0x1050], esi
lea esi, [ebp - 0x104c]
pop ebx
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x105c]
push eax
call fcn.004048c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi], ecx
mov dword [esi + 4], eax
mov dword [ebp - 0x1050], eax
add esi, 8
lea eax, [ebp - 4]
add esp, 0xc
mov dword [ebp - 0x1054], ecx
cmp esi, eax
jne 0x404f81
mov esi, dword [ebp + 8]
push 0x1048
lea eax, [ebp - 0x104c]
push eax
push esi
call fcn.004ae030
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004adbd4
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1050]
push eax
lea ecx, [ebp - 0x1060]
mov dword [ebp - 0x1050], str.Invalid_key_length_used_to_initialize_BlowFish.
call fcn.004ae6bf
push 0x5d4370
lea eax, [ebp - 0x1060]
push eax
call fcn.004adbe3
int3
Function at 0x4114f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562fdd
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x114]
push eax
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x114]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x411550
mov ax, word [0x580d38]
lea ecx, [ebp - 0x114]
mov word [edi], ax
dec ecx
lea ebx, [ebx]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x411570
mov eax, dword [str.LTVSrv.ini]
mov dword [ecx], eax
mov eax, dword [0x580d40]
mov dword [ecx + 4], eax
mov ax, word [0x580d44]
mov word [ecx + 8], ax
mov al, byte [0x580d46]
mov byte [ecx + 0xa], al
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
jne 0x4115d7
xor ecx, ecx
jmp 0x4115e9
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4115e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x12c]
call fcn.004059b0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x12c]
push eax
push esi
call fcn.00462010
add esp, 8
mov dword [ebp - 0x130], 1
mov byte [ebp - 4], 0
cmp dword [ebp - 0x118], 0x10
jb 0x411638
push dword [ebp - 0x12c]
call fcn.004ad196
add esp, 4
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret 4
Function at 0x413fb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5637c1
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x50], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 1
mov ecx, 0x601758
call fcn.0044e970
mov edi, eax
test edi, edi
jne 0x414021
push str.CDataManager::SaveStatistics___Failed_getting_the_data
mov ecx, esi
call fcn.004038b0
mov dword [ebp - 0x30], 1
mov eax, esi
jmp 0x4141ba
lea ecx, [ebp - 0x48]
call fcn.004a3cb0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00491250
lea ecx, [ebp - 0x48]
call fcn.004a3df0
test eax, eax
je 0x414176
lea ecx, [ebp - 0x48]
call fcn.004a3e00
test eax, eax
je 0x414176
lea ecx, [ebp - 0x48]
call fcn.004a3df0
lea ecx, [ebp - 0x48]
call fcn.004a3e00
push str.sdfsdf890890ji3245kl3245
lea ecx, [ebp - 0x2c]
call fcn.00405090
mov byte [ebp - 4], 3
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
call fcn.004a3e00
push eax
lea ecx, [ebp - 0x48]
call fcn.004a3df0
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0043eff0
mov edi, eax
mov dword [ebp - 0x54], edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004050f0
mov dword [ebp - 0x60], vtable.CArray_ptr_char_.0
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], 1
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00411d10
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x4140d7
mov eax, dword [eax]
push 0x57e5fc
push eax
call fcn.004ad4a2
add esp, 8
mov edi, eax
test edi, edi
sete bl
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
test bl, bl
je 0x41414a
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.00411d10
mov byte [ebp - 4], 6
push eax
push str.CDataManager::SaveStatistics___Failed_to_open_file:
push esi
call fcn.0040cf10
add esp, 0xc
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.00403930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.00406160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004a3d20
mov eax, esi
jmp 0x4141ba
push edi
push dword [ebp - 0x4c]
push 1
push dword [ebp - 0x54]
call fcn.004ad424
push edi
call fcn.004ad256
add esp, 0x14
push 0x5876dc
mov ecx, esi
call fcn.004038b0
mov dword [ebp - 0x30], 1
jmp 0x41412e
push str.CDataManager::SaveStatistics___Failed_serializing_data_
mov ecx, esi
call fcn.004038b0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.004a3d20
mov eax, esi
jmp 0x4141ba
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret 4
Function at 0x41d230
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
cmp byte [edi + 0x14], 0
je 0x41d297
xor al, al
jmp 0x41d437
mov byte [ebp - 0x5d], 0
push 1
push dword [edi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0049bd60
mov dword [ebp - 4], 0
lea eax, [ebp + 0x28]
push eax
lea ecx, [edi + 8]
call fcn.0041d170
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x28]
push eax
lea ecx, [edi + 8]
call fcn.0041d170
mov bl, byte [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0049bd90
test bl, bl
jne 0x41d290
mov dword [ebp - 4], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 4]
push dword [ebp - 0x80]
push dword [ebp + 0x24]
push dword [ebp - 0x78]
push dword [ebp - 0x70]
push dword [ebp - 0x88]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x84]
mov eax, dword [eax + 0x24]
call eax
mov bl, al
mov byte [ebp - 0x5d], bl
call esi
sub eax, dword [ebp - 0x6c]
cmp eax, 0x1388
jbe 0x41d3b5
call esi
sub eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00425090
mov byte [ebp - 4], 2
push eax
push str.Warning__spent
lea eax, [ebp - 0x44]
push eax
call fcn.00407110
mov byte [ebp - 4], 3
push str._ms_inside_DLL__DataBeforeReceive__
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407080
add esp, 0x20
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004453e0
mov ecx, eax
call fcn.004484e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004050f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004050f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004050f0
test bl, bl
je 0x41d3ed
cmp dword [ebp - 0x68], 0
je 0x41d3ed
push dword [ebp - 0x64]
call fcn.004acf15
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
call fcn.004ae030
add esp, 0x10
push dword [ebp - 0x68]
mov ecx, edi
call fcn.0041dc60
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x41d435
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret 0x24
Function at 0x41d460
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564b38
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5f7448]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x5d], 0
push 1
push dword [edi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0049bd60
mov dword [ebp - 4], 0
lea eax, [ebp + 0x20]
push eax
lea ecx, [edi + 8]
call fcn.0041d170
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x20]
push eax
lea ecx, [edi + 8]
call fcn.0041d170
mov bl, byte [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0049bd90
test bl, bl
je 0x41d4fa
xor al, al
jmp 0x41d643
mov dword [ebp - 4], 1
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x6c], eax
mov eax, dword [edi + 4]
push dword [ebp - 0x74]
push dword [ebp + 0x1c]
push dword [ebp - 0x70]
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp + 0xc]
push dword [ebp - 0x78]
mov eax, dword [eax + 0x44]
call eax
mov bl, al
mov byte [ebp - 0x5d], bl
call esi
sub eax, dword [ebp - 0x6c]
cmp eax, 0x1388
jbe 0x41d5c1
call esi
sub eax, dword [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00425090
mov byte [ebp - 4], 2
push eax
push str.Warning__spent
lea eax, [ebp - 0x44]
push eax
call fcn.00407110
mov byte [ebp - 4], 3
push str._ms_inside_DLL__DataBeforeReceiveA__
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407080
add esp, 0x20
mov byte [ebp - 4], 4
push 0
push eax
call fcn.004453e0
mov ecx, eax
call fcn.004484e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004050f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004050f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004050f0
test bl, bl
je 0x41d5f9
cmp dword [ebp - 0x68], 0
je 0x41d5f9
push dword [ebp - 0x64]
call fcn.004acf15
mov ecx, dword [ebp - 0x80]
mov dword [ecx], eax
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push eax
call fcn.004ae030
add esp, 0x10
push dword [ebp - 0x68]
mov ecx, edi
call fcn.0041dc60
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x41d641
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004adbd4
mov esp, ebp
pop ebp
ret 0x1c