joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405fe3
Capabilities:
Check http status code

Disassembly:
mov eax, 0x41d281
call fcn.0041730c
sub esp, 0x978
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
sub esp, 0xc
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 2
call fcn.0040f19b
lea eax, [ebp - 0xb4]
push eax
call fcn.00404b31
add esp, 0x10
push 0xf
pop ecx
mov esi, eax
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 0x423756
lea ecx, [ebp - 0x30]
call fcn.0040f164
push ebx
push ebx
push ebx
push 1
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 3
call fcn.0040f39b
push eax
call dword [0x63e060]
push dword [0x62d338]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x74]
xor esi, esi
call dword [0x63e13c]
test eax, eax
jne 0x40606a
inc esi
cmp dword [ebp - 0x10], ebx
je 0x4061ae
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x60]
push dword [ebp - 0x68]
push dword [ebp - 0x10]
call dword [0x63e160]
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4061a5
mov eax, esi
neg eax
push ebx
sbb eax, eax
and eax, 0x800000
add eax, 0x400100
push eax
push ebx
push ebx
push dword [0x62d188]
push dword [ebp - 0x4c]
push 0x423884
push dword [ebp - 0x1c]
call dword [0x63e194]
mov edi, eax
cmp edi, ebx
je 0x40619c
cmp esi, ebx
je 0x4060e2
or dword [ebp - 0x20], 0x10300
push 4
lea eax, [ebp - 0x20]
push eax
push 0x1f
push edi
call dword [0x63df68]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [0x63e128]
push ebx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1b4]
push eax
push 0x13
push edi
mov dword [ebp - 0x18], 0x100
call dword [0x63e1ac]
test eax, eax
jne 0x406121
mov ecx, dword [ebp + 8]
push 0x423888
call fcn.0040f164
jmp 0x4061ba
lea eax, [ebp - 0x1b4]
push eax
call fcn.0041036e
pop ecx
cmp eax, 0xc8
jne 0x4061f6
cmp esi, ebx
je 0x406195
mov esi, 0x7cf
jmp 0x40617e
mov eax, dword [ebp - 0x24]
cmp eax, ebx
je 0x406195
mov byte [ebp + eax - 0x984], bl
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0040f2dd
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040f222
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0040f1cf
lea eax, [ebp - 0x24]
push eax
push esi
lea eax, [ebp - 0x984]
push eax
push edi
call dword [0x63e088]
cmp eax, ebx
jne 0x406144
push edi
call dword [0x63e05c]
push dword [ebp - 0x1c]
call dword [0x63e05c]
push dword [ebp - 0x10]
call dword [0x63e05c]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
call fcn.0040f19b
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
call fcn.0040f1cf
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0040f1cf
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], bl
call fcn.0040f1cf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov ecx, dword [ebp + 8]
push str.LVXU
call fcn.0040f164
jmp 0x4061ba
Function at 0x401246
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push edi
push pe_nt_image_headers32
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
rep stosd dword es:[edi], eax
push dword [ebp + 8]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push 0x40119c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x20006
push ebx
push ebx
lea eax, [ebp - 0x108]
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40130a
push esi
push dword [ebp + 0xc]
call fcn.004016dd
pop ecx
inc eax
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0xc]
push 1
push ebx
push 0x40118c
push dword [ebp + 8]
call esi
push dword [ebp + 0x10]
call fcn.004016dd
pop ecx
inc eax
push eax
push dword [ebp + 0x10]
push 1
push ebx
push 0x40117c
push dword [ebp + 8]
call esi
push dword [ebp + 0x14]
call fcn.004016dd
pop ecx
inc eax
push eax
push dword [ebp + 0x14]
push 1
push ebx
push 0x40116c
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebx
leave
ret

Function at 0x40130e
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40137c
lea eax, [ebp - 0xc]
push eax
push 0x4011a8
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x401373
mov eax, dword [ebp - 0xc]
push 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x1c]
push 0x10
push eax
push 0
push dword [ebp - 4]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x401380
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
leave
ret
push 1
pop eax
leave
ret
Function at 0x401385
Capabilities:
Get common file path
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
push esi
push edi
lea eax, [ebp - 0x11c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea eax, [ebp - 0x11c]
push 0x4011bc
push eax
call fcn.00401766
pop ecx
mov esi, dword [sym.imp.KERNEL32.DLL_CreateFileA]
pop ecx
mov edi, 0x80
push 0
push edi
push 3
push 0
push 1
lea eax, [ebp - 0x11c]
push 0x80000000
push eax
call esi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40142b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
push 0
push edi
push 3
push 0
push 3
push 0xc0000000
push dword [ebp + 8]
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x40142b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
push esi
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x4017bf
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
and dword [ebp - 0x128], 0
push esi
push edi
push 0x49
pop ecx
xor eax, eax
lea edi, [ebp - 0x124]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x128]
push eax
push esi
mov dword [ebp - 0x128], 0x128
call sub.KERNEL32.DLL_Process32First
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004017af
lea eax, [ebp - 0x22c]
push eax
push dword [ebp + 8]
call fcn.004016ef
add esp, 0x10
test eax, eax
jne 0x40183d
lea eax, [ebp - 0x128]
push eax
push esi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x401843
jmp 0x401801
mov edi, dword [ebp - 0x120]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x4027d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x30
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x28]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
lea eax, [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 0x2c], 0
call sub.msvcrt.dll___getmainargs
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.msvcrt.dll___set_app_type
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00403160
mov dword [esp], eax
call sub.msvcrt.dll_exit
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
and esp, 0xfffffff0
call sub.msvcrt.dll___iob_func
mov edx, dword [ebp + 8]
leave
shl edx, 5
add eax, edx
ret
Function at 0x407791
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4077a0
pop dword [ebp - 0x14]
mov eax, 0xec360ba3
add eax, 0x140a6bfd
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3f8b0
push 0
mov eax, 0x89dba4c2
add eax, 0x76662d52
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x9bccb076
sub ecx, 0x9bcc5fc9
xor edx, edx
add edx, eax
mov esi, 0x48d4f22c
add esi, 0xb76e6dd4
add esi, dword [ebp - 0x14]
mov ebx, 0x7920a372
mov edi, dword [esi]
sub edi, ebx
add dword [ebp - 0x10], 0x27ba7a31
mov dword [edx], edi
xor dword [ebp - 4], 0x4daeb5dd
add edx, 0x2d3e96e0
sub edx, 0x2d3e96dc
add esi, 0xc2a65dc1
sub esi, 0xc2a65dbd
loop 0x4077fb
add eax, 0xbc6ead5d
add eax, 0x4392882a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10006724
Capabilities:
Link many functions at runtime

