joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420125
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x4201e2
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x420163
push 1
call fcn.004201f8
pop ecx
jmp 0x4201e0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4201a2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4201a0
push 0x2000
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x4201e0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4201e0
push 1
push 1
push 0x70d9
push 1
push 0x77b3
push 0x1f9f
push 1
push 0x6a63
push 0
push 1
call fcn.0041a496
add esp, 0x28
jmp 0x4201f4
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x30]
call fcn.0040e550
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c16b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x42c1f8
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x42c19f
push 0
call fcn.00435ef2
pop ecx
jmp 0x42c1f6
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x42c1bd
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jmp 0x42c1f6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x42c1df
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xa
jne 0x42c1f6
mov dword [ebp - 8], 0x90ef307d
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x42c1d4
jmp 0x42c218
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
push eax
push 0
call fcn.0042c14c
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x42c807
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x42c84b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push 0
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
push eax
push 0x6640
push 1
push 0x11ac
push 0x49ab
call fcn.0042f32a
add esp, 0x1c
jmp 0x42c8da
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x42c8b5
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x42c89d
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x42c89b
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x42c8b3
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_RectVisible]
jmp 0x42c8da
push 0x5a68
push 0x5403
push 0
push 0x7e27
push 0x62
push 0x4ed7
push 0x3e9b
call fcn.0042c7a1
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x4301f5
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x430228
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
push 1
push dword [ebp - 0x10]
call fcn.0043035e
add esp, 0xc
jmp 0x43035a
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4302cc
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x4302aa
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4302a8
push 0x264b
push 0x65e5
push 0
push 0x33ac
push 1
push 0x7ad5
push 0
push 1
push 1
call fcn.004301f5
add esp, 0x24
jmp 0x4302c7
push 0
push 0xc43
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPointW]
jmp 0x43035a
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x430308
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x430306
push 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x43035a
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x14
jmp 0x43032a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffeb
jne 0x43035a
mov dword [ebp - 0x54], 0xf76ec751
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x430350
push 0x9bc
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
cmp dword [ebp - 0x54], 0
je 0x430358
jmp 0x43035a
jmp 0x43031f
mov esp, ebp
pop ebp
ret
Function at 0x431907
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x431937
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 1
push 0x4b64
push 0x32fa
call fcn.004319cc
add esp, 0x10
jmp 0x4319c8
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x4319a1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x431994
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x43199f
push 0x9bc
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
jmp 0x4319c8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x38]
call fcn.00432b73
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x434aef
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x434b27
mov eax, dword [ebp + 0x24]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0xc], eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
push eax
push 1
push 0x700a
call fcn.00434c3c
add esp, 0x10
jmp 0x434c38
lea eax, [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x434be6
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x434bd7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x54]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x434be4
push 0
push 0x18a1
call dword [sym.imp.GDI32.dll_CreateHatchBrush]
jmp 0x434c38
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x434c17
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x434c15
push 0
push 0x1f3a
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
jmp 0x434c38
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x434c38
push 0x2000
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x436f6b
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x4370b8
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x4c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x43701e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x54]
push dword [ebp - 0x24]
push dword [ebp - 0x7c]
push 0x2764
push 0x75e9
push dword [ebp - 0x2c]
push 1
push dword [ebp - 0x5c]
call fcn.004370da
add esp, 0x20
jmp 0x4370b6
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x4370ae
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
push 0
mov eax, dword [ebp - 0x60]
push dword [eax]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x80]
call fcn.0044c2f8
jmp 0x4370b6
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x4370d6
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x88]
push 0
push 0x78bc
call fcn.0043a24c
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x46b8bd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x47993f
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48c484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00469774
mov dword [ebp - 0x14], eax
cmp dword [0xa85cf0], esi
jne 0x479a32
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4799bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x479b12
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x479b12
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x479b12
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa85cf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa85cf4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa85cf8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa85d00], eax
test eax, eax
je 0x479a2f
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa85cfc], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x479a57
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x479a4a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x479a6c
push 4
pop eax
jmp 0x479b14
cmp dword [ebp - 0x14], esi
je 0x479a6c
push dword [0xa85cf0]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x479a51
mov eax, dword [0xa85cfc]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x479aca
cmp dword [0xa85d00], edi
je 0x479aca
push eax
call ebx
push dword [0xa85d00]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x479aca
test eax, eax
je 0x479aca
call ecx
test eax, eax
je 0x479abf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x479abf
test byte [ebp - 8], 1
jne 0x479aca
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x479afa
mov eax, dword [0xa85cf4]
cmp eax, edi
je 0x479af7
push eax
call ebx
test eax, eax
je 0x479af7
call eax
mov esi, eax
test esi, esi
je 0x479af7
mov eax, dword [0xa85cf8]
cmp eax, edi
je 0x479af7
push eax
call ebx
test eax, eax
je 0x479af7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa85cf0]
call ebx
test eax, eax
je 0x479b12
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x479b14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468c1b
mov esp, ebp
pop ebp
ret
Function at 0x40fad8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4231e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040be3e
mov dword [ebp - 0x14], eax
cmp dword [0x425020], esi
jne 0x40fbcb
push 0x800
push esi
push 0x41e8e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40fb58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40fcab
push esi
push esi
push 0x41e8e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40fcab
push 0x41e900
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40fcab
push eax
call ebx
push 0x41e90c
push edi
mov dword [0x425020], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x41e91c
push edi
mov dword [0x425024], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x41e930
push edi
mov dword [0x425028], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425030], eax
test eax, eax
je 0x40fbc8
push 0x41e94c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42502c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40fbf0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40fbe3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40fc05
push 4
pop eax
jmp 0x40fcad
cmp dword [ebp - 0x14], esi
je 0x40fc05
push dword [0x425020]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40fbea
mov eax, dword [0x42502c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40fc63
cmp dword [0x425030], edi
je 0x40fc63
push eax
call ebx
push dword [0x425030]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40fc63
test eax, eax
je 0x40fc63
call ecx
test eax, eax
je 0x40fc58
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40fc58
test byte [ebp - 8], 1
jne 0x40fc63
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40fc93
mov eax, dword [0x425024]
cmp eax, edi
je 0x40fc90
push eax
call ebx
test eax, eax
je 0x40fc90
call eax
mov esi, eax
test esi, esi
je 0x40fc90
mov eax, dword [0x425028]
cmp eax, edi
je 0x40fc90
push eax
call ebx
test eax, eax
je 0x40fc90
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x425020]
call ebx
test eax, eax
je 0x40fcab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40fcad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407df4
mov esp, ebp
pop ebp
ret
Function at 0x401a75
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov byte [ebp - 0x1c], al
mov byte [ebp - 9], 0
jmp 0x401aff
mov byte [ebp - 0xa], 0
jmp 0x401af5
movzx ebx, byte [ebp - 9]
movzx edx, byte [ebp - 0xa]
movzx eax, byte [ebp - 9]
movzx ecx, byte [ebp - 0xa]
mov esi, dword [ebp + 0xc]
shl eax, 2
add eax, esi
add eax, ecx
movzx eax, byte [eax]
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x1c]
lea ecx, [eax*4]
movzx eax, byte [ebp - 9]
add eax, ecx
lea ecx, [eax*4]
movzx eax, byte [ebp - 0xa]
add eax, ecx
mov ecx, eax
mov eax, dword [ebp + 0x10]
add eax, ecx
movzx eax, byte [eax]
xor al, byte [ebp - 0x19]
mov byte [ebp - 0x19], al
mov ecx, dword [ebp + 0xc]
lea eax, [ebx*4]
add eax, ecx
add eax, edx
movzx edx, byte [ebp - 0x19]
mov byte [eax], dl
add byte [ebp - 0xa], 1
cmp byte [ebp - 0xa], 3
jbe 0x401a8f
add byte [ebp - 9], 1
cmp byte [ebp - 9], 3
jbe 0x401a89
nop
add esp, 0x14
pop ebx
pop esi
pop ebp
ret

