joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f520
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 0x41f64e
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.0043cd6b
add esp, 4
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push 0x4253b0
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 0x41f609
cmp dword [esp + 0x14], 0
jbe 0x41f609
mov eax, dword [eax]
mov dword [esp + 0x18], 1
test eax, eax
je 0x41f609
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 0x41f63b
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x14]
jae 0x41f63b
mov eax, dword [ecx + edx*4]
inc edx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x41f5c7
push ecx
mov dword [esp + 0xc], edi
call fcn.0043cd76
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0044fe92
test eax, eax
je 0x41f61d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x41f61f
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.0043cd76
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 0x41f670
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00543bb0
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test esi, esi
je 0x41f709
lea eax, [ebp - 0x108]
mov edx, esi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41f6c8
lea eax, [esi - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41f6d5
mov edx, dword [str.csrcbankAssist_]
mov dword [eax], edx
mov ecx, dword [0x5b0614]
mov dword [eax + 4], ecx
mov edx, dword [0x5b0618]
mov dword [eax + 8], edx
mov ecx, dword [0x5b061c]
mov dword [eax + 0xc], ecx
mov dl, byte [0x5b0620]
mov byte [eax + 0x10], dl
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x420b70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d063
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x20], 0x5e2f1c
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x34]
mov dword [ebx], vtable.TiXmlDocument.0
mov dword [edi], 0x5e2f1c
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x3c], ecx
push 0x5ad324
xor esi, esi
mov dword [ebx + 0x38], 4
mov byte [ebx + 0x44], al
mov byte [ebx + 0x2c], al
mov dword [ebx + 0x30], eax
call fcn.0041f9f0
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc54
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 4], 0
mov ebx, edx
jne 0x424b73
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x424b7a
lea ebx, [edi + 8]
push ebx
call fcn.00424cd0
add esp, 4
test al, al
je 0x424b60
lea esi, [ebp - 0xc50]
call fcn.00424a30
cmp byte [ebp - 0xa20], 0
push 0
mov eax, esi
push eax
je 0x424bd5
add edi, 8
push edi
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.0053f2e2
lea edx, [ebp - 0x218]
add esp, 0x14
push edx
call fcn.00424cd0
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x110]
push 0
push ecx
call fcn.0053f2e2
add esp, 0x14
lea eax, [ebp - 0x110]
call fcn.00424d80
test al, al
je 0x424b60
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424b60
mov eax, dword [edi + 4]
push eax
call fcn.004377f0
test eax, eax
jne 0x424b60
jmp 0x424c40
mov edx, dword [edi + 4]
push 0x800
lea ecx, [ebp - 0xa18]
push ecx
push edx
call fcn.00437160
mov esi, eax
test esi, esi
jle 0x424c8c
push 0
lea eax, [ebp - 0xc54]
push eax
push esi
lea ecx, [ebp - 0xa18]
push ecx
push ebx
mov dword [ebp - 0xc54], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424c89
cmp dword [ebp - 0xc54], esi
je 0x424c40
or esi, 0xffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 4]
push edx
call fcn.00437360
test esi, esi
jne 0x424cb1
mov ecx, dword [ebp - 0xa38]
lea eax, [ebp - 0x110]
call fcn.00424dc0
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x424cd0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x424d74
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x424d74
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x424d06
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete al
pop esi
pop ebp
ret
push ebx
push edi
push esi
call fcn.0053fe9a
mov edi, eax
push 0x5c
push edi
call fcn.0053d960
mov ecx, esi
add esp, 0xc
lea ebx, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x424d20
sub ecx, ebx
cmp byte [ecx + esi - 1], 0x5c
sete bl
test eax, eax
je 0x424d6d
push edi
mov byte [eax], dl
call fcn.00424cd0
add esp, 4
push edi
test al, al
jne 0x424d54
call fcn.0053e8c6
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
pop ebp
ret
call fcn.0053e8c6
add esp, 4
test bl, bl
jne 0x424d6d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x424d4d
pop edi
pop ebx
mov al, 1
pop esi
pop ebp
ret
xor al, al
pop esi
pop ebp
ret

Function at 0x424dc0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
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 0x424df0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x424e56
lea ecx, [ebp - 0x10]
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 0x424e56
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
sete bl
test bl, bl
je 0x424e56
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x18]
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
mov esp, ebp
pop ebp
ret
Function at 0x424e70
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x10f]
push 0
push eax
mov byte [ebp - 0x110], 0
call fcn.00543bb0
push 0x104
lea ecx, [ebp - 0x110]
push esi
push ecx
call fcn.005400f4
add esp, 0x18
lea ecx, [ebp - 0x110]
call fcn.00425080
cmp eax, 1
jne 0x424edd
push 0x10000000
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x118], eax
mov word [ebp - 0x114], ax
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x110]
mov eax, 0x290
push ecx
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x12c], 3
mov word [ebp - 0x120], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0053c99c
mov esp, ebp
pop ebp
ret

