joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4047f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push edi
push esi
push ebx
sub esp, 0xa0
lea ebx, [esp + 0x60]
mov esi, dword [esp + 0xb0]
mov eax, ebx
lea edx, [esp + 0xa0]
lea esi, [esi]
mov dword [eax], 0xffffff
mov dword [eax + 4], 0xffffff
add eax, 8
cmp eax, edx
jne 0x404810
lea eax, [esp + 0x38]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Control_PanelAppearance
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
sub esp, 0x24
test eax, eax
je 0x404940
mov dword [esp + 0x38], 0
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x3c], 0x24
mov dword [esp + 0x40], eax
mov eax, dword [esi]
mov dword [esp + 0x44], 0
mov dword [esp], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0x83
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call dword [sym.imp.COMDLG32.DLL_ChooseColorA]
mov edi, eax
test eax, eax
push edx
je 0x4048e8
mov eax, dword [esp + 0x48]
mov edi, 1
mov dword [esi], eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40492e
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.CustomColors
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub esp, 0x18
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
add esp, 0xa0
mov eax, edi
pop ebx
pop esi
pop edi
ret
lea edi, [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], 0x40
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.CustomColors
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
jmp 0x404888

Function at 0x4082d0
Capabilities:
Get graphical window text

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], 0x87
mov dword [esp], ebx
mov esi, dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
push ecx
push ecx
je 0x408358
mov dword [esp + 8], 0x1d
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
sub esp, 0xc
test eax, eax
jle 0x408330
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
push edx
jle 0x408330
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf0
mov dword [esp + 4], 0xf9
mov dword [esp], ebx
call fcn.00401750
xor eax, eax
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0xf3
mov dword [esp], ebx
call fcn.00401750
xor eax, eax
jmp 0x408352
Function at 0x408380
Capabilities:
Get graphical window text

Disassembly:
push esi
push ebx
sub esp, 0x14
mov ebx, dword [esp + 0x20]
mov dword [esp + 4], 0x88
mov dword [esp], ebx
mov esi, dword [esp + 0x24]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
push ecx
push ecx
je 0x408408
mov dword [esp + 8], 0xe
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
sub esp, 0xc
test eax, eax
jle 0x4083e0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
push edx
jle 0x4083e0
add esp, 0x14
mov eax, 1
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf0
mov dword [esp + 4], 0xfa
mov dword [esp], ebx
call fcn.00401750
xor eax, eax
add esp, 0x14
pop ebx
pop esi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0xf3
mov dword [esp], ebx
call fcn.00401750
xor eax, eax
jmp 0x408402
Function at 0x402024
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 4
jb 0x40208f
push edi
mov edi, esi
shr edi, 2
movzx eax, byte [edx]
sub esi, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x450f58]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x450f58]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x450f58]
movzx eax, byte [edx + 3]
add edx, 4
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x450f58]
sub edi, 1
jne 0x402038
pop edi
test esi, esi
je 0x4020ab
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x450f58]
inc edx
sub esi, 1
jne 0x402093
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x41e37b
Capabilities:
Encode data using xor

Disassembly:
push 0x18
mov eax, 0x446c46
call fcn.00441bb2
and dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], ebx
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 1
mov esi, 0x4532f4
lea edi, [ebp - 0x24]
mov ecx, ebx
push 0x450692
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.0040b4b4
xor esi, esi
mov dword [ebp - 0x10], 1
cmp dword [ebp + 0x1c], esi
jbe 0x41e3ef
cmp dword [ebp + 0x20], 0xf
lea ecx, [ebp + 0xc]
push 0xa
cmova ecx, dword [ebp + 0xc]
mov eax, esi
cdq
pop edi
idiv edi
mov al, byte [ebp + edx - 0x24]
xor al, byte [ecx + esi]
mov ecx, ebx
mov byte [ebp - 0x14], al
push dword [ebp - 0x14]
call fcn.0040b8db
inc esi
cmp esi, dword [ebp + 0x1c]
jb 0x41e3c2
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0040b8b5
mov eax, ebx
call fcn.00441b80
ret 0x1c

Function at 0x41e580
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x54
mov eax, 0x446c85
call fcn.00441c54
mov edi, dword [ebp + 8]
and dword [ebp - 4], 0
test edi, edi
jne 0x41e5aa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040b8b5
xor eax, eax
jmp 0x41e6c2
mov dword [ebp - 0x2c], edi
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax + edi + 0x78]
add ecx, edi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx + 0x24]
add eax, edi
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x38], eax
or edx, 0xffffffff
mov dword [ebp - 0x24], edx
xor ebx, ebx

Function at 0x41e747
Capabilities:
Access peb ldr_data