Function at 0x401b0d
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov byte [ebp - 9], 0
jmp 0x401b66
mov byte [ebp - 0xa], 0
jmp 0x401b5c
movzx esi, byte [ebp - 0xa]
movzx ecx, byte [ebp - 9]
movzx eax, byte [ebp - 0xa]
movzx edx, byte [ebp - 9]
mov ebx, dword [ebp + 8]
shl eax, 2
add eax, ebx
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx edx, byte [eax + 0x403020]
mov ebx, dword [ebp + 8]
lea eax, [esi*4]
add eax, ebx
add eax, ecx
mov byte [eax], dl
add byte [ebp - 0xa], 1
cmp byte [ebp - 0xa], 3
jbe 0x401b21
add byte [ebp - 9], 1
cmp byte [ebp - 9], 3
jbe 0x401b1b
nop
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x402621
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov byte [ebp - 9], 0
jmp 0x40267a
mov byte [ebp - 0xa], 0
jmp 0x402670
movzx esi, byte [ebp - 0xa]
movzx ecx, byte [ebp - 9]
movzx eax, byte [ebp - 0xa]
movzx edx, byte [ebp - 9]
mov ebx, dword [ebp + 8]
shl eax, 2
add eax, ebx
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx edx, byte [eax + 0x403120]
mov ebx, dword [ebp + 8]
lea eax, [esi*4]
add eax, ebx
add eax, ecx
mov byte [eax], dl
add byte [ebp - 0xa], 1
cmp byte [ebp - 0xa], 3
jbe 0x402635
add byte [ebp - 9], 1
cmp byte [ebp - 9], 3
jbe 0x40262f
nop
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x40287f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov byte [ebp - 5], 0
jmp 0x4028b5
movzx edx, byte [ebp - 5]
mov eax, dword [ebp + 8]
add eax, edx
movzx ecx, byte [ebp - 5]
mov edx, dword [ebp + 8]
add edx, ecx
movzx ebx, byte [edx]
movzx ecx, byte [ebp - 5]
mov edx, dword [ebp + 0xc]
add edx, ecx
movzx edx, byte [edx]
xor edx, ebx
mov byte [eax], dl
add byte [ebp - 5], 1
cmp byte [ebp - 5], 0xf
jbe 0x40288c
nop
add esp, 0x10
pop ebx
pop ebp
ret