joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52ad53
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf051a350
jmp 0x52ae4e
push dword [esp]
jmp 0x52ad7f
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
jmp 0x52ada5
jbe 0x52ad95
mov dword [esp + 4], edx
push eax
jmp 0x52ad58
mov dword [esp + 4], edx
push eax
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
lea esp, [esp + 2]
jmp 0x52adaf
mov dword [esp], ebx
push esp
call 0x52adb9
sti
mov dword [esp], ebp
call fcn.0052ae42
mov dword [esp], eax
jmp 0x52ae11
lea esp, [esp + 1]
mov dword [esp], esi
call fcn.0052adf3
lea esp, [esp + 2]
mov dword [esp + 8], edi
lea esp, [esp + 8]
pushfd
jmp 0x52a949
call 0x52ae7d
jmp 0x52ae84
lea edi, [esp + 4]
jmp 0x52aecf
mov esi, dword [esp + 0x30]
seto cl
bsr ebp, ecx
jg 0x52ae55
jle 0x52ae55
push ss
test dword [0xa0388f7c], edx
movsb byte es:[edi], byte ss:[esi]
ret
rdtsc
mov cl, byte [esp]
jmp 0x52af71
sub bp, 0xc627
jbe 0x52aeb8
rdtsc
mov cl, byte [esp]
jmp 0x52af71
jmp fcn.0052aef6
sub esp, 0xbc
mov ebp, esp
neg cl
js 0x52af28
jns fcn.0052aef6

Function at 0x52adb9
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf051a350
jmp 0x52ae4e
push dword [esp]
jmp 0x52ad7f
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
jmp 0x52ada5
jbe 0x52ad95
mov dword [esp + 4], edx
push eax
jmp 0x52ad58
mov dword [esp + 4], edx
push eax
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
lea esp, [esp + 2]
jmp 0x52adaf
mov dword [esp], ebx
push esp
call 0x52adb9
sti
mov dword [esp], ebp
call fcn.0052ae42
mov dword [esp], eax
jmp 0x52ae11
lea esp, [esp + 1]
mov dword [esp], esi
call fcn.0052adf3
lea esp, [esp + 2]
mov dword [esp + 8], edi
lea esp, [esp + 8]
pushfd
jmp 0x52a949
call 0x52ae7d
jmp 0x52ae84
lea edi, [esp + 4]
jmp 0x52aecf
mov esi, dword [esp + 0x30]
seto cl
bsr ebp, ecx
jg 0x52ae55
jle 0x52ae55
push ss
test dword [0xa0388f7c], edx
movsb byte es:[edi], byte ss:[esi]
ret
rdtsc
mov cl, byte [esp]
jmp 0x52af71
sub bp, 0xc627
jbe 0x52aeb8
rdtsc
mov cl, byte [esp]
jmp 0x52af71
jmp fcn.0052aef6
sub esp, 0xbc
mov ebp, esp
neg cl
js 0x52af28
jns fcn.0052aef6

Function at 0x52adc1
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf051a350
jmp 0x52ae4e
push dword [esp]
jmp 0x52ad7f
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
jmp 0x52ada5
jbe 0x52ad95
mov dword [esp + 4], edx
push eax
jmp 0x52ad58
mov dword [esp + 4], edx
push eax
pop word [esp]
mov word [esp], bx
mov byte [esp], dl
lea esp, [esp + 2]
jmp 0x52adaf
mov dword [esp], ebx
push esp
call 0x52adb9
sti
mov dword [esp], ebp
call fcn.0052ae42
mov dword [esp], eax
jmp 0x52ae11
lea esp, [esp + 1]
mov dword [esp], esi
call fcn.0052adf3
lea esp, [esp + 2]
mov dword [esp + 8], edi
lea esp, [esp + 8]
pushfd
jmp 0x52a949
call 0x52ae7d
jmp 0x52ae84
lea edi, [esp + 4]
jmp 0x52aecf
mov esi, dword [esp + 0x30]
seto cl
bsr ebp, ecx
jg 0x52ae55
jle 0x52ae55
push ss
test dword [0xa0388f7c], edx
movsb byte es:[edi], byte ss:[esi]
ret
rdtsc
mov cl, byte [esp]
jmp 0x52af71
sub bp, 0xc627
jbe 0x52aeb8
rdtsc
mov cl, byte [esp]
jmp 0x52af71
jmp fcn.0052aef6
sub esp, 0xbc
mov ebp, esp
neg cl
js 0x52af28
jns fcn.0052aef6
Function at 0x52add7
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
call fcn.0052ad4b
push word [esp + 2]
jle 0x52adf8
pushfd
lea esp, [esp + 2]
mov dword [esp + 8], edi
jmp 0x52adfb
pushfd
jmp 0x52ae1d
lea esp, [esp + 8]
jmp 0x52ae29

Function at 0x52addd
Capabilities:
Execute anti-debugging instructions

Disassembly:
push eax
call fcn.0052ad4b
push word [esp + 2]
jle 0x52adf8
pushfd
lea esp, [esp + 2]
mov dword [esp + 8], edi
jmp 0x52adfb
pushfd
jmp 0x52ae1d
lea esp, [esp + 8]
jmp 0x52ae29

Function at 0x52ae42
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
lea esp, [esp]
call 0x52adc1

Function at 0x537524
Capabilities:
Encode data using xor

Disassembly:
mov bx, 0x48ed
mov dword [esp], eax
bswap eax
mov bl, byte [esp]
sete al
mov cx, 0x52f6
jmp 0x53753e
not ecx
jmp 0x537509
mov ax, 0x87e5
mov eax, dword [esp]
pop eax
call fcn.00537528
dec esi
fnstcw word [eax]
sbb ecx, dword [eax]
cld
jge 0x537563
or dword [edi + 0x37], esi
std
or bh, bh
invalid
je 0x53757f
add dword [edi + 0x448f607d], esi
and al, 0x1f
jmp 0x7204ba9b

Function at 0x54f5d3
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp]
jmp 0x54f63c
mov ebp, esp
jmp 0x54f64b
mov dword [esp], ebp
mov ebp, dword [esp]
xchg bp, ax
mov eax, dword [esp]
neg ah
jmp 0x54f626
movzx eax, byte [ecx]
sub esp, 0xf
mov dword [esp + 0xa], edi
lea esp, [esp]
lea esp, [esp + 3]
jmp 0x54fb46
pushal
rol di, 0xe
mov dword [esp + 4], ecx
call fcn.0054f6a7
jb 0x51bb88
xor dl, dh
bts dx, di
push esi
jmp 0x54f715
shl eax, 0x10
cmc
lea esp, [esp + 0xc]
cmp dword [ebp + 0xc], 2
jmp 0x54faea
Function at 0x550345
Capabilities:
Encode data using base64

