joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410cab
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x44
mov eax, 0x445976
call fcn.004438b1
mov edi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
push 0x20
push eax
mov dword [ebp - 4], eax
mov esi, eax
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x48], 1
add esp, 0xc
mov dword [ebp - 0x44], eax
cmp dword [ebx + 0x10], eax
je 0x410cfa
cmp dword [ebx + 0x14], 0x10
mov esi, ebx
jb 0x410cee
mov esi, dword [ebx]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], 4
jmp 0x410d15
cmp dword [edi + 0x10], eax
je 0x410d09
cmp dword [edi + 0x14], 0x10
mov esi, edi
jb 0x410d09
mov esi, dword [edi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.0040e885
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x410df8
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x410df1
mov ebx, dword [sym.imp.WS2_32.dll_setsockopt]
push 0x81
push 0
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410d90
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x410de3
cmp byte [ebp + 0x1c], 0
je 0x410da8
push 4
xor ecx, ecx
lea eax, [ebp - 0x2c]
push eax
inc ecx
push ecx
push 6
push edi
mov dword [ebp - 0x2c], ecx
call ebx
cmp dword [ebp + 0x44], 0
je 0x410db7
push edi
lea ecx, [ebp + 0x20]
call fcn.00419262
cmp dword [esi + 4], 0x17
jne 0x410dce
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
push 4
push eax
push 0x1b
push 0x29
push edi
call ebx
push esi
push edi
lea ecx, [ebp + 0x48]
call fcn.00418ba9
test al, al
jne 0x410e13
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
test esi, esi
jne 0x410d5b
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004084b0
lea ecx, [ebp + 0x20]
call fcn.0041e28b
mov eax, edi
call fcn.0044386f
ret
push dword [ebp - 0x30]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x410dfb
Function at 0x4171c3
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x45e080]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, ecx
lea eax, [esp + 4]
push eax
push 2
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x4171f1
mov byte [esi], 1
mov ecx, dword [esp + 0x194]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00443155
add esp, 0x194
ret

Function at 0x418ba9
Capabilities:
Connect socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push edi
push 1
push ebx
mov edi, ecx
call fcn.004254a8
mov eax, dword [esp + 0x1c]
pop ecx
pop ecx
push dword [eax + 0x10]
push dword [eax + 0x18]
push ebx
call dword [sym.imp.WS2_32.dll_connect]
xor ebp, ebp
test eax, eax
jns 0x418c15
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x418bf0
mov eax, dword [edi + 4]
mov dword [eax], 2
xor al, al
jmp 0x418c9c
mov eax, dword [edi + 0xc]
push dword [eax + 4]
push dword [eax]
mov eax, dword [edi + 8]
push dword [eax + 4]
push dword [eax]
push ebx
call fcn.00425b43
mov ecx, dword [edi + 4]
add esp, 0x14
mov dword [ecx], eax
mov eax, dword [edi + 4]
cmp dword [eax], ebp
jne 0x418be9
push ebp
push ebx
call fcn.004254a8
mov eax, dword [edi + 0x14]
pop ecx
pop ecx
push ebp
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00443a80
mov ecx, eax
mov ebp, 0xffff
mov eax, dword [edi + 0x10]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
lea eax, [esp + 0x14]
push eax
push 0x1006
push ebp
push ebx
mov dword [esp + 0x24], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, dword [edi + 0x1c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00443a80
mov ecx, eax
mov eax, dword [edi + 0x18]
push 4
imul eax, dword [eax], 0x3e8
add ecx, eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x14]
push ecx
push 0x1005
push ebp
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [edi + 4]
mov al, 1
and dword [ecx], 0
pop edi
pop ebp
pop ebx
ret 8

Function at 0x418ceb
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_recv]
ret

Function at 0x418dbe
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [ecx + 0xc]
push dword [eax]
mov eax, dword [ecx + 8]
push dword [eax]
mov eax, dword [ecx + 4]
push dword [eax]
mov eax, dword [ecx]
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
ret

Function at 0x418dd8
Capabilities:
Get socket status

Disassembly:
push dword [ecx + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0xc]
push dword [ecx + 8]
mov eax, dword [eax]
push dword [ecx + 4]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
ret
Function at 0x421883
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x408
mov eax, dword [0x45e080]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
mov ebx, dword [esp + 0x418]
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x424]
push 2
movzx eax, word [esi]
pop ecx
cmp ax, cx
je 0x4218bf
cmp eax, 0x17
jne 0x421927
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push ebp
movzx eax, ax
mov ebp, 0x401
mov dword [edi], eax
xor edi, edi
push ebp
lea eax, [esp + 0x14]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push 2
push edi
push edi
push ebp
push eax
push dword [esp + 0x434]
push esi
call dword [sym.imp.WS2_32.dll_getnameinfo]
pop ebp
test eax, eax
jne 0x421927
lea edx, [esp + 0xc]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x42190d
sub edx, esi
lea eax, [esp + 0xc]
push edx
push eax
mov ecx, ebx
call fcn.00408ae0
mov al, 1
jmp 0x421929
xor al, al
mov ecx, dword [esp + 0x410]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00443155
add esp, 0x408
ret

Function at 0x42195a
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x88
mov eax, dword [0x45e080]
xor eax, ebp
mov dword [ebp + 0x68], eax
push esi
mov esi, dword [ebp + 0x78]
lea eax, [ebp - 0x1c]
push edi
mov edi, dword [ebp + 0x7c]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0x80
push eax
push dword [ebp + 0x74]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4219a4
push edi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push eax
call fcn.00421883
add esp, 0x10
mov ecx, dword [ebp + 0x68]
pop edi
xor ecx, ebp
pop esi
call fcn.00443155
add ebp, 0x6c
leave
ret
Function at 0x437d71
Capabilities:
Hash data using sha256

Disassembly:
push 0x20
push 0x44ef10
push dword [esp + 0xc]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
ret
Function at 0x43afeb
Capabilities:
Hash data using sha1

Disassembly:
call fcn.00437c04
test al, al
je 0x43b009
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00442104
add esp, 0x10
ret
jmp fcn.00437d85

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

Disassembly:
call fcn.00437c04
test al, al
je 0x43b02c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.0044238b
add esp, 0x10
ret
jmp fcn.00439341

Function at 0x43cb59
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
xor edx, edx
push esi
mov dword [esp + 0x18], edx
push edi
movzx edi, byte [edx + 0x450758]
mov dword [esp + 0x10], edi
mov eax, edi
shr eax, 5
mov esi, edi
mov edx, eax
shr esi, 6
mov ebx, eax
lea ecx, [edi + edi]
xor ecx, edi
and eax, 1
mov dword [esp + 0x14], eax
and ebx, 2
shr edi, 7
and edx, 4
imul eax, edi, 0x1b000000
lea ebp, [ecx + ecx]
mov dword [esp + 0x18], edx
xor ebp, dword [esp + 0x10]
mov edx, esi
shl ebp, 0x19
and esi, 1
shl ecx, 2
and edx, 2
xor ebp, eax
xor ecx, dword [esp + 0x10]
imul eax, dword [esp + 0x14], 0x1b000000
shl ecx, 8
xor ebp, eax
imul eax, ebx, 0x1b000000
xor ebp, eax
imul eax, esi, 0x1b000000
xor ebp, eax
imul eax, edx, 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x18], 0x1b000000
xor ebp, eax
imul eax, dword [esp + 0x14], 0x11b00
xor ecx, eax
imul eax, ebx, 0x11b00
xor ecx, eax
imul eax, esi, 0x11b00
mov esi, dword [esp + 0x18]
xor ecx, eax
imul eax, edx, 0x11b00
mov edx, dword [esp + 0x10]
xor ecx, eax
imul eax, esi, 0x11b00
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b0000
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 3
xor ecx, dword [esp + 0x10]
shl ecx, 0x10
xor ecx, eax
imul eax, ebx, 0x11b0000
xor ecx, eax
imul eax, esi, 0x11b0000
xor ecx, eax
imul eax, edi, 0x11b
or ebp, ecx
mov ecx, dword [esp + 0x10]
shl ecx, 2
xor ecx, dword [esp + 0x10]
add ecx, ecx
xor ecx, eax
imul eax, dword [esp + 0x14], 0x11b
xor ecx, eax
imul eax, ebx, 0x11b
xor ecx, eax
imul eax, esi, 0x11b
xor ecx, eax
xor eax, eax
xor ecx, edx
or edx, ebp
or ecx, ebp
or eax, edx
mov edx, dword [esp + 0x1c]
mov dword [edx*8 + 0x463960], eax
mov dword [edx*8 + 0x463964], ecx
inc edx
mov dword [esp + 0x1c], edx
cmp edx, 0x100
jl 0x43cb66
pop edi
pop esi
pop ebp
pop ebx
mov byte [0x464161], 1
add esp, 0x10
ret

Function at 0x43ccb1
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push esi
push edi
xor edi, edi
movzx edx, byte [edi + str.cw]
mov ecx, edx
mov eax, edx
shr ecx, 7
imul esi, ecx, 0x1b000000
shl eax, 0x19
imul ecx, ecx, 0x11b
xor esi, eax
mov eax, edx
shl eax, 8
or eax, edx
shl eax, 8
or esi, eax
lea eax, [edx + edx]
xor ecx, eax
xor eax, eax
xor ecx, edx
or eax, esi
or ecx, esi
mov dword [edi*8 + 0x463150], eax
mov dword [edi*8 + 0x463154], ecx
inc edi
cmp edi, 0x100
jl 0x43ccb5
xorps xmm0, xmm0
pop edi
movlpd qword [0x463958], xmm0
movlpd qword [0x463950], xmm0
pop esi
mov byte [0x464160], 1
ret
Function at 0x43e805
Capabilities:
Generate random numbers via winapi

Disassembly:
push 0x44
mov eax, 0x449180
call fcn.004438b1
mov eax, dword fs:[0x2c]
mov ecx, dword [0x464250]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x464168]
cmp eax, dword [ecx + 4]
jg 0x43e84d
push 0
push dword [ebp + 0xc]
push esi
push dword [0x464164]
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x43e888
call fcn.0044386f
ret 8
mov edi, 0x464168
push edi
call fcn.004437f7
cmp dword [0x464168], 0xffffffff
pop ecx
jne 0x43e830
and dword [ebp - 4], 0
mov ecx, 0x464164
call fcn.0043e64c
push 0x4497e4
call fcn.004434e4
or dword [ebp - 4], 0xffffffff
push edi
call fcn.004437a6
pop ecx
pop ecx
jmp 0x43e830
push eax
call fcn.0043e8c5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x44f408
lea ecx, [ebp - 0x28]
call fcn.00408560
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x50]
call fcn.0043e6f6
push 0x45ac90
lea eax, [ebp - 0x50]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x43f65c
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
mov ebx, dword [esp + 0x10]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
cmp edi, 4
jb 0x43f6bc
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
add esp, 0x18
xor eax, dword [esp + 0x14]
add ebx, 4
mov ecx, dword [esp + 0x10]
add esi, 4
or ecx, eax
sub edi, 4
mov dword [esp + 0x10], ecx
sub ebp, 1
jne 0x43f67e
pop ebp
mov edx, ecx
mov eax, ecx
shr edx, 8
or edx, ecx
shr eax, 0x10
and edx, 0xff00
or edx, eax
movzx eax, cl
shr edx, 8
or edx, eax
test edi, edi
je 0x43f6ef
sub ebx, esi
movzx ecx, byte [ebx + esi]
movzx eax, byte [esi]
xor ecx, eax
or edx, ecx
inc esi
sub edi, 1
jne 0x43f6de
pop edi
test edx, edx
pop esi
sete al
pop ebx
pop ecx
pop ecx
ret

Function at 0x43f6fa
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [esp + 0x20]
test edi, edi
je 0x43f785
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x28]
cmp edi, 4
jb 0x43f76c
mov eax, edi
shr eax, 2
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x18]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x20]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push 4
push eax
push ebp
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add ebp, 4
add ebx, 4
add esi, 4
sub edi, 4
sub dword [esp + 0x2c], 1
jne 0x43f723
test edi, edi
je 0x43f782
sub ebx, esi
sub ebp, esi
mov al, byte [ebx + esi]
xor al, byte [esi]
mov byte [esi + ebp], al
inc esi
sub edi, 1
jne 0x43f774
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret
Function at 0x43f78a
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x43f802
push ebx
mov ebx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x18]
cmp edi, 4
jb 0x43f7ef
push ebp
mov ebp, edi
shr ebp, 2
push 4
lea eax, [esp + 0x14]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
push 4
lea eax, [esp + 0x34]
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push 4
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0x24
add esi, 4
add ebx, 4
sub edi, 4
sub ebp, 1
jne 0x43f7aa
pop ebp
test edi, edi
je 0x43f800
sub ebx, esi
mov al, byte [ebx + esi]
xor byte [esi], al
inc esi
sub edi, 1
jne 0x43f7f5
pop esi
pop ebx
pop edi
pop ecx
pop ecx
ret

Function at 0x442b17
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
mov edx, dword [esp + 4]
add eax, eax
push 4
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
pop eax
cmp ecx, eax
jbe 0x442b5d
aesimc xmm0, xmmword [edx + ecx*4]
aesimc xmm1, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add eax, 4
movups xmmword [edx + ecx*4], xmm1
sub ecx, 4
cmp eax, ecx
jb 0x442b3f
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
ret
Function at 0x442b68
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x28
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
push edi
push eax
push esi
movups xmm0, xmmword [eax + edi - 0x10]
movaps xmmword [esp + 0x2c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movaps xmm1, xmmword [esp + 0x2c]
mov eax, edi
shr eax, 2
add esp, 0xc
mov edx, eax
mov dword [esp + 0x14], eax
aeskeygenassist xmm0, xmm1, 0
shl edx, 2
lea ecx, [eax + 7]
mov dword [esp + 0x18], 0x450614
shl ecx, 4
add ecx, esi
mov dword [esp + 0x1c], ecx
pextrd ecx, xmm0, 3
xor ecx, dword [esi]
xor ecx, 1
mov dword [edx + esi], ecx
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [esi + 0x10]
add eax, edx
jmp 0x442ca4
cmp edi, 0x18
jne 0x442c17
mov eax, dword [esi + 0x24]
xor eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
xor ecx, eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
pinsrd xmm1, ecx, 3
jmp 0x442c5c
cmp edi, 0x20
jne 0x442c55
pinsrd xmm1, dword [esi + 0x2c], 3
mov eax, dword [esi + 0x14]
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 2
xor ecx, dword [esi + 0x10]
xor eax, ecx
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x18]
xor ecx, eax
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x1c]
xor eax, ecx
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
pinsrd xmm1, eax, 3
jmp 0x442c5c
pinsrd xmm1, dword [esi + 0x1c], 3
mov eax, dword [esp + 0x18]
add esi, edx
aeskeygenassist xmm0, xmm1, 0
pextrd ecx, xmm0, 3
xor ecx, dword [eax]
add eax, 4
xor ecx, dword [esi]
mov dword [edx + esi], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
xor eax, ecx
mov dword [edx + esi + 4], eax
mov ecx, dword [esi + 8]
xor ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + eax*4 + 8], ecx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + ecx*4 + 0xc], eax
lea eax, [edx + 0x10]
add eax, esi
cmp eax, dword [esp + 0x1c]
jne 0x442bf9
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x444306
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x444345
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x444345
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x444345
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x444345
cmp dword [ecx + 0x74], 0xe
jbe 0x444345
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100142df
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x100408ba
call fcn.1003f015
mov edi, ecx
sub esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.10014283
xor eax, eax
push eax
push eax
push edi
push 0x100143a0
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x10014323
push 0xffffffffffffffff
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp byte [edi + 8], 0
jne 0x10014367
mov byte [ebp - 4], 1
mov ecx, dword [edi + 4]
sub ecx, 0x10
call fcn.1002d987
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
push 1
xor eax, eax
mov byte [ebp - 4], 2
mov esi, dword [edi]
push eax
push eax
push ebx
mov ecx, dword [esi + 8]
push 0x100077cc
push eax
call dword [0x1004d3bc]
mov ecx, edi
call dword [esi + 8]
lea ecx, [ebx - 0x10]
call fcn.1002d9fa
cmp byte [ebp - 0x18], 0
je 0x10014376
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
call fcn.1003ef84
ret

Function at 0x100157f3
Capabilities:
Check if file exists
Create process on windows
Delete file

Disassembly:
push 0x220
mov eax, 0x10040a82
call fcn.1003efde
mov ebx, ecx
lea ecx, [ebp - 0x224]
call fcn.1003974e
xor esi, esi
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], esi
push dword [eax]
call fcn.10027aaa
mov ecx, dword [ebp - 0x224]
add ecx, 0xfffffff0
call fcn.1002d9fa
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], esi
push ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x220]
push dword [ebp - 0x22c]
call fcn.1003974e
push dword [ebp - 0x220]
mov ecx, ebx
call fcn.1003974e
call fcn.1002d823
push eax
lea ecx, [ebp - 0x224]
call fcn.1003974e
xor edi, edi
mov byte [ebp - 4], 4
inc edi
push edi
jmp 0x10015889
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
inc edi
push edi
push dword [ebp - 0x22c]
lea eax, [ebp - 0x224]
push 0x10007824
push eax
call fcn.1003974e
mov esi, dword [ebp - 0x224]
lea ecx, [ebp - 0x228]
add esp, 0x10
push esi
call fcn.10027aaa
push dword [ebp - 0x228]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10015879
push dword [ebp - 0x228]
lea ecx, [ebp - 0x220]
call fcn.1003974e
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
cmp dword [esi - 4], 1
jle 0x100158fe
push dword [esi - 0xc]
lea ecx, [ebp - 0x224]
call fcn.1003974e
mov esi, dword [ebp - 0x224]
xor edi, edi
push edi
push edi
push edi
push esi
push 0x10007850
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esi - 0x10]
call fcn.1002d9fa
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
cmp dword [ebp - 0x220], edi
je 0x1001595b
push dword [ebp - 0x220]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 0x220], edi
mov ecx, dword [ebp - 0x22c]
lea ecx, [ecx - 0x10]
call fcn.1002d9fa
call fcn.1003ef99
ret
Function at 0x100166db
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100400b0
call fcn.1003efaa
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x1001670d
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
jmp 0x1001678e
mov ecx, dword [ebx]
sub ecx, 0x10
call fcn.1002d987
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 2
je 0x10016732
push dword [ebx + 4]
lea ecx, [ebp - 0x10]
call fcn.1003974e
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1003974e
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x1001676a
cmp dword [ebp + 0xc], ebx
jne 0x1001676a
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.1003974e
push dword [edi]
lea ecx, [ebp - 0x10]
call fcn.1003974e
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10016782
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.1003974e
jmp 0x10016784
xor bl, bl
lea ecx, [esi - 0x10]
call fcn.1002d9fa
mov al, bl
call fcn.1003ef84
ret 8