Disassembly:
push 0x240
mov eax, 0x446ccb
call fcn.00441be8
mov eax, dword fs:[0x30]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], esi
mov ebx, dword [eax + 0xc]
add ebx, 0x14
mov edi, dword [ebx]
cmp edi, ebx
je 0x41e85a
push 0x104
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00421360
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00421360
add esp, 0x18
push dword [edi + 0x20]
call fcn.0041e702
push eax
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.004259af
push esi
mov esi, 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004259af
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0042d4ea
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0042d4ea
add esp, 0x28
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x24c]
push eax
call fcn.0040b4b4
mov esi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b4b4
mov byte [ebp - 4], 1
push ecx
push eax
mov ecx, esi
call fcn.0041cf4f
mov esi, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040b8b5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
call fcn.0040b8b5
cmp esi, 0xffffffff
jne 0x41e855
mov edi, dword [edi]
cmp edi, ebx
je 0x41e85a
mov esi, dword [ebp - 0x21c]
jmp 0x41e775
mov eax, dword [edi + 0x10]
jmp 0x41e85c
xor eax, eax
call fcn.00441b94
ret 4
Function at 0x41f599
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x448084]
test eax, eax
je 0x41f5d8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5d8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5d8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5d8
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5d8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x441f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x441f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x441f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401394
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [eax + 0x3c]
sub esp, 0xc
push ebx
push esi
push edi
lea edi, [ecx + eax + 0x78]
mov ecx, dword [edi]
test ecx, ecx
je 0x401428
mov esi, dword [edi + 4]
cmp esi, 0x28
jb 0x401428
lea ebx, [ecx + eax]
mov edx, dword [ebx + 0x18]
test edx, edx
je 0x401428
mov eax, dword [ebx + 0x20]
cmp eax, ecx
jb 0x401428
lea edx, [eax + edx*4]
add esi, ecx
cmp esi, edx
jb 0x401428
and dword [ebp - 4], 0
sub eax, ecx
add eax, ebx
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0xc], eax
jbe 0x401428
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + ecx*4]
mov ecx, dword [edi]
cmp ecx, dword [eax]
ja 0x40141d
mov esi, dword [eax]
push dword [ebp + 8]
mov eax, ecx
mov dword [ebp - 8], eax
call dword [0x4620302c]
mov ecx, dword [edi + 4]
add ecx, dword [ebp - 8]
lea eax, [eax + esi + 1]
cmp eax, ecx
ja 0x40141d
sub esi, dword [ebp - 8]
push dword [ebp + 8]
add esi, ebx
push esi
call dword [0x46203028]
test eax, eax
je 0x40142f
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x18]
jb 0x4013dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov edx, dword [ebp - 4]
cmp dword [ebx + 0x14], edx
jbe 0x401428
mov eax, dword [ebx + 0x1c]
mov ecx, dword [edi]
cmp eax, ecx
jb 0x401428
lea eax, [eax + edx*4]
mov edx, dword [edi + 4]
add edx, ecx
lea esi, [eax + 4]
cmp edx, esi
jb 0x401428
sub eax, ecx
mov eax, dword [eax + ebx]
jmp 0x40142a

Function at 0x4020f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov bl, byte [eax]
push esi
cmp bl, 0xd8
je 0x402121
cmp bl, 0xd7
je 0x402121
mov esi, dword [esp + 0x14]
lea ecx, [eax + 1]
test esi, esi
jle 0x402149
mov eax, dword [esp + 0x10]
sub ecx, eax
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
sub esi, 1
jne 0x402113
pop esi
pop ebx
ret
mov esi, dword [esp + 0x10]
push esi
inc eax
push eax
call fcn.0040216e
cmp bl, 0xd8
jne 0x402149
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x402149
lea esp, [esp]
xor byte [eax + esi], 0xf0
inc eax
cmp eax, ecx
jl 0x402140
pop esi
pop ebx
ret
Function at 0x402180
Capabilities:
Create process on windows
Get graphical window text

Disassembly:
sub esp, 0x38
mov eax, dword [0x44a680]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [0x63a4a4]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextA]
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test eax, eax
je 0x4021cb
push 0x14
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp byte [esp + 0xc], 0
jne 0x40220b
mov dword [0x63a4a4], 0
call edi
push eax
lea edx, [esp + 0x10]
push str.WebID__d
push edx
call fcn.0042445f
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0
call esi
mov dword [0x63a4a4], eax
test eax, eax
jne 0x40225b
push 0x4402b4
push eax
call esi
mov dword [0x63a4a4], eax
test eax, eax
je 0x402214
lea ecx, [esp + 0xc]
push ecx
push eax
call ebx
cmp dword [0x63a4a4], 0
jne 0x40225b
push 0
push str.WebApi.dll
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [0x63a4a4], 0
jne 0x40225b
push 0x4402b4
push 0
call esi
mov dword [0x63a4a4], eax
call edi
push eax
lea edx, [esp + 0x10]
push str.WebID__d
push edx
call fcn.0042445f
mov ecx, dword [0x63a4a4]
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push ecx
call ebx
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00424450
add esp, 0x38
ret