Disassembly:
jmp 0x54fc3b
call fcn.0054fbeb
lea esp, [esp + 4]
cmp dword [ebp + 0xc], 3
jne 0x54f579
stc
jmp 0x54fc21
cmp ebx, 0x34
jmp 0x54fc59
push ecx
pop word [esp]
mov word [esp], dx
jmp 0x54f588
lea esp, [esp + 2]
jmp 0x54fd49
call fcn.0054fd3b
cmp eax, 0xa8593ea8
sbb al, 0x5d
lds edx, [ebp + 0x3c]
iretd
pop edi
not ebp
mov bh, 0x61
jmp 0x54f5f5
mov esi, dword [esp]
mov bh, 0xae
lea esp, [esp + 4]
pop ebx
jmp 0x54fdb1
call fcn.0054fc43
jnp 0x54f669
jmp [edi + 0xa]
outsd dx, dword [esi]
or bh, cl
mov ch, 0x53
rol byte [esi + 0x21], 1
rcl byte [ebx]
int 0x5c
scasd eax, dword es:[edi]
mov dh, 0xa1
lea ecx, [ebx + 0x41]
jmp 0x54f5b5
cmp ebx, 0x1a
jae 0x54f563
xchg ch, cl
jmp 0x54fc0b
mov byte [edx + 2], cl
jmp 0x54f52f
jae 0x54f663
lea ecx, [ebx + 0x47]
jmp 0x54f5b5
mov byte [edx + 3], 0x3d
jmp 0x54f5e9
bswap ebp
pop ebp
ret
pushal
jmp 0x54fdbc
lea esp, [esp + 0x20]
cmp al, 0x2b
push edi
jmp 0x550462
pushfd
jmp 0x5503f9
push bx
push word [esp]
lea esp, [esp + 4]
cmp cl, 0x30
jmp 0x54fdfb
jb 0x54fe33
stc
pushfd
call fcn.005503e1
pop edx
clc
outsb dx, byte [esi]
or eax, edi
jg 0x54fe60
aad 0x45
sub al, 0xdf
outsd dx, dword [esi]
les ecx, [ebp - 0x72fbdb9c]
dec edi
cld
jmp 0x51bcd6
jmp 0x5504df
call 0x550409
jle 0x25eb795a
wait
and esi, dword [ebx - 0x1919da2a]
out 0xe6, al
adc dword [eax + 0x393c8a13], edx
cmp al, 0x39
call 0x5504bc
and byte [ebp + 0x1faf5c35], ah
push edx
salc
inc esp
and ebx, esi
sbb al, bh
outsb dx, byte [esi]
jns 0x54feb8
pop eax
jmp 0x54fe94
jp 0x54fe43
push ebx
mov bl, 0x20
mov dh, 0xd1
and byte [eax + 0x4f830fdd], dl
idiv bh
invalid
jmp 0x55037d
lea esp, [esp + 4]
jb 0x54fdd2
pushal
push word [esp + 0x18]
jmp 0x5508a1
mov word [esp], di
push word [esp]
lea esp, [esp + 2]
jmp 0x550367
jbe 0x54fdb5
ja 0x54fde8
push ds
mov ds, word [ebx + edi*2]
xchg esi, eax
push edx
mov word [ebx], fs
mov bl, 0xd6
and eax, 0x9011e696
cmp cl, 0x7a
push bx
mov word [esp], cx
lea esp, [esp + 2]
jmp 0x5503a1
push ebx
lea esp, [esp + 8]
cmp cl, 0x61
jb 0x54fde8
jae 0x5503bc
pushal
mov byte [esp + 0x1d], dl
lea esp, [esp + 0x19]
jmp 0x55042f
lea esp, [esp + 3]
lea esp, [esp + 8]
cmp cl, 0x2b
jmp 0x55047f
lea esp, [esp + 4]
jne 0x54fe1d
call 0x550494
push 0xfffffffffffffff8
lahf
push 0xffffffffffffffda
pop ss
invalid
je 0x54fdb5
cmp cl, 0x2f
je 0x54fdb5
jne 0x51bdce
lea esp, [esp + 4]
push 0x3e
jmp 0x54fe5f
push 0x3f
jmp 0x54fe5f
pushal
lea esp, [esp + 0x20]
cmp al, 0x2f
jne 0x54fe49
je 0x5504b5
lea esp, [esp + 2]
lea esp, [esp + 0x20]
cmp cl, 0x5a
push ax
call fcn.00550537
xor eax, eax
not bx
bswap ebx
jmp 0x5508f4
pop ebx
ret

Function at 0x55035b
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 4]
cmp cl, 0x41
call fcn.00550345

Function at 0x550537
Capabilities:
Encode data using base64

Disassembly:
mov dword [esp], edx
lea esp, [esp + 2]
lea esp, [esp + 4]
jbe 0x54fdb5
ja 0x54fdd2
jmp 0x5504aa
mov eax, 0x403
lea esp, [esp + 4]
pop ebx
ret
mov dword [esp], ebp
jmp 0x550449

Function at 0x61a9c7
Capabilities:
Parse pe header

Disassembly:
mov byte [esp + 1], cl
mov dword [esp], ebx
jmp 0x61aa4e
push esp
call 0x61aa13
Function at 0x411bb0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c51d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], ecx
mov ecx, dword [ebp - 0x1a8]
call fcn.004763d4
push 0
mov ecx, dword [ebp - 0x1a8]
call fcn.00412d70
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x411c7b
push 4
lea ecx, [ebp - 0x14]
call fcn.00408300
lea ecx, [ebp - 0x14]
call fcn.004138b0
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x14]
call fcn.004133b0
mov dword [ebp - 0x1b0], eax
lea ecx, [ebp - 0x14]
call fcn.00412d40
movzx eax, al
test eax, eax
jne 0x411c6c
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x1ac]
call fcn.00412dc0
lea ecx, [ebp - 0x14]
call fcn.00405b60
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x1ac]
call fcn.00412dc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004138f0
push 1
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx + 0xbc]
push edx
mov ecx, dword [ebp - 0x1a8]
call fcn.00412d10
push 0
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 0xbc]
push ecx
mov ecx, dword [ebp - 0x1a8]
call fcn.00412d10
lea edx, [ebp - 0x1a4]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [ebp - 0x1a8]
call fcn.00411a60
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret

Function at 0x413090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4130b4
xor eax, eax
jmp 0x413134
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4130cb
xor eax, eax
jmp 0x413134
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x413117
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x413117
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4130ee
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x413123
xor eax, eax
jmp 0x413134
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x413131
xor eax, eax
jmp 0x413134
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x422650
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c63c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp + 8]
call fcn.00406720
push eax
call fcn.0042ff40
add esp, 8
lea ecx, [ebp - 0x3f8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret
Function at 0x4244b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6788
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.00408300
lea ecx, [ebp - 0x1c]
call fcn.00409ed0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.004523e0
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.0040b890
test eax, eax
jne 0x42451c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b810
jmp 0x424558
cmp dword [0x6426f4], 1
jne 0x42452a
call fcn.00423ce0
cmp dword [0x650f78], 0
je 0x424542
mov ecx, dword [0x650f78]
push ecx
call fcn.004226d0
add esp, 4
push 0
call fcn.00589aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0040b810
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret
Function at 0x427040
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6d03
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], 0
push 0x613ca6
lea ecx, [ebp - 0x58]
call fcn.00406610
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0042ffe0
add esp, 8
mov byte [ebp - 4], 1
push 0xc
lea ecx, [ebp - 0x28]
call fcn.00408300
lea ecx, [ebp - 0x28]
call fcn.00409ed0
mov byte [ebp - 4], 2
push 0x614758
lea ecx, [ebp - 0x88]
call fcn.00406610
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.0042fa70
add esp, 0xc
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.00408300
lea ecx, [ebp - 0x1c]
call fcn.00409ed0
mov byte [ebp - 4], 4
mov dword [ebp - 0x8c], 0
jmp 0x42711e
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
lea ecx, [ebp - 0x28]
call fcn.0041cf10
cmp dword [ebp - 0x8c], eax
jae 0x427197
mov eax, dword [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00409f20
push eax
lea ecx, [ebp - 0x40]
call fcn.00406580
mov byte [ebp - 4], 5
push 0x613ca7
lea ecx, [ebp - 0x40]
push ecx
call fcn.0041ea70
add esp, 8
movzx edx, al
test edx, edx
je 0x427186
push 0x61475c
lea eax, [ebp - 0x40]
push eax
call fcn.0041ea70
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x427186
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041cf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004066a0
jmp 0x42710f
mov dword [ebp - 0x90], 0
jmp 0x4271b2
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
lea ecx, [ebp - 0x1c]
call fcn.0041cf10
cmp dword [ebp - 0x90], eax
jae 0x4271c4
jmp 0x4271a3
lea ecx, [ebp - 0x1c]
call fcn.0041cf10
cmp eax, 2
jb 0x4271e4
push 1
lea ecx, [ebp - 0x1c]
call fcn.00409f20
push eax
lea ecx, [ebp - 0x58]
call fcn.004070c0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov edx, dword [ebp - 0x94]
or edx, 1
mov dword [ebp - 0x94], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call fcn.00409f00
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x88]
call fcn.004066a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00409f00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret
Function at 0x436c50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0x614b28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x230]
push edx
call fcn.0042ffe0
add esp, 8
mov dword [ebp - 4], 0
push 0x613da6
lea eax, [ebp - 0x230]
push eax
call fcn.0040a120
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x436cec
push 0x614b38
lea ecx, [ebp - 0x230]
call fcn.00408b30
jmp 0x436d17
lea ecx, [ebp - 0x230]
call fcn.00406720
push eax
call fcn.0043cf00
add esp, 4
movzx edx, al
test edx, edx
jne 0x436d17
push 0x614b3c
lea ecx, [ebp - 0x230]
call fcn.00408b30
push 1
push 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x230]
call fcn.00430510
lea ecx, [ebp - 0x248]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406650
mov edx, dword [ebp - 0x24c]
or edx, 1
mov dword [ebp - 0x24c], edx
lea ecx, [ebp - 0x248]
call fcn.004066a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.004066a0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret
Function at 0x43ccb0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x43ccca
xor eax, eax
jmp 0x43cdb9
mov eax, dword [ebp + 8]
push eax
call fcn.0058a466
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
mov cl, byte [eax]
mov byte [ebp - 1], cl
add dword [ebp - 0x14], 1
cmp byte [ebp - 1], 0
jne 0x43cce8
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 0
jmp 0x43cd1b
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x20]
jge 0x43cd84
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x43cd3f
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x2f
jne 0x43cd82
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a4b6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cd79
mov eax, dword [ebp - 8]
push eax
call fcn.0058a516
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cd79
or eax, 0xffffffff
jmp 0x43cdb9
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0x2f
jmp 0x43cd12
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0058a4b6
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43cdaa
mov eax, dword [ebp - 8]
push eax
call fcn.0058a516
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00588ca4
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x43cf00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43cf1b
xor al, al
jmp 0x43cf29
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x43cf27
mov al, 1
jmp 0x43cf29
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x440570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c87b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x4405b0
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x4405bc
mov al, 1
jmp 0x44075f
mov dword [ebp - 0x54], 8
call fcn.00404f80
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.00404f80
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.00404f50
add esp, 8
movzx eax, al
test eax, eax
je 0x4405ff
xor al, al
jmp 0x44075f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00407080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040f6b0
mov ecx, eax
call fcn.0040b9e0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00406b40
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f6b0
mov ecx, eax
call fcn.0040b9e0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00440b00
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x44067a
cmp dword [ebp - 0x3c], 1
je 0x440681
cmp dword [ebp - 0x3c], 3
je 0x44071b
jmp 0x440733
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f6b0
mov ecx, eax
call fcn.0040b9e0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x4406e4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040f6b0
mov ecx, eax
call fcn.0040b9e0
push eax
call fcn.0058b1db
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x4406e4
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov al, byte [ebp - 0x34]
jmp 0x44075f
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x440707
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov al, byte [ebp - 0x31]
jmp 0x44075f
cmp dword [ebp - 0x38], 0
jne 0x440719
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004344a0
jmp 0x44074b
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov al, byte [ebp - 0x33]
jmp 0x44075f
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004066a0
mov al, byte [ebp - 0x32]
jmp 0x44075f
jmp 0x440612
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret
Function at 0x443520
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8a10
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x641490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
call fcn.00427dd0
mov byte [ebp - 0x25], 0
lea ecx, [ebp + 8]
call fcn.00406720
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x44360c
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
cmp dword [ecx + edx*4], 0
je 0x44360a
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ecx + edx*4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call fcn.00406610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.004318a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.004066a0
mov byte [ebp - 0x25], 1
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x44357e
jmp 0x443610
mov byte [ebp - 0x25], 0
mov cl, byte [ebp - 0x25]
mov byte [ebp - 0x26], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004066a0
mov al, byte [ebp - 0x26]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058846b
mov esp, ebp
pop ebp
ret