joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4326c4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x890]
sub esp, 0x910
mov eax, dword [0x480244]
xor eax, ebp
mov dword [ebp + 0x88c], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
push esi
mov esi, dword [ebx + 0x16c]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
push edi
inc eax
inc eax
push eax
lea eax, [esi + 0x18ac]
push 0x3c
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ecx
call fcn.004322ef
mov eax, dword [esi + 0x1aac]
pop ecx
pop ecx
movzx ecx, byte [eax]
inc eax
cmp ecx, 0x18
mov dword [esi + 0x1aac], eax
je 0x43282d
cmp ecx, 0x23
je 0x43280c
cmp ecx, 0x27
jne 0x432893
push 0
push ecx
push 0xfa
mov edi, 0xff
push edi
push str._c_c_c_c
lea eax, [ebp - 0x74]
push 0x800
push eax
call fcn.00428373
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
push 4
pop ebx
jmp 0x4327cb
push dword [esi]
call fcn.00437560
inc eax
add eax, ebx
cmp eax, 0x7fa
pop ecx
mov dword [ebp - 0x80], eax
jae 0x4327c8
lea eax, [ebp + 0x80c]
push eax
lea eax, [ebp + 0x78c]
push eax
push str._127_____127s
push dword [esi]
call fcn.004602e0
lea eax, [ebp + 0x80c]
push eax
push 1
lea eax, [ebp + 0x78c]
push eax
push 0
mov eax, 0x800
sub eax, ebx
push str._c_s_c_s
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call fcn.00428373
mov ebx, dword [ebp - 0x80]
add esp, 0x2c
mov esi, dword [esi + 4]
test esi, esi
jne 0x43276a
push pe_nt_image_headers32
push edi
mov eax, 0x800
sub eax, ebx
push 0x47832c
push eax
lea eax, [ebp + ebx - 0x74]
push eax
call fcn.00428373
add esp, 0x14
push esi
inc ebx
inc ebx
push ebx
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push dword [eax + 0xa0]
call dword [sym.imp.WS2_32.dll_send]
add ebx, 0xfffffffe
push ebx
jmp 0x432884
add esi, 0x1828
push esi
mov dword [ebp - 0x78], esi
call fcn.00437560
push pe_nt_image_headers32
mov edi, 0xff
push edi
push esi
push 0
push 0x23
jmp 0x43284c
add esi, 0x1808
push esi
mov dword [ebp - 0x78], esi
call fcn.00437560
push pe_nt_image_headers32
mov edi, 0xff
push edi
push esi
push 0
push 0x18
push 0xfa
push edi
mov esi, eax
push str._c_c_c_c_s_c_c
lea eax, [ebp - 0x74]
push 0x800
push eax
add esi, 6
call fcn.00428373
add esp, 0x2c
push 0
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebx + 0xa0]
call dword [sym.imp.WS2_32.dll_send]
add esi, 0xfffffffe
push esi
mov ecx, dword [ebp - 0x7c]
push 0x3e
lea eax, [ebp - 0x72]
call fcn.004322ef
pop ecx
pop ecx
mov ecx, dword [ebp + 0x88c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00437538
add ebp, 0x890
leave
ret
Function at 0x433387
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
cmp byte [esi + 0x18c], 0
mov ebx, dword [eax + 0x50]
mov dword [ebp - 4], str.octet
je 0x4333b0
mov dword [ebp - 4], str.netascii
mov eax, dword [ebp + 8]
sub eax, 0
push 3
pop ecx
je 0x433425
sub eax, ecx
je 0x433402
dec eax
je 0x4333d7
dec eax
je 0x433437
dec eax
je 0x433425
push str.tftp_send_first:_internal_error_n
call fcn.004206e4
jmp 0x433513
push str.Connected_for_transmit
push 0x474d78
call fcn.0042067b
mov dword [edi], 2
call fcn.00433263
push 4
mov ebx, edi
call fcn.00433699
add esp, 0xc
jmp 0x433514
push str.Connected_for_receive
push 0x474d78
call fcn.0042067b
mov dword [edi], 1
call fcn.00433263
push 3
call fcn.00433519
jmp 0x4333fa
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
jle 0x43343e
mov dword [edi + 8], 9
mov dword [edi], ecx
jmp 0x433514
cmp byte [esi + 0x199], 0
je 0x433497
push 2
call dword [sym.imp.WS2_32.dll_htons]
push ebx
mov word [edi + 0x268], ax
call fcn.00437560
pop ecx
mov ecx, ebx
call fcn.004343f6
mov ecx, dword [edi + 0xc]
mov ebx, eax
lea eax, [edi + 0x26c]
mov dword [ecx + 0x1fc], eax
mov eax, dword [esi + 0xa8]
mov ecx, dword [esi + 0xac]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
je 0x4334a6
push ecx
push eax
mov eax, esi
call fcn.0042a2ef
pop ecx
pop ecx
jmp 0x4334a6
push 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi + 0x268], ax
push 0
push dword [ebp - 4]
lea eax, [edi + 0x26a]
push 0
push ebx
push str._s_c_s_c
push eax
call fcn.004284da
push ebx
call fcn.00437560
add esp, 0x1c
push dword [ebp - 4]
mov ebx, eax
call fcn.00437560
pop ecx
lea ecx, [ebx + eax + 4]
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x10]
push dword [eax + 0x10]
push dword [eax + 0x14]
lea eax, [edi + 0x268]
push 0
push ecx
push eax
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x433514
call fcn.0043ae90
push dword [eax]
call fcn.00460ec9
pop ecx
push eax
push 0x474d78
call fcn.004206e4
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433519
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi + 0xc]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [ebp + 8]
push 3
pop ebx
sub eax, ebx
mov dword [ebp - 4], esi
je 0x4335bc
dec eax
dec eax
je 0x433573
dec eax
je 0x433552
push str.tftp_rx:_internal_error
push 0x474d78
call fcn.004206e4
pop ecx
pop ecx
jmp 0x433676
inc dword [edi + 0x14]
push dword [edi + 0x14]
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
call fcn.0042067b
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
pop ecx
pop ecx
jle 0x43357a
mov dword [edi + 8], 8
mov dword [edi], ebx
jmp 0x433676
push dword [edi + 0x58]
lea eax, [edi + 0x48]
push eax
push 0
push 4
lea eax, [edi + 0x268]
push eax
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x433676
call fcn.0043ae90
push dword [eax]
call fcn.00460ec9
push eax
push 0x474d78
call fcn.004206e4
add esp, 0xc
jmp 0x433676
movzx eax, word [edi + 0x66]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ebx, ax
movzx eax, word [edi + 0x30]
inc eax
cmp eax, ebx
je 0x433602
push ebx
push str.Received_unexpected_DATA_packet_block__d_n
call fcn.0042067b
inc dword [edi + 0x14]
mov eax, dword [edi + 0x14]
cmp eax, dword [edi + 0x1c]
pop ecx
pop ecx
jle 0x433602
movzx eax, word [edi + 0x30]
inc eax
push eax
push str.tftp_rx:_giving_up_waiting_for_block__d_n
call fcn.004206e4
pop ecx
pop ecx
jmp 0x433695
mov esi, dword [sym.imp.WS2_32.dll_htons]
and dword [edi + 0x14], 0
mov word [edi + 0x30], bx
push 4
lea ebx, [edi + 0x268]
call esi
mov word [ebx], ax
movzx eax, word [edi + 0x30]
push eax
call esi
push dword [edi + 0x58]
mov word [edi + 0x26a], ax
lea eax, [edi + 0x48]
push eax
push 0
push 4
push ebx
push dword [edi + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x433661
call fcn.0043ae90
push dword [eax]
call fcn.00460ec9
mov esi, dword [ebp - 4]
push eax
push 0x474d78
call fcn.004206e4
add esp, 0xc
mov esi, dword [ebp - 4]
xor eax, eax
cmp dword [edi + 0x5c], 0x204
setl al
lea eax, [eax + eax + 1]
mov dword [edi], eax
movzx eax, word [edi + 0x30]
push 0
cdq
push 0x200
push edx
push eax
call fcn.004562d0
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], edx
pop esi
pop ebx
leave
ret
Function at 0x433699
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ebx + 0xc]
push ebp
push esi
mov esi, dword [eax]
mov eax, dword [esp + 0xc]
sub eax, 4
push edi
je 0x433701
dec eax
je 0x4336e7
dec eax
je 0x4336c6
push str.tftp_tx:_internal_error
push 0x474d78
call fcn.004206e4
pop ecx
pop ecx
jmp 0x4337e3
inc dword [ebx + 0x14]
push dword [ebx + 0x14]
push str.Timeout_waiting_for_block__d_ACK.__Retries___d_n
call fcn.0042067b
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
pop ecx
pop ecx
jle 0x4336f2
mov dword [ebx + 8], 8
mov dword [ebx], 3
jmp 0x4337e3
push dword [ebx + 0x58]
lea eax, [ebx + 0x48]
push eax
mov eax, dword [ebx + 0x60]
jmp 0x4337af
movzx eax, word [ebx + 0x66]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
movzx eax, word [ebx + 0x30]
movzx edx, ax
cmp ecx, edx
je 0x433754
push edx
push ecx
push str.Received_ACK_for_block__d__expecting__d_n
call fcn.0042067b
add esp, 0xc
inc dword [ebx + 0x14]
mov eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
jle 0x433802
movzx eax, word [ebx + 0x30]
push eax
push str.tftp_tx:_giving_up_waiting_for_block__d_ack
push 0x474d78
call fcn.004206e4
add esp, 0xc
jmp 0x433802
mov edi, dword [sym.imp.WS2_32.dll_htons]
and dword [ebx + 0x14], 0
push 3
pop ebp
inc eax
push ebp
mov word [ebx + 0x30], ax
call edi
mov word [ebx + 0x268], ax
movzx eax, word [ebx + 0x30]
push eax
call edi
cmp word [ebx + 0x30], 1
mov word [ebx + 0x26a], ax
jbe 0x433792
cmp dword [ebx + 0x60], 0x200
jge 0x433792
mov dword [ebx], ebp
jmp 0x433802
mov edi, dword [ebx + 0xc]
lea ebp, [ebx + 0x60]
push 0x200
mov ecx, ebp
call fcn.00420a72
pop ecx
push dword [ebx + 0x58]
lea eax, [ebx + 0x48]
push eax
mov eax, dword [ebp]
push 0
add eax, 4
push eax
lea eax, [ebx + 0x268]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x4337e3
call fcn.0043ae90
push dword [eax]
call fcn.00460ec9
push eax
push 0x474d78
call fcn.004206e4
add esp, 0xc
movzx eax, word [ebx + 0x30]
push 0
cdq
push 0x200
push edx
push eax
call fcn.004562d0
mov dword [esi + 0x200], eax
mov dword [esi + 0x204], edx
pop edi
pop esi
pop ebp
ret
Function at 0x435565
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 8], 0
jne 0x435587
mov eax, dword [esi]
push 0x478964
push dword [eax + 8]
call fcn.004607a8
test eax, eax
pop ecx
pop ecx
mov dword [esi + 8], eax
jne 0x435587
or eax, 0xffffffff
ret
push edi
push dword [esi + 8]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.0045ff83
mov edi, eax
add esp, 0x10
cmp edi, dword [esp + 0xc]
je 0x4355b8
push dword [esi + 8]
call fcn.0045cc06
mov eax, dword [esi]
and dword [esi + 8], 0
mov eax, dword [eax]
pop ecx
mov dword [esi], eax
mov eax, edi
pop edi
ret

