joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45f618
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45f7c3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45f7a4
mov dl, 1
mov eax, dword [0x418bf8]
call fcn.004033c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041cc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45f793
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044d560
test al, al
je 0x45f786
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45f7d4
lea eax, [ebp - 0x254]
call fcn.00409704
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45f786
xor eax, eax
push ebp
push 0x45f77f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45f80c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45f768
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040443c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45f768
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.0040443c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f786
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45f689
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041cc04
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f7ca
lea eax, [ebp - 0x260]
call fcn.004041cc
ret

Function at 0x4600f8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x496bec]
cmp byte [eax + 0xa5], 0
jne 0x460169
cmp dword [0x496c04], 0
jne 0x46012a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4600b4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496c04], eax
cmp dword [0x496c00], 0
jne 0x460145
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496c00], eax
cmp dword [0x496c08], 0
jne 0x460169
push esp
push 0
push 0
push 0x460058
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x496c08], eax
pop edx
ret
Function at 0x460260
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x460277
add esp, 0xfffffff0
call fcn.0040371c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420fdc
mov eax, dword [0x494e40]
cmp word [eax + 2], 0
jne 0x46029f
mov eax, dword [0x494e40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004619e0
mov eax, dword [0x494f18]
cmp word [eax + 2], 0
jne 0x4602b9
mov eax, dword [0x494f18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461bd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4187dc]
call fcn.004033c8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4187dc]
call fcn.004033c8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4235f0]
call fcn.0042b6e8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x460440
mov eax, dword [0x494d10]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042bab8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x462188
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x494d10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d024
test eax, eax
je 0x4603ae
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004090f8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d04c
test eax, eax
je 0x4603c2
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040443c
mov eax, dword [0x494b98]
cmp byte [eax], 0
jne 0x4603f6
mov eax, ebx
call fcn.00460568
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00462364
mov eax, ebx
call fcn.00462d28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x460436
call fcn.00403774
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4607e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x496bec]
cmp dword [eax + 0x30], 0
je 0x460892
cmp dword [ebx + 0x94], 0
jne 0x46088c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460778
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46088c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x460852
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46088c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ac10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460861
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4613f4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x461429
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004042bc
jmp 0x461436
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404220
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462540
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462581
mov eax, esi
call fcn.00448b48
test al, al
je 0x462581
mov eax, dword [ebx + 0x84]
call fcn.00448844
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462581
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448844
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x463084
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
call sub.advapi32.dll_GetUserNameA
mov eax, dword [ebp - 8]
call fcn.004092a8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4630f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x4630d3
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004043c4
jmp 0x4630df
mov eax, ebx
mov edx, 0x46310c
call fcn.00404220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4630fc
mov eax, dword [ebp - 4]
call fcn.004092f4
ret
Function at 0x466410
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46643e
mov eax, ebx
call fcn.00466ec4
cmp dword [ebx + 0x40], 0
je 0x466437
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4664af
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4664a1
cmp dword [ebx + 8], 0
je 0x466460
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x466472
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4664a1
cmp dword [ebx + 8], 0
je 0x466453
cmp eax, 3
je 0x466485
dec eax
jne 0x466453
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x466453
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x466453
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4664cd
cmp dword [ebx + 0x14], 0xcc
je 0x4664cd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004664d8
pop ebx
ret

Function at 0x4770ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
mov dword [ebp - 4], eax
lea eax, [ebp - 0x103]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.0040443c
mov esp, ebp
pop ebp
ret