Function at 0x402db0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x44a680]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov edi, dword [0x6373a8]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
lea ebx, [ebx]
cmp dword [esp + 0x10], edi
je 0x402e25
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x402df0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.00424450
add esp, 0x230
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00424450
add esp, 0x230
ret
Function at 0x404150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00412811

Function at 0x404330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404349
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404384
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x404380
lea ebx, [ebx]
cmp esi, eax
jae 0x404384
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x404370
cmp esi, eax
jb 0x40438a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x408a3b
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4382a1
call fcn.0042607b
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x408a60
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x408aa6
lea ecx, [ebp - 0x10]
call fcn.00401fe0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407ce3
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401fc0
mov eax, esi
call fcn.00426153
ret 8

Function at 0x40f941
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40f988
call fcn.0041412c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f988
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f9a4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f4b9
mov esi, eax
test edi, edi
je 0x40f9a2
test ebx, ebx
je 0x40f9a2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41127b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4112c3
call fcn.0041412c
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4112c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x411306
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4112ef
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4112ef
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x411303
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x424450
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a680]
jne 0x42445a
repz ret
jmp fcn.00429bd6

Function at 0x432abc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004295e5
and dword [ebp - 4], 0
cmp dword [0x44e664], 0
mov ebx, eax
jne 0x432b6d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x432c1e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43e490
push edi
call esi
test eax, eax
je 0x432c1e
push eax
call fcn.00429573
mov dword [esp], 0x43e480
push edi
mov dword [0x44e664], eax
call esi
push eax
call fcn.00429573
mov dword [esp], 0x43e46c
push edi
mov dword [0x44e668], eax
call esi
push eax
call fcn.00429573
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44e66c], eax
call esi
push eax
call fcn.00429573
pop ecx
mov dword [0x44e674], eax
test eax, eax
je 0x432b6d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429573
pop ecx
mov dword [0x44e670], eax
mov eax, dword [0x44e670]
cmp eax, ebx
je 0x432bc5
cmp dword [0x44e674], ebx
je 0x432bc5
push eax
call fcn.004295ee
push dword [0x44e674]
mov esi, eax
call fcn.004295ee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432bc5
test edi, edi
je 0x432bc5
call esi
test eax, eax
je 0x432bbc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x432bbc
test byte [ebp - 0xc], 1
jne 0x432bc5
or dword [ebp + 0x10], 0x200000
jmp 0x432bfe
mov eax, dword [0x44e668]
cmp eax, ebx
je 0x432bfe
push eax
call fcn.004295ee
pop ecx
test eax, eax
je 0x432bfe
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x432bfe
mov eax, dword [0x44e66c]
cmp eax, ebx
je 0x432bfe
push eax
call fcn.004295ee
pop ecx
test eax, eax
je 0x432bfe
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44e664]
call fcn.004295ee
pop ecx
test eax, eax
je 0x432c1e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x432c20
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401040
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
lea eax, [esp + 0x18]
push 0x38
push str.1.3.1
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
call fcn.0040acc0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401094
mov eax, dword [esp + 0x58]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.004026a0
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00412d89
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4010c8
mov eax, dword [esp + 0x58]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.00402540
add esp, 0xc
jmp 0x4011ee
push 0x2000
call fcn.00412d89
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4010fa
mov ecx, dword [esp + 0x58]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.00402540
add esp, 0xc
jmp 0x4011ee
mov eax, dword [esp + 0x58]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
jb 0x401129
ja 0x401122
cmp eax, 0x2000
jbe 0x401129
mov esi, 0x2000
jmp 0x40112b
mov esi, eax
push dword [esp + 0x5c]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040ec82
add esp, 0x10
cmp eax, esi
jne 0x4011e9
push dword [esp + 0x5c]
call fcn.0040ea7d
add esp, 4
test eax, eax
jne 0x4011e9
sub dword [esp + 0x10], esi
mov dword [esp + 0x24], esi
sbb dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
nop
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.004091f0
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x40119e.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401212
push ebp
push esi
push 1
push ebx
call fcn.0040f3a5
add esp, 0x10
cmp eax, esi
jne 0x4011d0
push ebp
call fcn.0040ea7d
add esp, 4
test eax, eax
je 0x401223
or eax, 0xffffffff
push eax
mov eax, dword [esp + 0x64]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.004026a0
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.0040aab0
push dword [esp + 0x14]
call fcn.00412d6e
push ebx
call fcn.00412d6e
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401227
push esi
push ebx
push edi
call fcn.0040c160
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401170
cmp eax, 1
je 0x401261
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401245
cmp dword [esp + 0x10], ecx
jbe 0x4011d3
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d3
cmp eax, 1
jne 0x4011d3
xor esi, esi
jmp 0x4011ec