joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412035
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x41205a
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
jmp 0x412120
push esi
push edi
push str.SystemTemp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x24
call fcn.00403e34
push str.GoogleTemp
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x26
call fcn.00403e34
lea esi, [ebp - 0x24]
mov byte [ebp - 0x10], 1
mov dword [ebp - 8], esi
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
mov ecx, dword [esi]
lea eax, [ebp - 4]
lea edx, [esi + 4]
push eax
movzx eax, byte [edx + 4]
push eax
call fcn.00411f94
mov esi, dword [ebp - 4]
pop ecx
pop ecx
test eax, eax
js 0x4120e4
mov ecx, esi
call fcn.004030fd
test al, al
je 0x4120e4
push ecx
mov edx, esi
lea ecx, [ebp - 0xc]
call fcn.0040318b
mov edi, dword [ebp - 0xc]
pop ecx
cmp dword [edi - 0xc], 0
jne 0x412125
lea ecx, [edi - 0x10]
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esi, 0xc
mov dword [ebp - 8], esi
cmp esi, eax
jne 0x412092
call fcn.00401371
push eax
mov ecx, ebx
call fcn.00401791
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x41210f
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esi - 0x10]
call fcn.004017ba
add eax, 0x10
lea ecx, [edi - 0x10]
mov dword [ebx], eax
call fcn.004015ce
lea ecx, [esi - 0x10]
call fcn.004015ce
push 2
pop esi
lea edi, [ebp - 0xc]
sub edi, 0xc
mov ecx, edi
call fcn.0040749e
sub esi, 1
jne 0x41214f
jmp 0x41211e

Function at 0x41349c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x200
xor ebx, ebx
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.00417980
add esp, 0xc
mov dword [ebp - 0x20c], 0x100
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push 3
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x413500
push ecx
lea ecx, [ebp - 0x204]
call fcn.00404f0f
pop ecx
test al, al
je 0x413500
mov al, 1
jmp 0x413545
push esi
lea eax, [ebp - 0x208]
mov dword [ebp - 0x208], ebx
push eax
push 0x64
push ebx
call dword [sym.imp.NETAPI32.dll_NetWkstaGetInfo]
mov esi, dword [ebp - 0x208]
test eax, eax
jne 0x41353b
cmp dword [esi + 8], ebx
je 0x41353b
push str.google
push dword [esi + 8]
call fcn.004267c4
pop ecx
pop ecx
test eax, eax
jne 0x41353b
mov bl, 1
push esi
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov al, bl
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00416dff
leave
ret
Function at 0x414175
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00401371
push eax
lea ecx, [ebp - 4]
call fcn.00401791
push dword [esi]
lea eax, [ebp - 4]
push str.__s__r_n
push eax
call fcn.00408a8f
mov esi, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [ecx]
mov dword [ebp + 8], eax
cmp eax, ecx
je 0x4141d6
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [ebp - 4]
push str._s_s_r_n
push eax
call fcn.00408a8f
add esp, 0x10
lea ecx, [ebp + 8]
call fcn.00403ff7
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
jne 0x4141b0
mov esi, dword [ebp - 4]
lea ecx, [ebp - 8]
xor edi, edi
push edi
mov dword [ebp - 8], edi
mov eax, dword [esi - 0xc]
push ecx
add eax, eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4141fc
call fcn.00408f5b
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414627
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], cl
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0041420b
test eax, eax
js 0x414749
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x414749
call fcn.00412b3c
cmp byte [ebp - 1], 0
mov eax, str.HKLMSoftwareGoogleUpdate_
jne 0x41466f
mov eax, str.HKCUSoftwareGoogleUpdate_
push eax
lea ecx, [ebp - 8]
call fcn.00403e34
push 0x43e9d0
lea ecx, [ebp - 0xc]
call fcn.00403e34
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 8]
lea ecx, [ebp - 0x10]
call fcn.0040380e
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.004015e6
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov esi, dword [ebp - 8]
mov ecx, esi
call fcn.0040847c
test al, al
jne 0x4146d0
mov cl, byte [ebp - 1]
mov dl, 1
call fcn.0041475b
mov edi, eax
jmp 0x41473b
push 1
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d8
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 0x200
call fcn.00407fcc
mov edi, eax
test edi, edi
js 0x41472c
mov eax, dword [ebp - 0x1c]
xor edi, edi
sub ebx, eax
sar ebx, 2
test ebx, ebx
je 0x414720
push 0
push 0
push 0
push 0
push dword [eax + edi*4]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x414745
mov eax, dword [ebp - 0x1c]
inc edi
cmp edi, ebx
jb 0x414700
mov cl, byte [ebp - 1]
xor dl, dl
call fcn.0041475b
mov edi, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0x43b6d8
call fcn.00407e6f
lea ecx, [esi - 0x10]
call fcn.004015ce
jmp 0x41474c
xor edi, edi
jmp 0x41472c
xor edi, edi
inc edi
lea ecx, [ebp - 0x1c]
call fcn.00404b8e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41490e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x442008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, cl
push esi
push edi
test bl, bl
je 0x41493a
call fcn.00415522
test al, al
je 0x41493a
mov eax, 0x80004005
jmp 0x414a9a
xor esi, esi
mov dword [ebp - 0x1c], 0x43c518
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov cl, bl
call fcn.004144a6
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 4]
mov dword [ebp - 0x2c], 0x43b6d8
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200
call fcn.00412b3c
mov eax, str.HKLMSoftwareGoogleUpdate_
test bl, bl
jne 0x41497d
mov eax, str.HKCUSoftwareGoogleUpdate_
push esi
push ecx
push 0xf003f
push ecx
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407f1a
mov edi, eax
test edi, edi
js 0x414a78
push esi
push esi
push esi
push esi
push 0x43e9d0
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4149b6
mov edi, esi
jmp 0x414a78
call fcn.00401371
push eax
lea ecx, [ebp - 0x20]
call fcn.00401791
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x4149fe
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.00403794
push eax
lea ecx, [ebp - 0x20]
call fcn.004015e6
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.004015ce
mov eax, esi
test eax, eax
mov esi, dword [ebp - 0x20]
js 0x414a6e
xor edi, edi
lea ecx, [ebp - 0x2c]
inc edi
push edi
push esi
push 0x43e9d0
call fcn.00408416
test eax, eax
js 0x414a6e
mov ecx, 0x442c90
call fcn.00409b13
lea ecx, [ebp - 0x2c]
call fcn.004148b7
xor eax, eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
call fcn.0041420b
test eax, eax
js 0x414a64
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x414a64
sub esp, 0xc
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.00413697
mov cl, bl
call fcn.00414507
add esp, 0xc
mov edi, eax
lea ecx, [ebp - 0x10]
call fcn.00404b8e
jmp 0x414a70
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.004015ce
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x43b6d8
call fcn.00407e6f
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
call fcn.00407cfe
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416dff
leave
ret
Function at 0x414c10
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414c20
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
jmp 0x414c26
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x414c4e
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x43a610]
test ax, ax
jne 0x414c35
mov esi, ecx
jmp 0x414c51
movzx esi, si
pop edi
cmp cx, si
je 0x414c6e
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x43a610]
test cx, cx
jne 0x414c52
mov eax, 0x4390f8
jmp 0x414c76
imul eax, edx, 0x1a
add eax, 0x43a612
push eax
mov ecx, ebx
call fcn.00403e34
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x4158ed
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x442c1c
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp + 8]
push 0x442c1c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
and dword [esi + 0x18], 0
and dword [esi + 0x1c], 0
mov dword [ebp + 8], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp + 8], 0
jne 0x41592f
test ebx, ebx
je 0x41598d
lea ebx, [edi + 0x1c]
mov ecx, edi
push ebx
push str.Counts
call fcn.004158c4
test al, al
je 0x41598d
push dword [esi + 4]
lea ecx, [ebp - 4]
call fcn.0040542a
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x10]
xor edi, edi
mov edx, esi
push eax
mov ecx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00415bb6
mov eax, dword [ebp + 8]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
adc dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
pop ecx
push 8
push eax
push 3
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x415994
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x442008]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x442c1c
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 8
pop ecx
lea eax, [esi + 0x18]
push 0x20
mov esi, eax
lea edi, [esp + 0x34]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.00417980
add esp, 0xc
push 0x442c1c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x30], 0
je 0x415ac5
lea edi, [ebx + 0x28]
mov ecx, ebx
push edi
push str.Timings
call fcn.004158c4
test al, al
je 0x415ac5
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push dword [eax + 4]
call fcn.0040542a
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
call fcn.00415c02
pop ecx
test al, al
jne 0x415a45
push 0x20
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00418dd0
add esp, 0xc
jmp 0x415aa9
mov eax, dword [esp + 0x30]
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
adc dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x24]
jg 0x415a73
mov eax, dword [esp + 0x40]
jl 0x415a7b
cmp eax, dword [esp + 0x20]
jb 0x415a7b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
cmp dword [esp + 0x2c], ecx
jg 0x415a99
mov eax, dword [esp + 0x48]
jl 0x415aa1
cmp dword [esp + 0x28], eax
jb 0x415aa1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
push 0x20
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esi - 0x10]
call fcn.004015ce
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00416dff
mov esp, ebp
pop ebp
ret 4

