joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5168e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.00493fc0
xor ebx, ebx
mov eax, 0x77a320
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.0049cc90
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.0049cc90
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.0049cc90
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x49fe10
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 8]
cmp bl, 0x80
jae 0x49fe2e
movsx eax, bl
push eax
call fcn.004f79d4
add esp, 4
test eax, eax
je 0x49fe2e
xor al, al
pop ebx
ret
cmp bl, 0x25
je 0x49feaa
cmp bl, 0x5e
je 0x49feaa
cmp bl, 0x26
je 0x49feaa
cmp bl, 0x2a
je 0x49feaa
cmp bl, 0x28
je 0x49feaa
cmp bl, 0x29
je 0x49feaa
cmp bl, 0x2d
je 0x49feaa
cmp bl, 0x2b
je 0x49feaa
cmp bl, 0x3d
je 0x49feaa
cmp bl, 0x7c
je 0x49feaa
cmp bl, 0x7b
je 0x49feaa
cmp bl, 0x7d
je 0x49feaa
cmp bl, 0x5b
je 0x49feaa
cmp bl, 0x5d
je 0x49feaa
cmp bl, 0x3a
je 0x49feaa
cmp bl, 0x3b
je 0x49feaa
cmp bl, 0x3c
je 0x49feaa
cmp bl, 0x3e
je 0x49feaa
cmp bl, 0x2c
je 0x49feaa
cmp bl, 0x2f
je 0x49feaa
cmp bl, 0x3f
je 0x49feaa
cmp bl, 0x21
je 0x49feaa
cmp bl, 0x2e
je 0x49feaa
cmp bl, 0x7e
je 0x49feaa
xor al, al
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4b8460
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 8]
cmp bl, 0x80
jae 0x4b847e
movsx eax, bl
push eax
call fcn.004f79d4
add esp, 4
test eax, eax
je 0x4b847e
xor al, al
pop ebx
ret
cmp bl, 0x25
je 0x4b84d2
cmp bl, 0x5e
je 0x4b84d2
cmp bl, 0x26
je 0x4b84d2
cmp bl, 0x2a
je 0x4b84d2
cmp bl, 0x2d
je 0x4b84d2
cmp bl, 0x2b
je 0x4b84d2
cmp bl, 0x3d
je 0x4b84d2
cmp bl, 0x7c
je 0x4b84d2
cmp bl, 0x3c
je 0x4b84d2
cmp bl, 0x3e
je 0x4b84d2
cmp bl, 0x2f
je 0x4b84d2
cmp bl, 0x21
je 0x4b84d2
cmp bl, 0x7e
je 0x4b84d2
cmp bl, 0x28
je 0x4b84d2
cmp bl, 0x29
je 0x4b84d2
cmp bl, 0x2c
je 0x4b84d2
xor al, al
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4dad30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov al, byte [edx]
push edi
test al, al
mov esi, ecx
je 0x4dae1f
mov ebx, dword [esp + 0x1c]
cmp ebx, 0xffffffff
jne 0x4dad5a
mov edi, edx
or ecx, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp dword [esp + 0x20], 0xffffffff
jne 0x4dad73
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x20], ecx
xor ebp, ebp
mov eax, edx
test ebx, ebx
je 0x4dad89
lea ecx, [ebx]
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x4dad7d
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
lea edi, [esi + edx*4]
mov dword [esp + 0x1c], edi
mov esi, dword [edi]
test esi, esi
je 0x4dadd6
cmp ebp, dword [esi]
jne 0x4dadcf
mov edx, dword [esi + 4]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jne 0x4dadcb
mov eax, dword [esp + 0x14]
push ebx
push eax
push edx
call fcn.004f6ec0
add esp, 0xc
test eax, eax
je 0x4dae26
mov edi, dword [esp + 0x1c]
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x4dada1
push 0x10
call fcn.005087f5
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x4dae1f
mov ecx, dword [esp + 0x14]
push ebx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push ecx
mov dword [esi], ebp
call fcn.004dacb0
mov edx, dword [esp + 0x28]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004dacb0
mov dword [esi + 8], eax
mov ecx, dword [edi]
mov dword [esi + 0xc], ecx
add esp, 0x10
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
mov ecx, dword [esi + 8]
push ecx
call fcn.0050881e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push edx
push eax
call fcn.004dacb0
add esp, 0xc
mov dword [esi + 8], eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x4dae50
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5169e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x4dae9e
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x4dae92
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x4daef3
cmp ebp, dword [edi]
jne 0x4daeec
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4daedf
cmp cl, bl
je 0x4daedb
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4daedf
add eax, 2
add esi, 2
cmp cl, bl
jne 0x4daebb
xor eax, eax
jmp 0x4daee4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x4daf0e
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x4daeb4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x4daf44
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.004dae50
jmp 0x4daf87
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.004dacb0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x4daf7f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4daf81
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0x7c1228
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.004dacb0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x4daf7f
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x4daf81
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x4dafa0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x516a17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.004dae50
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.004db060
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.004dacb0
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.0050881e
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x4e3670
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7c1338]
xor edx, edx
cmp eax, edx
jne 0x4e3696
xor eax, eax
mov byte [eax + 0x7c1238], al
inc eax
cmp eax, 0x100
jl 0x4e367e
mov dword [0x7c1338], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7c1238
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e3727
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4e36fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4e36c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ea080
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516cbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004ea9a0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x77b02c
call fcn.005087f5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4ea113
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005087f5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4ea10c
push 0
mov ecx, eax
call fcn.004e12c0
mov dword [esi + 0xc], eax
jmp 0x4ea115
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4ea115
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x50ae81
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x50aeb9
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00508f0f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00508ee7
jmp 0x50aec5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x50c573
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x50c5b5
call fcn.00511fbf
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x50c5b5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x50c5ac
xor eax, eax
jmp 0x50c5bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0050c5c3
pop edi
pop esi
pop ebx
ret 4

Function at 0x10010dc
Capabilities:
Get hostname
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
push edi
push 0x1002040
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, 0xffffffff
jne 0x100110e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2713
call fcn.01001439
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, 0x10010ac
jmp 0x1001121
cmp al, 0x73
jne 0x1001142
xor ebx, ebx
inc ebx
push esi
push edi
push dword [ebp + 8]
call fcn.01001475
cmp eax, 0xffffffff
jne 0x100111a
mov eax, dword [0x1002004]
cmp dword [edi + eax*4], 0
je 0x1001154
push 0x2714
jmp 0x1001147
push 0x2710
push 2
call fcn.010013ca
pop ecx
pop ecx
push 1
jmp 0x10011d0
push 0x400
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jge 0x100117d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x2712
call fcn.01001439
jmp 0x1001150
test ebx, ebx
je 0x1001199
lea eax, [ebp - 0x400]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_strchr]
test eax, eax
pop ecx
pop ecx
je 0x1001199
and byte [eax], 0
lea eax, [ebp - 0x400]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10011a2
sub eax, edx
push eax
lea eax, [ebp - 0x400]
push eax
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.msvcrt.dll_puts]
pop ecx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x401000
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x401460
push str.Where_is_the_flag__
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00401090
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push 0x33
call 0x40102d
add dword [esp], 5
retf

Function at 0x401ec3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f02
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f02
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f02
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f02
cmp dword [ecx + 0x74], 0xe
jbe 0x401f02
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10002ff1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10003034
push 0x2b
push 0x403d5a3
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x1001b26c]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.100012c2
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.1000c820
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003087
push ebx
call fcn.1000b757
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100030bd
push 0xa8
push 0x403d5a3
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100030d4
mov eax, 0x1001b263
jmp 0x100030f5
mov eax, dword [ebp - 8]
test eax, eax
je 0x100030f0
push eax
mov ebx, eax
call fcn.1000190c
inc eax
push eax
call fcn.1000b751
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100030f5
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10003106
push ebx
call fcn.1000b757
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x100031da
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 0
jne 0x10003228
mov dword [ebp - 4], esp
push 0
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000321e
push 0x43
push 0x403d83d
push 6
call fcn.1000b745
add esp, 0xc
jmp 0x100032fe
push dword [ebp + 8]
call fcn.10003304
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x10003278
mov dword [ebp - 4], esp
push 7
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x1000326e
push 0xbd
push 0x403d83d
push 6
call fcn.1000b745
add esp, 0xc
jmp 0x100032fe
push dword [ebp + 8]
call fcn.10003344
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x100032c8
mov dword [ebp - 4], esp
push 5
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x100032be
push 0x137
push 0x403d83d
push 6
call fcn.1000b745
add esp, 0xc
jmp 0x100032fe
mov dword [ebp - 4], esp
push 4
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x100032f9
push 0x16f
push 0x403d83d
push 6
call fcn.1000b745
add esp, 0xc
jmp 0x100032fe
mov esp, ebp
pop ebp
ret 8
Function at 0x10005589
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000ca90
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100055fd
push 0x39
push 0x4012ab7
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10005673
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000ca90
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10005670
push 0xda
push 0x4012ab7
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x1000567b
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b194
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.1000b2f5
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000b1f1
push 0x4d
push 0x403d6d1
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000b203
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000b22a
push 0x9c
push 0x403d6d1
push 6
call fcn.1000b745
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.1000b36b
mov eax, dword [ebp - 8]
jmp 0x1000b243
mov esp, ebp
pop ebp
ret 4
Function at 0x1000c450
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1000d940
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x100181b4
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000c512
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x1000c50b
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x1000c4f6
lea edx, [esi + 1]
push edx
call fcn.1000ba80
mov edi, eax
add esp, 4
test edi, edi
je 0x1000c4e8
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.1000dbd0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1000c4a2
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1000c525
push eax
call fcn.1000dd90
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.1000ba80
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x100181b0
call fcn.1000db40
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1000c9c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000c9de
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000c9d3
pop esi
ret
Function at 0x401ad0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
je 0x401ae2
cmp dword [ebp + 0xc], 0
jne 0x401aec
mov eax, 0x80070057
jmp 0x401bad
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x401ba8
mov edx, dword [ebp - 8]
push edx
call fcn.004b62ff
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401b2b
mov eax, 0x8007000e
jmp 0x401bad
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x401b96
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0x4cb6e8
mov eax, dword [ebp - 4]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x401b96
cmp dword [ebp - 0xc], 0
je 0x401b96
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.004b6373
add esp, 4
xor eax, eax
jmp 0x401bad
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.004b6373
add esp, 4
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret