joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418a60
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4a4081
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x28]
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov byte [esi + 0x3f], dl
lea ecx, [esi + 0x40]
mov dword [ecx], eax
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], edx
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 1
call fcn.00418ba0
mov ecx, dword [esp + 0x30]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x20], 2
call fcn.00490cb0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x18

Function at 0x418e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3fe1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x14], edi
mov edi, dword [esp + 0x30]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x40]
mov dword [esi + 0x18], edi
mov edi, dword [esp + 0x38]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edx, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1c], 1
call fcn.00418ba0
mov ecx, dword [esp + 0x3c]
push ecx
push edi
mov ecx, esi
mov byte [esp + 0x24], 2
call fcn.00492070
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0x24
Function at 0x4209b0
Capabilities:
Create directory

Disassembly:
sub esp, 0x110
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x10c], eax
push 0x103
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00465b60
add esp, 0xc
lea ecx, [esp]
call fcn.00420c70
lea eax, [esp]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4209f0
mov ecx, dword [str.Log_]
mov dl, byte [0x4c4434]
mov dword [eax], ecx
lea ecx, [esp]
mov byte [eax + 4], dl
call fcn.004264f0
test eax, eax
jne 0x420a21
push eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test esi, esi
je 0x420a3a
lea eax, [esp]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x420a30
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0045f97b
add esp, 0x110
ret

Function at 0x420a50
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x84
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x80], eax
push 0x7f
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00465b60
push 0x7f
lea ecx, [esp + 0x10]
push 0x20
push ecx
call fcn.00465b60
mov eax, edi
add esp, 0x18
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x420a90
sub eax, ecx
push eax
lea edx, [esp + 4]
push edi
push edx
call fcn.00469940
lea eax, [esp + 0xc]
add esp, 0xc
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420ab0
mov ecx, dword [esi]
push ecx
sub eax, edx
push eax
lea edx, [esp + 8]
push 1
push edx
call fcn.00462b82
mov eax, dword [esi]
push eax
push 1
push 1
push str._t_t_t_t
call fcn.00462b82
mov eax, ebx
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x420ae2
mov ecx, dword [esi]
push ecx
sub eax, edx
push eax
push 1
push ebx
call fcn.00462b82
mov edx, dword [esi]
push edx
push 1
push 2
push 0x4c23d0
call fcn.00462b82
mov ecx, dword [esp + 0xa0]
add esp, 0x20
xor ecx, esp
call fcn.0045f97b
add esp, 0x84
ret
Function at 0x420b20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
test edi, edi
jne 0x420c4e
xor ecx, ecx
mov eax, 0x400
mov edx, 4
mul edx
seto cl
mov edi, vtable.CWindowIterator.0
mov dword [esp + 8], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
neg ecx
or ecx, eax
push ecx
call fcn.0043fc2b
add esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x426810
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x10], vtable.CMainWindowIterator.0
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], 0
test eax, eax
je 0x420c09
cmp dword [esp + 0x14], 0
jbe 0x420c09
mov eax, dword [eax]
mov dword [esp + 0x18], 1
test eax, eax
je 0x420c09
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 8]
push ecx
push 0x8907
push 0x8907
push eax
call esi
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x420c3b
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
jae 0x420c3b
mov eax, dword [ecx + edx*4]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x420bc7
push ecx
mov dword [esp + 0xc], edi
call fcn.0043fc36
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0045137f
test eax, eax
je 0x420c1d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x420c1f
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
push ecx
push 0x8907
push 0x8907
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0xc], edi
call fcn.0043fc36
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
push 0x8907
push 0x8907
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420c70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x10], 0
call fcn.00465b60
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test esi, esi
je 0x420d04
lea eax, [esp + 4]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x420cc1
dec esi
mov eax, esi
mov edi, edi
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x420cd0
mov edx, dword [str.csrcbankAssist_]
mov dword [eax], edx
mov ecx, dword [0x4c4444]
mov dword [eax + 4], ecx
mov edx, dword [0x4c4448]
mov dword [eax + 8], edx
mov ecx, dword [0x4c444c]
mov dword [eax + 0xc], ecx
mov dl, byte [0x4c4450]
mov byte [eax + 0x10], dl
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0045f97b
add esp, 0x108
ret
Function at 0x426000
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc58
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0xc54], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc64]
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x42602e
xor al, al
jmp 0x426162
test ebp, ebp
jne 0x426035
lea ebp, [edi + 8]
push ebp
call fcn.00426180
add esp, 4
test al, al
je 0x426027
lea esi, [esp + 0x18]
call fcn.00425f10
cmp byte [esp + 0x248], 0
push 0
mov eax, esi
push eax
je 0x426085
add edi, 8
push edi
lea ecx, [esp + 0x364]
push 0
push ecx
call fcn.00462a00
lea edx, [esp + 0x36c]
add esp, 0x14
push edx
call fcn.00426180
add esp, 4
jmp 0x426162
push ebp
lea ecx, [esp + 0x25c]
push 0
push ecx
call fcn.00462a00
add esp, 0x14
lea eax, [esp + 0x250]
call fcn.00426230
test al, al
je 0x426027
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x426027
mov eax, dword [edi + 4]
push eax
call fcn.0043a6b0
test eax, eax
jne 0x426027
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, edi
mov edx, dword [edi + 4]
push 0x800
lea ecx, [esp + 0x464]
push ecx
push edx
call fcn.0043a020
mov esi, eax
test esi, esi
jle 0x426134
push 0
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x46c]
push ecx
push ebp
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x426131
cmp dword [esp + 0x14], esi
je 0x4260f0
or esi, 0xffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 4]
push edx
call fcn.0043a220
test esi, esi
jne 0x42615b
mov ecx, dword [esp + 0x230]
lea eax, [esp + 0x250]
call fcn.00426270
xor eax, eax
test esi, esi
sete al
mov ecx, dword [esp + 0xc64]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045f97b
add esp, 0xc58
ret 4

