joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b4e0
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 0x45b68b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b66c
mov dl, 1
mov eax, dword [0x41739c]
call fcn.00403704
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404580
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b65b
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.00448ec0
test al, al
je 0x45b64e
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, 0x45b69c
lea eax, [ebp - 0x254]
call fcn.00409f24
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b64e
xor eax, eax
push ebp
push 0x45b647
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 0x45b6d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b630
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f0
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 0x45b630
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b64e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b551
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ba78
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 0x45b692
lea eax, [ebp - 0x260]
call fcn.00404580
ret

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

Disassembly:
push ecx
mov eax, dword [0x4efbe4]
cmp byte [eax + 0xa5], 0
jne 0x45c045
cmp dword [0x4efbfc], 0
jne 0x45c006
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45bf90
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4efbfc], eax
cmp dword [0x4efbf8], 0
jne 0x45c021
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4efbf8], eax
cmp dword [0x4efc00], 0
jne 0x45c045
push esp
push 0
push 0
push 0x45bf34
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4efc00], eax
pop edx
ret
Function at 0x45c6d8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4efbe4]
cmp dword [eax + 0x30], 0
je 0x45c782
cmp dword [ebx + 0x94], 0
jne 0x45c77c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c668
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c77c
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 0x45c742
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c77c
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.00419344
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c751
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d2e0
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 0x45d315
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.00404670
jmp 0x45d322
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e45c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e49d
mov eax, esi
call fcn.004444a8
test al, al
je 0x45e49d
mov eax, dword [ebx + 0x84]
call fcn.004441a4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e49d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004441a4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x475400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47548a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, 0x104
call fcn.00404bcc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404a40
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x47546c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404bcc
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00463e60
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004045d4
jmp 0x475474
mov eax, dword [ebp - 4]
call fcn.00404580
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475491
lea eax, [ebp - 0xc]
call fcn.00404580
ret
Function at 0x476a24
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404580
mov dword [ebp - 8], 0xf
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x476a5b
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00404670
mov esp, ebp
pop ebp
ret

Function at 0x477418
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4774a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.00408aac
mov eax, dword [ebp - 0x14]
mov ebx, dword [0x4edeb0]
mov ebx, dword [ebx]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x477480
mov edx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp - 0xc]
call fcn.00404bcc
jmp 0x47748a
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.00404bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4774a7
lea eax, [ebp - 0x14]
call fcn.00404580
ret
Function at 0x49e9ac
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 [0x4163a4]
call fcn.00404f1c
xor eax, eax
push ebp
push 0x49eaf0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e82ec], 0
jne 0x49e9ff
mov ecx, dword [0x4edde8]
mov dl, 1
mov eax, dword [0x4079fc]
call fcn.0040cf78
call fcn.00403ed4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403120
mov eax, ebx
call fcn.00404de8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x49eb00
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.0040605c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404df8
test eax, eax
jle 0x49ea97
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 0x49ea90
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404808
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047f0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089b8
test eax, eax
jne 0x49ea90
mov ebx, 0x15
jmp 0x49ea9c
mov ebx, 0x10
jmp 0x49ea9c
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 [0x4e82ec]
call fcn.0049e904
mov eax, dword [ebp - 8]
call fcn.0049e904
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eaf7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045a4
lea eax, [ebp - 0x10]
mov edx, dword [0x4163a4]
call fcn.00404fec
ret
Function at 0x4dced0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404a30
mov eax, dword [ebp - 8]
call fcn.00404a30
xor eax, eax
push ebp
push 0x4dd030
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
lea eax, [ebp - 0x10]
mov ecx, 0x4dd04c
mov edx, dword [ebp - 8]
call fcn.0040488c
mov eax, dword [ebp - 0x10]
call fcn.004091ac
test al, al
je 0x4dcf4a
lea eax, [ebp - 0x14]
mov ecx, 0x4dd04c
mov edx, dword [ebp - 8]
call fcn.0040488c
mov eax, dword [ebp - 0x14]
call fcn.00404a40
push eax
call sub.kernel32.dll_DeleteFileA
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004e3510
test al, al
je 0x4dcf61
mov byte [ebp - 9], 0
jmp 0x4dd008
lea eax, [ebp - 0x1c]
mov ecx, 0x4dd04c
mov edx, dword [ebp - 8]
call fcn.0040488c
mov eax, dword [ebp - 0x1c]
call fcn.00404a40
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404778
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a40
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404778
mov eax, dword [ebp - 0x20]
pop edx
call fcn.004092c8
cmp al, 1
jne 0x4dcfb4
mov eax, dword [ebx + 0x324]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
push ebp
push 0x4dcffa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0x4dd050
mov ecx, dword [0x4ef668]
mov dl, 1
mov eax, dword [0x417708]
call fcn.0041c494
mov ebx, eax
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0041c23c
mov eax, ebx
call fcn.00403734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dd008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd037
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.004045a4
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045a4
ret
Function at 0x4dd058
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4dd184
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
mov eax, dword [esi + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4dd131
inc eax
mov dword [ebp - 8], eax
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov edx, ebx
mov eax, dword [esi + 0x324]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.00404a40
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4dd0c1
mov byte [ebp - 1], 0
lea ecx, [ebp - 0x14]
mov edx, ebx
mov eax, dword [esi + 0x324]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x14]
call fcn.00404a40
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00404778
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [esi + 0x324]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x1c]
mov edx, 0x4dd19c
call fcn.00404848
mov eax, dword [ebp - 0x1c]
call fcn.00404a40
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.00404778
mov eax, dword [ebp - 0x18]
pop edx
call fcn.004092c8
test al, al
jne 0x4dd127
mov byte [ebp - 1], 0
inc ebx
dec dword [ebp - 8]
jne 0x4dd095
cmp byte [ebp - 1], 0
je 0x4dd151
push 0x40
mov ecx, 0x4dd1a0
mov edx, 0x4dd1ac
mov eax, dword [0x4ee494]
mov eax, dword [eax]
call fcn.0045d8dc
jmp 0x4dd169
push 0x40
mov ecx, 0x4dd1a0
mov edx, 0x4dd1ac
mov eax, dword [0x4ee494]
mov eax, dword [eax]
call fcn.0045d8dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd18b
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.004045a4
ret

Function at 0x4dd1cc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4dd257
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4dd241
inc ebx
xor esi, esi
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x324]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xc]
mov edx, 0x4dd270
call fcn.00404848
mov eax, dword [ebp - 0xc]
call fcn.00404a40
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x4dd23d
mov byte [ebp - 5], 0
inc esi
dec ebx
jne 0x4dd207
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd25e
lea eax, [ebp - 0xc]
call fcn.00404580
ret
Function at 0x4dd554
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a30
xor eax, eax
push ebp
push 0x4dd603
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404a40
push eax
call sub.kernel32.dll_CreateFileA
mov dword [ebp - 8], eax
xor edi, edi
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
jbe 0x4dd5e2

Function at 0x4e3544
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, edx
call sub.kernel32.dll_GetTickCount
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x4ee494]
mov eax, dword [eax]
call fcn.0045d590
mov eax, ebx
sub eax, esi
xor edx, edx
push edx
push eax
mov eax, edi
cdq
cmp edx, dword [esp + 4]
jne 0x4e357d
cmp eax, dword [esp]
pop edx
pop eax
ja 0x4e3550
jmp 0x4e3581
pop edx
pop eax
jg 0x4e3550
pop edi
pop esi
pop ebx
ret
Function at 0x403850
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x46a368]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x46a36c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00403840
mov ecx, dword [0x46a370]
mov edx, dword [0x46a374]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x4038c0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x471b64]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x4038ec
mov dword [0x471b60], 0xedeb2e40
jmp 0x403907
cmp eax, 0x3eb
jne 0x403907
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x4715f0], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x471b64], 0x9e6
mov dword [0x471b5c], 0xf4ea3dee
jne 0x403940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 4], esi
cmp dword [0x471b64], 0x213
jne 0x4039b6
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x471b64], 0xc
jne 0x4039ca
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x20]
xor esi, ecx
cmp dword [0x471b64], 0xb03
jne 0x403a02
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x4038c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403a40
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x471b64]
mov ecx, dword [0x4715f4]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x403ad7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x471b64], 0x959
jne 0x403ac1
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov eax, dword [ebp - 4]
push eax
call fcn.00403850
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x403a73
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40afaf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x469ce0]
jne 0x40afb9
repz ret
jmp fcn.0040e6cb

Function at 0x40c3e4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00407e1b
and dword [ebp - 4], 0
cmp dword [0x46f5e0], 0
mov ebx, eax
jne 0x40c495
push 0x4023e0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c546
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023d4
push edi
call esi
test eax, eax
je 0x40c546
push eax
call fcn.00407da9
mov dword [esp], 0x4023c4
push edi
mov dword [0x46f5e0], eax
call esi
push eax
call fcn.00407da9
mov dword [esp], 0x4023b0
push edi
mov dword [0x46f5e4], eax
call esi
push eax
call fcn.00407da9
mov dword [esp], 0x402394
push edi
mov dword [0x46f5e8], eax
call esi
push eax
call fcn.00407da9
pop ecx
mov dword [0x46f5f0], eax
test eax, eax
je 0x40c495
push 0x40237c
push edi
call esi
push eax
call fcn.00407da9
pop ecx
mov dword [0x46f5ec], eax
mov eax, dword [0x46f5ec]
cmp eax, ebx
je 0x40c4ed
cmp dword [0x46f5f0], ebx
je 0x40c4ed
push eax
call fcn.00407e24
push dword [0x46f5f0]
mov esi, eax
call fcn.00407e24
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c4ed
test edi, edi
je 0x40c4ed
call esi
test eax, eax
je 0x40c4e4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c4e4
test byte [ebp - 0xc], 1
jne 0x40c4ed
or dword [ebp + 0x10], 0x200000
jmp 0x40c526
mov eax, dword [0x46f5e4]
cmp eax, ebx
je 0x40c526
push eax
call fcn.00407e24
pop ecx
test eax, eax
je 0x40c526
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c526
mov eax, dword [0x46f5e8]
cmp eax, ebx
je 0x40c526
push eax
call fcn.00407e24
pop ecx
test eax, eax
je 0x40c526
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46f5e0]
call fcn.00407e24
pop ecx
test eax, eax
je 0x40c546
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c548
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b230
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b6b0]
jne 0x40b23a
repz ret
jmp fcn.00412ffc

Function at 0x41b32c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b6b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040fee2
and dword [ebp - 0x14], 0
cmp dword [0x44e3d8], 0
mov dword [ebp - 0x18], eax
jne 0x41b3df
push 0x403880
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41b487
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403874
push ebx
call edi
test eax, eax
je 0x41b487
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403864
push ebx
mov dword [0x44e3d8], eax
call edi
push eax
call esi
push 0x403850
push ebx
mov dword [0x44e3dc], eax
call edi
push eax
call esi
push 0x403834
push ebx
mov dword [0x44e3e0], eax
call edi
push eax
call esi
mov dword [0x44e3e8], eax
test eax, eax
je 0x41b3df
push 0x40381c
push ebx
call edi
push eax
call esi
mov dword [0x44e3e4], eax
mov eax, dword [0x44e3e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41b438
cmp dword [0x44e3e8], ecx
je 0x41b438
push eax
call esi
push dword [0x44e3e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41b438
test ebx, ebx
je 0x41b438
call edi
test eax, eax
je 0x41b42f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41b42f
test byte [ebp - 8], 1
jne 0x41b438
or dword [ebp + 0x10], 0x200000
jmp 0x41b46b
mov eax, dword [0x44e3dc]
cmp eax, dword [ebp - 0x18]
je 0x41b46b
push eax
call esi
test eax, eax
je 0x41b46b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41b46b
mov eax, dword [0x44e3e0]
cmp eax, dword [ebp - 0x18]
je 0x41b46b
push eax
call esi
test eax, eax
je 0x41b46b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e3d8]
call esi
test eax, eax
je 0x41b487
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41b489
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b230
leave
ret