joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417bc0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 0xc]
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
call fcn.004177c0
cmp dword [esi + 0xc], 0
je 0x417c49
mov ebx, dword [sym.imp.WSOCK32.dll_select]
mov edi, 1
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x28], eax
push 0
add eax, 1
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x417bf1
jl 0x417c55
cmp eax, edi
jg 0x417c55
mov eax, dword [esi + 4]
lea edx, [esp + 0x18]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x417c43
mov ecx, esi
call fcn.004178a0
test eax, eax
je 0x417c69
cmp dword [esi + 0xc], 0
jne 0x417bf1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str..VSocket.cpp:_tsocket_error_in_select___n
push 4
push 0x457788
call fcn.00401860
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x417cd0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esp + 4], 1
jl 0x417ce7
call fcn.00417b40
push 0
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
test eax, eax
mov dword [esi + 4], eax
jge 0x417cff
xor eax, eax
pop esi
pop ecx
ret
push edi
mov edi, dword [sym.imp.WSOCK32.dll_setsockopt]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0xffff
push eax
call edi
test eax, eax
je 0x417d21
pop edi
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 1
push 6
push eax
call edi
neg eax
sbb eax, eax
neg eax
pop edi
sub eax, 1
pop esi
pop ecx
ret

Function at 0x418df0
Capabilities:
Terminate process

Disassembly:
push ebx
xor edx, edx
xor bl, bl
cmp eax, 8
push ebp
mov ebp, dword [esp + 0xc]
je 0x418e32
cmp eax, 0x10
jne 0x418e0a
movzx eax, word [esi]
pop ebp
pop ebx
ret
cmp eax, 0x20
jne 0x418e14
mov eax, dword [esi]
pop ebp
pop ebx
ret
push eax
push str.getBgColour:_bpp__d__n
call fcn.0043538e
add eax, 0x40
push eax
call fcn.0043523f
add esp, 0xc
push 1
call fcn.004351b3
push edi
xor eax, eax
mov ecx, 0x100
mov edi, 0x457cb8
rep stosd dword es:[edi], eax
xor ecx, ecx
test ebp, ebp
jle 0x418e78
lea edi, [eax + 1]
lea ebx, [ebx]
movzx eax, byte [ecx + esi]
cmp eax, 0x100
jge 0x418e7f
add dword [eax*4 + 0x457cb8], edi
mov eax, dword [eax*4 + 0x457cb8]
cmp eax, edx
jle 0x418e72
mov bl, byte [ecx + esi]
mov edx, eax
add ecx, edi
cmp ecx, ebp
jl 0x418e50
pop edi
pop ebp
movzx eax, bl
pop ebx
ret
push eax
push str.getBgColour
push str._s:_unusual_colour___d_n
call fcn.0043538e
add eax, 0x40
push eax
call fcn.0043523f
add esp, 0x10
push edi
call fcn.004351b3
int3
Function at 0x41b660
Capabilities:
Terminate process

Disassembly:
push ebx
xor edx, edx
xor bl, bl
cmp eax, 8
push ebp
mov ebp, dword [esp + 0xc]
je 0x41b6a2
cmp eax, 0x10
jne 0x41b67a
movzx eax, word [esi]
pop ebp
pop ebx
ret
cmp eax, 0x20
jne 0x41b684
mov eax, dword [esi]
pop ebp
pop ebx
ret
push eax
push str.getBgColour:_bpp__d__n
call fcn.0043538e
add eax, 0x40
push eax
call fcn.0043523f
add esp, 0xc
push 1
call fcn.004351b3
push edi
xor eax, eax
mov ecx, 0x100
mov edi, 0x4580c0
rep stosd dword es:[edi], eax
xor ecx, ecx
test ebp, ebp
jle 0x41b6e8
lea edi, [eax + 1]
lea ebx, [ebx]
movzx eax, byte [ecx + esi]
cmp eax, 0x100
jge 0x41b6ef
add dword [eax*4 + 0x4580c0], edi
mov eax, dword [eax*4 + 0x4580c0]
cmp eax, edx
jle 0x41b6e2
mov bl, byte [ecx + esi]
mov edx, eax
add ecx, edi
cmp ecx, ebp
jl 0x41b6c0
pop edi
pop ebp
movzx eax, bl
pop ebx
ret
push eax
push str.getBgColour
push str._s:_unusual_colour___d_n
call fcn.0043538e
add eax, 0x40
push eax
call fcn.0043523f
add esp, 0x10
push edi
call fcn.004351b3
int3
Function at 0x41d140
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x428
xor eax, eax
cmp byte [ecx + 0x22], al
push ebx
push esi
push edi
setne al
push 0x400
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x38]
push 0
push ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], eax
call fcn.004326b0
mov esi, dword [esp + 0x448]
xor edi, edi
xor ebx, ebx
add esp, 0xc
test esi, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
jle 0x41d2c3
push ebp
jmp 0x41d197
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x43c]
cmp ebx, edx
jge 0x41d2c2
mov eax, esi
sub eax, edi
xor ecx, ecx
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x30], eax
jle 0x41d298
mov eax, edx
sub eax, ebx
add eax, 0xfffffff9
mov dword [esp + 0x2c], eax
mov eax, edi
imul eax, edx
mov dword [esp + 0x1c], eax
jmp 0x41d1da
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x2c]
jge 0x41d298
add eax, ecx
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x1974]
mov ecx, dword [esp + 0x28]
lea eax, [edx + eax*4]
movzx edi, byte [ecx + eax]
movzx ebx, byte [ecx + eax + 1]
movzx ebp, byte [ecx + eax + 2]
add ecx, eax
mov eax, 7
add ecx, 6
add dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
jmp 0x41d220
movzx esi, byte [ecx - 2]
mov eax, esi
sub eax, edi
cdq
xor eax, edx
sub eax, edx
add dword [esp + eax*4 + 0x38], 1
lea eax, [esp + eax*4 + 0x38]
mov edi, esi
movzx esi, byte [ecx - 1]
mov eax, esi
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
add dword [esp + eax*4 + 0x38], 1
lea eax, [esp + eax*4 + 0x38]
mov ebx, esi
movzx esi, byte [ecx]
mov eax, esi
sub eax, ebp
cdq
xor eax, edx
sub eax, edx
add dword [esp + eax*4 + 0x38], 1
lea eax, [esp + eax*4 + 0x38]
add ecx, 4
sub dword [esp + 0x24], 1
mov ebp, esi
jne 0x41d220
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x43c]
add dword [esp + 0x1c], edx
mov esi, dword [esp + 0x440]
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
jl 0x41d1d2
cmp edx, esi
jle 0x41d2aa
add dword [esp + 0x10], esi
mov dword [esp + 0x14], 0
jmp 0x41d2b6
add dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x14]
cmp edi, esi
jl 0x41d193
pop ebp
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov eax, esi
shl eax, 5
add eax, esi
cdq
idiv edi
cmp eax, 0x5f
jl 0x41d2e8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x428
ret 8
xor eax, eax
mov ecx, 1
nop
mov edx, dword [esp + ecx*4 + 0x34]
mov ebx, edx
imul ebx, ecx
imul ebx, ecx
add eax, ebx
test edx, edx
je 0x41d2da
mov ebx, dword [esp + ecx*4 + 0x30]
add ebx, ebx
cmp edx, ebx
jg 0x41d2da
add ecx, 1
cmp ecx, 8
jl 0x41d2f0
cmp ecx, 0x100
jge 0x41d337
lea esp, [esp]
mov edx, dword [esp + ecx*4 + 0x34]
imul edx, ecx
imul edx, ecx
add ecx, 1
add eax, edx
cmp ecx, 0x100
jl 0x41d320
lea ecx, [edi + edi*2]
pop edi
sub ecx, esi
xor edx, edx
pop esi
div ecx
pop ebx
add esp, 0x428
ret 8
Function at 0x421880
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x423a20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
test eax, eax
push esi
mov esi, 4
mov dword [esp + 4], esi
mov dword [esp + 8], esi
jne 0x423a44
mov eax, dword [esp + 0x18]
pop esi
add esp, 8
ret 0xc
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423a39
cmp dword [esp + 4], esi
jne 0x423a39
cmp dword [esp + 8], esi
mov eax, dword [esp + 0x18]
jne 0x423a79
mov eax, dword [esp + 0x10]
pop esi
add esp, 8
ret 0xc

Function at 0x423a80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 4], 3
mov dword [esp], 8
jne 0x423aa2
xor eax, eax
add esp, 0x10
ret 0xc
lea ecx, [esp]
push ecx
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423a9a
cmp dword [esp], 8
jg 0x423a9a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, 1
add esp, 0x10
ret 0xc

Function at 0x423af0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
mov esi, 1
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0
jne 0x423b18
pop edi
xor eax, eax
pop esi
add esp, 8
ret 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push edi
call ebp
test eax, eax
jne 0x423b78
cmp dword [esp + 0x10], esi
jne 0x423b78
mov edx, dword [esp + 0x14]
push edx
call fcn.00432007
mov esi, eax
add esp, 4
test esi, esi
je 0x423b78
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
push 0
push ebx
push edi
call ebp
test eax, eax
jne 0x423b6f
cmp dword [esp + 0x10], 1
je 0x423b84
push esi
call fcn.00432002
add esp, 4
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 8
ret 8
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
add esp, 8
ret 8

Function at 0x4240e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push 8
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 0xc
Function at 0x425739
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x425791
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x44cbd4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x425784
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x425793
xor eax, eax
pop esi
leave
ret 4

Function at 0x429010
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
xor eax, eax
cmp dword [ecx + 0x28], eax
jne 0x429028
cmp dword [ecx + 0x2c], eax
jne 0x429028
mov dword [ecx + 0x34], eax
add esp, 4
jmp fcn.00428f10
mov byte [esp + 3], al
push 0x452514
lea eax, [esp + 7]
push eax
call fcn.00432b14
int3
Function at 0x437e06
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4567b0]
je 0x437e21
inc edi
cmp edi, 0x17
jb 0x437e12
cmp edi, 0x17
jae 0x437fa1
push ebp
push 3
call fcn.0043ee6c
cmp eax, 1
pop ecx
je 0x437f6d
push 3
call fcn.0043ee6c
test eax, eax
pop ecx
jne 0x437e55
cmp dword [0x456660], 1
je 0x437f6d
cmp ebx, 0xfc
je 0x437fa0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x458740
push ebp
call fcn.004398b8
add esp, 0xc
test eax, eax
je 0x437e8b
push esi
push esi
push esi
push esi
push esi
call fcn.004329e4
add esp, 0x14
push 0x104
mov esi, 0x458759
push esi
push 0
mov byte [0x45885d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x437ecf
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004398b8
add esp, 0xc
test eax, eax
je 0x437ecf
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004329e4
add esp, 0x14
push esi
call fcn.00439920
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x437f14
push esi
call fcn.00439920
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x458a54
push 0x44f87c
sub ecx, eax
push ecx
push eax
call fcn.0043edb9
add esp, 0x14
test eax, eax
je 0x437f14
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004329e4
add esp, 0x14
jmp 0x437f16
xor esi, esi
push 0x44f878
push ebx
push ebp
call fcn.0043ed48
add esp, 0xc
test eax, eax
je 0x437f36
push esi
push esi
push esi
push esi
push esi
call fcn.004329e4
add esp, 0x14
push dword [edi*8 + 0x4567b4]
push ebx
push ebp
call fcn.0043ed48
add esp, 0xc
test eax, eax
je 0x437f58
push esi
push esi
push esi
push esi
push esi
call fcn.004329e4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0043eb8b
add esp, 0xc
jmp 0x437fa0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x437fa0
cmp ebp, 0xffffffff
je 0x437fa0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4567b4]
push dword [esi]
call fcn.00439920
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x438ebd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456894]
jne 0x438ec7
repz ret
jmp fcn.0043ef28
Function at 0x43eb8b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00438fa6
xor ebx, ebx
cmp dword [0x458cec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43ec61
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43ed41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4501cc
push edi
call esi
cmp eax, ebx
je 0x43ed41
push eax
call fcn.00438f38
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x458cec], eax
call esi
push eax
call fcn.00438f38
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x458cf0], eax
call esi
push eax
call fcn.00438f38
mov dword [0x458cf4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00434fcc
test eax, eax
pop ecx
pop ecx
je 0x43ec2f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004329e4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43ec61
push 0x45018c
push edi
call esi
push eax
call fcn.00438f38
cmp eax, ebx
pop ecx
mov dword [0x458cfc], eax
je 0x43ec61
push 0x450174
push edi
call esi
push eax
call fcn.00438f38
pop ecx
mov dword [0x458cf8], eax
mov eax, dword [0x458cf8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43ece6
cmp dword [0x458cfc], ecx
je 0x43ece6
push eax
call fcn.00438faf
push dword [0x458cfc]
mov esi, eax
call fcn.00438faf
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43ece6
cmp edi, ebx
je 0x43ece6
call esi
cmp eax, ebx
je 0x43ecb3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ecb3
test byte [ebp - 0x18], 1
jne 0x43ece6
lea eax, [ebp - 0x10]
push eax
call fcn.00435003
test eax, eax
pop ecx
je 0x43ecce
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004329e4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43ecdd
or dword [ebp + 0x10], 0x200000
jmp 0x43ed21
or dword [ebp + 0x10], 0x40000
jmp 0x43ed21
mov eax, dword [0x458cf0]
cmp eax, dword [ebp - 8]
je 0x43ed21
push eax
call fcn.00438faf
cmp eax, ebx
pop ecx
je 0x43ed21
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43ed21
mov eax, dword [0x458cf4]
cmp eax, dword [ebp - 8]
je 0x43ed21
push eax
call fcn.00438faf
cmp eax, ebx
pop ecx
je 0x43ed21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x458cec]
call fcn.00438faf
cmp eax, ebx
pop ecx
je 0x43ed41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ed43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a1c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x4c4030], 0x8088405
inc edx
mov dword [0x4c4030], edx
mul edx
mov eax, edx
ret