Function at 0x426180
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x426222
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x426222
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4261b5
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov al, cl
pop esi
ret
push ebx
push edi
push esi
call fcn.0046361e
mov edi, eax
push 0x5c
push edi
call fcn.00460640
mov ecx, esi
add esp, 0xc
lea ebx, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4261d0
sub ecx, ebx
cmp byte [ecx + esi - 1], 0x5c
sete bl
test eax, eax
je 0x42621c
push edi
mov byte [eax], dl
call fcn.00426180
add esp, 4
push edi
test al, al
jne 0x426203
call fcn.00461668
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
ret
call fcn.00461668
add esp, 4
test bl, bl
jne 0x42621c
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4261fd
pop edi
pop ebx
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
Function at 0x426270
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x30
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
test edi, edi
jne 0x42629d
xor al, al
pop edi
pop esi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x42630b
lea ecx, [esp + 0x18]
push ecx
push esi
shr esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x42630b
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x42630b
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp eax, 1
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x30
ret

Function at 0x426320
Capabilities:
Delete file

Disassembly:
sub esp, 0x130
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x12c], eax
push 0x105
lea eax, [esp + 0x25]
push 0
push eax
mov byte [esp + 0x2c], 0
call fcn.00465b60
push 0x104
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.004638a6
add esp, 0x18
lea ecx, [esp + 0x20]
call fcn.004264f0
cmp eax, 1
jne 0x42638d
push 0x10000000
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x12c]
xor ecx, esp
call fcn.0045f97b
add esp, 0x130
ret
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
lea ecx, [esp]
lea edx, [esp + 0x20]
mov eax, 0x290
push ecx
mov dword [esp + 0xc], edx
mov dword [esp + 8], 3
mov word [esp + 0x14], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x12c]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.0045f97b
add esp, 0x130
ret
Function at 0x4263f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x234
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x230], eax
push 0x105
lea eax, [esp + 0x12d]
push 0
push eax
mov byte [esp + 0x134], 0
call fcn.00465b60
push 0x104
lea ecx, [esp + 0x138]
push esi
push ecx
call fcn.004638a6
xor eax, eax
push 0x104
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
lea ecx, [esp + 0x3d]
lea edx, [esp + 0x144]
mov eax, 0x210
or word [esp + 0x2c], ax
push 0
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 3
mov byte [esp + 0x44], 0
call fcn.00465b60
add esp, 0x24
lea edx, [esp + 0x20]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
lea ecx, [ecx]
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00426770
add esp, 8
test eax, eax
jne 0x4264c6
lea edi, [esp + 0x24]
call fcn.004265d0
test eax, eax
jne 0x4264a0
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [esp + 0x234]
neg eax
sbb eax, eax
pop edi
xor ecx, esp
inc eax
call fcn.0045f97b
add esp, 0x234
ret

Function at 0x4264f0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
push edi
push 0x140
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.00465b60
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42654b
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0045f97b
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov edx, eax
or edx, 0x10
cmp eax, edx
jne 0x4265a9
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
je 0x426589
lea ebx, [ebx]
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x10
cmp eax, ecx
jne 0x4265a9
lea edx, [esp + 8]
push edx
push esi
call edi
test eax, eax
jne 0x426570
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0045f97b
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
mov eax, 2
call fcn.0045f97b
mov esp, ebp
pop ebp
ret
Function at 0x4265d0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x108], eax
push 0x104
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.00465b60
add esp, 0xc
lea ecx, [esp]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426612
sub eax, edx
push esi
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x426666
movsx eax, byte [esp + 4]
push eax
call fcn.004639d6
add esp, 4
cmp eax, 0x41
jl 0x426666
movsx ecx, byte [esp + 4]
push ecx
call fcn.004639d6
add esp, 4
cmp eax, 0x5a
jg 0x426666
cmp byte [esp + 5], 0x3a
jne 0x426666
cmp esi, 3
jne 0x42665f
cmp byte [esp + 6], 0x5c
jne 0x426666
cmp byte [esp + 4], 0
jne 0x4266aa
lea eax, [esp + 4]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426670
sub eax, edx
add eax, 0xffffffff
js 0x42668c
mov edi, edi
cmp byte [esp + eax + 4], 0x5c
je 0x4266c2
sub eax, 1
jns 0x426680
test edi, edi
je 0x4266aa
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4266a0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0045f97b
add esp, 0x10c
ret
mov byte [esp + eax + 4], 0
test edi, edi
je 0x4266df
lea eax, [esp + 4]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4266d5
lea eax, [esp + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4266e6
sub eax, edx
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x42673d
movsx eax, byte [esp + 4]
push eax
call fcn.004639d6
add esp, 4
cmp eax, 0x41
jl 0x42673d
movsx ecx, byte [esp + 4]
push ecx
call fcn.004639d6
add esp, 4
cmp eax, 0x5a
jg 0x42673d
cmp byte [esp + 5], 0x3a
jne 0x42673d
cmp esi, 3
jne 0x426732
cmp byte [esp + 6], 0x5c
jne 0x42673d
cmp byte [esp + 4], 0
jne 0x4266aa
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0045f97b
add esp, 0x10c
ret
Function at 0x426950
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a474b
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00465b30
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
push ebp
push edi
mov eax, dword [0x4d8b40]
xor eax, esp
push eax
lea eax, [esp + 0x101c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1030]
xor ebx, ebx
push 0xfff
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.00465b60
mov eax, dword [esp + 0x1038]
add esp, 0xc
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x2c]
push edx
push eax
push ecx
mov dword [esp + 0x34], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x18]
mov edi, eax
push edx
lea ecx, [esp + 0x14]
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.00402670
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
mov dword [esp + 0x1028], ebx
call fcn.00402990
mov dword [esp + 0x1024], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
cmp edi, ebx
jne 0x426a38
test edx, edx
jg 0x426a31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x426a48
test edx, edx
jg 0x426a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x101c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.0045f97b
add esp, 0x1018
ret 8

