joyce8/EMBER2024-capa huggingface dataset:
Function at 0x58d1e2
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x600aa0
call fcn.00593688
mov edi, 0x94
mov eax, edi
call fcn.0058d180
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x7a1fc4], ecx
mov eax, dword [esi + 4]
mov dword [0x7a1fd0], eax
mov edx, dword [esi + 8]
mov dword [0x7a1fd4], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x7a1fc8], esi
cmp ecx, 2
je 0x58d242
or esi, 0x8000
mov dword [0x7a1fc8], esi
shl eax, 8
add eax, edx
mov dword [0x7a1fcc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x58d27d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x58d27d
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x58d295
cmp eax, 0x20b
je 0x58d282
mov dword [ebp - 0x1c], esi
jmp 0x58d2a9
cmp dword [ecx + 0x84], 0xe
jbe 0x58d27d
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x58d2a3
cmp dword [ecx + 0x74], 0xe
jbe 0x58d27d
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push esi
call fcn.00594079
pop ecx
test eax, eax
jne 0x58d2d5
cmp dword [0x7a2010], 1
jne 0x58d2c2
call fcn.005938aa
push 0x1c
call fcn.00593733
push 0xff
call fcn.0058ce51
pop ecx
pop ecx
call fcn.005923f8
mov dword [ebp - 4], esi
call fcn.00593eb4
test eax, eax
jge 0x58d2ee
push 0x1b
call fcn.0058d1bd
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x7a3864], eax
call fcn.00593d92
mov dword [0x7a2008], eax
call fcn.00593cf0
test eax, eax
jge 0x58d314
push 8
call fcn.0058d1bd
pop ecx
call fcn.00593abd
test eax, eax
jge 0x58d325
push 9
call fcn.0058d1bd
pop ecx
call fcn.0058ce81
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x58d338
push eax
call fcn.0058d1bd
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
call fcn.00593a54
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x58d359
movzx eax, word [ebp - 0x34]
jmp 0x58d35c
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.00414ac0
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x58d37a
push edi
call fcn.0058cfa8
call fcn.0058cfca
jmp 0x58d3ac
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.005936c3
ret
Function at 0x5931f8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0058d180
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x59328d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x7a1fc4]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x59328d
cmp eax, 1
je 0x5932a5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
je 0x59328d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x593262
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x593289
xor eax, eax
inc eax
jmp 0x5932c1
cmp esi, ebx
jae 0x593291
xor eax, eax
jmp 0x5932c1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov eax, dword [0x7a1fc4]
jmp 0x5932a7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x593733
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6240a0]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x6246b0]
je 0x593760
inc eax
cmp eax, 0x12
jb 0x593751
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x6246b0]
jne 0x593894
mov eax, dword [0x7a2010]
cmp eax, 1
je 0x59386f
cmp eax, edx
jne 0x593790
cmp dword [0x623ff4], 1
je 0x59386f
cmp ecx, 0xfc
je 0x593894
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x5937c9
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00593100
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.00593070
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x59380b
lea eax, [ebp - 0x10c]
push eax
call fcn.00593070
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x5e7260
push edi
call fcn.0058de80
add esp, 0x10
push edi
call fcn.00593070
push dword [esi + 0x6246b4]
mov ebx, eax
call fcn.00593070
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0058d180
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00593100
push edi
push ebx
call fcn.00593110
push 0x5db04c
push ebx
call fcn.00593110
push dword [esi + 0x6246b4]
push ebx
call fcn.00593110
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.0059a2ae
add esp, 0x2c
jmp 0x593894
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x6246b4]
push dword [esi]
call fcn.00593070
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0058f47f
pop edi
pop esi
pop ebx
leave
ret
Function at 0x596511
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x7a2724]
push edi
jae 0x5966d8
mov eax, esi
sar eax, 5
lea ebx, [eax*4 + 0x7a2740]
mov eax, dword [ebx]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x5966d8
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp + 0xc]
mov ecx, edi
je 0x5965b7
test dl, 2
jne 0x5965b7
test dl, 0x48
je 0x596581
mov al, byte [eax + 5]
cmp al, 0xa
je 0x596581
dec dword [ebp + 0x10]
mov byte [edi], al
mov eax, dword [ebx]
lea ecx, [edi + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebx]
push ecx
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x5965ca
call dword [sym.imp.kernel32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x5965b2
mov dword [0x7a1fbc], ecx
jmp 0x5966df
cmp eax, 0x6d
jne 0x5965be
xor eax, eax
jmp 0x5966ec
push eax
call fcn.005936d4
pop ecx
jmp 0x5966e9
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
add dword [ebp - 0xc], edx
lea ecx, [eax + esi + 4]
mov al, byte [ecx]
test al, al
jns 0x5966d3
test edx, edx
je 0x5965ed
cmp byte [edi], 0xa
jne 0x5965ed
or al, 4
jmp 0x5965ef
and al, 0xfb
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x5966cd
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x5966bd
cmp al, 0xd
je 0x596623
mov byte [edi], al
inc edi
inc dword [ebp - 8]
jmp 0x5966af
dec ecx
cmp dword [ebp - 8], ecx
jae 0x59663d
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x596638
add dword [ebp - 8], 2
jmp 0x596691
mov dword [ebp - 8], eax
jmp 0x5966ab
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x596665
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x5966ab
cmp dword [ebp - 0x10], 0
je 0x5966ab
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x48
je 0x596686
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x596691
mov byte [edi], 0xd
mov ecx, dword [ebx]
mov byte [ecx + esi + 5], al
jmp 0x5966ae
cmp edi, dword [ebp + 0xc]
jne 0x596696
cmp byte [ebp - 1], 0xa
jne 0x596696
mov byte [edi], 0xa
jmp 0x5966ae
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0059524c
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x5966af
mov byte [edi], 0xd
inc edi
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x596607
jmp 0x5966cd
mov eax, dword [ebx]
lea esi, [eax + esi + 4]
mov al, byte [esi]
test al, 0x40
jne 0x5966cd
or al, 2
mov byte [esi], al
sub edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0xc]
jmp 0x5966ec
and dword [0x7a1fbc], 0
mov dword [0x7a1fb8], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5966f1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x6240a0]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cmp ecx, dword [0x7a2724]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
jae 0x596881
mov eax, ecx
sar eax, 5
lea ebx, [eax*4 + 0x7a2740]
mov eax, dword [ebx]
mov esi, ecx
and esi, 0x1f
shl esi, 3
mov al, byte [eax + esi + 4]
test al, 1
mov dword [ebp - 0x18], ebx
je 0x596881
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
jne 0x596750
xor eax, eax
jmp 0x596895
test al, 0x20
je 0x596761
push 2
push edi
push edi
push ecx
call fcn.0059a439
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x59681d
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp + 8], edi
jbe 0x596855
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x41c]
cmp ecx, dword [ebp + 0x10]
jae 0x5967b7
mov edx, dword [ebp - 8]
inc dword [ebp - 8]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x5967a8
inc dword [ebp - 0x14]
mov byte [eax], 0xd
inc eax
inc edi
mov ebx, dword [ebp - 0x18]
mov byte [eax], dl
inc eax
inc edi
cmp edi, 0x400
jl 0x59678d
mov edi, eax
lea eax, [ebp - 0x41c]
sub edi, eax
push 0
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x5967f7
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
cmp eax, edi
jl 0x596800
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x596781
jmp 0x596802
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 8], eax
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x59687c
cmp dword [ebp + 8], edi
je 0x596855
push 5
pop eax
cmp dword [ebp + 8], eax
jne 0x59684a
mov dword [0x7a1fbc], eax
jmp 0x596888
push edi
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x59683f
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 0xc], eax
jmp 0x596802
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp + 8], eax
jmp 0x596802
push dword [ebp + 8]
call fcn.005936d4
pop ecx
jmp 0x596892
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x59686a
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
je 0x596749
mov dword [0x7a1fb8], 0x1c
mov dword [0x7a1fbc], edi
jmp 0x596892
sub eax, dword [ebp - 0x14]
jmp 0x596895
and dword [0x7a1fbc], 0
mov dword [0x7a1fb8], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.0058f47f
leave
ret
Function at 0x59a2ae
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x7a2370], ebx
push esi
push edi
jne 0x59a32e
push 0x605780
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x59a369
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x605774
push edi
call esi
test eax, eax
mov dword [0x7a2370], eax
je 0x59a369
push 0x605764
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x7a2374], eax
call esi
cmp dword [0x7a1fc4], 2
mov dword [0x7a2378], eax
jne 0x59a32e
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x7a2380], eax
je 0x59a32e
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x7a237c], eax
mov eax, dword [0x7a237c]
test eax, eax
je 0x59a373
call eax
test eax, eax
je 0x59a35a
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x7a2380]
test eax, eax
je 0x59a35a
test byte [ebp - 8], 1
jne 0x59a373
cmp dword [0x7a1fd0], 4
jb 0x59a36d
or byte [ebp + 0x12], 0x20
jmp 0x59a392
xor eax, eax
jmp 0x59a3a2
or byte [ebp + 0x12], 4
jmp 0x59a392
mov eax, dword [0x7a2374]
test eax, eax
je 0x59a392
call eax
mov ebx, eax
test ebx, ebx
je 0x59a392
mov eax, dword [0x7a2378]
test eax, eax
je 0x59a392
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x7a2370]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x59aa92
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0058d180
mov eax, dword [0x6240a0]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x7a2724]
mov dword [ebp - 4], eax
jae 0x59abd2
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x7a2740]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x59abd2
push 1
push esi
push ebx
call fcn.0059524c
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x59abdc
push 2
push esi
push ebx
call fcn.0059524c
add esp, 0xc
cmp eax, 0xffffffff
je 0x59abdc
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x59ab7f
push 0x1000
lea eax, [ebp - 0x1008]
push esi
push eax
call fcn.00596d20
push 0x8000
push ebx
call fcn.0059b495
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x59ab3e
mov eax, edi
push eax
lea eax, [ebp - 0x1008]
push eax
push ebx
call fcn.005966f1
add esp, 0xc
cmp eax, 0xffffffff
je 0x59ab5c
sub edi, eax
test edi, edi
jg 0x59ab33
jmp 0x59ab72
cmp dword [0x7a1fbc], 5
jne 0x59ab6f
mov dword [0x7a1fb8], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0059b495
pop ecx
pop ecx
jmp 0x59abbf
jge 0x59abbf
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0059524c
push ebx
call fcn.00599dbb
add esp, 0x10
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x59abbf
mov dword [0x7a1fb8], 0xd
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [0x7a1fbc], eax
push 0
push dword [ebp - 8]
push ebx
call fcn.0059524c
add esp, 0xc
mov eax, esi
pop edi
jmp 0x59abdf
mov dword [0x7a1fb8], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.0058f47f
leave
ret
Function at 0x5c5350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0xa8]
push esi
xor esi, esi
push edi
xor edi, edi
cmp eax, esi
mov dword [esp + 8], esi
je 0x5c5548
mov ecx, dword [esp + 0xac]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0xb4]
cmp dword [edx], 0
mov dword [esp + 0x18], 0
je 0x5c54b5
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
mov dword [esp + 0x14], eax
mov edi, edi
mov ecx, dword [eax]
xor ebx, ebx
test ecx, ecx
je 0x5c5471
lea esp, [esp]
mov eax, edi
cdq
and edx, 3
add eax, edx
mov edx, edi
sar eax, 2
and edx, 0x80000003
jns 0x5c53da
dec edx
or edx, 0xfffffffc
inc edx
lea ecx, [edx + eax*4]
mov eax, esi
cdq
and edx, 3
add eax, edx
mov edx, esi
shl ecx, 2
sar eax, 2
and edx, 0x80000003
jns 0x5c53fa
dec edx
or edx, 0xfffffffc
inc edx
mov ebp, dword [esp + 0x24]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov edx, dword [ecx + edx]
shl eax, 2
mov dword [eax + ebp], edx
mov edx, dword [esp + 0x78]
mov edx, dword [ecx + edx]
mov ebp, dword [esp + 0x30]
mov dword [eax + ebp], edx
mov edx, dword [esp + 0x84]
mov edx, dword [ecx + edx]
mov ebp, dword [esp + 0x3c]
mov dword [eax + ebp], edx
mov edx, dword [esp + 0x90]
mov edx, dword [ecx + edx]
mov ebp, dword [esp + 0x48]
mov dword [eax + ebp], edx
mov edx, dword [esp + 0x9c]
mov edx, dword [ecx + edx]
mov ebp, dword [esp + 0x54]
mov dword [eax + ebp], edx
mov edx, dword [esp + 0xa8]
mov ecx, dword [ecx + edx]
mov ebp, dword [esp + 0x60]
mov dword [eax + ebp], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
inc esi
inc edi
inc ebx
cmp ebx, ecx
jne 0x5c53c0
mov ecx, edi
and ecx, 0x80000003
jns 0x5c5480
dec ecx
or ecx, 0xfffffffc
inc ecx
je 0x5c548b
mov edx, 4
sub edx, ecx
add edi, edx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xb4]
mov ebx, dword [edx]
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
add eax, 4
inc ecx
cmp ecx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
jne 0x5c53b0
mov ebx, esi
mov ecx, esi
and ecx, 0x80000003
jns 0x5c54c6
dec ecx
or ecx, 0xfffffffc
inc ecx
mov eax, esi
je 0x5c54cf
sub eax, ecx
add eax, 4
cmp ebx, eax
je 0x5c5526
mov eax, esi
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0x30]
sar eax, 2
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x24]
shl eax, 2
mov dword [eax + ecx], 0
mov ecx, dword [esp + 0x3c]
mov dword [eax + edx], 0
mov edx, dword [esp + 0x48]
mov dword [eax + ecx], 0
mov ecx, dword [esp + 0x54]
mov dword [eax + edx], 0
mov dword [eax + ecx], 0
inc esi
mov dword [eax + ebp], 0
inc ebx
jmp 0x5c54b7
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x1c]
add ecx, 4
dec eax
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x1c], eax
jne 0x5c5384
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x405d7e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1244], 0
push esi
jne 0x405db5
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d8f
mov dword [ecx*4 + 0x7a1240], eax
inc ecx
cmp ecx, 0x100
jl 0x405d8a
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405de6
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1240]
xor eax, esi
inc ecx
dec edx
jne 0x405dc8
pop edi
not eax
pop esi
ret 0xc

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x402350
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
push 0
push 4
push 0
push 0
push 0x432b7c
mov esi, ecx
call fcn.00410350
mov dword [esi + 8], eax
mov dword [eax + 0x44], 0x3f1
mov eax, dword [esi + 8]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ebx, ebx
mov eax, dword [esi + 8]
test eax, eax
je 0x40238b
cmp dword [eax + 0x20], 0
jne 0x40239b
cmp ebx, 0x14
jge 0x40239b
push 0x64
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40237e
mov ecx, dword [eax + 0x20]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x10], eax
pop esi
pop ebx
ret

Function at 0x402a13
Capabilities:
Get file version info

Disassembly:
push 0x3c
mov eax, 0x42f846
call fcn.00419a9a
mov dword [ebp - 0x28], ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
push edi
call fcn.0040867b
pop ecx
mov esi, eax
push esi
push edi
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x402aa1
push dword [ebp + 0xc]
push 0x432f50
push 0x4423fc
call fcn.00401480
add esp, 0xc
mov ecx, 0x442358
call fcn.0040678d
push esi
call fcn.00408686
pop ecx
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401039
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401039
mov eax, esi
call fcn.00419b72
ret 8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x432eb8
push esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
call sub.VERSION.dll_VerQueryValueW
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + 0xa]
mov dword [ebp - 0x38], ecx
movzx ecx, word [eax + 8]
mov dword [ebp - 0x34], ecx
movzx ecx, word [eax + 0xe]
movzx eax, word [eax + 0xc]
push esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
call fcn.00408686
pop ecx
lea eax, [ebp - 0x1c]
push eax
mov edi, 0x432f4c
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.00402960
mov esi, 0x432808
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004023e2
test eax, eax
je 0x402b57
lea ebx, [ebp - 0x48]
push dword [ebp - 0x10]
call fcn.00419bba
pop ecx
mov dword [ebx], eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00402960
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00401430
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401039
push esi
lea ecx, [ebp - 0x10]
add ebx, 4
call fcn.004023e2
test eax, eax
jne 0x402b0f
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004022c0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
test eax, eax
je 0x402b7e
call fcn.00401039
xor esi, esi
inc esi
jmp 0x402a81
call fcn.00401039
jmp 0x402a7f