joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47dc60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
cmp dword [esi + 0x78], ebp
je 0x47de1d
push ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0x90]
cmp eax, ebp
je 0x47dd96
mov ecx, dword [esi + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
sar ecx, 4
cmp eax, ecx
jae 0x47dd96
xor ebx, ebx
mov edx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add eax, edx
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x47dd7d
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x47dd7d
mov eax, ecx
mov ecx, esi
mov edi, dword [eax + ebx*4]
push edi
call fcn.0047eed0
mov ebp, eax
test ebp, ebp
je 0x47dd75
push ebp
mov ecx, esi
call fcn.00480360
test eax, eax
je 0x47dd75
mov edx, dword [esi + 0x74]
cmp edi, edx
je 0x47dd75
mov eax, dword [esp + 0x10]
xor ecx, ecx
test ebx, ebx
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0x90]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x47dd36
xor eax, eax
jmp 0x47dd3e
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
xor ecx, ecx
cmp ebx, eax
lea eax, [edi + 1]
sete cl
mov dword [esp + 0x28], ecx
xor ecx, ecx
cmp eax, edx
sete cl
dec edi
mov dword [esp + 0x30], ecx
xor eax, eax
cmp edi, edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x18]
sete al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x3c], eax
call fcn.00480d00
inc ebx
xor ebp, ebp
jmp 0x47dcc7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jmp 0x47dca0
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
call fcn.0047f1e0
test eax, eax
pop ebx
je 0x47de1d
mov ecx, dword [esi + 0x74]
push ecx
mov ecx, esi
call fcn.0047eed0
mov edi, eax
cmp edi, ebp
je 0x47de1d
push edi
mov ecx, esi
call fcn.00480360
test eax, eax
je 0x47de1d
mov eax, 1
lea edx, [esi + 0x1f8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x74]
mov ecx, esi
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], edx
call fcn.0047f420
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x20], eax
push ecx
mov ecx, esi
call fcn.0047f490
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push eax
call fcn.00480d00
pop edi
pop esi
pop ebp
add esp, 0x28
ret 4
Function at 0x486800
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ae5d1
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x48683d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.004a5f01
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.004a5249
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.0047f750
lea ecx, [esp + 8]
call fcn.004a6170
lea ecx, [esp + 0x30]
call fcn.004a53ad
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.004a5249
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.0047fbc0
lea ecx, [esp + 0x74]
call fcn.004a53ad
lea ecx, [esp + 8]
call fcn.004a6171
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.0047d3f0
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.0047f6f0
mov ecx, esi
call fcn.004802a0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.0047f6f0
mov ecx, esi
call fcn.004802a0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0047f6f0
mov ecx, esi
call fcn.004802a0
mov ecx, dword [edi + 0x5c]
call fcn.0047cbd0
push eax
mov ecx, esi
call fcn.0047cbe0
mov ecx, dword [edi + 0x5c]
call fcn.0047d190
push eax
mov ecx, esi
call fcn.0047d130
mov ecx, dword [edi + 0x5c]
call fcn.0047d2b0
push eax
mov ecx, esi
call fcn.0047d260
mov ecx, dword [edi + 0x5c]
push 0
call fcn.0047c4b0
push eax
mov ecx, esi
call fcn.0047c4c0
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.004a5325
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.004a5325
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004a5f8a
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x4880b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ae7f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.0049c376
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.0049c376
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.00488bd0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x488c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ae8d0
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.004a7ef4
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x488c53
xor al, al
jmp 0x488d7f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x488c75
xor al, al
jmp 0x488d7f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x488c88
xor al, al
jmp 0x488d7f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x488c9c
xor al, al
jmp 0x488d7f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.0049c43b
test eax, eax
jne 0x488cd0
xor al, al
jmp 0x488d7f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x4de724
mov dword [esp + 0x20], ebp
call fcn.004a7ef4
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.004a4efe
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.004a4f55
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x488d64
mov ax, word [ebx]
test ax, ax
je 0x488d56
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.00488da0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x488d3a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.004a4f55
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4892e0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.004a65ae
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x489326
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.0048d6d8
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x4f8e44
push ecx
call fcn.0048ed4e
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4a04c4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a04fc
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049e569
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049e541
jmp 0x4a0508
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a1cc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a1d02
call fcn.004a7ef4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a1d02
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a1cf9
xor eax, eax
jmp 0x4a1d0a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a1d10
pop edi
pop esi
pop ebx
ret 4

Function at 0x4a3753
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4af108
call fcn.0048f7d4
push ecx
push ecx
push esi
push 0x14
call fcn.0049de4f
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x4a37a6
mov ecx, esi
call fcn.0049e635
mov eax, dword [0x4faa50]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.0049e24b
jmp 0x4a37a8
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x4eb218
push eax
mov dword [ebp - 0x10], esi
call fcn.0048fbfc
pop esi

Function at 0x4a8424
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a8452
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a8470
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a838a
jmp 0x4a8470
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a8470
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a838a
test edi, edi
mov eax, edi
jne 0x4a845a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4019f0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
xor eax, eax
mov dword [esp + 0x10], 0
mov ecx, 0x49
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
xor edi, edi
push edi
push 2
mov ebx, 3
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x401ae1
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401aae
lea ecx, [esp + 0x34]
push 0x5c
push ecx
call fcn.00664490
add esp, 8
test eax, eax
je 0x401a70
inc eax
lea edx, [esp + 0x138]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x401a64
jmp 0x401a82
xor eax, eax
mov cl, byte [esp + eax + 0x34]
mov byte [esp + eax + 0x138], cl
inc eax
test cl, cl
jne 0x401a72
mov eax, dword [esp + 0x240]
lea edx, [esp + 0x138]
push edx
push eax
call fcn.006672ab
add esp, 8
test eax, eax
jne 0x401a9f
inc edi
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401a47
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x244]
dec ebx
cmp edi, eax
jle 0x401aee
test ebx, ebx
jl 0x401aee
push 0x3e8
call ebp
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x401a30
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x22c
ret
xor edx, edx
cmp edi, eax
pop edi
pop esi
setg dl
pop ebp
mov al, dl
pop ebx
add esp, 0x22c
ret
Function at 0x407420
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [0x72b354]
sub esp, 0x10
test eax, eax
push esi
mov esi, dword [ecx]
je 0x4074e2
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x14]
push eax
call edi
mov ebx, dword [0x7299fc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, ebx
call fcn.006665b0
sub eax, dword [0x72b314]
mov dword [esp + 0xc], eax
jns 0x40746b
mov dword [esp + 0xc], 0
mov ecx, ebx
mov edx, 1
shl edx, cl
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x18], edx
fild dword [esp + 0x18]
fimul dword [esp + 0x10]
fmul dword [0x727a04]
fmul dword [0x6bdb0c]
fstp dword [esp + 0x18]
call edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [0x7299fc]
call fcn.006665b0
fld dword [0x7806b4]
fadd dword [esp + 0x14]
mov dword [0x72b314], eax
pop edi
pop ebx
fst dword [0x7806b4]
fcomp dword [0x6be02c]
fnstsw ax
test ah, 0x41
jne 0x4074e2
push 0
mov dword [0x7806b4], 0
call fcn.00401710
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x407500
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
mov dword [esi + 0x18], 0
mov esi, dword [esi + 4]
mov dword [esi], eax
mov dword [eax + 4], esi
pop esi
add esp, 0x10
ret
Function at 0x410360
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x38
mov byte [esp], 0x20
mov byte [esp + 1], 0x2e
mov byte [esp + 2], 0x2c
mov byte [esp + 3], 0x5f
mov byte [esp + 4], 0x40
mov byte [esp + 5], 0x2d
mov byte [esp + 6], 0x60
mov byte [esp + 7], 0x3d
mov byte [esp + 8], 0x5b
mov byte [esp + 9], 0x5d
mov byte [esp + 0xa], 0x5c
mov byte [esp + 0xb], 0x3b
mov byte [esp + 0xc], 0x27
mov byte [esp + 0xd], 0x2f
mov byte [esp + 0xe], 0x3c
mov byte [esp + 0xf], 0x3e
mov byte [esp + 0x10], 0x3f
mov byte [esp + 0x11], 0x3a
mov byte [esp + 0x12], 0x22
mov byte [esp + 0x13], 0x7b
mov byte [esp + 0x14], 0x7d
mov byte [esp + 0x15], 0x7c
mov byte [esp + 0x16], 0x2b
mov byte [esp + 0x17], 0x28
mov byte [esp + 0x18], 0x29
mov byte [esp + 0x19], 0x2a
mov byte [esp + 0x1a], 0x26
mov byte [esp + 0x1b], 0x25
mov byte [esp + 0x1c], 0x23
mov byte [esp + 0x1d], 0x21
mov byte [esp + 0x1e], 0x7e
mov byte [esp + 0x1f], 0xe5
mov byte [esp + 0x20], 0xe4
mov byte [esp + 0x21], 0xe0
mov byte [esp + 0x22], 0xe2
mov byte [esp + 0x23], 0xeb
mov byte [esp + 0x24], 0xe8
mov byte [esp + 0x25], 0xe9
mov byte [esp + 0x26], 0xea
mov byte [esp + 0x27], 0xef
mov byte [esp + 0x28], 0xee
mov byte [esp + 0x29], 0xf6
mov byte [esp + 0x2a], 0xf4
mov byte [esp + 0x2b], 0xfc
mov byte [esp + 0x2c], 0xf9
mov byte [esp + 0x2d], 0xfb
mov byte [esp + 0x2e], 0xe7
mov byte [esp + 0x2f], 0x9c
mov byte [esp + 0x30], 0xf2
mov byte [esp + 0x31], 0xec
mov byte [esp + 0x32], 0xc5
mov byte [esp + 0x33], 0xc4
mov byte [esp + 0x34], 0xd6
mov byte [esp + 0x35], 0xdc
mov byte [esp + 0x36], 0xa7
xor eax, eax
cmp byte [esp + eax], cl
je 0x41048a
inc eax
cmp eax, 0x37
jl 0x410478
xor al, al
add esp, 0x38
ret
mov al, 1
add esp, 0x38
ret

Function at 0x41c390
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x104
push ebp
mov ebp, dword [esp + 0x114]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
lea edi, [esp + 8]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c3b7
mov ecx, dword [str.NFS_Underground_]
mov edx, dword [0x6bc600]
mov eax, dword [0x6bc604]
mov dword [edi], ecx
mov ecx, dword [0x6bc608]
mov dword [edi + 4], edx
mov dx, word [0x6bc60c]
mov dword [edi + 8], eax
push 0
lea eax, [esp + 0xc]
mov dword [edi + 0xc], ecx
push eax
mov word [edi + 0x10], dx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
mov eax, dword [esp + 0x114]
push ebx
je 0x41c437
cmp eax, 0xffffffff
jne 0x41c42e
push str._autosave
push esi
lea ecx, [esp + 0x14]
push ecx
push str._s_s_s_s
push ebp
call fcn.00664bef
add esp, 0x18
pop edi
pop ebp
add esp, 0x104
ret 0xc
push eax
push esi
lea edx, [esp + 0x14]
push edx
jmp 0x41c46f
cmp eax, 0xffffffff
jne 0x41c464
push str._autosave
push 0x74a4f4
lea eax, [esp + 0x14]
push eax
push str._s_s_s_s
push ebp
call fcn.00664bef
add esp, 0x18
pop edi
pop ebp
add esp, 0x104
ret 0xc
push eax
push 0x74a4f4
lea ecx, [esp + 0x14]
push ecx
push str._s_s_d_s
push ebp
call fcn.00664bef
add esp, 0x18
pop edi
pop ebp
add esp, 0x104
ret 0xc
Function at 0x41c8e0
Capabilities:
Create directory
Get common file path

Disassembly:
sub esp, 0x210
push edi
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
lea edi, [esp + 0xc]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x41c900
mov ecx, dword [str.NFS_Underground_]
mov edx, dword [0x6bc600]
mov eax, dword [0x6bc604]
mov dword [edi], ecx
mov ecx, dword [0x6bc608]
mov dword [edi + 4], edx
mov dx, word [0x6bc60c]
mov dword [edi + 8], eax
push 0
lea eax, [esp + 0x10]
mov dword [edi + 0xc], ecx
push eax
mov word [edi + 0x10], dx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str..opt
push 0x74a4f4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x11c]
push str._s_s_s
push edx
call fcn.00664bef
lea eax, [esp + 0x124]
push 0x6bc5ac
push eax
call fcn.00664ca3
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x41ca03
push ebx
push esi
push edi
push 1
lea ecx, [esp + 0x18]
push 4
push ecx
mov dword [esp + 0x20], 0x13
call fcn.0066520a
push 0x2e5
call fcn.0059e170
add esp, 0x14
mov esi, eax
push 0x2e5
mov ecx, esi
mov edx, 0x74a4f4
call fcn.004a04a0
push edi
push 1
push 0x2e5
push esi
call fcn.0066520a
mov edx, dword [esp + 0x230]
add esp, 0x10
push esi
push edx
mov ebx, 0x2e5
call fcn.0041c490
push edi
push 1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 4
push eax
call fcn.0066520a
push esi
call fcn.0059e180
push edi
call fcn.00664f7d
add esp, 0x18
pop esi
pop ebx
pop edi
add esp, 0x210
ret 4
Function at 0x422c00
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x67aeab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
push edi
mov esi, ecx
call fcn.00422b60
xor edi, edi
lea ecx, [esp + 0x10]
push ecx
lea eax, [esi + 0x70]
push 0x72c0b0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.00440d70
lea edx, [esp + 0x38]
push edx
lea eax, [esi + 0x80]
push 0x72c0b0
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], 0x3f800000
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
call fcn.00440d70
fld dword [esp + 0x24]
fsub dword [esp + 0x4c]
push 0x18
fstp dword [esp + 0xc]
call fcn.0059e170
mov ecx, eax
add esp, 4
mov dword [esp + 0xc], ecx
cmp ecx, edi
mov dword [esp + 0x68], edi
je 0x422ce5
mov eax, dword [esp + 8]
push eax
mov eax, dword [esi + 0x9c]
push 0x42c80000
call fcn.0048a860
jmp 0x422ce7
xor eax, eax
cmp eax, edi
mov dword [esp + 0x68], 0xffffffff
mov dword [esi + 0xa8], eax
je 0x422d12
cmp dword [eax + 4], 5
jl 0x422d12
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
call fcn.00422b60
mov ecx, dword [esp + 0x60]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x426a10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
lea eax, [ebx + 0x90]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00401c70
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x58]
mov dword [esp + 0x68], edx
push 0x3e19999a
lea edx, [ebx + 0x70]
mov dword [esp + 0x70], eax
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x78], ecx
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x84], 0x3f800000
call fcn.00599fc0
mov edx, dword [0x77bdcc]
push edx
lea eax, [esp + 0x3c]
call fcn.00569660
add esp, 0x1c
test eax, eax
mov dword [esp + 0x18], eax
je 0x426eb6