Function at 0x426c20
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x208], eax
push ebp
mov ebp, dword [esp + 0x214]
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov esi, ecx
mov byte [esp + 0x14], 0
call fcn.00465b60
add esp, 0xc
mov ecx, esi
call fcn.00426d50
test al, al
je 0x426d2b
push edi
lea edi, [esi + 4]
push 0x5c
push edi
call fcn.00460640
sub eax, esi
sub eax, 4
push eax
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00463a50
push 0x103
lea edx, [esp + 0x129]
push 0
push edx
mov byte [esp + 0x130], 0
call fcn.00465b60
add esp, 0x20
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push str.LngENU.ini
push ebp
push str.LanguageItems
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esi + 0x108]
lea eax, [esp + 0xc]
mov esi, edx
mov ecx, eax
sub esi, ecx
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x426cd2
mov edi, edx
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426ce0
mov ax, word [0x4c23cc]
mov word [edi], ax
lea eax, [esp + 0x110]
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426d00
sub eax, esi
dec edx
lea ebx, [ebx]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x426d10
mov ecx, eax
shr ecx, 2
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, 1
pop edi
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
call fcn.0045f97b
add esp, 0x20c
ret 4
Function at 0x426e10
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2810
call fcn.00465b30
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x280c], eax
push ebp
mov ebp, dword [esp + 0x2818]
push esi
mov esi, ecx
call fcn.00426d50
test al, al
jne 0x426e46
mov eax, 0x4c10b4
jmp 0x426f17
lea eax, [esi + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426e50
sub eax, edx
cmp eax, 3
jb 0x426e3c
xor eax, eax
mov byte [esp + 8], cl
mov ecx, esi
mov dword [esp + 9], eax
mov dword [esp + 0xd], eax
mov word [esp + 0x11], ax
mov byte [esp + 0x13], al
call fcn.00426f30
lea edx, [esp + 8]
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x426e80
lea eax, [esp + 8]
push eax
mov ecx, esi
call fcn.00426c20
test al, al
je 0x426e3c
add esi, 0x108
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426ea5
sub eax, edx
cmp eax, 3
jb 0x426e3c
push 0x27ff
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x19]
push 0
push ecx
call fcn.00465b60
add esp, 0xc
push esi
push 0x2800
lea edx, [esp + 0x1c]
push edx
push 0x4c10b4
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2800
push 0
push 0x4e6028
call fcn.00465b60
add esp, 0xc
mov dword [0x4dbc14], 0x4e6028
xor eax, eax
mov cl, byte [esp + eax + 0x14]
mov byte [eax + 0x4e6028], cl
inc eax
test cl, cl
jne 0x426f03
mov eax, 0x4e6028
mov ecx, dword [esp + 0x2814]
pop esi
pop ebp
xor ecx, esp
call fcn.0045f97b
add esp, 0x2810
ret 4

Function at 0x426f30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x4d8b40]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, ecx
call fcn.00426d50
test al, al
jne 0x426f6b
mov eax, 0x4c10b4
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.0045f97b
add esp, 0x108
ret
add esi, 4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426f73
sub eax, edx
cmp eax, 3
jb 0x426f50
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], cl
call fcn.00465b60
add esp, 0xc
push esi
push 0x104
lea ecx, [esp + 0xc]
push ecx
push 0x4c10b4
push str.Default
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x4dbc18], 0x4e8828
xor eax, eax
mov cl, byte [esp + eax + 4]
mov byte [eax + 0x4e8828], cl
inc eax
test cl, cl
jne 0x426fc5
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
mov eax, 0x4e8828
call fcn.0045f97b
add esp, 0x108
ret