Function at 0x415bb6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 8
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415bef
cmp dword [ebp - 8], 3
jne 0x415bef
test eax, eax
jne 0x415bef
cmp dword [ebp - 4], esi
jne 0x415bef
mov al, 1
jmp 0x415bff
push esi
push 0
push dword [ebp + 8]
call fcn.00417980
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x415c02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x20
pop esi
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
push dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x415c3b
cmp dword [ebp - 8], 3
jne 0x415c3b
test eax, eax
jne 0x415c3b
cmp dword [ebp - 4], esi
jne 0x415c3b
mov al, 1
jmp 0x415c4b
push esi
push 0
push dword [ebp + 8]
call fcn.00417980
add esp, 0xc
xor al, al
pop esi
leave
ret
Function at 0x416b7e
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
sub esp, 0xc
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x40]
mov esi, eax
lea eax, [ebx + 0x38]
push edx
push ecx
lea ecx, [ebx + 0x3c]
push ecx
push eax
push edi
push esi
push ecx
lea ecx, [ebp - 0x88]
call fcn.00416a3f
lea ecx, [ebp - 0x30]
call fcn.0040f69a
xor esi, esi
lea eax, [ebp - 4]
push esi
push eax
push 0x2c
mov eax, ecx
mov dword [ebp - 4], esi
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x416c41
cmp dword [ebp - 0x30], 2
jne 0x416c41
cmp dword [ebp - 0x2c], esi
je 0x416c41
cmp dword [ebp - 0x10], esi
je 0x416c41
cmp dword [ebp - 0xc], esi
je 0x416c41
cmp dword [ebp - 8], esi
je 0x416c41
lea ecx, [ebp - 0x5c]
call fcn.0040f69a
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0x5c], 3
push eax
push 0x2c
mov eax, ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x416c41
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x34], eax
mov al, 1
jmp 0x416c43
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x421039
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x442008]
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 0x421084
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042125a
test al, al
jne 0x42107e
sub edx, 2
cmp edx, edi
jne 0x421064
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4210a6
lea eax, [edi + 2]
cmp edx, eax
je 0x4210a6
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00420f85
add esp, 0x10
jmp 0x4211a0
push esi
lea ecx, [ebp - 0x255]
call fcn.0042125a
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 0x4210e9
push dword [ebp - 0x25c]
jmp 0x421096
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 0x421126
cmp word [ebp - 0x226], 0
je 0x421147
cmp word [ebp - 0x226], ax
jne 0x421126
cmp word [ebp - 0x224], 0
je 0x421147
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00420f85
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x421193
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x421100
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42117b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4211a0
push 0x420db5
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004250b0
add esp, 0x10
jmp 0x421170
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.00416dff
leave
ret

Function at 0x421f6e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430cd4
push 0x430ccc
push str.FlsAlloc
push 0x1e
call fcn.00421eab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421fa2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f0]
call esi
jmp 0x421fa8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x421fef
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x430ce4
push 0x430cdc
push str.FlsGetValue
push 0x20
call fcn.00421eab
mov esi, eax
add esp, 0x10
test esi, esi
je 0x422026
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f3f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x401360
Capabilities:
Create pipe
Query environment variable
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c0c
call fcn.004092c0
mov eax, dword [0x458a8c]
mov ecx, dword [0x458518]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
je 0x401487
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x458a8c], 0x959
jne 0x401471
push 0
lea eax, [ebp - 0x1408]
push eax
push 0
push 0
push 0
push 0
call edi
push str.mekopid
push 0
call ebx
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea edx, [ebp - 0x1008]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.hupetapicigilacusafudoziki
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push 0
lea ecx, [ebp - 0x1c08]
push ecx
push 0
call esi
mov edx, dword [ebp - 4]
push edx
call fcn.004010e0
add dword [ebp - 4], 8
dec dword [ebp - 8]
jne 0x40139e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403e12
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4494f0]
jne 0x403e1c
repz ret
jmp fcn.0040735c

Function at 0x408d1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4494f0]
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.004053f8
and dword [ebp - 0x14], 0
cmp dword [0x44fb90], 0
mov dword [ebp - 0x18], eax
jne 0x408dce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408e76
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408e76
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44fb90], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44fb94], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44fb98], eax
call edi
push eax
call esi
mov dword [0x44fba0], eax
test eax, eax
je 0x408dce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44fb9c], eax
mov eax, dword [0x44fb9c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408e27
cmp dword [0x44fba0], ecx
je 0x408e27
push eax
call esi
push dword [0x44fba0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408e27
test ebx, ebx
je 0x408e27
call edi
test eax, eax
je 0x408e1e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408e1e
test byte [ebp - 8], 1
jne 0x408e27
or dword [ebp + 0x10], 0x200000
jmp 0x408e5a
mov eax, dword [0x44fb94]
cmp eax, dword [ebp - 0x18]
je 0x408e5a
push eax
call esi
test eax, eax
je 0x408e5a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408e5a
mov eax, dword [0x44fb98]
cmp eax, dword [ebp - 0x18]
je 0x408e5a
push eax
call esi
test eax, eax
je 0x408e5a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44fb90]
call esi
test eax, eax
je 0x408e76
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408e78
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403e12
leave
ret
Function at 0x10009c30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060fd0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1007f054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1003b246
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10039eda
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret