joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4149a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404bdc
lea esi, [ebp - 0xc]
xor eax, eax
push ebp
push 0x414b5e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00413ea4
push 0x3fc99999
push 0x9999999a
call fcn.00414408
push 4
mov eax, dword [0x4188bc]
push eax
call sub.kernel32.dll_PurgeComm
push 0x3fd33333
push 0x33333333
call fcn.00414408
call fcn.00414658
mov eax, 3
call fcn.00414690
push 0x3fd33333
push 0x33333333
call fcn.00414408
push 0
push esi
push 1
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x4188bc]
push eax
call sub.kernel32.dll_WriteFile_1
push 0x3ff8f5c2
push 0x8f5c28f6
call fcn.00414408
call fcn.00414658
mov eax, dword [ebp - 0x10]
call fcn.004048c4
mov ebx, eax
mov eax, 4
call fcn.00414690
push 0x3fd33333
push 0x33333333
call fcn.00414408
mov edi, ebx
test edi, edi
jle 0x414aae
mov ebx, 1
xor eax, eax
mov dword [esi], eax
push 0
push esi
push 1
mov eax, dword [ebp - 0x10]
add eax, ebx
push eax
mov eax, dword [0x4188bc]
push eax
call sub.kernel32.dll_WriteFile_1
cmp dword [esi], 1
je 0x414aa5
push 0x3ff00000
push 0
call fcn.00414408
cmp dword [esi], 1
jne 0x414a7a
inc ebx
dec edi
jne 0x414a7a
push 0x3fe00000
push 0
call fcn.00414408
mov byte [ebp - 7], 1
cmp byte [ebp - 6], 0
je 0x414b34
mov byte [ebp - 7], 0
mov ebx, 3
push 3
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x413cac]
call fcn.00404a78
add esp, 4
mov eax, dword [ebp - 0x10]
mov dl, byte [ebp - 5]
mov byte [eax], dl
mov al, 0xff
sub al, byte [ebp - 5]
mov edx, dword [ebp - 0x10]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x10]
mov byte [eax + 2], 0xaa
xor ecx, ecx
mov dl, 0xff
mov eax, dword [ebp - 0x10]
call fcn.004149a0
lea edx, [ebp - 0x10]
mov al, 0xff
call fcn.004146bc
mov eax, dword [ebp - 0x10]
call fcn.004048c4
cmp eax, 5
jle 0x414b31
mov eax, dword [ebp - 0x10]
cmp byte [eax + 5], 6
jne 0x414b31
mov byte [ebp - 7], 1
jmp 0x414b34
dec ebx
jne 0x414acd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414b65
lea eax, [ebp - 0x10]
mov edx, dword [0x413cac]
call fcn.00404b78
lea eax, [ebp - 4]
mov edx, dword [0x413cac]
call fcn.00404b78
ret
Function at 0x414c9c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x414d89
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
xor edx, edx
mov al, 2
call fcn.00405c9c
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x414d7f
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov dword [0x4188ac], eax
cmp dword [0x4188ac], 0xffffffff
jne 0x414d00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x414d93
mov word [ebp - 0x1a8], 2
push 0x400
call sub.wsock32.dll_htons
mov word [ebp - 0x1a6], ax
push ebx
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1a4], eax
push 0x10
lea eax, [ebp - 0x1a8]
push eax
mov eax, dword [0x4188ac]
push eax
call sub.wsock32.dll_connect
test eax, eax
jne 0x414d7f
mov dword [ebp - 8], 0x64
push 4
lea eax, [ebp - 8]
push eax
push 0x1005
push 0xffff
mov eax, dword [0x4188ac]
push eax
call sub.wsock32.dll_setsockopt
push 4
lea eax, [ebp - 8]
push eax
push 0x1006
push 0xffff
mov eax, dword [0x4188ac]
push eax
call sub.wsock32.dll_setsockopt
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x414d93
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x6cf522
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6cb650]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x6cf540
push eax
call dword [fcn.006cb020]
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
movzx eax, word [ebx + 0x14]
push dword [ebx + 0x88]
lea eax, [eax + ebx + 0x18]
push ebx
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0xa], 0x6f
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0x10], eax
call fcn.006ccaa7
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x18], eax
je 0x6cf604
movzx eax, word [ebx + 6]
and dword [ebp - 0x14], 0
test eax, eax
push esi
push edi
jle 0x6cf5af
mov edi, dword [ebp - 0x10]
push 2
pop ecx
lea esi, [ebp - 0xc]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x6cf5af
add dword [ebp - 0x10], 0x28
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
jl 0x6cf594
cmp dword [ebp - 0x14], eax
je 0x6cf602
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x34]
add edx, dword [eax + 0xc]
push 4
pop ecx
mov edi, 0x6ccf88
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x6cf602
push 4
pop ecx
mov edi, 0x6ccf88
lea esi, [edx + 0x140]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x6cf602
cmp dword [edx + 0x124], eax
je 0x6cf5f0
push 0x6cf324
jmp 0x6cf5f5
push 0x6cf50a
push ebx
push dword [ebp - 0x18]
push edx
call fcn.006cf0fb
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.006d05aa
leave
ret

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

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
xor ebp, ebp
test esi, esi
je 0x6e0c7f
mov eax, dword [esi + 0x3c]
push ebx
push edi
mov edi, dword [eax + esi + 0x78]
add edi, esi
xor ebx, ebx
cmp dword [edi + 0x18], ebx
jbe 0x6e0c78
mov edi, edi
mov ecx, dword [edi + 0x20]
lea edx, [ecx + ebx*4]
mov eax, dword [edx + esi]
mov ecx, dword [esp + 0x18]
add eax, esi
push ecx
push eax
call dword [0x1000707c]
test eax, eax
jne 0x6e0c70
mov edx, dword [edi + 0x24]
lea eax, [edx + ebx*2]
movzx ecx, word [eax + esi]
mov edx, dword [edi + 0x1c]
lea eax, [edx + ecx*4]
mov ebp, dword [eax + esi]
add ebp, esi
add ebx, 1
cmp ebx, dword [edi + 0x18]
jb 0x6e0c40
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
ret
pop esi
mov eax, ebp
pop ebp
ret
Function at 0x6e2010
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, dword [edi + 0x3c]
add esi, edi
lea eax, [esi + 0x50]
push 0x40
mov dword [esp + 0x20], eax
mov eax, dword [eax]
push 0x1000
push eax
push 0
mov dword [esp + 0x20], esi
call dword [0x10007020]
mov ebp, dword [esi + 0x54]
mov ebx, eax
mov eax, dword [0x100e1010]
test eax, eax
jne 0x6e2067
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
push ebp
push edi
push ebx
call eax
movzx ecx, word [esi + 0x14]
mov ebp, dword [esp + 0x1c]
add esp, 0xc
cmp word [ebp + 6], 0
lea esi, [esi + ecx + 0x18]
mov dword [esp + 0x18], 0
jbe 0x6e2130
add esi, 0x10
mov edi, dword [esi - 4]
mov eax, dword [0x100e1014]
mov edx, dword [esi]
mov ebp, dword [esi - 8]
add edi, ebx
test eax, eax
mov dword [esp + 0x14], edx
jne 0x6e20c4
push 0x10007110
push 0x10007100
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1014], eax
push ebp
push edi
call eax
mov eax, dword [esp + 0x14]
cmp ebp, eax
mov dword [esp + 0x14], ebp
jl 0x6e20d8
mov dword [esp + 0x14], eax
mov ebp, dword [esi + 4]
mov eax, dword [0x100e1010]
add ebp, dword [esp + 0x24]
test eax, eax
jne 0x6e2104
push 0x100070f8
push 0x100070ec
call dword [0x1000708c]
push eax
call dword [0x100070a4]
mov dword [0x100e1010], eax
mov ecx, dword [esp + 0x14]
push ecx
push ebp
push edi
call eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
movzx ecx, word [edx + 6]
add eax, 1
add esp, 0xc
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x6e2091
mov ebp, edx
mov eax, dword [ebp + 0xa4]
mov edi, dword [ebp + 0xa0]
mov esi, ebx
sub esi, dword [ebp + 0x34]
add edi, ebx
test eax, eax
mov dword [esp + 0x18], eax
mov edx, edi
jle 0x6e218c
lea ecx, [ecx]
mov eax, dword [edx + 4]
sub eax, 8
shr eax, 1
test eax, eax
lea ecx, [edx + 8]
jle 0x6e2182
mov dword [esp + 0x24], eax
movzx eax, word [ecx]
test eax, 0xf000
je 0x6e2178
and eax, 0xfff
add eax, dword [edx]
add eax, ebx
add dword [eax], esi
add ecx, 2
sub dword [esp + 0x24], 1
jne 0x6e2163
mov edx, ecx
sub ecx, edi
cmp ecx, dword [esp + 0x18]
jl 0x6e2150
mov edi, dword [ebp + 0x80]
mov eax, dword [edi + ebx + 0xc]
add edi, ebx
test eax, eax
je 0x6e21f1
lea esp, [esp]
add eax, ebx
push eax
call dword [0x10007050]
cmp dword [edi + 4], 0
mov ebp, eax
jne 0x6e21b6
mov esi, dword [edi + 0x10]
jmp 0x6e21b8
mov esi, dword [edi]
add esi, ebx
cmp dword [esi], 0
je 0x6e21e3
nop
mov eax, dword [esi]
test eax, eax
jns 0x6e21cd
and eax, 0xffff
jmp 0x6e21d1
lea eax, [eax + ebx + 2]
push eax
push ebp
call dword [0x100070a4]
mov dword [esi], eax
add esi, 4
cmp dword [esi], 0
jne 0x6e21c0
mov eax, dword [edi + 0x20]
add edi, 0x14
test eax, eax
jne 0x6e21a0
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
call dword [0x10007094]
push eax
call dword [0x10007098]
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x6e2222
lea esi, [eax + ebx]
test esi, esi
je 0x6e2222
push 0
push 1
push ebx
call esi
push 0
push 2
push ebx
call esi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x6e5390
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 8], 1
push 0x10007f98
push 0x10007fa8
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1224], eax
push 0x10007fbc
push 0x10007fcc
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1220], eax
push 0x10007fe0
push 0x10007ff4
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e121c], eax
push 0x10008008
push 0x10008014
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1218], eax
push 0x10008028
push 0x10008038
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1258], eax
push 0x10008054
push 0x10008064
call dword [0x1000709c]
push eax
call dword [0x100070a4]
mov dword [0x100e1254], eax
push 0
call dword [0x1000709c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x10], 0x2e
mov byte [ebp - 0xf], 0x62
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x70
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x6b
mov byte [ebp - 0xa], 0
mov byte [ebp - 9], 0
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
jmp 0x6e54b1
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x20], edx
jge 0x6e5516
mov eax, dword [ebp - 0x20]
imul eax, eax, 0x28
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
push 8
lea ecx, [ebp - 0x2c]
push ecx
call dword [0x100e1224]
push 8
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [0x100e1220]
push 8
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x10]
push edx
call dword [0x100e121c]
cmp eax, 8
jne 0x6e5514
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.006e43f0
mov dword [ebp - 8], eax
jmp 0x6e5516
jmp 0x6e54a8
mov esp, ebp
pop ebp
ret
Function at 0x7014b0
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x100b081c
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00706fa0
mov dword [esi], eax
mov ecx, 0x20
mov dword [esi + 4], ebx
add esp, 8
mov byte [eax], bl
mov eax, 1
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xac], ecx
push 0x100b2e47
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0x10000
mov dword [esp + 0x24], 0x100b2ff8
mov dword [esp + 0x28], 0x20000
mov dword [esp + 0x2c], 0x100b2fe8
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0x34], 0x100b2fdc
mov dword [esp + 0x38], 0x40000
mov dword [esp + 0x3c], 0x100b2fd0
mov dword [esp + 0x40], 0x80000
mov dword [esp + 0x44], 0x100b2fc4
mov dword [esp + 0x48], 0x80000000
mov dword [esp + 0x4c], 0x100b2fb4
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], 0x100b2fa4
mov dword [esp + 0x58], 0x20000000
mov dword [esp + 0x5c], 0x100b2f94
mov dword [esp + 0x60], 0x10000000
mov dword [esp + 0x64], 0x100b2f88
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x100b2f78
mov dword [esp + 0x70], 0x80
mov dword [esp + 0x74], 0x100b2f60
mov dword [esp + 0x78], 8
mov dword [esp + 0x7c], 0x100b2f50
mov dword [esp + 0x80], 2
mov dword [esp + 0x84], 0x100b2f40
mov dword [esp + 0x88], 0x100
mov dword [esp + 0x8c], 0x100b2f28
mov dword [esp + 0x90], 0x10
mov dword [esp + 0x94], 0x100b2f18
mov dword [esp + 0x98], 4
mov dword [esp + 0x9c], 0x100b2f04
mov dword [esp + 0xa4], 0x100b2ef4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x100b2ee0
mov dword [esp + 0xb4], 0x100b2ed0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.006ec640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.006ec640
cmp ebp, ebx
je 0x70166f
push ebp
call fcn.00707000
add esp, 4
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test dword [esp + 0x120], eax
je 0x7016a4
not eax
and dword [esp + 0x120], eax
cmp dword [edi + 8], ebx
je 0x701698
push 0x100b2ecc
mov ecx, esi
call fcn.006ec470
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.006ec470
add ebp, 1
cmp ebp, 0x13
jb 0x701671
cmp dword [edi + 8], ebx
jne 0x7016f3
push 0x100b2ec4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.006ec640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.006ec640
cmp ebp, ebx
je 0x70172f
push ebp
call fcn.00707000
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x120]
cmp eax, ebx
je 0x70172f
push eax
lea ecx, [esp + 0x20]
push 0x100b2ebc
push ecx
call dword [0x100b0254]
add esp, 0xc
cmp dword [edi + 8], ebx
je 0x701723
push 0x100b2ecc
mov ecx, esi
call fcn.006ec470
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.006ec470
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret 4
Function at 0x701c80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x17c
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi], 0x100b081c
lea esi, [edi + 4]
push 0x100
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xff
call fcn.00706fa0
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], ebx
push 0x100b2e47
lea ecx, [esp + 0x14]
mov byte [eax], bl
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x100b326c
mov dword [esp + 0x28], 0x40
mov dword [esp + 0x2c], 0x100b3254
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], 0x100b3240
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0x100b3228
mov dword [esp + 0x40], 0x800
mov dword [esp + 0x44], 0x100b3214
mov dword [esp + 0x48], 8
mov dword [esp + 0x4c], 0x100b31f4
mov dword [esp + 0x50], 0x10
mov dword [esp + 0x54], 0x100b31d8
mov dword [esp + 0x58], 0x20
mov dword [esp + 0x5c], 0x100b31b8
mov dword [esp + 0x60], 0x80
mov dword [esp + 0x64], 0x100b319c
mov dword [esp + 0x68], 0x100
mov dword [esp + 0x6c], 0x100b3180
mov dword [esp + 0x70], 0x200
mov dword [esp + 0x74], 0x100b3168
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x100b3150
mov dword [esp + 0x80], 0x2000
mov dword [esp + 0x84], 0x100b3138
mov dword [esp + 0x88], 0x4000
mov dword [esp + 0x8c], 0x100b311c
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.006ec640
mov ebp, dword [esp + 0x10]
push ebp
mov ecx, esi
call fcn.006ec640
cmp ebp, ebx
je 0x701dd7
push ebp
call fcn.00707000
add esp, 4
mov ebx, dword [esp + 0x190]
xor ebp, ebp
mov eax, dword [esp + ebp*8 + 0x1c]
test ebx, eax
je 0x701e0a
not eax
and ebx, eax
cmp dword [edi + 8], 0
je 0x701dfe
push 0x100b2ecc
mov ecx, esi
call fcn.006ec470
mov eax, dword [esp + ebp*8 + 0x20]
push eax
mov ecx, esi
call fcn.006ec470
add ebp, 1
cmp ebp, 0xe
jb 0x701de0
xor ebp, ebp
cmp dword [edi + 8], ebp
jne 0x701e5b
push 0x100b2ec4
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.006ec640
mov ebx, dword [esp + 0x10]
push ebx
mov ecx, esi
call fcn.006ec640
cmp ebx, ebp
je 0x701e96
push ebx
call fcn.00707000
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
cmp ebx, ebp
je 0x701e96
push ebx
lea ecx, [esp + 0x90]
push 0x100b2ebc
push ecx
call dword [0x100b0254]
add esp, 0xc
cmp dword [edi + 8], ebp
je 0x701e87
push 0x100b2ecc
mov ecx, esi
call fcn.006ec470
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
call fcn.006ec470
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x17c
ret 4
Function at 0x70f120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x10], ebx
je 0x70f24d
mov ecx, dword [edi + 0x3c]
mov esi, dword [ecx + edi + 0x78]
add ecx, edi
add esi, edi
cmp dword [esi + 0x18], ebx
mov dword [esp + 0x18], ecx
jbe 0x70f24d
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
lea edx, [eax + ebx*4]
mov eax, dword [edx + edi]
add eax, edi
test eax, 0xffff0000
je 0x70f182
test ebp, 0xffff0000
je 0x70f182
push ebp
push eax
call dword [0x100b01ac]
mov ecx, dword [esp + 0x18]
neg eax
sbb eax, eax
add eax, 1
jmp 0x70f18b
xor edx, edx
cmp eax, ebp
sete dl
mov eax, edx
test eax, eax
jne 0x70f1a1
add ebx, 1
cmp ebx, dword [esi + 0x18]
jb 0x70f153
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x24]
lea edx, [eax + ebx*2]
movzx eax, word [edx + edi]
mov edx, dword [esi + 0x1c]
lea eax, [edx + eax*4]
mov ebx, dword [eax + edi]
add ebx, edi
cmp ebx, esi
jb 0x70f249
mov ecx, dword [ecx + 0x7c]
add ecx, esi
cmp ebx, ecx
ja 0x70f249
xor ecx, ecx
cmp byte [ebx], cl
mov eax, ebx
je 0x70f1de
add eax, 1
add ecx, 1
cmp byte [eax], 0
jne 0x70f1d3
lea esi, [ecx + 1]
xor edi, edi
test esi, esi
jbe 0x70f1f2
push esi
call fcn.00707050
add esp, 4
mov edi, eax
push esi
push ebx
push edi
call fcn.00706f30
add esp, 0xc
cmp byte [edi], 0
mov esi, edi
je 0x70f211
cmp byte [esi], 0x2e
je 0x70f222
add esi, 1
cmp byte [esi], 0
jne 0x70f204
push edi
call fcn.00707000
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push edi
mov byte [esi], 0
call dword [0x100b00d4]
add esi, 1
push esi
push eax
call fcn.0070f120
push edi
mov esi, eax
call fcn.00707000
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x733910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov dx, word [eax]
shr dx, 1
push esi
movzx esi, dx
xor ecx, ecx
test si, si
push edi
mov word [esp + 8], 0x5c
mov word [esp + 0xa], 0x2f
mov word [esp + 0xc], 0x3a
mov word [esp + 0xe], 0x2a
mov word [esp + 0x10], 0x3f
mov word [esp + 0x12], 0x22
mov word [esp + 0x14], 0x3c
mov word [esp + 0x16], 0x3e
mov word [esp + 0x18], 0x7c
jbe 0x733997
mov edi, dword [eax + 4]
jmp 0x733970
movzx edx, cx
movzx edx, word [edi + edx*2]
xor eax, eax
lea esp, [esp]
cmp dx, word [esp + eax*2 + 8]
je 0x7339a2
add eax, 1
cmp eax, 9
jb 0x733980
add ecx, 1
cmp cx, si
jb 0x733970
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x40194e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x401986
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x401974
mov al, 1
jmp 0x4019e5
cmp dword [ebx + 0x54], ecx
jne 0x40197d
mov al, 2
jmp 0x4019e5
cmp dword [ebx + 0x7c], ecx
jne 0x4019e5
mov al, 3
jmp 0x4019e5
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x40199b
mov al, 4
jmp 0x4019e5
cmp ecx, 5
jne 0x4019bb
cmp ebx, 0
jne 0x4019a9
mov al, 5
jmp 0x4019e5
cmp ebx, 1
jne 0x4019b2
mov al, 6
jmp 0x4019e5
cmp ebx, 2
jne 0x4019bb
mov al, 7
jmp 0x4019e5
cmp ecx, 6
jne 0x4019e3
cmp ebx, 0
jne 0x4019c9
mov al, 8
jmp 0x4019e5
cmp ebx, 1
jne 0x4019d0
mov al, 9
cmp ebx, 2
jne 0x4019d7
mov al, 0xa
cmp ebx, 3
jne 0x4019de
mov al, 0xb
cmp ebx, 4
jne 0x4019e5
mov al, 0xc
pop ebx
leave
ret
Function at 0x4065fd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0040665f
test eax, eax
je 0x406640
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x406640
cmp word [eax], 0x5a4d
jne 0x406640
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x406640
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.00406731
mov eax, dword [ebp + 8]
jmp 0x406659
mov esp, ebp
pop ebp
ret 4

Function at 0x40665f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x406712
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x406921
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x406943
mov eax, 0xfffffffd
jmp 0x406a23
mov ebx, dword [0x1a0b3ec]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4069f1
mov ebx, dword [0x1a0b3ec]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x406992
mov ebx, dword [0x1a0b3ec]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x406992
mov eax, 1
jmp 0x406997
mov eax, 0
test eax, eax
je 0x4069c3
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x4069ac
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x1a0b3ec]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x406a19
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x406a23
mov esp, ebp
pop ebp
ret 4

Function at 0x40713f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x4071f2
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]