joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, ecx
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
sub eax, 0x80
je 0x405294
sub eax, 0x40
je 0x40528c
sub eax, 0x40
jne 0x405440
mov dword [edi], 0xe
jmp 0x40529a
mov dword [edi], 0xc
jmp 0x40529a
mov dword [edi], 0xa
push esi
push ecx
push edx
lea eax, [ebp - 0x11c]
lea esi, [edi + 8]
push eax
mov dword [edi + 4], esi
call fcn.00405450
mov eax, dword [ebp - 0x11c]
add esp, 0xc
shl eax, 4
add eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
sub eax, 0x10
mov dword [esi + 0xc], ecx
add esi, 0x10
mov edi, dword [edi]
dec edi
test edi, edi
jle 0x405429
jmp 0x4052f0
movzx ecx, byte [eax + 3]
dec edi
movzx edx, byte [ecx + 0x6aca40]
movzx ecx, byte [eax + 2]
mov edx, dword [edx*4 + 0x6ae840]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae440]
movzx ecx, byte [eax + 1]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae040]
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6adc40]
mov dword [esi], edx
movzx ecx, byte [eax + 4]
movzx edx, byte [ecx + 0x6aca40]
movzx ecx, byte [eax + 7]
mov edx, dword [edx*4 + 0x6adc40]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae840]
movzx ecx, byte [eax + 6]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae440]
movzx ecx, byte [eax + 5]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae040]
mov dword [esi + 4], edx
movzx ecx, byte [eax + 8]
movzx edx, byte [ecx + 0x6aca40]
movzx ecx, byte [eax + 0xb]
mov edx, dword [edx*4 + 0x6adc40]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae840]
movzx ecx, byte [eax + 0xa]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae440]
movzx ecx, byte [eax + 9]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae040]
mov dword [esi + 8], edx
movzx ecx, byte [eax + 0xc]
movzx edx, byte [ecx + 0x6aca40]
movzx ecx, byte [eax + 0xf]
mov edx, dword [edx*4 + 0x6adc40]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae840]
movzx ecx, byte [eax + 0xe]
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae440]
movzx ecx, byte [eax + 0xd]
sub eax, 0x10
movzx ecx, byte [ecx + 0x6aca40]
xor edx, dword [ecx*4 + 0x6ae040]
mov dword [esi + 0xc], edx
add esi, 0x10
test edi, edi
jg 0x4052f0
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00575c70
mov esp, ebp
pop ebp
ret
Function at 0x406660
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576d58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x40], 0
je 0x40678d
cmp byte [edi + 0x45], 0
je 0x40678d
mov eax, dword [edi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4066b4
xor al, al
jmp 0x40678f
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x48]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmp ebx, 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
push esi
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x406721
dec eax
je 0x406725
sub eax, 2
je 0x406776
xor bl, bl
jmp 0x406778
mov byte [edi + 0x45], 0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp ebx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, ecx
sub esi, eax
je 0x406758
push dword [edi + 0x50]
cmp ebx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, ecx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x40671d
cmp byte [edi + 0x45], 0
je 0x406776
test esi, esi
lea esi, [edi + 0x48]
jne 0x4066e7
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00406840
jmp 0x4066e4
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x406789
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, bl
jmp 0x40678f
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00575c70
mov esp, ebp
pop ebp
ret
Function at 0x408bb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x69cb10
push esi
push edi
push ebx
call fcn.00421f90
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov dword [0x6b032c], ebx
call edi
shl eax, 2
push 0x21
mov dword [ebp - 4], eax
call edi
mov ebx, eax
push 4
shl ebx, 2
call edi
movdqu xmm0, xmmword [0x6ea3b3]
mov ecx, dword [0x6ea3c3]
add ebx, eax
push 0
movdqu xmmword [ebp - 0x14], xmm0
mov dword [ebp - 0x18], ecx
call edi
movdqu xmm1, xmmword [ebp - 0x14]
mov edx, dword [ebp - 4]
xor esi, esi
push esi
push dword [ebp + 8]
movdqa xmm0, xmm1
psrldq xmm1, 8
psrldq xmm0, 4
movd ecx, xmm0
push esi
push esi
cmp eax, ecx
movd eax, xmm1
cmove edx, esi
add eax, ebx
push eax
lea eax, [ecx + edx]
push eax
push esi
push 0x80000000
push 0xca0000
push 0x6b0538
push 0x6b0738
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x6b0330], esi
test esi, esi
jne 0x408c67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x5b15c4
call fcn.0040a930
push 0
push 0
push 2
mov ecx, 0x5b15c4
call fcn.0040b010
mov eax, dword [0x6ebb8c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push dword [0x69e89d]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x114]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, 0x69cd90
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004440d0
mov ecx, 0x69cd90
mov dword [ebp - 0xc], eax
call fcn.004440e0
cmp byte [ebp + 0x14], 0
mov dword [ebp - 8], eax
jne 0x408d3f
push 0x20000
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push 0
jmp 0x408d7b
push 0xca0000
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push 0xca0000
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 1
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_MoveWindow]
push 1
push dword [ebp + 0x10]
mov ecx, 0x6d1070
push dword [ebp + 0xc]
call fcn.0051df70
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [0x6ebb8c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf8]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop ebx
call fcn.00575c70
mov esp, ebp
pop ebp
ret
Function at 0x409280
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x6b09f8]
sub esp, 0x1c
mov dword [0x6b0990], 0x398
mov byte [0x6b094a], 1
mov dword [0x6b0978], 0
test al, 1
jne 0x4092c9
or eax, 1
mov ecx, 0x6b09a8
mov dword [0x6b09f8], eax
call fcn.00570b90
push 0x582a50
call fcn.00575c5b
add esp, 4
mov ecx, 0x6b09a8
call fcn.00572870
call fcn.00408ae0
push str.._Log_Debug.txt
mov dword [0x6b0970], 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x585bcc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, 0x6d1070
call fcn.00518770
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x6ea44e
push str._s__PID__d_
push 0x6b0538
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
cmp dword [0x6b0970], 0
je 0x40934d
mov ecx, 0x6b0538
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x409332
mov ax, word [0x585bdc]
mov word [ecx], ax
mov al, byte [0x585bde]
mov byte [ecx + 2], al
xor ecx, ecx
nop
mov al, byte [ecx + 0x6b0538]
lea ecx, [ecx + 1]
mov byte [ecx + 0x6b0737], al
test al, al
jne 0x409350
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00408e50
add esp, 4
mov ecx, 0x6ce4e0
push str.._Resource_QuestScript_QuestString.bin
call fcn.004ef6d0
push str.._Resource_QuestScript_QuestScript.bin
mov ecx, 0x6ce4e0
call fcn.004ef590
push str.._Resource_QuestScript_QuestNpcList.bin
mov ecx, 0x6ce4e0
call fcn.004ef3a0
mov ecx, 0x6c1c90
call fcn.004394e0
push dword [ebp + 0x14]
push esi
call fcn.00408bb0
add esp, 8
test eax, eax
jne 0x4093da
mov eax, dword [0x6b0328]
test eax, eax
je 0x4093d1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6b0328], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, edi
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
push eax
call esi
test eax, eax
je 0x409410
lea eax, [ebp - 0x1c]
push eax
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
jmp 0x4093f0
mov eax, dword [0x6b1600]
test al, 1
jne 0x409438
or eax, 1
mov ecx, 0x6b0a00
mov dword [0x6b1600], eax
call fcn.004c2770
push 0x582a60
call fcn.00575c5b
add esp, 4
mov ecx, 0x6b0a00
call fcn.004c2800
fld1
mov ecx, 0x5b15c4
fsubp st(1)
fstp qword [0x6b0998]
call fcn.0040abb0
cmp eax, 0xffffffff
jne 0x4093f0
mov eax, dword [0x6b0328]
pop edi
pop ebx
test eax, eax
je 0x409477
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x6b0328], 0
mov eax, dword [ebp - 0x14]
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40a090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push 0xf023f
push 0
push eax
push 0x80000002
mov dword [ebp - 0x10c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp + 0x10]
push eax
push 0
push esi
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [ebp - 0x104]
mov edx, 0x585acc
cmovne ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00575c70
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40a120
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf023f
push 0
push dword [ebp + 8]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [ebp + 0x14]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40a146
sub eax, esi
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4198a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6a73f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x130], esi
test esi, esi
je 0x419ab2
cmp byte [esi], 0
je 0x419ab2
lea eax, [ebp - 0x118]
mov dword [ebp - 0x118], 0
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419ab2
push ebx
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [ebp - 0x11c]
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x64
cmovne ecx, edx
mov dword [ebp - 0x12c], 0
xor edi, edi
mov dword [ebp - 0x11c], ecx
test ecx, ecx
je 0x419a91
push edi
push str._04u
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push 5
push eax
mov byte [ebp - 8], 0
call fcn.0041bf40
add esp, 0x10
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x114]
push eax
push 0x20019
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x419a57
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x120], 0x104
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push str.NetCfgInstanceId
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4199eb
push dword [ebp - 0x114]
call ebx
jmp 0x419a57
push esi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x419a07
push dword [ebp - 0x114]
call ebx
jmp 0x419a57
lea eax, [ebp - 0x120]
mov dword [ebp - 0x128], 0
push eax
lea eax, [ebp - 0x128]
mov dword [ebp - 0x120], 4
push eax
lea eax, [ebp - 0x124]
push eax
push 0
push str.Characteristics
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x114]
mov esi, eax
call ebx
test esi, esi
je 0x419a85
mov esi, dword [ebp - 0x130]
inc edi
cmp edi, dword [ebp - 0x11c]
jb 0x419956
push dword [ebp - 0x118]
call ebx
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
push dword [ebp - 0x118]
call ebx
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00575c70
mov esp, ebp
pop ebp
ret 4
Function at 0x419d10
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
push eax
push 0
mov dword [ebp - 4], 0
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x419d51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.0041bf40
add esp, 0x10
xor eax, eax
mov esp, ebp
pop ebp
ret 4
push edi
push dword [ebp - 4]
call dword [sym.imp.MSVCR120.dll_malloc]
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x419d7e
push str.GetMAC_Failed__Because_malloc_failed_
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push esi
lea eax, [ebp - 4]
mov esi, edi
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x419db9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.0041bf40
push edi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 0x14
xor eax, eax
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 8]
push ebx
xor ebx, ebx
nop
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x419dfb
cmp eax, 8
ja 0x419dfb
push eax
lea eax, [esi + 0x194]
push eax
push dword [ebp + 8]
call sub.MSVCR120.dll_memcpy
mov ebx, dword [esi + 0x190]
lea eax, [esi + 8]
add esp, 0xc
mov ecx, edi
push eax
call fcn.004198a0
shr eax, 2
test al, 1
jne 0x419e01
mov esi, dword [esi]
test esi, esi
jne 0x419dc0
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.MSVCR120.dll_free]
add esp, 4
mov eax, ebx
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4209b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x5b15cc]
push esi
mov esi, ecx
mov ecx, 0x5b15c4
push 0
mov eax, dword [eax + 8]
push 0
mov dword [eax + 0xc], 1
cmp dword [esi + 0x10], 0
je 0x4209eb
push 3
mov dword [0x6b215c], 1
call fcn.0040b010
mov dword [esi + 0x10], 0
jmp 0x4209f2
push 2
call fcn.0040b010
cmp dword [0x69e889], 0
pop esi
jne 0x420a10
mov dword [0x69e889], 1
mov ecx, 0x69e7f0
jmp fcn.004ced70
ret