Function at 0x4770e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
mov dword [ebp - 4], eax
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.0040443c
mov esp, ebp
pop ebp
ret
Function at 0x47ccc4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x417d64]
call fcn.00404b64
xor eax, eax
push ebp
push 0x47ce08
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49497c], 0
jne 0x47cd17
mov ecx, dword [0x494ba8]
mov dl, 1
mov eax, dword [0x407600]
call fcn.0040c2c8
call fcn.00403b84
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402dc0
mov eax, ebx
call fcn.00404a34
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47ce18
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405bfc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404a44
test eax, eax
jle 0x47cdaf
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47cda8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404454
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.0040443c
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004084ac
test eax, eax
jne 0x47cda8
mov ebx, 0x15
jmp 0x47cdb4
mov ebx, 0x10
jmp 0x47cdb4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49497c]
call fcn.0047cc1c
mov eax, dword [ebp - 8]
call fcn.0047cc1c
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ce0f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004041f0
lea eax, [ebp - 0x10]
mov edx, dword [0x417d64]
call fcn.00404c34
ret
Function at 0x4818bc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov esi, eax
cmp byte [esi + 0x179], 0
je 0x4818e3
mov ecx, esi
mov dl, 1
mov eax, dword [0x47f9b8]
call fcn.00480b3c
mov dword [esi + 0x1dc], eax
jmp 0x4819cc
call sub.kernel32.dll_GetTickCount
mov edi, eax
cmp byte [esi + 0x183], 0
je 0x481922
mov al, byte [esi + 0x182]
xor edx, edx
mov dl, al
cmp dx, word [esi + 0x17e]
jb 0x481917
mov edx, eax
sub dl, byte [esi + 0x17e]
mov eax, esi
call fcn.00480fec
jmp 0x481935
xor edx, edx
mov eax, esi
call fcn.00480fec
jmp 0x481935
mov dl, byte [esi + 0x182]
add dl, byte [esi + 0x17e]
mov eax, esi
call fcn.00480fec
cmp byte [esi + 0x183], 0
je 0x481947
cmp byte [esi + 0x182], 0
je 0x48195d
cmp byte [esi + 0x183], 0
jne 0x481959
cmp byte [esi + 0x182], 0x64
je 0x48195d
xor ebx, ebx
jmp 0x48195f
mov bl, 1
test bl, bl
jne 0x48199c
mov eax, dword [0x494ef4]
mov eax, dword [eax]
call fcn.00461734
call sub.kernel32.dll_GetTickCount
sub eax, edi
movzx edx, word [esi + 0x180]
cmp eax, edx
ja 0x48199c
cmp byte [esi + 0x184], 0
je 0x48199c
cmp byte [esi + 0x17b], 0
jne 0x48199c
cmp byte [esi + 0x1e8], 0
je 0x481963
test bl, bl
jne 0x4819bf
cmp byte [esi + 0x184], 0
je 0x4819bf
cmp byte [esi + 0x17b], 0
jne 0x4819bf
cmp byte [esi + 0x1e8], 0
je 0x4818e3
test bl, bl
je 0x4819cc
mov edx, esi
mov eax, esi
call fcn.004810c8
pop edi
pop esi
pop ebx
ret

Function at 0x48a5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48a64f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x103]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x103]
mov ecx, 0xff
call fcn.0040443c
push dword [ebp - 0x108]
push 0x48a664
push 0x48a670
mov eax, dword [ebp - 4]
mov edx, 3
call fcn.0040454c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a656
lea eax, [ebp - 0x108]
call fcn.004041cc
ret
Function at 0x48db18
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48dd23
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x494ec8]
cmp byte [eax], 3
je 0x48db51
mov eax, dword [ebp - 4]
call fcn.0045e1a0
jmp 0x48dd05
mov dword [0x494b68], 5
mov byte [ebp - 0x19], 0
mov dl, 1
mov eax, dword [0x433f74]
call fcn.00434074
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x48dce2
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x18]
call fcn.00434114
xor ecx, ecx
mov edx, 0x48dd3c
mov eax, dword [ebp - 0x18]
call fcn.00434178
test al, al
je 0x48dcc8
xor eax, eax
push ebp
push 0x48dcb8
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48dca7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
mov edx, 0x48dd5c
mov eax, dword [ebp - 0x18]
call fcn.004343b8
test eax, eax
je 0x48dc8e
lea eax, [ebp - 0x10]
mov edx, 0x104
call fcn.00404818
push 0x104
mov eax, dword [ebp - 0x10]
call fcn.0040468c
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404818
mov eax, dword [ebp - 0x10]
call fcn.0040448c
test eax, eax
jle 0x48dc31
mov eax, dword [ebp - 0x10]
call fcn.0040448c
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0x5c
je 0x48dc31
lea eax, [ebp - 0x10]
mov edx, 0x48dd7c
call fcn.00404494
lea eax, [ebp - 0x20]
mov ecx, 0x48dd88
mov edx, dword [ebp - 0x10]
call fcn.004044d8
mov eax, dword [ebp - 0x20]
call fcn.0040468c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48dc5e
mov byte [ebp - 0x19], 1
jmp 0x48dc92
push 0x48dd98
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.00448844
push eax
call dword [ebp - 0xc]
test al, al
je 0x48dc83
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
jmp 0x48dc92
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dcae
push 0
call sub.user32.dll_ShowCursor
ret
mov byte [ebp - 0x19], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dce9
mov eax, dword [ebp - 0x18]
call fcn.004033f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd2a
lea eax, [ebp - 0x20]
call fcn.004041cc
lea eax, [ebp - 0x10]
call fcn.004041cc
ret
Function at 0x403b9b
Capabilities:
Delete directory
Get geographical location
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x2aa57f8], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], eax
jne 0x403bd7
push 0x403634
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0x403660
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x4313b8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4313bc]
xor edi, edi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00403b94
mov eax, dword [0x4313c0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4313c4]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403c19
mov esi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, esi
shl eax, 4
cmp dword [0x2aa57f8], 0xc
mov dword [ebp - 4], eax
jne 0x403c6b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push edi
push 0x403668
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push edi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x2aa57f8]
cmp eax, 0xfa9
jne 0x403c87
mov dword [0x2aa4d94], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403c94
mov dword [0x2aa4744], edi
mov ecx, dword [ebp - 8]
mov edx, esi
shr edx, cl
lea eax, [ebx + esi]
mov dword [ebp - 0x14], eax
mov dword [0x2aa4d90], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2aa57f8], 0x213
mov dword [ebp - 0x14], edx
jne 0x403cd1
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2aa57f8], 0xc
jne 0x403d0e
push edi
lea eax, [ebp - 0x444]
push eax
push 0x403688
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push edi
lea eax, [ebp - 0x844]
push eax
push 0x4036ac
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov esi, eax
shr esi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add esi, dword [ebp - 0x1c]
cmp dword [0x2aa57f8], 0x121
jne 0x403d49
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], esi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403c16
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x403d73
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2aa57f8]
mov ecx, dword [0x2aa4748]
sub esp, 0x84c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x403e5a
mov edi, ecx
mov ebx, eax
cmp dword [0x2aa57f8], 0x959
jne 0x403e4a
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x4036b8
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x40372c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x403754
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403774
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x848]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403b9b
add edi, 8
dec ebx
jne 0x403d9b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404147
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
push ebx
push esi
push edi
mov edi, 0x5d744c
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec edi
jne 0x40415d
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0xc], esi
mov ebx, 0x2b259d
call edi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
cmp dword [esp + 0xc], ebx
jle 0x4041b3
cmp dword [esp + 0x10], 0x785074d5
jne 0x4041c1
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x1c1b
jl 0x404196
mov dword [esp + 0xc], esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0xc], 0x206d47
jg 0x4041ec
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x4f6a4
jl 0x4041c5
cmp dword [0x2aa57f8], 0x400
jne 0x40423a
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push esi
push esi
call fcn.00404837
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403b2f
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403b52
fstp st(0)
push esi
call fcn.00404c26
pop ecx
push esi
call fcn.00404a76
pop ecx
push esi
push esi
call fcn.0040472b
pop ecx
pop ecx
mov eax, dword [0x43178c]
mov dword [0x2aa57f8], eax
mov eax, dword [0x431760]
mov dword [0x2aa57fc], eax
call fcn.00403f2e
xor edi, edi
push 0x403808
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp edi, ebx
jle 0x40426e
cmp dword [esp + 0x10], 0x785074d5
jne 0x404277
inc edi
cmp edi, 0x11915
jl 0x404255
mov edi, 0x3078f
cmp dword [0x2aa57f8], 0x51f
jne 0x4042a8
push 0x403810
push esi
lea eax, [esp + 0x20]
push eax
push 0x403850
push 0x403880
push 0x4038c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
dec edi
jne 0x40427c
mov eax, dword [0x2aa4748]
mov dword [0x2aa4d8c], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40b0b1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430828]
jne 0x40b0bb
repz ret
jmp fcn.0040dceb