Function at 0x4356ea
Capabilities:
Encode data using base64

Disassembly:
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 4]
mov cl, byte [edx + ecx]
cmp cl, 0x41
jl 0x43570b
cmp cl, 0x5a
jg 0x43570b
movsx ecx, cl
shl eax, 6
lea eax, [eax + ecx - 0x41]
jmp 0x435759
cmp cl, 0x61
jl 0x435721
cmp cl, 0x7a
jg 0x435721
movsx ecx, cl
shl eax, 6
lea eax, [eax + ecx - 0x47]
jmp 0x435759
cmp cl, 0x30
jl 0x435737
cmp cl, 0x39
jg 0x435737
movsx ecx, cl
shl eax, 6
lea eax, [eax + ecx + 4]
jmp 0x435759
cmp cl, 0x2b
jne 0x435744
shl eax, 6
add eax, 0x3e
jmp 0x435759
cmp cl, 0x2f
jne 0x435751
shl eax, 6
add eax, 0x3f
jmp 0x435759
cmp cl, 0x3d
jne 0x435759
shl eax, 6
inc edx
cmp edx, 4
jl 0x4356ee
mov byte [esi + 2], al
shr eax, 8
mov byte [esi + 1], al
shr eax, 8
mov byte [esi], al
ret

Function at 0x435a5d
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x436964
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x480244]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004367c3
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 fcn.00437c90
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 0x4369b3
cmp dword [ebp - 0x1c], 5
jb 0x4369cb
jmp 0x4369c7
cmp dword [ebp - 0x10], 1
jne 0x4369cb
cmp dword [ebp - 0x1c], 4
ja 0x4369c7
jne 0x4369cb
cmp dword [ebp - 0x18], 0
jbe 0x4369cb
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46e7dc
call fcn.00411ea1
test eax, eax
jge 0x4369ec
mov byte [0x482834], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00437538
add ebp, 0x78
leave
ret

Function at 0x437538
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x480244]
jne 0x437542
repz ret
jmp fcn.0044161d
Function at 0x437d61
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x437d8e
call fcn.0043aea3
mov dword [eax], esi
call fcn.0043ae90
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004377a4
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x437d6a
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x437dbd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0043aeb6
pop ecx
call fcn.0043ae90
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x437de4
test al, 1
je 0x437de4
test byte [esp + 0xc], 2
je 0x437de4
call fcn.0043aea3
mov dword [eax], 5
call fcn.0043ae90
mov dword [eax], 0xd
jmp 0x437db4
xor eax, eax
pop esi
ret

Function at 0x443c98
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x480880]
je 0x443cb3
inc edi
cmp edi, 0x17
jb 0x443ca4
cmp edi, 0x17
jae 0x443e33
push ebp
push 3
call fcn.00455b3e
cmp eax, 1
pop ecx
je 0x443dff
push 3
call fcn.00455b3e
test eax, eax
pop ecx
jne 0x443ce7
cmp dword [0x480240], 1
je 0x443dff
cmp ebx, 0xfc
je 0x443e32
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x481f90
push ebp
call fcn.004415b8
add esp, 0xc
test eax, eax
je 0x443d1d
push esi
push esi
push esi
push esi
push esi
call fcn.00437670
add esp, 0x14
push 0x104
mov esi, 0x481fa9
push esi
push 0
mov byte [0x4820ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x443d61
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004415b8
add esp, 0xc
test eax, eax
je 0x443d61
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00437670
add esp, 0x14
push esi
call fcn.00437560
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x443da6
push esi
call fcn.00437560
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4822a4
push 0x46f04c
sub ecx, eax
push ecx
push eax
call fcn.00454b36
add esp, 0x14
test eax, eax
je 0x443da6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00437670
add esp, 0x14
jmp 0x443da8
xor esi, esi
push 0x46f048
push ebx
push ebp
call fcn.00454a7b
add esp, 0xc
test eax, eax
je 0x443dc8
push esi
push esi
push esi
push esi
push esi
call fcn.00437670
add esp, 0x14
push dword [edi*8 + 0x480884]
push ebx
push ebp
call fcn.00454a7b
add esp, 0xc
test eax, eax
je 0x443dea
push esi
push esi
push esi
push esi
push esi
call fcn.00437670
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00455981
add esp, 0xc
jmp 0x443e32
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x443e32
cmp ebp, 0xffffffff
je 0x443e32
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x480884]
push dword [esi]
call fcn.00437560
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x455981
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00441803
xor ebx, ebx
cmp dword [0x482694], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x455a57
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x455b37
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x455b37
push eax
call fcn.00441795
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x482694], eax
call esi
push eax
call fcn.00441795
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x482698], eax
call esi
push eax
call fcn.00441795
mov dword [0x48269c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00448344
test eax, eax
pop ecx
pop ecx
je 0x455a25
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437670
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x455a57
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00441795
cmp eax, ebx
pop ecx
mov dword [0x4826a4], eax
je 0x455a57
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00441795
pop ecx
mov dword [0x4826a0], eax
mov eax, dword [0x4826a0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x455adc
cmp dword [0x4826a4], ecx
je 0x455adc
push eax
call fcn.0044180c
push dword [0x4826a4]
mov esi, eax
call fcn.0044180c
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x455adc
cmp edi, ebx
je 0x455adc
call esi
cmp eax, ebx
je 0x455aa9
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x455aa9
test byte [ebp - 0x18], 1
jne 0x455adc
lea eax, [ebp - 0x10]
push eax
call fcn.004483f3
test eax, eax
pop ecx
je 0x455ac4
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00437670
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x455ad3
or dword [ebp + 0x10], 0x200000
jmp 0x455b17
or dword [ebp + 0x10], 0x40000
jmp 0x455b17
mov eax, dword [0x482698]
cmp eax, dword [ebp - 8]
je 0x455b17
push eax
call fcn.0044180c
cmp eax, ebx
pop ecx
je 0x455b17
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x455b17
mov eax, dword [0x48269c]
cmp eax, dword [ebp - 8]
je 0x455b17
push eax
call fcn.0044180c
cmp eax, ebx
pop ecx
je 0x455b17
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x482694]
call fcn.0044180c
cmp eax, ebx
pop ecx
je 0x455b37
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x455b39
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45fccc
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x45fd09
cmp dword [ebp + 0x14], edi
je 0x45fd09
cmp ecx, edi
jne 0x45fd10
call fcn.0043ae90
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004377a4
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x45fd24
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x45fd45
cmp ebx, 0xffffffff
je 0x45fd34
push ebx
push edi
push ecx
call fcn.00437c90
add esp, 0xc
cmp esi, edi
je 0x45fcf1
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x45fcf1
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x45fd61
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x45fd68
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x45fe59
test word [esi + 0xc], 0x10c
je 0x45fdbc
mov eax, dword [esi + 4]
test eax, eax
je 0x45fdbc
jl 0x45feba
cmp ebx, eax
mov edi, ebx
jb 0x45fd8d
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x45fe61
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004375eb
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x45fe51
cmp ebx, dword [ebp - 0xc]
jb 0x45fe29
cmp dword [ebp - 0xc], 0
je 0x45fde6
mov ecx, closesocket
xor edx, edx
cmp ebx, ecx
jbe 0x45fddb
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x45fde2
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x45fdf1
mov eax, closesocket
cmp ebx, eax
ja 0x45fdf1
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x45fe8d
push eax
push dword [ebp - 8]
push esi
call fcn.0044badd
pop ecx
push eax
call fcn.004623d7
add esp, 0xc
test eax, eax
je 0x45fecc
cmp eax, 0xffffffff
je 0x45feba
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x45fe51
push esi
call fcn.00461cf6
cmp eax, 0xffffffff
pop ecx
je 0x45febe
cmp dword [ebp - 4], 0
je 0x45fe8d
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x45fd70
mov eax, dword [ebp + 0x14]
jmp 0x45fd0b
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x45fe78
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00437c90
add esp, 0xc
call fcn.0043ae90
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x45fd01
cmp dword [ebp + 0xc], 0xffffffff
je 0x45fea3
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00437c90
add esp, 0xc
call fcn.0043ae90
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x45fd01
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x45fd0b
or dword [esi + 0xc], 0x10
jmp 0x45febe
Function at 0x4078d0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x4078f0
cmp dword [ebp + 0xc], 0
jne 0x4078f4
jmp 0x407948
mov eax, dword [ebp + 0x10]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00429e0e
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042a8dc
test eax, eax
je 0x407948
push 0x5c
mov edx, dword [ebp + 0xc]
push edx
call entry0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407948
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
test ecx, ecx
je 0x407948
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x407950
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x440030]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call fcn.00429822
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40797c
xor eax, eax
jmp 0x407b60
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00429e0e
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00429828
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x407b50
push 0x436780
lea eax, [ebp - 0x21c]
push eax
call dword [0x4303e4]
add esp, 8
test eax, eax
jne 0x407b38
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x454], ecx
mov edx, dword [ebp - 0x454]
push edx
push 0
push 0x410
call dword [0x43011c]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jne 0x407a2e
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0042982e
mov dword [ebp - 8], eax
jmp 0x4079c3
mov word [ebp - 0x450], 0
push 0x206
push 0
lea edx, [ebp - 0x44e]
push edx
call fcn.00429e0e
add esp, 0xc
mov dword [ebp - 0x458], 0
push 0x104
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp - 0x45c]
push ecx
call fcn.00407870
add esp, 0xc
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x407aa2
push 0x104
lea edx, [ebp - 0x450]
push edx
mov eax, dword [ebp - 0x45c]
push eax
call fcn.004078d0
add esp, 0xc
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0
jne 0x407ada
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [0x430110]
mov dword [ebp - 0x45c], 0
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0042982e
mov dword [ebp - 8], eax
jmp 0x4079c3
push str.chrome.exe
mov ecx, dword [ebp - 0x458]
push ecx
call dword [0x4303e4]
add esp, 8
test eax, eax
jne 0x407b18
mov edx, dword [ebp - 0x45c]
push edx
call dword [0x430110]
mov dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x244], eax
jmp 0x407b50
cmp dword [ebp - 0x45c], 0
je 0x407b38
mov ecx, dword [ebp - 0x45c]
push ecx
call dword [0x430110]
mov dword [ebp - 0x45c], 0
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0042982e
mov dword [ebp - 8], eax
jmp 0x4079c3
mov ecx, dword [ebp - 4]
push ecx
call dword [0x430110]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00429e1a
mov esp, ebp
pop ebp
ret