joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430c8c
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.00405f54
mov eax, dword [ebp - 8]
call fcn.00405f54
xor eax, eax
push ebp
push 0x430d16
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.00405f64
push eax
push ebx
call fcn.0040943c
test eax, eax
jne 0x430cf9
mov eax, dword [ebp - 8]
call fcn.00405f64
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040941c
test eax, eax
sete bl
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040940c
jmp 0x430cfb
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x430d1d
lea eax, [ebp - 8]
mov edx, 2
call fcn.004058cc
ret

Function at 0x431014
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.004172ac
test eax, eax
je 0x4310a4
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 0x4310a4
jmp 0x43109e
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp - 0x10]
jbe 0x43105a
push ebp
call fcn.00430f3c
pop ecx
jmp 0x4310a4
cmp dword [esi + 0x10], 0
je 0x43109b
mov ebx, dword [ebp - 4]
add ebx, dword [esi + 0x10]
jmp 0x431096
cmp edi, dword [ebx]
jne 0x431093
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call fcn.00409a78
test eax, eax
je 0x431093
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.00409a78
add ebx, 4
cmp dword [ebx], 0
jne 0x431068
add esi, 0x14
cmp dword [esi + 0xc], 0
jne 0x431049
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43847c
Capabilities:
Create thread

Disassembly:
cmp dword [0x580c08], 0
jne 0x4384fa
xor eax, eax
call fcn.00416b2c
mov dword [0x580c08], eax
cmp dword [0x580c08], 0
je 0x4384fa
mov eax, 0x438310
xor ecx, ecx
xor edx, edx
call fcn.00416f78
mov dword [0x580c0c], eax
push 0x580c00
push 0
push 0
push 0x438350
push 0
push 0
call fcn.0040954c
mov dword [0x580c04], eax
cmp dword [0x580c04], 0
je 0x4384fa
push 0
push 0
push 0
mov ecx, 0x438508
mov edx, dword [0x580c04]
mov eax, dword [0x580c00]
call fcn.0043113c
push 2
mov eax, dword [0x580c04]
push eax
call fcn.00409a10
ret

Function at 0x43850c
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x580c08], 0
je 0x43858a
cmp dword [0x580c18], 0
je 0x438531
mov eax, dword [0x580c18]
xor edx, edx
mov dword [0x580c18], edx
push eax
call fcn.00409474
mov dword [0x580c14], 0xffffffff
mov eax, 0x438310
xor ecx, ecx
xor edx, edx
call fcn.0041717c
push 0
mov eax, dword [0x580c04]
push eax
call fcn.00409a58
mov eax, dword [0x580c04]
push eax
call fcn.00409474
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x580c00]
call fcn.0043113c
xor eax, eax
mov dword [0x580c04], eax
xor eax, eax
mov dword [0x580c00], eax
xor eax, eax
mov dword [0x580c08], eax
ret
Function at 0x440510
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.00405f54
xor eax, eax
push ebp
push 0x44056d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405f64
mov esi, eax
push esi
call fcn.0042f190
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x440557
push esi
call fcn.0042f1d0
test eax, eax
je 0x440557
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 0x440574
lea eax, [ebp - 4]
call fcn.004058a8
ret
Function at 0x440ce0
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.00405f54
xor eax, eax
push ebp
push 0x440d7d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor esi, esi
jmp 0x440d50
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405ab8
call fcn.00405c3c
mov ebx, eax
sub ebx, esi
cmp ebx, 0x400
jle 0x440d2c
mov ebx, 0x400
push 0
push ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405ab8
lea eax, [ebp - 4]
call fcn.00405fdc
add eax, esi
push eax
push edi
call fcn.0042f1b0
test eax, eax
jl 0x440d67
add esi, ebx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405ab8
call fcn.00405c3c
cmp esi, eax
jl 0x440d0c
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440d84
lea eax, [ebp - 4]
call fcn.004058a8
ret

Function at 0x440d90
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.00405f54
xor eax, eax
push ebp
push 0x440dfd
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.00405f64
push eax
call fcn.004094b4
mov ebx, eax
cmp ebx, 0xffffffff
je 0x440de5
push 0
push ebx
call fcn.004096e4
mov esi, eax
push ebx
call fcn.00409474
jmp 0x440de7
xor esi, esi
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440e04
lea eax, [ebp - 4]
call fcn.004058a8
ret

Function at 0x441020
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.00405f54
xor eax, eax
push ebp
push 0x4410f2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
je 0x4410dc
push 0
push 1
push 2
call fcn.0042f1c8
mov dword [esi], eax
cmp dword [esi], 0xffffffff
je 0x4410dc
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
call fcn.0042f190
mov edi, eax
cmp edi, 0xffffffff
jne 0x441090
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
call fcn.0042f1d0
test eax, eax
je 0x441090
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edi, dword [eax]
cmp edi, 0xffffffff
je 0x4410dc
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.0042f188
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.0042f180
inc eax
je 0x4410dc
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 0x4410f9
lea eax, [ebp - 4]
call fcn.004058a8
ret
Function at 0x441658
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.00405f54
mov eax, dword [ebp - 8]
call fcn.00405f54
mov eax, dword [ebp + 8]
call fcn.00405f54
xor eax, eax
push ebp
push 0x441891
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.00405f64
push eax
call fcn.004094b4
mov edi, eax
cmp edi, 0xffffffff
setne byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
je 0x441861
push 0
push edi
call fcn.004096e4
mov ebx, eax
test ebx, ebx
jbe 0x44185b
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1d], 1
test ebx, ebx
jbe 0x44184b
cmp ebx, 0x39
jbe 0x4416fe
mov esi, 0x39
jmp 0x441700
mov esi, ebx
push 0
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x56]
push eax
push edi
call fcn.004099a0
test eax, eax
je 0x44171a
cmp esi, dword [ebp - 0x18]
je 0x441736
cmp byte [ebp - 0x1d], 0
jne 0x44172d
mov edx, 0x4418b4
mov eax, dword [ebp - 0x10]
call fcn.00440ce0
mov byte [ebp - 0x11], 0
jmp 0x44184b
lea ecx, [ebp - 0x5c]
mov edx, 4
mov eax, dword [ebp - 4]
call fcn.0040bf9c
mov eax, dword [ebp - 0x5c]
mov edx, 0x4418c4
call fcn.0040c204
test al, al
je 0x441766
lea eax, [ebp - 0xc]
mov edx, 0x4418d8
call fcn.00405958
jmp 0x441773
lea eax, [ebp - 0xc]
mov edx, 0x4418f0
call fcn.00405958
cmp byte [ebp - 0x1d], 0
je 0x4417f6
push 0x441918
lea eax, [ebp - 0x64]
mov edx, dword [0x580c84]
mov ecx, 0
call fcn.00405b5c
push dword [ebp - 0x64]
push 0x4418b4
push 0x441928
push dword [ebp - 0xc]
push 0x441944
push 0x441954
push dword [ebp - 8]
push 0x441968
push 0x4418b4
push 0x441978
push 0x4418b4
push 0x4419a8
push 0x4419d8
push dword [ebp - 8]
push 0x441968
push 0x4418b4
push 0x4418b4
lea eax, [ebp - 0x60]
mov edx, 0x12
call fcn.00405db8
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x10]
call fcn.00440ce0
lea ecx, [ebp - 0x68]
lea eax, [ebp - 0x56]
mov edx, esi
call fcn.004187f4
lea eax, [ebp - 0x68]
mov edx, 0x4418b4
call fcn.00405c70
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x10]
call fcn.00440ce0
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 0x4416f2
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.00409474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441898
lea eax, [ebp - 0x68]
mov edx, 4
call fcn.004058cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058cc
lea eax, [ebp + 8]
call fcn.004058a8
ret
Function at 0x442318
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.00405f54
xor eax, eax
push ebp
push 0x44240e
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.0040ded8
mov eax, dword [ebp - 8]
mov edx, 0x44242c
call fcn.00405f4c
jne 0x4423d0
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x44243c
call fcn.0040c638
mov esi, eax
test esi, esi
jle 0x4423f3
push 0x7fffffff
lea ecx, [esi + 0xa]
mov edx, dword [ebp - 4]
mov eax, 0x442454
call fcn.0040c54c
test eax, eax
jle 0x4423f3
lea edx, [ebp - 4]
mov ecx, 0x7fffffff
xchg edx, eax
call fcn.00406048
lea ecx, [esi + 9]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00406048
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
push 0
push 0
call fcn.0042f538
mov bl, 1
jmp 0x4423f3
lea eax, [ebp - 0xc]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040ded8
mov eax, dword [ebp - 0xc]
mov edx, 0x442464
call fcn.00405f4c
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442415
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058cc
ret

Function at 0x442468
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 0x4425d3
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 [0x58041c]
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.0042f1a8
test eax, eax
jle 0x4425ad
push 0
push 0
push 0x1400
lea eax, [ebp - 0x140d]
push eax
push esi
call fcn.0042f198
mov ecx, eax
lea edx, [ebp - 0x140d]
lea eax, [ebp - 4]
call fcn.004059e0
lea eax, [ebp - 0x1518]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040ded8
mov eax, dword [ebp - 0x1518]
mov edx, 0x4425f0
call fcn.00405f4c
jne 0x4425a3
push 0x7fffffff
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, 0x442600
call fcn.0040c54c
test eax, eax
jle 0x442593
lea ecx, [eax + 3]
lea eax, [ebp - 4]
mov edx, 1
call fcn.00406048
lea eax, [ebp - 0x151c]
push eax
mov cl, 0x20
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040ded8
mov eax, dword [ebp - 0x151c]
call fcn.00405c3c
cmp eax, 3
jne 0x442583
mov eax, dword [ebp - 4]
call fcn.00442318
mov ebx, eax
jmp 0x4425ad
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.00442468
pop ecx
mov ebx, eax
jmp 0x4425ad
mov eax, dword [ebp + 8]
push eax
mov eax, esi
call fcn.00442468
pop ecx
mov ebx, eax
jmp 0x4425ad
mov eax, dword [ebp - 4]
call fcn.00442318
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4425da
lea eax, [ebp - 0x151c]
mov edx, 2
call fcn.004058cc
lea eax, [ebp - 4]
call fcn.004058a8
ret
Function at 0x442608
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.00405f54
mov eax, dword [ebp - 8]
call fcn.00405f54
mov eax, dword [ebp + 8]
call fcn.00405f54
xor eax, eax
push ebp
push 0x4427c4
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.00405f64
push eax
call fcn.004094b4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
setne bl
test bl, bl
je 0x442794
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.004096e4
mov edi, eax
test edi, edi
jbe 0x44278b
mov dword [ebp - 0x1c], edi
push 0x4427e4
lea eax, [ebp - 0x24]
mov edx, dword [0x580c84]
mov ecx, 0
call fcn.00405b5c
push dword [ebp - 0x24]
push 0x4427f8
push 0x442808
push dword [ebp + 8]
push 0x44283c
push dword [ebp - 8]
push 0x442858
push 0x4427f8
push 0x442868
push 0x4427f8
push 0x4427f8
lea eax, [ebp - 0x20]
mov edx, 0xc
call fcn.00405db8
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
call fcn.00440ce0
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 0x400
call fcn.00406248
jmp 0x442773
cmp edi, 0x400
jbe 0x442713
mov esi, 0x400
jmp 0x442715
mov esi, edi
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, esi
call fcn.00406248
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.004099a0
test eax, eax
je 0x44273e
cmp esi, dword [ebp - 0x18]
je 0x442742
xor ebx, ebx
jmp 0x44277b
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00440ce0
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 0x44277b
test edi, edi
ja 0x442704
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.00409474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4427cb
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004058cc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058cc
lea eax, [ebp + 8]
call fcn.004058a8
ret
Function at 0x443210
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.00405f54
mov eax, dword [ebp - 4]
call fcn.00405f54
mov eax, dword [ebp - 0xc]
call fcn.00405f54
mov eax, dword [ebp + 0x34]
call fcn.00405f54
mov eax, dword [ebp + 0x30]
call fcn.00405f54
mov eax, dword [ebp + 0x2c]
call fcn.00408054
mov eax, dword [ebp + 0x28]
call fcn.00408054
mov eax, dword [ebp + 0x24]
call fcn.00408054
mov eax, dword [ebp + 0x20]
call fcn.00408840
mov eax, dword [ebp + 0x1c]
call fcn.00405f54
mov eax, dword [ebp + 0x18]
call fcn.00405f54
mov eax, dword [ebp + 0x14]
call fcn.00405f54
mov eax, dword [ebp + 8]
call fcn.00408840
xor eax, eax
push ebp
push 0x443422
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x1a0]
push eax
push 0x101
call fcn.0042f1d8
test eax, eax
jne 0x4433bf
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, 0x443440
mov ecx, dword [eax]
call dword [ecx + 0x1c]
cmp dword [ebp - 8], 0
je 0x4432f2
push ebp
call fcn.00442a3c
pop ecx
mov ebx, eax
jmp 0x4433a8
cmp dword [ebp - 0xc], 0
je 0x4433a8
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x1c], 0
jne 0x443379
lea eax, [ebp - 0xc]
call fcn.0043eaa4
mov esi, eax
test esi, esi
jle 0x443324
push ebp
mov al, 1
call fcn.00440e0c
pop ecx
mov dword [ebp - 0x10], eax
dec esi
jne 0x443315
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 0xc]
call fcn.0043eaa4
mov esi, eax
test esi, esi
jle 0x4433a8
mov edi, 1
push ebp
lea eax, [ebp - 0x1a4]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.0040ded8
mov eax, dword [ebp - 0x1a4]
call fcn.004419e4
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 0x443341
jmp 0x4433a8
push ebp
xor eax, eax
call fcn.00440e0c
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.004419e4
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.0042f1e0
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4433bf
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 0x443429
lea eax, [ebp - 0x1a4]
call fcn.004058a8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058cc
lea eax, [ebp + 8]
call fcn.004087cc
lea eax, [ebp + 0x14]
mov edx, 3
call fcn.004058cc
lea eax, [ebp + 0x20]
call fcn.004087cc
lea eax, [ebp + 0x24]
mov edx, dword [0x40b7a4]
mov ecx, 3
call fcn.00407228
lea eax, [ebp + 0x30]
mov edx, 2
call fcn.004058cc
ret
Function at 0x4435e4
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.00405f54
xor eax, eax
push ebp
push 0x4436b9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0043042c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00405958
cmp dword [ebp - 4], 0
je 0x44369c
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405ab8
call fcn.00405c3c
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
jne 0x44365c
lea eax, [ebp - 4]
xor edx, edx
call fcn.00405ab8
call fcn.00405c3c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00406048
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
call fcn.004096d4
cmp eax, 0xffffffff
jne 0x443698
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004435e4
pop ecx
test al, al
je 0x443694
push 0
mov eax, dword [ebp - 4]
call fcn.00405f64
push eax
call fcn.0040949c
test eax, eax
jne 0x443698
xor ebx, ebx
jmp 0x44369e
mov bl, 1
jmp 0x44369e
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4436c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004058cc
ret
Function at 0x445480
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 0x4455a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x64]
mov edx, 0x44
call fcn.0040a440
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.00409664
push eax
push 0
call fcn.00409534
test eax, eax
je 0x445578
lea edx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.00430d68
lea eax, [ebp - 0x7c]
push eax
mov cl, 0x30
mov edx, 1
mov eax, dword [ebp - 0x6c]
call fcn.0040da34
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x4455bc
call fcn.00405cec
mov eax, dword [ebp - 0x78]
call fcn.00405f64
push eax
push 0x58
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
call fcn.004094cc
mov esi, eax
push 0
push 0
push 0
push 0xf001f
push esi
call fcn.00409948
mov ebx, eax
test ebx, ebx
je 0x44556f
call fcn.0040968c
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.00409684
push eax
call fcn.00409574
lea edx, [ebx + 8]
mov eax, 0x5804dc
mov ecx, 0x50
call fcn.004032cc
mov eax, dword [ebp - 0x70]
push eax
call fcn.004099c8
push 2
call fcn.00409684
push eax
call fcn.00409a50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4455a7
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004058cc
ret
Function at 0x44cb44
Capabilities:
Create pipe
Create thread

Disassembly:
push 0
push 0
push 0x580ce8
push 0x580ce4
call fcn.0040952c
test eax, eax
je 0x44cba8
push 0x580cdc
push 0
push 0
push 0x44cae8
push 0
push 0
call fcn.0040954c
mov dword [0x580ce0], eax
cmp dword [0x580ce0], 0
je 0x44cba8
push 0
push 0
push 0
mov ecx, 0x44cbb8
mov edx, dword [0x580ce0]
mov eax, dword [0x580cdc]
call fcn.0043113c
push 2
mov eax, dword [0x580ce0]
push eax
call fcn.00409a10
ret

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

Disassembly:
add esp, 0xffffffc4
cmp dword [0x580cdc], 0xffffffff
je 0x44cc79
mov eax, dword [0x580ce0]
push eax
call fcn.004099c8
xor eax, eax
call fcn.00431868
test al, al
jne 0x44cc26
lea eax, [esp + 4]
mov edx, 0x38
call fcn.0040a440
push 0
lea eax, [esp + 4]
push eax
push 0x38
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x580ce8]
push eax
call fcn.00409aa8
mov eax, dword [0x580ce8]
push eax
call fcn.00409474
push 0x1f4
mov eax, dword [0x580ce0]
push eax
call fcn.00409a98
jmp 0x44cc31
mov eax, dword [0x580ce8]
push eax
call fcn.00409474
push 0x32
mov eax, dword [0x580ce0]
push eax
call fcn.00409a98
test eax, eax
je 0x44cc4f
push 0
mov eax, dword [0x580ce0]
push eax
call fcn.00409a58
mov eax, dword [0x580ce0]
push eax
call fcn.00409474
mov eax, dword [0x580ce4]
push eax
call fcn.00409474
push 0
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [0x580cdc]
call fcn.0043113c
add esp, 0x3c
ret