joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb60
Capabilities:
Connect socket

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push edi
push eax
call fcn.00417d80
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
push edx
call edi
mov eax, dword [esi + 4]
or ebx, 0xffffffff
mov dword [eax + 4], ebx
cmp dword [esi + 0x20], 0
mov dword [esp + 0xc], 0
je 0x42ccd3
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_socket]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
push edx
push eax
call ebp
mov ecx, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x42cc9a
push eax
call fcn.00417d60
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 4]
push edx
call fcn.00417e50
test eax, eax
mov ecx, dword [esi + 4]
je 0x42cc82
cmp dword [ecx + 0x38], 0
je 0x42cc2b
mov edx, dword [ecx + 8]
push 0x3f
add edx, 0x403
push edx
call fcn.004179c0
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
je 0x42cc2b
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call fcn.00417d80
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call edi
mov edx, dword [esi + 4]
mov dword [edx + 4], ebx
jmp 0x42cc9a
mov eax, dword [esi + 0x20]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
mov dword [ecx + 0xc], edx
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
push edx
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 4]
push eax
call fcn.00417ae0
test eax, eax
je 0x42cc0e
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x18]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004179b0
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, ebx
jne 0x42ccad
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x42ccad
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00417d80
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push edx
call edi
mov eax, dword [esi + 4]
mov dword [eax + 4], ebx
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x1c]
test edx, edx
mov dword [esi + 0x20], edx
jne 0x42cba3
jmp 0x42ccd2
mov eax, dword [esi + 8]
cmp eax, 2
mov dword [esi + 8], 2
je 0x42ccca
push 0
push eax
push 2
push 0
mov ecx, esi
call fcn.0042c670
mov dword [esp + 0x10], 1
pop ebp
mov eax, dword [esi + 0x20]
test eax, eax
je 0x42cce0
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x20], eax
cmp dword [esi + 0x20], 0
jne 0x42ccf8
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x4596a4]
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
mov edx, dword [esi + 4]
cmp dword [edx + 4], ebx
pop edi
pop esi
pop ebx
je 0x42cd0d
cmp dword [esp], 0
je 0x42cd0d
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret
Function at 0x42d180
Capabilities:
Connect socket

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x2c]
test ecx, ecx
push edi
je 0x42d1a0
mov edx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
push edx
mov edx, dword [esp + 0x10]
push edx
call eax
mov edi, eax
jmp 0x42d1c3
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
call fcn.004179b0
push eax
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
test edi, edi
jne 0x42d1d4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x42d1f1
mov eax, dword [esi + 8]
cmp eax, 2
mov dword [esi + 8], 2
je 0x42d1f1
push 0
push eax
push 2
push 0
mov ecx, esi
call fcn.0042c670
mov eax, edi
pop edi
pop esi
ret 8
Function at 0x437290
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x58], ecx
mov byte [eax + 0x5c], cl
ret