Disassembly:
push edi
mov edi, ecx
xor eax, eax
mov dword [edi], 0x100015dc
mov dword [edi + 0x38], eax
push 0x10001670
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call fcn.10012251
mov dword [edi + 4], eax
test eax, eax
je 0x100067db
push ebx
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x10001688
push eax
call esi
push 0x10001698
push dword [edi + 4]
mov dword [edi + 0x10], eax
call esi
push 0x100016ac
push dword [edi + 4]
mov dword [edi + 0x14], eax
call esi
push 0x100016bc
push dword [edi + 4]
mov dword [edi + 0x18], eax
call esi
push 0x100016d0
push dword [edi + 4]
mov dword [edi + 0x1c], eax
call esi
mov ebx, 0x100016e8
push ebx
push dword [edi + 4]
mov dword [edi + 0x20], eax
call esi
push ebx
push dword [edi + 4]
mov dword [edi + 0x24], eax
call esi
push 0x100016f4
push dword [edi + 4]
mov dword [edi + 0x28], eax
call esi
push 0x10001710
push dword [edi + 4]
mov dword [edi + 0x2c], eax
call esi
push 0x10001724
push dword [edi + 4]
mov dword [edi + 0x30], eax
call esi
pop esi
mov dword [edi + 0x34], eax
mov dword [edi + 8], 1
pop ebx
mov eax, edi
pop edi
ret
Function at 0x10012251
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10012260
pop dword [ebp - 0x48]
mov eax, 0x2e11c35d
add eax, 0xe1ef5f03
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x95da5caf
sub dword [ebp - 0x58], 0x47881764
mov dword [ebp - 0x54], 0xe6198fdd
add dword [ebp - 0x54], 0x4c19bc68
mov dword [ebp - 0x50], 0xe561157e
add dword [ebp - 0x50], 0x66eb2eb0
mov dword [ebp - 0x4c], 0x2884befd
sub dword [ebp - 0x4c], 0x2884befd
lea eax, [ebp - 0x58]
push eax
mov eax, 0x55386305
add eax, 0xbac7aeb3
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xb37039ef
sub dword [ebp - 0x58], 0x3efdd099
mov dword [ebp - 0x54], 0x1d960a59
sub dword [ebp - 0x54], 0xdc29a8e4
mov dword [ebp - 0x50], 0x26337984
sub dword [ebp - 0x50], 0xc2c40d18
mov dword [ebp - 0x4c], 0x9f368e73
sub dword [ebp - 0x4c], 0x9f368e73
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xfad4d243
add eax, 0x152b3f1d
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b14f
push 0
call eax
mov ecx, 0xe9b10c3d
sub ecx, 0xe9b0c2e8
mov edi, eax
mov ebx, 0xec144b7b
add ebx, 0x23eebe85
add ebx, dword [ebp - 0x48]
mov edx, 0xe4b9026c
sub edx, 0xdab087eb
mov esi, dword [ebx]
xor dword [ebp - 0x24], edx
xor esi, edx
xor dword [ebp - 0x34], 0x44862841
mov dword [edi], esi
add dword [ebp - 0x18], 0x953211de
add edi, 0xe7ccd0bb
add edi, 0x18332f49
add ebx, 0x7e3d70dd
sub ebx, 0x7e3d70d9
loop 0x10012382
add eax, 0x11827
mov ebx, eax
add eax, 5
mov ecx, 0x80d2a2c7
add ecx, 0x8f2d5d39
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x1001341b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x10002830]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x1001354d
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.MSO.dll_Ordinal_6137]
cmp eax, 0xffffffff
je 0x1001346d
test al, 0x10
je 0x1001346d
push 0x103
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.10012251
jmp 0x100134da
call fcn.10012251
xor eax, eax
push eax
push eax
push eax
push eax
push 0x100
lea eax, [ebp - 0x20c]
push eax
push 3
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.msvcr100.dll__wsplitpath_s]
lea eax, [ebp - 0x20c]
push eax
call fcn.10012251
add esp, 0x28
test eax, eax
je 0x100134a0
dec eax
add eax, eax
cmp eax, 0x200
jae 0x10013468
xor ecx, ecx
mov word [ebp + eax - 0x20c], cx
mov esi, 0x103
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10012251
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x100134f9
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.10012251
neg eax
sbb eax, eax
and eax, 0xfffffc16
jmp 0x10013552
lea eax, [ebp - 0x414]
push eax
call fcn.10012251
lea esi, [eax*2 + 0x1a]
push esi
call dword [sym.imp.msvcr100.dll_malloc]
pop ecx
pop ecx
mov dword [edi + 4], eax
test eax, eax
je 0x10013546
shr esi, 1
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.10012251
push esi
push dword [edi + 4]
push 0x100012d4
call ebx
push esi
push dword [edi + 4]
push 0x10001ec4
call ebx
xor eax, eax
jmp 0x10013552
mov eax, 0xfffffc0d
jmp 0x10013552
mov eax, 0xfffffc16
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100155e0
leave
ret 4

