joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ad30
Capabilities:
List groups for user account

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp byte [eax + 0x28], 0
je 0x42ada1
cmp dword [eax + 0x18], 0x80000000
je 0x42ada1
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x20]
lea esi, [ebp - 0x1c]
push ecx
push edx
push 0xffffffffffffffff
push esi
push 1
push 0
push eax
push 0x5723b4
call sub.netapi32.dll_NetUserGetLocalGroups
test eax, eax
je 0x42adba
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x10], 0
jmp 0x42aede
mov dword [ebx], 0
mov dword [ebx + 4], 4
mov dword [ebx + 8], 0
jmp 0x42aefa
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x42adf3
mov edi, esi
shl edi, 4
cmp esi, 0x7ffffff
ja 0x42af04
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 4
push edi
call fcn.00409a80
add esp, 8
test eax, eax
jne 0x42adf8
mov eax, 4
jmp 0x42af06
mov eax, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
test ecx, ecx
mov dword [ebp - 0x28], ecx
je 0x42ae2d
mov ebx, dword [ebp - 0x20]
cmp ebx, esi
jbe 0x42ae41
lea eax, [ebp - 0x18]
push ebx
push 0
push eax
call fcn.00422b90
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
jmp 0x42ae4b
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
mov dword [ebx + 8], eax
movsd qword [ebx], xmm0
jmp 0x42aefa
xor esi, esi
test ebx, ebx
je 0x42aed8
mov ecx, esi
xor edi, edi
shl ecx, 4
lea eax, [ecx + eax + 0xc]
mov dword [ebp - 0x24], eax
jmp 0x42ae80
mov ebx, dword [ebp - 0x24]
inc esi
mov dword [ebx + edi*4 - 0xc], ecx
mov dword [ebx + edi*4 - 8], edx
mov dword [ebx + edi*4 - 4], eax
mov dword [ebx + edi*4], 0
mov ebx, dword [ebp - 0x2c]
add edi, 4
dec ebx
je 0x42aed8
mov eax, dword [ebp - 0x28]
mov edx, 1
mov ecx, 0
mov dword [ebp - 0x2c], ebx
mov eax, dword [eax + edi]
mov dword [ebp - 0x34], eax
test eax, eax
mov eax, 0
je 0x42ae60
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044d520
add esp, 8
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov edx, 0
mov ebx, 1
cmp ecx, 0x80000000
cmove eax, edx
mov edx, dword [ebp - 0x3c]
cmove edx, ebx
mov ebx, 0
cmove ecx, ebx
jmp 0x42ae60
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x18]
test eax, eax
mov dword [ebx + 8], ecx
movsd qword [ebx], xmm0
je 0x42aefa
push eax
call sub.netapi32.dll_NetApiBufferFree
mov eax, ebx
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push edi
push eax
call fcn.004ce340
add esp, 8
ud2
Function at 0x42de30
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0x3c00
nop word [eax + eax]
push dword [ebp - 0x14]
push ebx
call sub.msvcrt.dll_realloc
add esp, 8
test eax, eax
je 0x42deea
mov edi, eax
lea eax, [ebp - 0x14]
push eax
push edi
push 0
push 0xe
push 0
call sub.iphlpapi.dll_GetAdaptersAddresses
test eax, eax
mov dword [ebp - 0x18], eax
je 0x42df32
cmp esi, 1
ja 0x42de8e
inc esi
cmp eax, 0x6f
mov ebx, edi
je 0x42de50
lea eax, [ebp - 0x18]
mov dword [ebp - 0x44], 0x572580
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], fcn.004ea270
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 1
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
push eax
push ecx
call fcn.004cf490
add esp, 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
movsd xmm0, qword [ebp - 0x2c]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
push edi
call sub.msvcrt.dll_free
add esp, 4
jmp 0x42df41
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 1
push 0x32
call fcn.00409a80
add esp, 8
test eax, eax
je 0x42df49
mov edi, eax
push 0x32
push 0x572524
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
push ebx
call sub.msvcrt.dll_free
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x32
mov dword [eax + 4], edi
mov dword [eax + 8], 0x32
jmp 0x42df41
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], 0x80000000
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x32
push 1
call fcn.004ce340
add esp, 8
ud2
Function at 0x42df80
Capabilities:
List user account groups

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov ebx, dword [ebp + 8]
mov edi, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov dword [ebx + 8], 0
test edi, edi
je 0x42dfcc
add esi, 4
jmp 0x42dfb6
add esi, 0x10
dec edi
je 0x42dfcc
mov eax, dword [esi - 4]
test eax, eax
je 0x42dfb0
push 1
push eax
push dword [esi]
call main
add esp, 0xc
jmp 0x42dfb0
mov dword [ebp - 0x34], 0
nop word cs:[eax + eax]
nop dword [eax]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10]
push eax
push 0
push 0
call sub.netapi32.dll_NetGroupEnum
test eax, eax
je 0x42e01f
cmp eax, 0xea
jne 0x42e190
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
test edi, edi
je 0x42e176
shl edi, 2
mov dword [ebp - 0x30], eax
jmp 0x42e04c
add esi, 4
add edi, 0xfffffffc
je 0x42e170
mov eax, dword [esi]
test eax, eax
je 0x42e040
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
push 3
push eax
push 0
call sub.netapi32.dll_NetGroupGetInfo
test eax, eax
jne 0x42e150
mov eax, dword [ebp - 0x18]
push dword [eax + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.00413bd0
add esp, 8
mov eax, dword [ebp - 0x54]
cmp eax, 0x80000000
je 0x42e150
mov ecx, dword [esi]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
test ecx, ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x3c], ecx
je 0x42e0de
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0044d520
add esp, 8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, 0
cmp ecx, 0x80000000
cmove ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, 1
cmove edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x40]
cmove edx, eax
mov dword [ebp - 0x28], edx
jmp 0x42e0f3
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
cmp eax, dword [ecx]
mov ebx, eax
jne 0x42e10a
push ecx
call fcn.00422f10
mov ecx, dword [ebp + 8]
add esp, 4
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
inc ebx
shl eax, 4
mov dword [ecx + eax], edx
mov edx, dword [ebp - 0x1c]
mov dword [ecx + eax + 4], edx
mov edx, dword [ebp - 0x28]
mov dword [ecx + eax + 8], edx
mov dword [ecx + eax + 0xc], 0
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + 8], ebx
test eax, eax
mov ebx, edx
je 0x42e150
push 1
push eax
push dword [ebp - 0x24]
call main
add esp, 0xc
nop dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42e040
push eax
call sub.netapi32.dll_NetApiBufferFree
jmp 0x42e040
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
cmp eax, 0xea
jne 0x42e193
test esi, esi
je 0x42dfe0
push esi
call sub.netapi32.dll_NetApiBufferFree
jmp 0x42dfe0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x42e19d
push esi
call sub.netapi32.dll_NetApiBufferFree
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x451f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edi, dword [esi + 0x40]
xor edi, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004530b0
add esp, 0xc
mfence
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [esi + 0xb8]
test eax, 0x10000
jne 0x451fcc
mov ecx, eax
or ecx, 0x10000
lock cmpxchg dword [esi + 0xb8], ecx
jne 0x451fa0
mov eax, ecx
and eax, 0xff
jne 0x451fd7
pop esi
pop edi
pop ebp
ret
mov ecx, eax
mov eax, ecx
and eax, 0xff
je 0x451fc8
cmp edi, 1
ja 0x451fe3
movzx ecx, ch
cmp ecx, eax
jne 0x451fc8
add esi, 0xac
push 1
push esi
call fcn.00456e90
add esp, 8
pop esi
pop edi
pop ebp
ret
Function at 0x4539b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x453a78
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x453a70
je 0x453a6e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4539ef
mov edi, dword [eax + 4]
cmp dword [eax], 0
mov dword [eax], 0
jne 0x4539ff
call fcn.0045cc90
push eax
call fcn.0045bfc0
add esp, 4
mov edi, eax
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 4
push 8
call fcn.00409a80
add esp, 8
test eax, eax
je 0x453a94
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x453a69
mov eax, dword [edi]
mov ecx, dword [eax + 0x410]
lea edx, [ecx - 1]
mov dword [eax + 0x410], edx
cmp dword [eax + 0x40c], 0
jne 0x453a5c
cmp ecx, 1
jne 0x453a5c
push eax
call fcn.0045b020
add esp, 4
push 4
push 8
push edi
call main
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x453a70
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.004ab560
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x4539d4
jmp 0x453a70
push 8
push 4
call fcn.004ce360
add esp, 8
ud2

Function at 0x453af0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
test esi, esi
je 0x453b79
dec esi
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
ja 0x453b71
je 0x453b26
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x453b2a
mov edi, dword [eax]
mov dword [eax], 0
test edi, edi
je 0x453b2c
mov edi, dword [eax + 4]
jmp 0x453b2c
xor eax, eax
jmp 0x453b71
xor edi, edi
mov eax, dword [0x593ab0]
movzx eax, byte [eax]
push 4
push 8
call fcn.00409a80
add esp, 8
test eax, eax
je 0x453b95
mov dword [eax], edi
mov dword [eax + 4], esi
push esi
mov ebx, eax
call sub.kernel32.dll_TlsGetValue
mov edi, eax
mov dword [ebp - 0x10], ebx
push ebx
push esi
call sub.kernel32.dll_TlsSetValue
test edi, edi
je 0x453b6e
push 4
push 8
push edi
call main
add esp, 0xc
mov eax, dword [ebp - 0x10]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call fcn.004ab560
add esp, 4
mov esi, eax
push esi
call sub.kernel32.dll_TlsGetValue
cmp eax, 1
jbe 0x453b0c
jmp 0x453b71
push 8
push 4
call fcn.004ce360
nop
Function at 0x45b300
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, ecx
and eax, 0xfffffffc
je 0x45b29a
mov esi, dword [0x593aa8]
nop word [eax + eax]
mov edi, dword [eax]
mov edx, edi
and edx, 3
cmp edx, 1
mov dword [ebp - 0xc], edx
jne 0x45b2dd
and ecx, 0x3c
mov dword [ebp - 0x10], ecx
jne 0x45b2a1
push eax
push esi
call fcn.0045c3b0
add esp, 8
mov eax, edi
mov ecx, edi
and eax, 0xfffffffc
jne 0x45b270
add esp, 0x20
pop esi
pop edi
pop ebp
ret
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], 0x577194
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x28]
push 0x57720c
push eax
push 0x57719c
push ecx
push 0
call fcn.0045c360
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push 0x577008
push eax
push 0x576f94
push ecx
push 0
call fcn.0045c360
nop
nop
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
mov edi, dword [esi + 4]
push 1
push edi
call sub.kernel32.dll_TlsSetValue
mov eax, dword [esi]
mov ecx, dword [eax + 0x410]
lea edx, [ecx - 1]
mov dword [eax + 0x410], edx
cmp dword [eax + 0x40c], 0
jne 0x45b33b
cmp ecx, 1
jne 0x45b33b
push eax
call fcn.0045b020
add esp, 4
push 4
push 8
push esi
call main
add esp, 0xc
push 0
push edi
call sub.kernel32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret

Function at 0x472db0
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x420
call fcn.00472dc4
Function at 0x4806b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4806e4
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x4806f4
mov eax, dword [0x57b500]
mov ecx, dword [0x57b504]
mov dword [esi + 4], ecx
mov dword [esi], eax
mov eax, esi
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x481b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x428
mov esi, 0x200
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 2
cmp esi, 0x201
jae 0x481b80
jmp 0x481b6e
jbe 0x481bf0
cmp esi, 0x201
jae 0x481b80
mov dword [ebp - 0x20], 0x200
lea edi, [ebp - 0x434]
mov ebx, esi
jmp 0x481baa
mov ebx, dword [ebp - 0x24]
sub esi, ebx
je 0x481b9e
mov edx, ebx
lea ecx, [ebp - 0x18]
push esi
call fcn.0046d070
add esp, 4
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
push 0
call sub.kernel32.dll_SetLastError
push edi
push ebx
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
test eax, eax
jne 0x481bc7
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x481c40
cmp esi, ebx
jne 0x481b60
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x481c5e
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
cmp esi, 0x201
jb 0x481b6e
jmp 0x481b80
mov eax, dword [ebp - 0x20]
cmp esi, eax
ja 0x481c74
lea eax, [ebp - 0x34]
push esi
push edi
push eax
call fcn.0048e920
add esp, 0xc
movsd xmm0, qword [ebp - 0x34]
mov eax, dword [ebp + 8]
movsd xmm1, qword [ebp - 0x2c]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x481c32
add eax, eax
push 2
push eax
push dword [ebp - 0x14]
call main
add esp, 0xc
mov eax, dword [ebp + 8]
add esp, 0x428
pop esi
pop edi
pop ebx
pop ebp
ret
call sub.kernel32.dll_GetLastError
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 0x80000000
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x481c22
jmp 0x481c32
push 0x57b630
push 0x28
push 0x577f30
call fcn.004d9c90
add esp, 0xc
jmp 0x481c83
push 0x57b620
push eax
push esi
call fcn.004df620
add esp, 0xc
ud2
Function at 0x48f990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], ecx
mov ecx, edx
mov edi, edx
call fcn.0048f400
mov ecx, dword [edi + 4]
cmp eax, ecx
ja 0x48faab
mov edx, dword [edi]
mov ebx, edx
lea esi, [edx + eax]
movzx edx, byte [edi + 8]
mov edi, eax
sub edi, ecx
mov byte [ebp - 0xd], dl
jne 0x48f9d7
mov ebx, dword [ebp - 0x14]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x48fa53
jmp 0x48fa31
cmp dl, 3
mov dword [ebp - 0x18], esi
jae 0x48f9ff
mov edx, ebx
lea esi, [ecx + ebx - 1]
mov ebx, dword [ebp - 0x14]
mov edi, eax
sub edi, ecx
nop dword [eax]
cmp byte [esi], 0x5c
je 0x48fa95
dec esi
inc edi
jne 0x48f9f0
jmp 0x48fa24
mov edx, ebx
lea esi, [ecx + ebx - 1]
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
cmp ebx, 0x2f
je 0x48fa35
cmp ebx, 0x5c
je 0x48fa35
dec esi
inc edi
jne 0x48fa10
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edi, edi
movzx edx, byte [ebp - 0xd]
sub ecx, eax
jne 0x48fa53
mov al, 0xa
jmp 0x48fa80
mov ebx, dword [ebp - 0x14]
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
ja 0x48fa9f
add edx, eax
mov edi, 1
mov esi, edx
movzx edx, byte [ebp - 0xd]
sub ecx, eax
je 0x48fa31
mov al, 9
cmp ecx, 2
je 0x48fa72
cmp ecx, 1
jne 0x48fa80
cmp byte [esi], 0x2e
jne 0x48fa80
xor eax, eax
cmp dl, 3
setae al
lea eax, [eax + eax*2 + 7]
jmp 0x48fa80
cmp byte [esi], 0x2e
jne 0x48fa80
cmp byte [esi + 1], 0x2e
sete al
xor al, 9
add edi, ecx
mov dword [ebx], edi
mov byte [ebx + 4], al
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], ecx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
not edi
lea eax, [eax + edi + 1]
cmp eax, ecx
jbe 0x48fa42
push 0x579858
push ecx
push eax
call fcn.004df5c0
push 0x579848
push ecx
push eax
call fcn.004df5c0
nop word [eax + eax]
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x14
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x1c]
push 4
push str.Iter
push dword [ebp + 0xc]
push esi
call fcn.004ddfb0
add esp, 0x10
push edi
call fcn.0048f550
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
lea eax, [ebp - 0x10]
push 0x57988c
push eax
push esi
call fcn.004da690
add esp, 0xc
push eax
call fcn.004da790
add esp, 0x18
pop esi
pop edi
pop ebp
ret
Function at 0x4953a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov esi, ecx
lea eax, [ebp - 0x20]
push dword [ebp + 8]
push edx
push eax
call fcn.004cebc0
add esp, 0xc
mov eax, dword [ebp - 0x20]
cmp eax, 0x80000000
jne 0x495417
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
xorps xmm0, xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x38], 1
push eax
push ecx
push 0
push edi
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x495443
call sub.ws2_32.dll_WSAGetLastError
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 4], 0
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
jne 0x495463
jmp 0x49546f
mov ecx, dword [0x579de0]
mov edx, dword [0x579de4]
test eax, eax
mov dword [esi + 8], edx
mov dword [esi + 4], ecx
mov dword [esi], 1
je 0x49546f
push 1
push eax
push dword [ebp - 0x1c]
call main
add esp, 0x40
jmp 0x495472
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
movzx eax, word [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov word [esi + 0xc], ax
xor eax, eax
test ebx, ebx
mov dword [esi], eax
mov byte [edi], 0
je 0x49546f
push 1
push ebx
push edi
call main
add esp, 0xc
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x495e80
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1024
call fcn.004eff40
mov esi, edx
mov edi, ecx
lea ebx, [ebp - 0x1030]
push 0x1000
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push 0x4a0220
push eax
push 0x1000
push ebx
mov dword [ebp - 0x10], edi
push edi
call sub.kernel32.dll_ReadFileEx
test eax, eax
je 0x495fa5
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x495ede
cmp dword [ebp - 0x18], 0
jne 0x495fac
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x495fac
cmp ebx, 0x1000
ja 0x495fd6
xor edi, edi
mov eax, ebx
sub eax, edi
jb 0x495fc5
xorps xmm0, xmm0
lea edx, [ebp - 0x1c]
lea ecx, [ebp + edi - 0x1030]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], edx
push 0x4a0220
lea edx, [ebp - 0x30]
push edx
push eax
push ecx
push esi
call sub.kernel32.dll_WriteFileEx
test eax, eax
je 0x495fa7
nop word [eax + eax]
push 1
push 0xffffffffffffffff
call sub.kernel32.dll_SleepEx
cmp dword [ebp - 0x1c], 0
je 0x495f50
cmp dword [ebp - 0x18], 0
jne 0x495fac
add edi, dword [ebp - 0x14]
cmp edi, ebx
jne 0x495f10
xorps xmm0, xmm0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], eax
push 0x4a0220
lea eax, [ebp - 0x30]
push eax
push 0x1000
lea eax, [ebp - 0x1030]
push eax
push dword [ebp - 0x10]
call sub.kernel32.dll_ReadFileEx
test eax, eax
jne 0x495ede
jmp 0x495fa7
call sub.kernel32.dll_GetLastError
push dword [ebp - 0x10]
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_CloseHandle
add esp, 0x1024
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x57afac
push ebx
push edi
call fcn.004df680
add esp, 0xc
jmp 0x495fe9
push 0x57afac
push 0x1000
push ebx
call fcn.004df620
add esp, 0xc
ud2
Function at 0x49ad50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [ebp - 0x24]
push dword [ebp + 8]
call fcn.004a7590
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp edx, 0x80000000
je 0x49ada4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.004a98f0
add esp, 4
mov edi, dword [ebp - 0x18]
cmp edi, 0x80000000
jne 0x49adb1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
je 0x49adc9
mov byte [esi], 4
test edi, edi
jne 0x49add8
jmp 0x49ada9
call sub.kernel32.dll_GetLastError
mov byte [esi], 0
mov dword [esi + 4], eax
test edi, edi
je 0x49ada9
add edi, edi
push 2
push edi
push ebx
call main
add esp, 0x30
jmp 0x49adac

Function at 0x49d640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x49d684
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x49d68a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call sub.ntdll.dll_NtReadFile
cmp eax, 0x103
jne 0x49d6bd
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [esp + 8]
cmp eax, 0xc0000011
jne 0x49d6cd
mov dword [esi + 4], 0
jmp 0x49d6df
cmp eax, 0x103
je 0x49d6f8
test eax, eax
js 0x49d6ea
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call sub.ntdll.dll_RtlNtStatusToDosError
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x49d6e2
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x57acd8
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea esi, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push esi
call fcn.0048c4f0
add esp, 0xc
mov ecx, esi
call fcn.0045ff00
mov ecx, 7
int 0x29
ud2