Function at 0x426610
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [ecx + 0xe], 0
jne fcn.0043d770
ret
Function at 0x43cf10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579333
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0042ff90
lea ecx, [esi + 0x54]
mov dword [ebp - 4], 0
mov dword [esi], vtable.cWindow.0
call fcn.0042f100
lea ecx, [esi + 0x85d]
mov byte [ebp - 4], 1
call fcn.0042b150
xor eax, eax
mov dword [esi + 0x922], 0
mov word [esi + 0x1a], ax
mov eax, 1
mov word [esi + 0xc], ax
mov dword [esi + 0xe], eax
xor eax, eax
mov dword [esi + 0x8f1], eax
mov dword [esi + 0x87d], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x8e9], eax
mov dword [esi + 0x8ed], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x905], eax
mov dword [esi + 0x909], eax
mov dword [esi + 0x90d], eax
mov dword [esi + 8], 0
mov dword [esi + 0x12], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x881], 0xffffff
mov dword [esi + 0x885], 0xff
mov dword [esi + 0x889], 0x64
mov dword [esi + 0x16], fcn.00527460
mov dword [esi + 0x8f5], 0x3f800000
mov dword [esi + 0x8f9], 0x3f800000
mov dword [esi + 0x30], 1
mov dword [0x6c1e60], eax
mov dword [0x6c1e64], eax
mov dword [esi + 0x8b1], eax
mov dword [esi + 0x8b5], eax
mov dword [esi + 0x8b9], eax
mov dword [esi + 0x8bd], eax
movdqu xmm0, xmmword [esi + 0x8b1]
mov dword [esi + 0x8ad], eax
movdqu xmmword [esi + 0x8c1], xmm0
xorps xmm0, xmm0
movdqu xmmword [esi + 0x911], xmm0
mov dword [esi + 0x8fd], eax
mov dword [esi + 0x901], eax
mov eax, esi
mov byte [esi + 0x921], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43d160
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0xe], 0
mov dword [esi + 0x922], 0
je 0x43d2b2
cmp dword [esi + 0x28], 0
jne 0x43d2b2
cmp dword [0x69cde8], 0
push edi
mov edi, dword [ebp + 8]
jne 0x43d20b
push dword [edi + 0x260]
push dword [edi + 0x25c]
call fcn.0043d6f0
test eax, eax
je 0x43d20b
cmp dword [0x69cdbc], 0
je 0x43d1b7
cmp dword [0x69cdf8], esi
je 0x43d1ee
mov dword [esi + 0x922], 0x100000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
sub eax, dword [esi + 0x40]
cmp eax, 0x78
jbe 0x43d1ee
mov dword [0x6c1e64], 1
mov eax, dword [edi + 0x25c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x260]
mov dword [esi + 0x50], eax
cmp dword [0x69cdbc], 0
jne 0x43d23a
test byte [esi + 0xc], 0x80
je 0x43d23a
push 0
mov ecx, 0x69cb10
call fcn.004220e0
jmp 0x43d23a
cmp dword [0x6c1e60], 0
mov dword [0x6c1e64], 0
je 0x43d22e
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
jmp 0x43d23a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
cmp dword [0x69cdec], 0
jne 0x43d2a6
push dword [edi + 0x270]
mov ecx, esi
push dword [edi + 0x26c]
call fcn.0043d6f0
test eax, eax
je 0x43d2a6
cmp dword [edi + 0x220], 0
je 0x43d26d
or dword [esi + 0x922], 0x400
cmp dword [edi + 0x224], 0
je 0x43d280
or dword [esi + 0x922], 0x200
cmp dword [edi + 0x238], 0
je 0x43d293
or dword [esi + 0x922], 0x10000
cmp dword [edi + 0x23c], 0
je 0x43d2a6
or dword [esi + 0x922], 0x20000
mov eax, dword [esi + 0x922]
pop edi
pop esi
pop ebp
ret 4
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x43d770
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xe], 0
je 0x43d7de
mov ecx, dword [esi + 0x87d]
test ecx, ecx
je 0x43d7c9
mov edx, dword [esi + 0x889]
mov eax, 0x51eb851f
imul edx, dword [esi + 0x885]
mul edx
lea eax, [esi + 0x88d]
shr edx, 5
shl edx, 0x18
or edx, dword [esi + 0x881]
push edx
push eax
push ecx
mov dword [esp], 0
lea eax, [esi + 0x8f5]
push 0
push eax
call fcn.0042b1a0
mov ecx, esi
pop esi
jmp fcn.0043d9f0
mov eax, dword [0x6c1e5c]
xor ecx, ecx
cmp dword [0x6c949c], ecx
cmovne eax, ecx
mov dword [0x6c1e5c], eax
pop esi
ret
Function at 0x43d9f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x5c], 0
jne 0x43da23
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6c1e70]
cmp eax, 0x78
jbe 0x43db13
call esi
mov dword [0x6c1e70], eax
mov dword [0x6c1e60], 0
pop esi
ret
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x40]
cmp eax, 0x78
jbe 0x43db13
mov dword [0x6c1e60], 1
lea edx, [esi + 0x54]
mov dword [0x69cdd8], edx
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x4c]
add ecx, 0x1c
add eax, 0x22
mov dword [edx + 0x3a], ecx
mov dword [edx + 0x36], eax
cmp dword [esi + 0x905], 0
je 0x43daab
push 0x1d
mov ecx, 0x6d0688
call fcn.00512db0
test eax, eax
je 0x43daab
mov eax, dword [esi + 0x905]
cmp dword [eax + 8], 0
je 0x43daab
mov dword [0x69cddc], eax
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0x905]
add edx, 0x1c
mov eax, dword [esi + 0x4c]
sub eax, 0x102
mov dword [ecx + 0x36], eax
mov dword [ecx + 0x3a], edx
mov eax, dword [esi + 0x905]
mov dword [eax + 0x19c], 1
cmp dword [esi + 0x909], 0
je 0x43db13
push 0x1d
mov ecx, 0x6d0688
call fcn.00512db0
test eax, eax
je 0x43db13
mov eax, dword [esi + 0x909]
cmp dword [eax + 8], 0
je 0x43db13
mov dword [0x69cde0], eax
mov edx, dword [esi + 0x909]
mov cx, word [edx + 0x46]
add cx, 3
mov ax, cx
shl ax, 4
sub ax, cx
mov ecx, dword [esi + 0x50]
movzx eax, ax
sub ecx, eax
mov eax, dword [esi + 0x4c]
sub eax, 0x102
mov dword [edx + 0x3a], ecx
mov dword [edx + 0x36], eax
mov eax, dword [esi + 0x909]
mov dword [eax + 0x19c], 1
pop esi
ret

Function at 0x444080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.00431940

Function at 0x459670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ed36
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a73f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.CReinforceManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x14
mov byte [ebp - 4], 1
call fcn.0049a3f0
push 0x14
lea ecx, [edi + 0x28]
call fcn.0049a3f0
mov dword [edi + 0x4c], 0
mov eax, edi
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret