joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f436
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43f768]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00411d78
mov dword [ebp - 0x14], eax
cmp dword [0x444d04], edi
jne 0x41f527
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41f4b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41f607
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41f607
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41f607
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x444d04], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x444d08], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x444d0c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444d14], eax
test eax, eax
je 0x41f524
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x444d10], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41f54c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41f53f
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41f561
push 4
pop eax
jmp 0x41f609
cmp dword [ebp - 0x14], edi
je 0x41f561
push dword [0x444d04]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41f546
mov eax, dword [0x444d10]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41f5bf
cmp dword [0x444d14], esi
je 0x41f5bf
push eax
call ebx
push dword [0x444d14]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41f5bf
test eax, eax
je 0x41f5bf
call ecx
test eax, eax
je 0x41f5b4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41f5b4
test byte [ebp - 8], 1
jne 0x41f5bf
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41f5ef
mov eax, dword [0x444d08]
cmp eax, esi
je 0x41f5ec
push eax
call ebx
test eax, eax
je 0x41f5ec
call eax
mov edi, eax
test edi, edi
je 0x41f5ec
mov eax, dword [0x444d0c]
cmp eax, esi
je 0x41f5ec
push eax
call ebx
test eax, eax
je 0x41f5ec
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x444d04]
call ebx
test eax, eax
je 0x41f607
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41f609
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040850a
leave
ret
Function at 0x48fbef
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48fc27
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048dc06
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048dbde
jmp 0x48fc33
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4912e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x491326
call fcn.00496fc6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x491326
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x49131d
xor eax, eax
jmp 0x49132e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00491334
pop edi
pop esi
pop ebx
ret 4

Function at 0x4974f6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x497524
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x497542
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0049745c
jmp 0x497542
mov eax, dword [esi + 0x14]
test eax, eax
je 0x497542
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0049745c
test edi, edi
mov eax, edi
jne 0x49752c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x4019c3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x4019d6
push esp
mov dword [ebp - 0x24], 0x4016fe
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a75
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a56
pop ebp
ret 0x10
Function at 0x407050
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656c78
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x28]
call fcn.00405120
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0x34], eax
mov edx, dword [ebp + 0x14]
and edx, 2
jne 0x4070bd
mov eax, dword [ebp - 0x34]
xor edx, edx
mov ecx, 0x4c
div ecx
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x28]
call fcn.004080a0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x2c], 0xfffffffa
mov dword [ebp - 0x38], 0
jmp 0x4070f0
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp + 0x10]
jae 0x40717f
mov edx, dword [ebp - 0x3c]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x38]
movzx ecx, byte [eax]
add edx, ecx
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
add edx, 8
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jl 0x40717a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407e50
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x40716f
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x40716f
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00407e50
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00407e50
mov edx, dword [ebp - 0x2c]
sub edx, 6
mov dword [ebp - 0x2c], edx
jmp 0x407119
jmp 0x4070e7
cmp dword [ebp - 0x2c], 0xfffffffa
jle 0x4071db
mov eax, dword [ebp - 0x3c]
shl eax, 8
mov ecx, dword [ebp - 0x2c]
add ecx, 8
shr eax, cl
and eax, 0x3f
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407e50
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x14]
and eax, 2
jne 0x4071db
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 0x4c
div ecx
test edx, edx
jne 0x4071db
push 0xd
lea ecx, [ebp - 0x28]
call fcn.00407e50
push 0xa
lea ecx, [ebp - 0x28]
call fcn.00407e50
mov edx, dword [ebp + 0x14]
and edx, 1
jne 0x407204
lea ecx, [ebp - 0x28]
call fcn.00408200
xor edx, edx
mov ecx, 4
div ecx
test edx, edx
je 0x407204
push 0x3d
lea ecx, [ebp - 0x28]
call fcn.00407e50
jmp 0x4071e3
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404f20
mov eax, dword [ebp - 0x40]
or eax, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
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.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x4073d0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40740c
jmp 0x407458
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00408200
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004074a0
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x407430
jmp 0x407458
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x407450
jmp 0x407458
mov byte [ebp - 1], 1
xor ecx, ecx
jne 0x4073ed
cmp dword [ebp - 8], 0
je 0x407470
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x407470
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x40748b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00407640
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x407710
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0xc], 1
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
call fcn.00407350
add esp, 8
movzx edx, al
test edx, edx
jne 0x407741
mov byte [ebp - 1], 0
jmp 0x407881
mov ecx, dword [ebp + 0xc]
call fcn.00408200
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.00408200
xor edx, edx
div dword [ebp - 0xc]
test edx, edx
je 0x40776b
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
call fcn.00408200
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00407980
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
push 0
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00407b50
mov eax, 0x3e8
xor edx, edx
div dword [ebp - 0xc]
mov eax, 0x3e8
sub eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x4077d1
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x14], 0
jne 0x40786d
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x10]
jg 0x4077f6
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x407831
mov ecx, dword [ebp + 0xc]
call fcn.00408200
sub eax, dword [ebp - 8]
push eax
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004074a0
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp - 0x20], eax
jmp 0x407856
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004074a0
add eax, dword [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jne 0x407868
mov byte [ebp - 1], 0
jmp 0x40786d
jmp 0x4077c8
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00408140
xor ecx, ecx
jne 0x407721
lea edx, [ebp + 8]
push edx
call fcn.00407640
add esp, 4
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x408500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x656dbb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2dc], 0
lea eax, [ebp - 0x2d0]
push eax
call fcn.004087d0
add esp, 4
mov dword [ebp - 0x2d8], 0
mov ecx, dword [ebp + 0xc]
push ecx
push 0x200
push 1
lea edx, [ebp - 0x220]
push edx
call fcn.005ee714
add esp, 0x10
mov dword [ebp - 0x2d8], eax
cmp dword [ebp - 0x2d8], 0
jbe 0x408596
mov eax, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x2d0]
push edx
call fcn.00408810
add esp, 0xc
jmp 0x40854e
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00408930
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.00405120
mov dword [ebp - 4], 0
mov dword [ebp - 0x2d4], 0
jmp 0x4085d6
mov edx, dword [ebp - 0x2d4]
add edx, 1
mov dword [ebp - 0x2d4], edx
cmp dword [ebp - 0x2d4], 0x10
jae 0x40862a
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
sar ecx, 4
push ecx
call fcn.0040a2a0
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407e50
mov eax, dword [ebp - 0x2d4]
movzx ecx, byte [ebp + eax - 0x20]
push ecx
call fcn.0040a2a0
add esp, 4
movzx edx, al
push edx
lea ecx, [ebp - 0x238]
call fcn.00407e50
jmp 0x4085c7
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404f20
mov ecx, dword [ebp - 0x2dc]
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.00405300
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.005c7840
mov esp, ebp
pop ebp
ret

Function at 0x4087d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 0x10], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov edx, dword [ebp + 8]
mov dword [edx + 4], 0
pop ebp
ret
Function at 0x43d3b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65af78
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x38], 0
je 0x43d3f0
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43d3fc
mov al, 1
jmp 0x43d59f
mov dword [ebp - 0x48], 8
call fcn.00435aa0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00435aa0
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00435b00
add esp, 8
movzx eax, al
test eax, eax
je 0x43d43f
xor al, al
jmp 0x43d59f
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00425720
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407250
mov ecx, eax
call fcn.00428f50
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00408200
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407250
mov ecx, eax
call fcn.00428f50
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx + 0x38]
call fcn.0043eed0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x43d4ba
cmp dword [ebp - 0x38], 1
je 0x43d4c1
cmp dword [ebp - 0x38], 3
je 0x43d55b
jmp 0x43d573
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x3d], 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407250
mov ecx, eax
call fcn.00428f50
mov edx, dword [ebp - 0x44]
sub edx, eax
mov dword [ebp - 0x34], edx
je 0x43d524
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407250
mov ecx, eax
call fcn.00428f50
push eax
call fcn.006118cc
add esp, 0x10
cmp dword [ebp - 0x34], eax
je 0x43d524
mov byte [ebp - 0x2d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
mov al, byte [ebp - 0x2d]
jmp 0x43d59f
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x43d547
mov byte [ebp - 0x2e], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
mov al, byte [ebp - 0x2e]
jmp 0x43d59f
cmp dword [ebp - 0x34], 0
jne 0x43d559
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00406ca0
jmp 0x43d58b
mov byte [ebp - 0x2f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
mov al, byte [ebp - 0x2f]
jmp 0x43d59f
mov byte [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405300
mov al, byte [ebp - 0x30]
jmp 0x43d59f
jmp 0x43d452
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x43fa60
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0x10]
cmp eax, 2
jne 0x43fa78
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 4], ecx
jmp 0x43fa81
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a2e0
push eax
movzx ecx, word [ebp + 0x10]
push ecx
call dword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x43faa1
xor al, al
jmp 0x43faad
mov edx, dword [ebp + 0xc]
mov ax, word [ebp + 0x10]
mov word [edx], ax
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x441490
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 1
push 0x67ed1c
mov ecx, dword [ebp - 4]
call fcn.004414d0
mov esp, ebp
pop ebp
ret
Function at 0x452420
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x45244f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45244f
xor al, al
jmp 0x452451
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x452690
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c7bb
mov eax, dword fs:[0]
push eax
sub esp, 0x2a8
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x2a9], 1
lea ecx, [ebp - 0x28]
call fcn.004474e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004474e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2b0], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
call fcn.00463570
lea ecx, [ebp - 0x28]
call fcn.0044e170
movzx ecx, al
test ecx, ecx
jne 0x45272d
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x28]
call fcn.0044f650
mov ecx, eax
call fcn.00448740
movzx eax, word [eax]
cmp eax, 0x5c
je 0x45272d
push 0x67f10c
lea ecx, [ebp - 0x28]
call fcn.00448a50
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00463570
push 0x67f110
lea ecx, [ebp - 0x58]
call fcn.00448a50
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x58]
call fcn.0043dc00
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x2a8]
and eax, 0x10
je 0x452815
push 0x67f15c
lea ecx, [ebp - 0x27c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x45279d
push 0x67f160
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x45279f
jmp 0x45281e
movzx eax, byte [ebp + 0xc]
test eax, eax
jne 0x4527b3
mov byte [ebp - 0x2a9], 0
jmp 0x45283a
lea ecx, [ebp - 0x40]
call fcn.004474e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00463570
lea edx, [ebp - 0x27c]
push edx
lea ecx, [ebp - 0x40]
call fcn.00448a50
movzx eax, byte [ebp + 0xc]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00452690
add esp, 8
movzx edx, al
test edx, edx
jne 0x452807
mov byte [ebp - 0x2a9], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x45283a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0043cfa0
jmp 0x45281e
mov byte [ebp - 0x2a9], 0
jmp 0x45283a
lea eax, [ebp - 0x2a8]
push eax
mov ecx, dword [ebp - 0x2b0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x452762
mov edx, dword [ebp - 0x2b0]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [ebp - 0x2a9]
mov byte [ebp - 0x2aa], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043cfa0
mov al, byte [ebp - 0x2aa]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret
Function at 0x453520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c953
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x238], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e0c30
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x453653
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x23c], 0
je 0x453632
push 0x67f5e4
lea ecx, [ebp - 0x230]
call fcn.00447470
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004607a0
add esp, 0xc
mov edx, dword [ebp - 0x234]
or edx, 1
mov dword [ebp - 0x234], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0043cfa0
mov eax, dword [ebp + 8]
jmp 0x453672
push 0x67f838
mov ecx, dword [ebp + 8]
call fcn.00447470
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
jmp 0x453672
push 0x67f83c
mov ecx, dword [ebp + 8]
call fcn.00447470
mov ecx, dword [ebp - 0x234]
or ecx, 1
mov dword [ebp - 0x234], ecx
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.005c7840
mov esp, ebp
pop ebp
ret