Function at 0x4203d8
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret

Function at 0x425630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x4257dc
inc esi
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00424484
pop ecx
test al, al
jne 0x425675
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00425910
xor ebx, ebx
jmp 0x4257dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [ebp - 0x10]
ja 0x425694
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.00425910
xor ebx, ebx
jmp 0x4257dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.00437154
test eax, eax
jne 0x4256cc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.00425910
xor ebx, ebx
jmp 0x4257dc
test byte [ebp - 0xc], 1
je 0x4257d5
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00424484
pop ecx
test al, al
jne 0x425700
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00425910
xor ebx, ebx
jmp 0x4257dc
mov edx, 0x422468
mov eax, 0xc
call fcn.00403c48
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4257a8
push dword fs:[eax]
mov dword fs:[eax], esp
mov edi, dword [ebp - 8]
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.0040396c
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040380c
mov edx, dword [ebp - 4]
call fcn.00424484
pop ecx
test al, al
jne 0x42576b
mov edx, 0x422468
mov eax, dword [ebp - 8]
call fcn.00403c5c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.00425910
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4257dc
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00421910
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.00421ba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4257d5
dec esi
jne 0x42564b
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ac10
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4c4740
mov eax, esi
mov edx, 8
test al, 1
je 0x45ac2c
shr eax, 1
xor eax, 0xedb88320
jmp 0x45ac2e
shr eax, 1
dec edx
jne 0x45ac1f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x45ac18
pop esi
ret

Function at 0x45ac5b
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4c473c], 0
jne 0x45ac67
call fcn.0045ac10
push 1
push 0x4c473c
call fcn.00405964
mov eax, edi
test esi, esi
je 0x45ac92
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x4c4740]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x45ac6d
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x474c58
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov esi, eax
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.0045a500
lea edx, [esp + 4]
mov ecx, 0x40
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
cmp eax, 0x40
jne 0x474cbe
cmp byte [esp + 4], 0x4d
jne 0x474cbe
cmp byte [esp + 5], 0x5a
jne 0x474cbe
cmp dword [esp + 0x40], 0
je 0x474cbe
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.0045a500
mov edx, esp
mov ecx, 4
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
cmp eax, 4
jne 0x474cbe
cmp dword [esp], 0x4550
jne 0x474cbe
mov bl, 1
mov eax, ebx
add esp, 0x44
pop edi
pop esi
pop ebx
ret

