joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448c10
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
test edi, edi
je 0x448d32
lea eax, [ebp - 0x210]
push eax
push 0x5fde3c
push 1
push 0
push 0x5fe12c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x448d32
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5fe18c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x448d26
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x448c9d
push dword [0x63cfdc]
jmp 0x448c9e
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x448cb9
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x448ce0
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test ebx, ebx
je 0x448cff
push ebx
push edi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0057aa42
add esp, 0x10
jmp 0x448d8b
push 0x5c
test esi, esi
je 0x448d08
push esi
jmp 0x448d0e
push dword [0x63cfdc]
call fcn.0057a7ce
add esp, 8
test eax, eax
jne 0x448d45
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005771f5
mov esp, ebp
pop ebp
ret
push eax
push edi
lea eax, [ebp - 0x20c]
push 0x605b28
push eax
call fcn.0057aa42
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x448d64
sub ecx, edx
mov eax, 0x6b
sar ecx, 1
mov dword [ebp + ecx*2 - 0x212], 0x6e006c
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
setns al
xor ecx, ebp
pop esi
pop ebx
call fcn.005771f5
mov esp, ebp
pop ebp
ret
Function at 0x4490f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x630490]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
xor ecx, ecx
jmp 0x449120
movzx eax, word [ecx + 0x605b40]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x449120
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x44917b
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x603ff5
mov byte [esi], 0
call fcn.00404ba0
mov eax, esi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005771f5
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x4491a4
xor ecx, ecx
movzx eax, word [ecx + 0x605b44]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x449190
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.00425020
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404490
cmp dword [esp + 0x24], 0x10
jb 0x4491da
push dword [esp + 0x10]
call fcn.0044f301
add esp, 4
mov ecx, dword [esp + 0x234]
mov eax, esi
pop esi
xor ecx, esp
call fcn.005771f5
mov esp, ebp
pop ebp
ret

Function at 0x449bb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x61], 0
jne 0x449bc5
cmp byte [ecx + 0x60], 0
je 0x449bc5
mov byte [ecx + 0x60], 0
jmp fcn.00449bd0
ret
Function at 0x44a890
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b7749
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040a1b0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x60401d
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404ba0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005771f5
mov esp, ebp
pop ebp
ret 4
Function at 0x44ec90
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x44eca5
cmp byte [ecx + 0x2c], 0
je 0x44eca5
mov byte [ecx + 0x2c], 0
jmp fcn.0044ecb0
ret
Function at 0x44ecb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b8fa6
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x630490]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x630490]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x44eef5
cmp byte [esi + 0x2c], 0
jne 0x44eef5
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x14], eax
test edi, edi
js 0x44ed7b
push eax
mov eax, dword [esi + 4]
push ebx
push edi
push dword [esi + 0x80]
push esi
call eax
add esp, 0x14
jmp 0x44eeeb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x44ee2f
lea ecx, [esp + 0x60]
call fcn.00405ee0
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
call fcn.00405780
push eax
mov edx, 0x606218
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.00405a10
add esp, 4
lea ecx, [esp + 0x6c]
push eax
call fcn.00409810
lea ecx, [esp + 0x1c]
call fcn.00404500
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 0
call fcn.00404500
cmp byte [esi + 0x2d], 0
jne 0x44ee26
cmp dword [esi + 8], 0
je 0x44ee26
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push ebx
sub esp, 0x24
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x30
lea ecx, [esp + 0x60]
jmp 0x44eee6
cmp edi, 0x2733
je 0x44eeeb
lea ecx, [esp + 0x84]
call fcn.00405ee0
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call fcn.00405780
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.00405a10
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.00409810
lea ecx, [esp + 0x34]
call fcn.00404500
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 2
call fcn.00404500
cmp byte [esi + 0x2d], 0
jne 0x44eedf
cmp dword [esi + 0xc], 0
je 0x44eedf
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x84]
call fcn.00406650
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005771f5
mov esp, ebp
pop ebp
ret
Function at 0x44ef20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b8ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x44f113
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44f10a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44f002
xor esi, esi
jmp 0x44efc0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x44f10a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x44f002
inc esi
cmp esi, 0xa
jl 0x44efc0
jmp 0x44f10a
push 0
push 0x6016f5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404ba0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.00405780
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.00405a10
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44f09e
cmp dword [ebp - 0x14], 0x10
jb 0x44f083
push dword [ebp - 0x28]
call fcn.0044f301
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404560
cmp dword [ebp - 0x50], 0x10
jb 0x44f0af
push dword [ebp - 0x64]
call fcn.0044f301
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x44f0d6
push dword [ebp - 0x7c]
call fcn.0044f301
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x44f0f9
cmp dword [edi + 0xc], 0
je 0x44f0f9
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00406680
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x44f10a
push dword [ebp - 0x28]
call fcn.0044f301
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005771f5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45e767
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x45e7ac
call fcn.00469092
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45e7ac
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45e7c8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0046922b
mov ebx, eax
test edi, edi
je 0x45e7c6
test esi, esi
je 0x45e7c6
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x464af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00469092
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x464b27
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00464b48
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4dfc64
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004684ea
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4dfca0
call fcn.004dfe83
mov dword [esi + 0xc], 1
jmp 0x4dfca5
call fcn.004dfe83
cmp dword [esi], 0
je 0x4dfcee
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4dfcc8
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0045e83c
jmp 0x4dfcd9
push 0xff
mov ecx, esi
call fcn.0040ccc0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0045c723
jmp 0x4dfd12
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4dfd12
push dword [esi]
push dword [ebp - 4]
call fcn.0046bbed
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4dfdd8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004dfe83
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4dfe20
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0045e83c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0045c723
jmp 0x4dfe2b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0046bbed
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x542294
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00572f5c
call fcn.004690e6
cmp dword [eax + 0x14], 0
jne 0x5422af
mov ecx, esi
pop esi
jmp fcn.0054169a
pop esi
ret

Function at 0x54eb44
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00405770
call fcn.004690e6
cmp dword [eax + 0x14], 0
jne 0x54eb5f
mov ecx, esi
pop esi
jmp fcn.0054e42d
pop esi
ret
Function at 0x58f3a5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x630490]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00581990
mov dword [ebp - 0x14], eax
cmp dword [0x63dbe8], esi
jne 0x58f498
push 0x800
push esi
push 0x5f9f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58f425
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58f578
push esi
push esi
push 0x5f9f40
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58f578
push 0x5f9f58
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58f578
push eax
call ebx
push 0x5f9f64
push edi
mov dword [0x63dbe8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5f9f74
push edi
mov dword [0x63dbec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x63dbf0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dbf8], eax
test eax, eax
je 0x58f495
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x63dbf4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58f4bd
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58f4b0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58f4d2
push 4
pop eax
jmp 0x58f57a
cmp dword [ebp - 0x14], esi
je 0x58f4d2
push dword [0x63dbe8]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58f4b7
mov eax, dword [0x63dbf4]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58f530
cmp dword [0x63dbf8], edi
je 0x58f530
push eax
call ebx
push dword [0x63dbf8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58f530
test eax, eax
je 0x58f530
call ecx
test eax, eax
je 0x58f525
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 0x58f525
test byte [ebp - 8], 1
jne 0x58f530
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58f560
mov eax, dword [0x63dbec]
cmp eax, edi
je 0x58f55d
push eax
call ebx
test eax, eax
je 0x58f55d
call eax
mov esi, eax
test esi, esi
je 0x58f55d
mov eax, dword [0x63dbf0]
cmp eax, edi
je 0x58f55d
push eax
call ebx
test eax, eax
je 0x58f55d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x63dbe8]
call ebx
test eax, eax
je 0x58f578
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58f57a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005771f5
mov esp, ebp
pop ebp
ret
Function at 0x59f23b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4060aa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4060e9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4060e9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4060e9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4060e9
cmp dword [ecx + 0x74], 0xe
jbe 0x4060e9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x408b70
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x444ca0
push str.FlsAlloc
push 0x1f
call fcn.00408842
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408ba4
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
jmp 0x408baa
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408bee
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x444cc4
push str.FlsGetValue
push 0x21
call fcn.00408842
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408c25
push dword [ebp + 8]
mov ecx, esi
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x408c2d
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x444cd8
push str.FlsSetValue
push 0x22
call fcn.00408842
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408c67
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [section..00cfg]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40b0d3
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44f22c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x40b11e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0040b32f
test al, al
jne 0x40b118
sub edx, 2
cmp edx, edi
jne 0x40b0fe
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x40b140
lea eax, [edi + 2]
cmp edx, eax
je 0x40b140
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0040ad9a
add esp, 0x10
jmp 0x40b23a
push esi
lea ecx, [ebp - 0x255]
call fcn.0040b32f
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b183
push dword [ebp - 0x25c]
jmp 0x40b130
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x40b1c0
cmp word [ebp - 0x226], 0
je 0x40b1e1
cmp word [ebp - 0x226], ax
jne 0x40b1c0
cmp word [ebp - 0x224], 0
je 0x40b1e1
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0040ad9a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x40b22d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x40b19a
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40b215
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x40b23a
push 0x40a7ea
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00412780
add esp, 0x10
jmp 0x40b20a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402b6f
leave
ret

Function at 0x40df3d
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040741e
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40dfac
cmp esi, dword [ebp - 4]
je 0x40dfa7
cmp dword [ebp + 0xc], 0
je 0x40dfa7
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40df84
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0040da8f
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x40dfae
xor eax, eax
inc eax
jmp 0x40dfae
xor eax, eax
pop edi
pop esi
leave
ret