Function at 0x4372c0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov esi, ecx
cmp byte [esi + 0x5c], 0
jne 0x43742e
mov ecx, dword [esi + 0x58]
lea eax, [ecx*8]
add dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
push ebx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
push ebp
push edi
mov ebx, 1
jae 0x437300
add dword [esi + 0x14], ebx
movzx ecx, byte [esi + 0x11]
movzx edx, al
mov byte [esp + 0x11], cl
movzx ecx, byte [esi + 0x13]
mov byte [esp + 0x10], dl
movzx edx, byte [esi + 0x12]
mov byte [esp + 0x13], cl
movzx ecx, byte [esi + 0x15]
mov byte [esp + 0x12], dl
movzx edx, byte [esi + 0x14]
mov byte [esp + 0x15], cl
movzx ecx, byte [esi + 0x17]
shr eax, 3
mov byte [esp + 0x14], dl
movzx edx, byte [esi + 0x16]
and eax, 0x3f
cmp eax, 0x38
mov byte [esp + 0x17], cl
mov byte [esp + 0x16], dl
mov ecx, 0x38
jb 0x437354
mov ecx, 0x78
sub ecx, eax
test ecx, ecx
je 0x437367
push ecx
push 0x459358
mov ecx, esi
call fcn.00437250
mov ebp, 8
lea edi, [esp + 0x10]
mov al, byte [edi]
mov edx, dword [esi + 0x58]
mov byte [esi + edx + 0x18], al
add dword [esi + 0x58], ebx
mov eax, dword [esi + 0x58]
sub ebp, ebx
add edi, ebx
cmp eax, 0x40
jb 0x43738f
mov ecx, esi
call fcn.00436ae0
test ebp, ebp
jne 0x437370
movzx ecx, byte [esi]
movzx eax, byte [esi + 2]
movzx edx, byte [esi + 1]
mov byte [esi + 0x5d], cl
movzx ecx, byte [esi + 3]
mov byte [esi + 0x5f], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x5e], dl
movzx edx, byte [esi + 4]
mov byte [esi + 0x60], cl
movzx ecx, byte [esi + 6]
mov byte [esi + 0x62], al
movzx eax, byte [esi + 8]
mov byte [esi + 0x61], dl
movzx edx, byte [esi + 7]
mov byte [esi + 0x63], cl
movzx ecx, byte [esi + 9]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 0xb]
mov byte [esi + 0x64], dl
movzx edx, byte [esi + 0xa]
mov byte [esi + 0x66], cl
movzx ecx, byte [esi + 0xc]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 0xe]
mov byte [esi + 0x67], dl
movzx edx, byte [esi + 0xd]
mov byte [esi + 0x69], cl
movzx ecx, byte [esi + 0xf]
mov byte [esi + 0x6b], al
mov byte [esi + 0x6a], dl
mov byte [esi + 0x6c], cl
pop edi
xor eax, eax
pop ebp
mov byte [esi + 0x5c], bl
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x58], eax
pop ebx
mov ecx, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.004451f4
add esp, 0xc
ret
Function at 0x443b4e
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4595b8]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
mov esi, ecx
cmp dword [esi + 0x54], 0
push edi
mov edi, dword [esp + 0x20]
jne 0x443b7a
mov eax, dword [esp + 0x24]
push eax
push edi
call fcn.0042ce20
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004451f4
add esp, 0x14
ret 8
call dword [0x459598]
cmp dword [esi + 0x54], 1
je 0x443c42
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x58]
push ecx
push eax
mov ecx, esi
call fcn.0042ce20
test eax, eax
jne 0x443bce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x443bce
push 0
push 0
push 1
push 1
mov ecx, esi
call fcn.0042c670
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004451f4
add esp, 0x14
ret 8
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x6c]
movzx eax, ax
push ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x443bf7
sub eax, edx
add eax, 1
push eax
call fcn.004450fe
add esp, 4
mov dword [esi + 0x6c], eax
mov ecx, edi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x443c15
pop edi
mov dword [esi + 0x48], 1
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004451f4
add esp, 0x14
ret 8
xor eax, eax
mov dword [esp + 8], eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x443c85
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x443d0a
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x24]
push ebx
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
push 0x10
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00442ba0
mov ebx, eax
test ebx, ebx
jne 0x443cb7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x443cf4
mov ecx, dword [esi + 0x6c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
mov eax, edi
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x443cc8
sub eax, edx
add eax, 1
push eax
call fcn.004450fe
add esp, 4
mov dword [esi + 0x6c], eax
mov ecx, edi
mov edx, eax
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x443ce6
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004451f4
add esp, 0x14
ret 8
push 0
push 0
push 7
push 1
mov ecx, esi
call fcn.0042c670
push 0x2726
call dword [sym.imp.WS2_32.dll_WSASetLastError]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.004451f4
add esp, 0x14
ret 8
Function at 0x444930
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
xor edi, edi
test ebp, ebp
mov esi, eax
jle 0x4449b9
lea edx, [ebp - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
add edx, 1
lea edi, [edx + edx*2]
push ebx
movsx eax, byte [esi]
sar eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
movzx eax, byte [esi]
movsx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
sar ebx, 4
movzx eax, byte [eax + ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movsx ebx, byte [esi + 2]
add ecx, 1
and eax, 0xf
sar ebx, 6
movzx eax, byte [ebx + eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
add esi, 3
sub edx, 1
jne 0x444952
pop ebx
lea edx, [ebp + 1]
cmp edi, edx
jne 0x4449cb
pop edi
pop esi
mov byte [ecx - 1], 0x3d
mov byte [ecx], 0
pop ebp
ret
add ebp, 2
cmp edi, ebp
jne 0x4449da
mov al, 0x3d
mov byte [ecx - 2], al
mov byte [ecx - 1], al
pop edi
pop esi
mov byte [ecx], 0
pop ebp
ret

Function at 0x444efb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x459898], 0
push esi
jne 0x444e6e
call fcn.00444d99
test eax, eax
je 0x444eb1
mov eax, dword [0x459898]
cmp eax, 1
jne 0x444e8f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x444eb1
pop esi
ret
push eax
call dword [0x4598a0]
test eax, eax
jne 0x444ef9
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x444eb5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x459898]
call dword [0x4598a0]
mov edi, eax
test edi, edi
je 0x444edc
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x444ef8
lea edi, [esi + 0xff0]
push esi
push dword [0x459898]
call dword [0x45989c]
add esi, 0x10
cmp esi, edi
jb 0x444ee2
mov eax, esi
pop edi
pop esi
ret
jmp 0x444e5b
Function at 0x44504c
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4595b8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00444fe1
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44509b
cmp dword [ebp - 0x1c], 5
jb 0x4450b3
jmp 0x4450af
cmp dword [ebp - 0x10], 1
jne 0x4450b3
cmp dword [ebp - 0x1c], 4
ja 0x4450af
jne 0x4450b3
cmp dword [ebp - 0x18], 0
jbe 0x4450b3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44dcac
call fcn.004011c5
test eax, eax
jge 0x4450d4
mov byte [0x4595d0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004451f4
add ebp, 0x78
leave
ret

Function at 0x4451f4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4595b8]
jne 0x4451fe
repz ret
jmp fcn.00445be6
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x710c60
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x7109ec
add edi, 0xb2facab7
and edx, edi
call fcn.00710ca0
mov edi, edx
add edi, 0xbacd49d7
sub edi, 0x474cbd3
xor dword [ebx], ecx
add edi, edi
mov edi, 0x7aabba4f
inc ebx
sub edx, edx
cmp ebx, eax
jne fcn.00710c60
or edi, edx
add edx, 0xbfe1b42
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4455c0
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x2c
call fcn.0045c190
mov eax, dword [0x1097750]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + 0x18]
mov edx, dword [esp]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0xc], ebx
inc dword [ecx + 0x7c]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6b], 1
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov ebp, dword [esp + 0x34]
mov dword [esp + 4], ebp
call fcn.00445560
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x30]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.0043f000
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
ja 0x445645
cmp dword [eax + 4], ecx
jae 0x445673
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
lea ecx, [0x445820]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
mov dword [esp], ecx
call fcn.0046bba0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4456c9
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
lea eax, [0x4457d0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
call fcn.0046bba0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445560
lea eax, [0x1059bc0]
mov dword [esp], eax
call fcn.00402c30
movzx eax, byte [esp + 4]
test al, al
je 0x445702
lea eax, [0x90c390]
mov dword [esp], eax
call fcn.0046bba0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445560
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
test byte [ecx], al
mov ecx, dword [ecx + 0x11a0]
test ecx, ecx
je 0x44573e
lea eax, [0x90c544]
mov dword [esp], eax
call fcn.0046bba0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00445560
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x58]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x1f8], edx
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x58]
lea edx, [ecx + 4]
mov dword [ecx + 0x2c], 0
mov ebx, dword [eax + 0x18]
mov dword [ebx + 0x60], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x58], 0
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.00402f00
lea eax, [0x1059bb4]
mov dword [esp], eax
call fcn.00402c30
movzx eax, byte [esp + 4]
test al, al
je 0x4457b6
lea eax, [0x90c38c]
mov dword [esp], eax
call fcn.0046bba0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00445560
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x7c]
add esp, 0x2c
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.2.11
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.00407a20
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.00401c30
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebx
add esp, 0x48
ret
push 0x2000
call fcn.00411473
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.00401c10
add esp, 0xc
jmp 0x4011f0
push 0x2000
call fcn.00411473
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.00401c10
add esp, 0xc
jmp 0x4011f0
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
mov eax, dword [esp + 0x5c]
push dword [eax]
push esi
push 1
push dword [esp + 0x24]
call fcn.0040c2cf
add esp, 0x10
cmp eax, esi
jne 0x4011eb
mov eax, dword [esp + 0x5c]
push dword [eax]
call fcn.0040c0bd
add esp, 4
test eax, eax
jne 0x4011eb
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
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0x2000
push 0
push eax
mov dword [esp + 0x34], ebx
call fcn.00406090
add esp, 8
mov dword [esp + 0x1c], eax
lea ecx, [eax + 4]
cmp ecx, 6
ja case.0x4011a0.1
movzx ecx, byte [ecx + 0x401274]
jmp dword [ecx*4 + 0x401268]
mov esi, 0x2000
sub esi, dword [esp + 0x30]
test ebp, ebp
je 0x401214
push ebp
push esi
push 1
push ebx
call fcn.0040d013
add esp, 0x10
cmp eax, esi
jne 0x4011d2
push ebp
call fcn.0040c0bd
add esp, 4
test eax, eax
je 0x401225
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.00401c30
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebp
lea eax, [esp + 0x18]
push eax
call fcn.00407860
push dword [esp + 0x14]
call fcn.00411458
push ebx
call fcn.00411458
add esp, 0xc
mov eax, esi
pop esi
pop ebx
add esp, 0x48
ret
test edi, edi
je 0x401229
push esi
push ebx
push edi
call fcn.004097d0
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], 0
je 0x401172
cmp eax, 1
je 0x401263
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x401247
cmp dword [esp + 0x10], ecx
jbe 0x4011d5
mov eax, dword [esp + 0x10]
jmp 0x401115
mov eax, 0xfffffffd
jmp 0x4011d5
cmp eax, 1
jne 0x4011d5
xor esi, esi
jmp 0x4011ee