Function at 0x4b2414
Capabilities:
Encode data using xor

Disassembly:
inc eax
add byte [esp + esi*2 + 7], ch
or dword [ebx + 4], 0x1e8c3
mov eax, dword [esi + 0x24]
mov dword [ebx + 0xc], eax
or al, 0x46
sub byte [ebx + eax*2 + 0x10], ch
or al, 0x46
sub al, 1
inc ebx
adc al, 0xc
inc esi
xor ah, al
inc ebx
sbb byte [eax + 0x1a], al
mov dword [ebx + 0x1c], eax
mov edi, dword [esi - 0x64]
test eax, 0xe80a004a
push eax
call 0x8e0e443f
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], 0xfffff70b
mov dword [ebx + 0x28], fcn.00405f44
inc esp
pop edi
inc eax
add byte [edi], ch
add byte [eax - 0x18], dl
enter 0xfffffffffffff58d, 0x13
inc esp
pop edi
inc eax
add byte [edi], ch
add byte [eax - 0x18], dl
enter 0xfffffffffffff58d, 0x13
notrack call 0x3d40b7fb
inc eax
sbb cl, byte [ecx - 0x6a72bfbd]
les ecx, [ecx]
add byte [eax], al
mov eax, dword [esi]
call 0x58b52bcb
jne 0x4b23d0
les ecx, [ecx]
add byte [eax], al
mov dl, 0x40
add al, ch
add al, 0x12
add byte [eax], al
cmp byte [ebx + 0x3a], 0x8d
inc ebx
dec esp
call 0x64a4750f
mov dword [eax], edx
push 0x4abef9
call 0x4b6f30d2
nop
mov dl, 0x40
add al, ch
les edx, [eax]
xor edx, dword [eax + 0x13]
jmp 0x15d318f
Function at 0x40ca61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428300]
jne 0x40ca6b
repz ret
jmp fcn.00411325

Function at 0x419087
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00411571
xor ebx, ebx
cmp dword [0x4633bc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41915c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4190c7
xor eax, eax
jmp 0x419220
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4190c0
push eax
call fcn.0041150e
mov dword [esp], 0x422258
push edi
mov dword [0x4633bc], eax
call esi
push eax
call fcn.0041150e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4633c0], eax
call esi
push eax
call fcn.0041150e
mov dword [0x4633c4], eax
lea eax, [ebp - 8]
push eax
call fcn.00412b24
test eax, eax
pop ecx
pop ecx
je 0x41912a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cb47
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41915c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041150e
cmp eax, ebx
pop ecx
mov dword [0x4633cc], eax
je 0x41915c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041150e
pop ecx
mov dword [0x4633c8], eax
mov eax, dword [0x4633c8]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4191d5
cmp dword [0x4633cc], esi
je 0x4191d5
push eax
call fcn.0041157a
pop ecx
call eax
cmp eax, ebx
je 0x4191a2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4633cc]
call fcn.0041157a
pop ecx
call eax
test eax, eax
je 0x4191a2
test byte [ebp - 0x18], 1
jne 0x4191d5
lea eax, [ebp - 0xc]
push eax
call fcn.00412b5b
test eax, eax
pop ecx
je 0x4191bd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040cb47
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4191cc
or dword [ebp + 0x10], 0x200000
jmp 0x419206
or dword [ebp + 0x10], 0x40000
jmp 0x419206
mov eax, dword [0x4633c0]
cmp eax, esi
je 0x419206
push eax
call fcn.0041157a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x419206
mov eax, dword [0x4633c4]
cmp eax, esi
je 0x419206
push dword [ebp - 4]
push eax
call fcn.0041157a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4633bc]
call fcn.0041157a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret