joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430b74
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 8]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x430bfe
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
push ebx
call fcn.0040936c
test eax, eax
jne 0x430be1
mov eax, dword [ebp - 8]
call fcn.00405ee4
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040934c
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040933c
jmp 0x430be3
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430c05
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret

Function at 0x430efc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004171bc
test eax, eax
je 0x430f8c
add eax, 0x80
mov edx, dword [eax]
mov esi, edx
add esi, dword [ebp - 4]
add edx, dword [eax + 4]
mov dword [ebp - 0x10], edx
test esi, esi
je 0x430f8c
jmp 0x430f86
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp - 0x10]
jbe 0x430f42
push ebp
call fcn.00430e24
pop ecx
jmp 0x430f8c
cmp dword [esi + 0x10], 0
je 0x430f83
mov ebx, dword [ebp - 4]
add ebx, dword [esi + 0x10]
jmp 0x430f7e
cmp edi, dword [ebx]
jne 0x430f7b
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call fcn.00409990
test eax, eax
je 0x430f7b
mov eax, dword [ebp - 8]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call fcn.00409990
add ebx, 4
cmp dword [ebx], 0
jne 0x430f50
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x430f31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438364
Capabilities:
Create thread

Disassembly:
cmp dword [0x548c04], 0
jne 0x4383e2
xor eax, eax
call fcn.00416a3c
mov dword [0x548c04], eax
cmp dword [0x548c04], 0
je 0x4383e2
mov eax, 0x4381f8
xor ecx, ecx
xor edx, edx
call fcn.00416e88
mov dword [0x548c08], eax
push 0x548bfc
push 0
push 0
push 0x438238
push 0
push 0
call fcn.0040947c
mov dword [0x548c00], eax
cmp dword [0x548c00], 0
je 0x4383e2
push 0
push 0
push 0
mov ecx, 0x4383f0
mov edx, dword [0x548c00]
mov eax, dword [0x548bfc]
call fcn.00431024
push 2
mov eax, dword [0x548c00]
push eax
call fcn.00409928
ret

Function at 0x4383f4
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x548c04], 0
je 0x438472
cmp dword [0x548c14], 0
je 0x438419
mov eax, dword [0x548c14]
xor edx, edx
mov dword [0x548c14], edx
push eax
call fcn.004093a4
mov dword [0x548c10], 0xffffffff
mov eax, 0x4381f8
xor ecx, ecx
xor edx, edx
call fcn.0041708c
push 0
mov eax, dword [0x548c00]
push eax
call fcn.00409970
mov eax, dword [0x548c00]
push eax
call fcn.004093a4
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x548bfc]
call fcn.00431024
xor eax, eax
mov dword [0x548c00], eax
xor eax, eax
mov dword [0x548bfc], eax
xor eax, eax
mov dword [0x548c04], eax
ret
Function at 0x4403f8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x440455
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405ee4
mov esi, eax
push esi
call fcn.0042f0a0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x44043f
push esi
call fcn.0042f0e0
test eax, eax
je 0x44043f
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ebx, dword [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44045c
lea eax, [ebp - 4]
call fcn.00405828
ret
Function at 0x440bc8
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x440c65
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor esi, esi
jmp 0x440c38
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov ebx, eax
sub ebx, esi
cmp ebx, 0x400
jle 0x440c14
mov ebx, 0x400
push 0
push ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
lea eax, [ebp - 4]
call fcn.00405f5c
add eax, esi
push eax
push edi
call fcn.0042f0c0
test eax, eax
jl 0x440c4f
add esi, ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
cmp esi, eax
jl 0x440bf4
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440c6c
lea eax, [ebp - 4]
call fcn.00405828
ret

Function at 0x440c78
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x440ce5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.004093e4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x440ccd
push 0
push ebx
call fcn.00409614
mov esi, eax
push ebx
call fcn.004093a4
jmp 0x440ccf
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440cec
lea eax, [ebp - 4]
call fcn.00405828
ret

Function at 0x440f08
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x440fda
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x440fc4
push 0
push 1
push 2
call fcn.0042f0d8
mov dword [esi], eax
cmp dword [esi], 0xffffffff
je 0x440fc4
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.0042f0a0
mov edi, eax
cmp edi, 0xffffffff
jne 0x440f78
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.0042f0e0
test eax, eax
je 0x440f78
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, 0xffffffff
je 0x440fc4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov word [ebp - 0x14], 2
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x10]
push eax
call fcn.0042f098
mov word [ebp - 0x12], ax
mov dword [ebp - 0x10], edi
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi]
push eax
call fcn.0042f090
inc eax
je 0x440fc4
mov bl, 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440fe1
lea eax, [ebp - 4]
call fcn.00405828
ret
Function at 0x441540
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 8]
call fcn.00405ed4
mov eax, dword [ebp + 8]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x441779
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.004093e4
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x441749
push 0
push edi
call fcn.00409614
mov ebx, eax
test ebx, ebx
jbe 0x441743
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1d], 1
test ebx, ebx
jbe 0x441733
cmp ebx, 0x39
jbe 0x4415e6
mov esi, 0x39
jmp 0x4415e8
mov esi, ebx
push 0
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x56]
push eax
push edi
call fcn.004098c0
test eax, eax
je 0x441602
cmp esi, dword [ebp - 0x18]
je 0x44161e
cmp byte [ebp - 0x1d], 0
jne 0x441615
mov edx, 0x44179c
mov eax, dword [ebp - 0x10]
call fcn.00440bc8
mov byte [ebp - 0x11], 0
jmp 0x441733
lea ecx, [ebp - 0x5c]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.0040beac
mov eax, dword [ebp - 0x5c]
mov edx, 0x4417ac
call fcn.0040c114
test al, al
je 0x44164e
lea eax, [ebp - 0xc]
mov edx, 0x4417c0
call fcn.004058d8
jmp 0x44165b
lea eax, [ebp - 0xc]
mov edx, 0x4417d8
call fcn.004058d8
cmp byte [ebp - 0x1d], 0
je 0x4416de
push 0x441800
lea eax, [ebp - 0x64]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x64]
push 0x44179c
push 0x441810
push dword [ebp - 0xc]
push 0x44182c
push 0x44183c
push dword [ebp - 8]
push 0x441850
push 0x44179c
push 0x441860
push 0x44179c
push 0x441890
push 0x4418c0
push dword [ebp - 8]
push 0x441850
push 0x44179c
push 0x44179c
lea eax, [ebp - 0x60]
mov edx, 0x12
call fcn.00405d38
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00440bc8
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x56]
mov edx, esi
call fcn.00418704
lea eax, [ebp - 0x68]
mov edx, 0x44179c
call fcn.00405bf0
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.00440bc8
sub ebx, esi
mov byte [ebp - 0x1d], 0
mov eax, dword [ebp - 0x1c]
sub eax, ebx
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test ebx, ebx
ja 0x4415da
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push edi
call fcn.004093a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441780
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.0040584c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
lea eax, [ebp + 8]
call fcn.00405828
ret
Function at 0x442200
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x4422f6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov eax, dword [ebp - 8]
mov edx, 0x442314
call fcn.00405ecc
jne 0x4422b8
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x442324
call fcn.0040c548
mov esi, eax
test esi, esi
jle 0x4422db
push 0x7fffffff
lea ecx, [esi + 0xa]
mov edx, dword [ebp - 4]
mov eax, 0x44233c
call fcn.0040c45c
test eax, eax
jle 0x4422db
lea edx, [ebp - 4]
mov ecx, 0x7fffffff
xchg edx, eax
call fcn.00405fc8
lea ecx, [esi + 9]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405fc8
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
push 0
push 0
call fcn.0042f430
mov bl, 1
jmp 0x4422db
lea eax, [ebp - 0xc]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov eax, dword [ebp - 0xc]
mov edx, 0x44234c
call fcn.00405ecc
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4422fd
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
ret

Function at 0x442350
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffae4
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x151c], edx
mov dword [ebp - 0x1518], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4424bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 0x1514], 1
mov dword [ebp - 0x1510], esi
mov eax, dword [0x548418]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 0x1514]
push eax
push 0
call fcn.0042f0b8
test eax, eax
jle 0x442495
push 0
push 0
push 0x1400
lea eax, [ebp - 0x140d]
push eax
push esi
call fcn.0042f0a8
mov ecx, eax
lea edx, [ebp - 0x140d]
lea eax, [ebp - 4]
call fcn.00405960
lea eax, [ebp - 0x1518]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov eax, dword [ebp - 0x1518]
mov edx, 0x4424d8
call fcn.00405ecc
jne 0x44248b
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x4424e8
call fcn.0040c45c
test eax, eax
jle 0x44247b
lea ecx, [eax + 3]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00405fc8
lea eax, [ebp - 0x151c]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov eax, dword [ebp - 0x151c]
call fcn.00405bbc
cmp eax, 3
jne 0x44246b
mov eax, dword [ebp - 4]
call fcn.00442200
mov ebx, eax
jmp 0x442495
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.00442350
pop ecx
mov ebx, eax
jmp 0x442495
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.00442350
pop ecx
mov ebx, eax
jmp 0x442495
mov eax, dword [ebp - 4]
call fcn.00442200
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4424c2
lea eax, [ebp - 0x151c]
mov edx, 2
call fcn.0040584c
lea eax, [ebp - 4]
call fcn.00405828
ret
Function at 0x4424f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 8]
call fcn.00405ed4
mov eax, dword [ebp + 8]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x4426ac
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 3
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.004093e4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
setne bl
test bl, bl
je 0x44267c
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00409614
mov edi, eax
test edi, edi
jbe 0x442673
mov dword [ebp - 0x1c], edi
push 0x4426cc
lea eax, [ebp - 0x24]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x24]
push 0x4426e0
push 0x4426f0
push dword [ebp + 8]
push 0x442724
push dword [ebp - 8]
push 0x442740
push 0x4426e0
push 0x442750
push 0x4426e0
push 0x4426e0
lea eax, [ebp - 0x20]
mov edx, 0xc
call fcn.00405d38
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00440bc8
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 0x400
call fcn.004061c8
jmp 0x44265b
cmp edi, 0x400
jbe 0x4425fb
mov esi, 0x400
jmp 0x4425fd
mov esi, edi
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, esi
call fcn.004061c8
push 0
lea eax, [ebp - 0x18]
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004098c0
test eax, eax
je 0x442626
cmp esi, dword [ebp - 0x18]
je 0x44262a
xor ebx, ebx
jmp 0x442663
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00440bc8
mov ebx, eax
sub edi, esi
mov eax, dword [ebp - 0x1c]
sub eax, edi
imul eax, eax, 0x3e8
xor edx, edx
div dword [ebp - 0x1c]
mov edx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x18]
test bl, bl
je 0x442663
test edi, edi
ja 0x4425ec
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp - 0x14]
push eax
call fcn.004093a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4426b3
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040584c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
lea eax, [ebp + 8]
call fcn.00405828
ret
Function at 0x4430f8
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405ed4
mov eax, dword [ebp - 4]
call fcn.00405ed4
mov eax, dword [ebp - 0xc]
call fcn.00405ed4
mov eax, dword [ebp + 0x34]
call fcn.00405ed4
mov eax, dword [ebp + 0x30]
call fcn.00405ed4
mov eax, dword [ebp + 0x2c]
call fcn.00407f9c
mov eax, dword [ebp + 0x28]
call fcn.00407f9c
mov eax, dword [ebp + 0x24]
call fcn.00407f9c
mov eax, dword [ebp + 0x20]
call fcn.00408788
mov eax, dword [ebp + 0x1c]
call fcn.00405ed4
mov eax, dword [ebp + 0x18]
call fcn.00405ed4
mov eax, dword [ebp + 0x14]
call fcn.00405ed4
mov eax, dword [ebp + 8]
call fcn.00408788
xor eax, eax
push ebp
push 0x44330a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call fcn.0042f0e8
test eax, eax
jne 0x4432a7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x20]
push 0
push 0x3e8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 0x443328
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x4431da
push ebp
call fcn.00442924
pop ecx
mov ebx, eax
jmp 0x443290
cmp dword [ebp - 0xc], 0
je 0x443290
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x443261
lea eax, [ebp - 0xc]
call fcn.0043e98c
mov esi, eax
test esi, esi
jle 0x44320c
push ebp
mov al, 1
call fcn.00440cf4
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x4431fd
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.0043e98c
mov esi, eax
test esi, esi
jle 0x443290
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0040dde8
mov eax, dword [ebp - 0x1a4]
call fcn.004418cc
pop ecx
or bl, al
mov edx, dword [ebp - 0x10]
imul edx, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
inc edi
dec esi
jne 0x443229
jmp 0x443290
push ebp
xor eax, eax
call fcn.00440cf4
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push ebp
mov eax, dword [ebp - 0xc]
call fcn.004418cc
pop ecx
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
call fcn.0042f0f0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4432a7
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443311
lea eax, [ebp - 0x1a4]
call fcn.00405828
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040584c
lea eax, [ebp + 8]
call fcn.00408714
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.0040584c
lea eax, [ebp + 0x20]
call fcn.00408714
lea eax, [ebp + 0x24]
mov edx, dword [0x40b6b4]
mov ecx, 3
call fcn.00407170
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.0040584c
ret
Function at 0x4434cc
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x4435a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00430314
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004058d8
cmp dword [ebp - 4], 0
je 0x443584
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x443544
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00405fc8
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.00409604
cmp eax, 0xffffffff
jne 0x443580
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004434cc
pop ecx
test al, al
je 0x44357c
push 0
mov eax, dword [ebp - 4]
call fcn.00405ee4
push eax
call fcn.004093cc
test eax, eax
jne 0x443580
xor ebx, ebx
jmp 0x443586
mov bl, 1
jmp 0x443586
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4435a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret
Function at 0x445368
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Read file via mapping
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], eax
xor eax, eax
push ebp
push 0x445488
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.0040a350
mov dword [ebp - 0x64], 0x44
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
call fcn.00409594
push eax
push 0
call fcn.00409464
test eax, eax
je 0x445460
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00430c50
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.0040d944
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x4454a4
call fcn.00405c6c
mov eax, dword [ebp - 0x78]
call fcn.00405ee4
push eax
push 0x58
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.004093fc
mov esi, eax
push 0
push 0
push 0
push 0xf001f
push esi
call fcn.00409868
mov ebx, eax
test ebx, ebx
je 0x445457
call fcn.004095bc
mov dword [ebx], eax
push 2
push 0
push 0
lea eax, [ebx + 4]
push eax
mov eax, dword [ebp - 0x74]
push eax
push esi
call fcn.004095b4
push eax
call fcn.004094a4
lea edx, [ebx + 8]
mov eax, 0x5484d8
mov ecx, 0x50
call fcn.00403290
mov eax, dword [ebp - 0x70]
push eax
call fcn.004098e8
push 2
call fcn.004095b4
push eax
call fcn.00409968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44548f
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0040584c
ret
Function at 0x44ca2c
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x548ce4
push 0x548ce0
call fcn.0040945c
test eax, eax
je 0x44ca90
push 0x548cd8
push 0
push 0
push 0x44c9d0
push 0
push 0
call fcn.0040947c
mov dword [0x548cdc], eax
cmp dword [0x548cdc], 0
je 0x44ca90
push 0
push 0
push 0
mov ecx, 0x44caa0
mov edx, dword [0x548cdc]
mov eax, dword [0x548cd8]
call fcn.00431024
push 2
mov eax, dword [0x548cdc]
push eax
call fcn.00409928
ret

Function at 0x44caa4
Capabilities:
Resume thread
Terminate thread
Write file on windows

Disassembly:
add esp, 0xffffffc4
cmp dword [0x548cd8], 0xffffffff
je 0x44cb61
mov eax, dword [0x548cdc]
push eax
call fcn.004098e8
xor eax, eax
call fcn.00431750
test al, al
jne 0x44cb0e
lea eax, [esp + 4]
mov edx, 0x38
call fcn.0040a350
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x548ce4]
push eax
call fcn.004099c0
mov eax, dword [0x548ce4]
push eax
call fcn.004093a4
push 0x1f4
mov eax, dword [0x548cdc]
push eax
call fcn.004099b0
jmp 0x44cb19
mov eax, dword [0x548ce4]
push eax
call fcn.004093a4
push 0x32
mov eax, dword [0x548cdc]
push eax
call fcn.004099b0
test eax, eax
je 0x44cb37
push 0
mov eax, dword [0x548cdc]
push eax
call fcn.00409970
mov eax, dword [0x548cdc]
push eax
call fcn.004093a4
mov eax, dword [0x548ce0]
push eax
call fcn.004093a4
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x548cd8]
call fcn.00431024
add esp, 0x3c
ret