Function at 0x100155e0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10002830]
jne fcn.10015aa0
ret
Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x43b31784
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x7d7d3a00
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402778
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x402786
call dword [0x48d014]
or eax, eax
je 0x402787
ret
mov al, 1
jmp fcn.00402804

Function at 0x402790
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x40279e
call dword [0x48d018]
or eax, eax
jne 0x40279f
ret
mov al, 2
jmp fcn.00402804

Function at 0x4027a8
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4027e0
test edx, edx
je 0x4027ca
push eax
mov eax, ecx
call dword [0x48d01c]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402804
mov dword [eax], edx
mov eax, ecx
call dword [0x48d018]
or eax, eax
jne 0x4027c3
ret
mov al, 1
jmp fcn.00402804
test edx, edx
je 0x4027f4
push eax
mov eax, edx
call dword [0x48d014]
pop ecx
or eax, eax
je 0x4027d9
mov dword [ecx], eax
ret

Function at 0x402804
Capabilities:
Terminate process

Disassembly:
and eax, 0x7f
mov ecx, dword [0x490004]
test ecx, ecx
je 0x402814
pop edx
call ecx
dec eax
mov al, byte [eax + 0x40282d]
jns 0x402828
call fcn.00406ac4
mov eax, dword [eax + 4]
jmp fcn.00403b1c

Function at 0x40298c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4029bb
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403c0c
jmp 0x4029d9
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00402914
mov edi, eax
test ebx, ebx
je 0x4029d9
cmp dword [esi], 0
je 0x4029d9
dec ebx
jmp 0x4029c2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402dac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402e44
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402e24
xor eax, eax
push ebp
push 0x402e1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402e60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e24
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x4030c4
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4030de
mov ecx, eax
mov ecx, dword [ecx]
cmp ecx, edx
je 0x4030de
mov ecx, dword [ecx - 0x24]
test ecx, ecx
jne 0x4030ca
mov al, 0xa
jmp fcn.00402804
ret

Function at 0x403110
Capabilities:
Terminate process

Disassembly:
cmp dword [0x490018], 0
je 0x402a2f
call dword [0x490018]
mov eax, 0xd2
jmp fcn.00403b1c
push eax
push ecx
mov eax, dword [eax]
call fcn.004030e0
pop ecx
pop eax
je 0x40311f
jmp ebx
pop ecx
jmp 0x402a20
Function at 0x403128
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, edx
mov eax, dword [eax]
call fcn.004030e0
mov eax, ebx
pop ebx
jne 0x40313d
pop ecx
jmp 0x402a20
ret

Function at 0x4039f8
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, 0x4904a0
mov esi, 0x490034
mov edi, 0x490038
cmp byte [ebx + 0x24], 0
jne 0x403a27
cmp dword [edi], 0
je 0x403a27
mov edx, dword [edi]
mov eax, edx
xor edx, edx
mov dword [edi], edx
mov ebp, eax
call ebp
cmp dword [edi], 0
jne 0x403a16
cmp dword [0x49003c], 0
je 0x403a6e
call fcn.00403974
cmp byte [0x490044], 0
je 0x403a54
mov edx, 0x48d024
mov eax, 0x490218
call fcn.00406360
call fcn.004062e3
jmp 0x403a67
push 0
push 0x48d044
push 0x48d024
push 0
call sub.user32.dll_MessageBoxA
xor eax, eax
mov dword [0x49003c], eax
cmp byte [ebx + 0x24], 2
jne 0x403a7e
cmp dword [esi], 0
jne 0x403a7e
xor eax, eax
mov dword [ebx + 0xc], eax
call fcn.00403848
cmp byte [ebx + 0x24], 1
jbe 0x403a8e
cmp dword [esi], 0
je 0x403aab
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x403aab
call fcn.00405d64
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
cmp edx, dword [eax + 4]
je 0x403aab
push edx
call sub.kernel32.dll_FreeLibrary
call fcn.00403820
cmp byte [ebx + 0x24], 1
jne 0x403ab9
call dword [ebx + 0x28]
cmp byte [ebx + 0x24], 0
je 0x403ac4
call fcn.004039c4
cmp dword [ebx], 0
jne 0x403ad1
mov eax, dword [esi]
push eax
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebx]
push esi
mov esi, eax
mov edi, ebx
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
pop esi
jmp 0x403a6e

Function at 0x40418c
Capabilities:
Terminate process

Disassembly:
test edx, edx
je fcn.00404150
mov ecx, dword [edx - 4]
shr ecx, 1
je fcn.00404150
push ecx
push edx
push eax
call sub.oleaut32.dll_SysReAllocStringLen
test eax, eax
je 0x404138
ret

Function at 0x404234
Capabilities:
Terminate process

Disassembly:
mov al, 1
jmp fcn.00402804
test ecx, ecx
je fcn.00404150
push eax
push ecx
push edx
call sub.oleaut32.dll_SysAllocStringLen
test eax, eax
je 0x404138
pop edx
push dword [edx]
mov dword [edx], eax
call sub.oleaut32.dll_SysFreeString
ret

Function at 0x4042fc
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
xor ecx, ecx
cmp al, 0xa
je 0x40433b
cmp al, 0xb
je 0x40433b
cmp al, 0xc
je 0x404345
cmp al, 0xd
je 0x404358
cmp al, 0xe
je 0x404376
cmp al, 0xf
je 0x40433b
cmp al, 0x11
je 0x40433b
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402804
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x40433b
jmp 0x40438a
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x404345
jmp 0x40438a
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004042fc
dec edi
jg 0x40435b
pop ebp
jmp 0x40438a
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.004042d0
dec edi
jg 0x404379
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404390
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004042fc

Function at 0x4043c8
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40440f
cmp al, 0xb
je 0x404429
cmp al, 0xc
je 0x404440
cmp al, 0xd
je 0x40444f
cmp al, 0xe
je 0x40446d
cmp al, 0xf
je 0x404483
cmp al, 0x11
je 0x404492
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402804
cmp ecx, 1
mov eax, ebx
jg 0x404420
call fcn.00403b28
jmp 0x4044a1
mov edx, ecx
call fcn.00403b4c
jmp 0x4044a1
cmp ecx, 1
mov eax, ebx
jg 0x404437
call fcn.00404150
jmp 0x4044a1
mov edx, ecx
call fcn.00404168
jmp 0x4044a1
mov eax, ebx
add ebx, 0x10
call fcn.00405110
dec edi
jg 0x404440
jmp 0x4044a1
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.004043c8
dec edi
jg 0x404452
pop ebp
jmp 0x4044a1
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.0040439c
dec edi
jg 0x404470
pop ebp
jmp 0x4044a1
mov eax, ebx
add ebx, 4
call fcn.00405e2c
dec edi
jg 0x404483
jmp 0x4044a1
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.004059c0
dec edi
jg 0x404492
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x4044a8
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.004043c8

Function at 0x4044b4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x4044e0
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004028d4
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x40451f
cmp cl, 0xb
je 0x404530
cmp cl, 0xc
je 0x404541
cmp cl, 0xd
je 0x404552
cmp cl, 0xe
je 0x404572
cmp cl, 0xf
je 0x40458b
cmp cl, 0x11
je 0x40459c
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402804
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403b7c
mov eax, 4
jmp 0x4045ad
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040418c
mov eax, 4
jmp 0x4045ad
lea edx, [esi + eax]
add eax, ebx
call fcn.00404870
mov eax, 0x10
jmp 0x4045ad
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.004045d0
pop eax
jmp 0x4045ad
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.004044b4
pop eax
jmp 0x4045ad
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405e44
mov eax, 4
jmp 0x4045ad
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.004059fc
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x4044ce
pop ecx
sub ecx, eax
jle 0x4045c9
lea edx, [ebx + eax]
add eax, esi
call fcn.004028d4
pop ebp
pop edi
pop esi
pop ebx
ret