Function at 0x424f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x213]
push 0
push eax
mov byte [ebp - 0x214], 0
call fcn.00543bb0
push 0x104
lea ecx, [ebp - 0x214]
push esi
push ecx
call fcn.005400f4
xor eax, eax
push 0x104
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
mov word [ebp - 0x218], ax
lea ecx, [ebp - 0x10b]
lea edx, [ebp - 0x214]
mov eax, 0x210
or word [ebp - 0x224], ax
push 0
push ecx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x230], 3
mov byte [ebp - 0x10c], 0
call fcn.00543bb0
add esp, 0x24
lea edx, [ebp - 0x10c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push edi
jmp 0x425030
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x10c]
call fcn.00425310
add esp, 4
test eax, eax
jne 0x425058
lea edi, [ebp - 0x10c]
call fcn.00425160
test eax, eax
jne 0x425030
lea ecx, [ebp - 0x234]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
inc eax
pop edi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x425080
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x5d7f50]
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.00543bb0
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 0x4250db
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
mov edx, eax
or edx, 0x10
cmp eax, edx
jne 0x425139
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
je 0x425119
lea ebx, [ebx]
mov eax, dword [esp + 8]
mov ecx, eax
or ecx, 0x10
cmp eax, ecx
jne 0x425139
lea edx, [esp + 8]
push edx
push esi
call edi
test eax, eax
jne 0x425100
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.0053c99c
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.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x425160
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x10b]
push 0
push eax
mov byte [ebp - 0x10c], 0
call fcn.00543bb0
add esp, 0xc
lea ecx, [ebp - 0x10c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
jmp 0x4251b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4251b0
sub eax, edx
push esi
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x42520e
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.00540224
add esp, 4
cmp eax, 0x41
jl 0x42520e
movsx ecx, byte [ebp - 0x10c]
push ecx
call fcn.00540224
add esp, 4
cmp eax, 0x5a
jg 0x42520e
cmp byte [ebp - 0x10b], 0x3a
jne 0x42520e
cmp esi, 3
jne 0x425205
cmp byte [ebp - 0x10a], 0x5c
jne 0x42520e
cmp byte [ebp - 0x10c], 0
jne 0x42524a
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425217
sub eax, edx
dec eax
js 0x425230
cmp byte [ebp + eax - 0x10c], 0x5c
je 0x42525b
dec eax
jns 0x425223
test edi, edi
je 0x42524a
lea eax, [ebp - 0x10c]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425240
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
mov byte [ebp + eax - 0x10c], 0
test edi, edi
je 0x42527d
lea eax, [ebp - 0x10c]
mov edx, edi
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425273
lea eax, [ebp - 0x10c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425286
sub eax, edx
mov esi, eax
lea edx, [esi - 2]
cmp edx, 1
ja 0x4252e7
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.00540224
add esp, 4
cmp eax, 0x41
jl 0x4252e7
movsx ecx, byte [ebp - 0x10c]
push ecx
call fcn.00540224
add esp, 4
cmp eax, 0x5a
jg 0x4252e7
cmp byte [ebp - 0x10b], 0x3a
jne 0x4252e7
cmp esi, 3
jne 0x4252da
cmp byte [ebp - 0x10a], 0x5c
jne 0x4252e7
cmp byte [ebp - 0x10c], 0
jne 0x42524a
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x4254f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dfab
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00542140
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xfff
lea eax, [ebp - 0x100f]
push 0
push eax
mov byte [ebp - 0x1010], 0
call fcn.00543bb0
mov eax, dword [ebp + 8]
add esp, 0xc
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x1010]
push edx
push eax
push ecx
mov dword [ebp - 0x1018], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, eax
xor eax, eax
lea edx, [ebp - 0x1010]
push edx
lea ecx, [ebp - 0x1014]
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
call fcn.00402770
lea eax, [ebp - 0x1014]
push eax
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00402ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1014]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edi, edi
jne 0x4255d3
test edx, edx
jg 0x4255cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4255e3
test edx, edx
jg 0x4255e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret 4

Function at 0x4257b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x108], 0
call fcn.00543bb0
add esp, 0xc
mov ecx, esi
call fcn.004258e0
test al, al
jne 0x4257fd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
push edi
lea edi, [esi + 4]
push 0x5c
push edi
call fcn.0053d960
sub eax, esi
sub eax, 4
push eax
lea ecx, [ebp - 0x108]
push edi
push ecx
call fcn.00540290
push 0x103
lea edx, [ebp - 0x20b]
push 0
push edx
mov byte [ebp - 0x20c], 0
call fcn.00543bb0
add esp, 0x20
push edi
push 0x104
lea eax, [ebp - 0x20c]
push eax
push str.LngENU.ini
push ebx
push str.LanguageItems
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esi + 0x108]
lea eax, [ebp - 0x108]
mov esi, edx
mov ecx, eax
sub esi, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [esi + eax], cl
inc eax
test cl, cl
jne 0x425870
lea edi, [edx - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x425880
mov ax, word [0x5ae6dc]
mov word [edi], ax
lea eax, [ebp - 0x20c]
mov esi, eax
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4258a0
sub eax, esi
dec edx
lea ebx, [ebx]
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x4258b0
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 ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x4259b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2814
call fcn.00542140
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [ebp - 0x2814], eax
call fcn.004258e0
test al, al
jne 0x4259f2
mov eax, 0x5ad324
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + 4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4259f8
sub eax, edx
cmp eax, 3
jb 0x4259dc
xor eax, eax
mov byte [ebp - 0x10], cl
mov ecx, esi
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
call fcn.00425af0
lea edx, [ebp - 0x10]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425a24
push ebx
lea ebx, [ebp - 0x10]
mov ecx, esi
call fcn.004257b0
pop ebx
test al, al
je 0x4259dc
add esi, 0x108
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425a50
sub eax, edx
cmp eax, 3
jb 0x4259dc
push 0x27ff
mov byte [ebp - 0x2810], cl
lea ecx, [ebp - 0x280f]
push 0
push ecx
call fcn.00543bb0
mov eax, dword [ebp - 0x2814]
add esp, 0xc
push esi
push 0x2800
lea edx, [ebp - 0x2810]
push edx
push 0x5ad324
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x2800
push 0
push 0x5e87e8
call fcn.00543bb0
add esp, 0xc
mov dword [0x5daa40], 0x5e87e8
xor eax, eax
mov edi, edi
mov cl, byte [ebp + eax - 0x2810]
mov byte [eax + 0x5e87e8], cl
inc eax
test cl, cl
jne 0x425ac0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5e87e8
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret 4

Function at 0x425af0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5d7f50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.004258e0
test al, al
jne 0x425b23
mov eax, 0x5ad324
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
add esi, 4
mov eax, esi
lea edx, [eax + 1]
jmp 0x425b30
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425b30
sub eax, edx
cmp eax, 3
jb 0x425b0f
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], cl
call fcn.00543bb0
add esp, 0xc
push esi
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0x5ad324
push str.Default
push str.Language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [0x5daa44], 0x5eafe8
xor eax, eax
jmp 0x425b90
mov cl, byte [ebp + eax - 0x108]
mov byte [eax + 0x5eafe8], cl
inc eax
test cl, cl
jne 0x425b90
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5eafe8
pop esi
call fcn.0053c99c
mov esp, ebp
pop ebp
ret
Function at 0x425c60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push esi
je 0x425d0a
cmp dword [ebp + 0x10], 0
je 0x425d0a
push edi
push 0x201
mov esi, 0x200
call fcn.0043cd6b
add esp, 4
mov edi, eax
mov eax, 0x5ad324
test ebx, ebx
je 0x425c98
mov eax, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
push edx
push 0x200
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, 0x200
jb 0x425d02
lea esp, [esp]
push edi
add esi, 0x200
call fcn.0043cd76
lea edx, [esi + 1]
push edx
call fcn.0043cd6b
add esp, 8
mov edi, eax
mov eax, 0x5ad324
test ebx, ebx
je 0x425ce5
mov eax, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [ebp + 0xc]
push edx
push esi
push edi
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
inc eax
cmp eax, esi
jae 0x425cc0
mov eax, edi
pop edi
pop esi
pop ebp
ret 0xc
test ebx, ebx
jne 0x425d21
push 1
call fcn.0043cd6b
mov esi, eax
add esp, 4
mov byte [esi], bl
pop esi
pop ebp
ret 0xc
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425d26
sub eax, edx
inc eax
push eax
call fcn.0043cd6b
mov esi, eax
mov eax, ebx
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425d40
sub eax, edx
push ebx
inc eax
push eax
push esi
call fcn.0053d6e9
add esp, 0xc
mov eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x4262c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5ca5b8
push 0x543c90
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5d7f50]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
cmp edi, ebx
jne 0x426316
lea eax, [ebx + 0x57]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x426367
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x5b1324
push esi
push 2
push 0x2e3
push str.YWAssistant.c
push str.B_GetStartPage
call fcn.004282b0
add esp, 0x1c
jmp 0x4263bf
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x28]
push ecx
push ebx
push str.Start_Page
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x4263b7
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push 0x5b13a8
push esi
push 2
push 0x2ea
push str.YWAssistant.c
push str.B_GetStartPage
call fcn.004282b0
add esp, 0x20
jmp 0x4263bf
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [edi], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.004263e4
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret