joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419190
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x46f9cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7ac
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x20]
mov ecx, esi
push eax
mov edi, 1
call fcn.00413000
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x419237
lea ecx, [esp + 0x20]
lea edx, [esp + 0x228]
push ecx
push 0x104
push edx
push 0x4b1a08
push str.Title
push 0x4a9f94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x20]
push eax
push edi
push str.ShowVer
push 0x4a9f94
call ebp
mov edi, eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
push ecx
mov ecx, esi
call fcn.00413000
test eax, eax
je 0x419261
lea edx, [esp + 0x20]
push edx
push ebx
push str.ShowPacPath
push 0x4a9f94
call ebp
mov ebp, eax
jmp 0x419265
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x4ad780]
mov dword [esp + 0x18], eax
cmp edi, ebx
mov dword [esp + 0x7c4], ebx
je 0x4192b6
lea ecx, [esp + 0x430]
call fcn.00435c60
lea ecx, [esp + 0x430]
mov byte [esp + 0x7c4], 1
call fcn.00435f90
push eax
lea ecx, [esp + 0x1c]
call fcn.0045866d
lea ecx, [esp + 0x430]
mov byte [esp + 0x7c4], bl
call fcn.00435ca0
mov ecx, dword [0x4ad780]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x228]
mov byte [esp + 0x7c4], 2
push edx
call fcn.0043f601
add esp, 4
test eax, eax
je 0x4192f8
lea eax, [esp + 0x228]
lea ecx, [esp + 0x10]
push eax
push str.UpgradeDownload___s_
push ecx
call fcn.00451685
add esp, 0xc
jmp 0x419306
push str.UpgradeDownload
lea ecx, [esp + 0x14]
call fcn.0045866d
cmp edi, ebx
je 0x419326
push str.___R
lea ecx, [esp + 0x14]
call fcn.00458853
lea edx, [esp + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.0045888f
cmp ebp, ebx
je 0x419387
mov eax, dword [esi + 0x8e4]
cmp dword [eax - 8], ebx
je 0x419387
cmp dword [esi + 0x1d60], ebx
je 0x419387
mov ecx, dword [0x4ad780]
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x8e4]
lea eax, [esp + 0x14]
push edx
push str._____s_
push eax
mov byte [esp + 0x7d0], 3
call fcn.00451685
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0045888f
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c4], 2
call fcn.004584d6
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
call fcn.00457abd
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c4], bl
call fcn.004584d6
lea ecx, [esp + 0x18]
mov dword [esp + 0x7c4], 0xffffffff
call fcn.004584d6
mov ecx, dword [esp + 0x7bc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x7b8
ret
Function at 0x41a5e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46fbf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f84
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.00412b30
lea ecx, [esp + 0xc]
mov dword [esi + 0x1d60], ebx
call fcn.004372eb
mov eax, dword [esi + 0x8e4]
push ebx
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.004373b0
test eax, eax
je 0x41a658
lea ecx, [esp + 0xc]
call fcn.004375d6
lea eax, [esi + 0x8e8]
lea ecx, [esp + 0xc]
push eax
call fcn.00437543
lea ecx, [esp + 0xc]
call fcn.00437366
mov eax, dword [esi + 0x8e4]
lea ecx, [esi + 0x93c]
push eax
call fcn.0042ffe0
test eax, eax
jne 0x41a68d
mov ecx, esi
call fcn.00412b30
push 0xffffffffffffffff
push ebx
push 0xef27
call fcn.0045f467
jmp 0x41a706
mov ecx, esi
mov dword [esi + 0x1d60], 1
call fcn.00412d30
test eax, eax
mov ecx, esi
jne 0x41a73b
call fcn.00412b30
mov ecx, dword [esi + 0x2034]
mov dword [esi + 0x1d60], ebx
add esi, 0x2034
cmp dword [ecx - 8], ebx
je 0x41a706
mov edx, dword [0x4ad780]
mov dword [esp + 8], edx
push 0xef1e
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call fcn.004599bb
push esi
lea ecx, [esp + 0xc]
call fcn.0045888f
mov eax, dword [esp + 8]
push ebx
push 0x10
push eax
call fcn.0045f42f
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call fcn.004584d6
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0043732a
mov dword [esp + 0x30], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
call fcn.00419190
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0043732a
mov dword [esp + 0x30], 0xffffffff
call fcn.00468777
mov ecx, dword [eax + 4]
call fcn.00457f99
mov ecx, dword [esp + 0x28]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x41b400
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46fd20
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x14
test eax, eax
push ebx
push ebp
push esi
push edi
je 0x41b57f
mov ecx, dword [0x4ad780]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x34]
push eax
push edx
mov dword [esp + 0x34], 0
call fcn.0041b630
mov eax, dword [esp + 0x3c]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41b46b
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004584d6
xor eax, eax
jmp 0x41b612
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00458243
push 0x2e
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 1
call fcn.00450f51
push str.Local_
lea ecx, [esp + 0x18]
call fcn.0045859f
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov ebx, 2
push eax
push ecx
mov byte [esp + 0x38], bl
call fcn.00458715
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 3
call fcn.0045861d
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.004584d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.004584d6
mov edx, dword [esp + 0x34]
push 0
push 1
push 3
push 0
push 1
push SysReAllocString
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
or esi, 0xffffffff
cmp ebp, esi
je 0x41b564
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, esi
mov dword [esp + 0x20], eax
jne 0x41b51d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b564
mov eax, dword [esp + 0x10]
push eax
push 0
push 0
push ebx
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
jne 0x41b53f
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b564
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x41b586
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call edi
push ebx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.004584d6
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], esi
call fcn.004584d6
xor eax, eax
jmp 0x41b612
push 0x21c
call fcn.00458a48
mov esi, eax
add esp, 4
test esi, esi
je 0x41b5aa
mov ecx, 0x87
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
jmp 0x41b5c1
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x210], 1
mov dword [esi + 0x214], ebp
mov dword [esi + 0x218], ebx
mov dword [esi + 4], edi
mov dword [esi], ecx
mov edx, dword [esp + 0x34]
lea eax, [esi + 8]
push edx
push eax
call fcn.0043f59c
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.004584d6
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004584d6
mov eax, esi
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x425180
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470800
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, dword [esp + 0x30]
test ebp, ebp
jne 0x4251b5
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push esi
push edi
lea ecx, [esp + 0xc]
xor edi, edi
call fcn.004372eb
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x42522a
push edi
push ebp
lea ecx, [esp + 0x14]
call fcn.004373b0
test eax, eax
je 0x42522a
lea ecx, [esp + 0xc]
call fcn.004375d6
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x10]
call fcn.00437740
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.0045899f
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push eax
call fcn.00451311
test eax, eax
jne 0x42521c
mov edi, 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.004584d6
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0043732a
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x425260
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x470818
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [esp + 0x1c], ecx
je 0x4253ec
cmp word [ecx + 0x24c], 0xffff
je 0x4253ec
lea ecx, [esp + 0x24]
call fcn.004372eb
push ebx
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x50], ebx
call fcn.004373b0
test eax, eax
je 0x4253db
mov ebp, dword [esp + 0x54]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.004539c6
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push esi
mov dword [esp + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x20], esi
je 0x4253db
mov eax, dword [esp + 0x58]
cmp eax, ebx
je 0x425307
push eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x4253db
cmp edi, 0xffffffff
je 0x4253db
push edi
call fcn.00458a48
add esp, 4
mov ebx, eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push 0
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], eax
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
mov dx, word [ecx + 0x24c]
push eax
push edi
push ebx
push edx
mov dword [esp + 0x34], 1
call fcn.00404cd0
add esp, 0x1c
test eax, eax
je 0x4253b4
cmp dword [esp + 0x50], 0x70
jne 0x4253b4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x54], 1
xor esi, esi
lea edi, [eax + ebx]
mov ecx, dword [ebp + 8]
xor eax, eax
mov al, byte [esi + edi]
push eax
push ecx
mov ecx, ebp
call fcn.00453512
inc esi
cmp esi, 0x64
jl 0x425399
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.00458a71
add esp, 4
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043732a
mov eax, dword [esp + 0x54]
jmp 0x4253ee
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043732a
xor eax, eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0xc
Function at 0x4266e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4709c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebp
mov ebp, dword [esp + 0x284]
push esi
push edi
xor esi, esi
push 0xffffffffffffffff
push esi
mov ecx, ebp
call fcn.00453198
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x18]
push eax
call fcn.0045854a
lea ecx, [esp + 0x18]
mov dword [esp + 0x280], esi
push ecx
lea ecx, [esp + 0x10]
call fcn.00458243
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 1
call fcn.004512ef
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00451277
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x284], 2
call fcn.0045861d
lea ecx, [esp + 0x10]
mov byte [esp + 0x280], 1
call fcn.004584d6
lea eax, [esp + 0xc]
push str.udisk_img_.bin
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0045877b
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x28], esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x288], 3
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov esi, 1
cmp edi, 0xffffffff
je 0x4268cc
push ebx
mov bl, 7
test esi, esi
je 0x4268c4
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x28]
call fcn.0045854a
mov edx, dword [eax]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
mov esi, dword [edx - 8]
mov byte [esp + 0x288], 4
call fcn.0045854a
add esi, 0xfffffffc
lea ecx, [esp + 0x14]
push esi
push ecx
mov ecx, eax
mov byte [esp + 0x28c], 5
call fcn.00451277
lea ecx, [esp + 0x28]
mov byte [esp + 0x284], 8
call fcn.004584d6
lea ecx, [esp + 0x24]
mov byte [esp + 0x284], bl
call fcn.004584d6
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], 0xd
jne 0x4268a0
mov eax, dword [0x4ad780]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x58]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x4a958c
push eax
mov byte [esp + 0x294], 9
call fcn.00451685
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.0043f8ef
add esp, 0x18
test eax, eax
je 0x426890
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push eax
mov ecx, ebp
call fcn.0045335f
lea ecx, [esp + 0x18]
mov byte [esp + 0x284], bl
call fcn.004584d6
lea edx, [esp + 0x2c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x284], 3
call fcn.004584d6
jmp 0x4267cc
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x280], 1
call fcn.004584d6
lea ecx, [esp + 0xc]
mov byte [esp + 0x280], 0
call fcn.004584d6
lea ecx, [esp + 0x18]
mov dword [esp + 0x280], 0xffffffff
call fcn.004584d6
mov ecx, dword [esp + 0x278]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x278
ret 8
Function at 0x429b60
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x429c18
cmp dword [esp + 0x20], 1
jne 0x429c18
mov eax, dword [esp + 0x24]
test eax, eax
je 0x429c18
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
je 0x429c18
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], 0
call fcn.00429a50
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
je 0x429c11
mov eax, dword [esp + 0x20]
test eax, eax
je 0x429c11
add ebx, 0x1ff
shr ebx, 9
shl ebx, 9
add ebx, eax
push ebx
call fcn.00458a48
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x429c24
push esi
call fcn.00458a71
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
mov ecx, ebx
or eax, 0xffffffff
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x20]
mov edi, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00458a71
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x24]
lea ecx, [eax + ebp]
push 0
push edx
push edi
push ecx
push esi
mov dword [esp + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429ca4
cmp dword [esp + 0x24], edi
jne 0x429ca4
mov edx, dword [esp + 0x1c]
push esi
mov dword [edx], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
push ebp
call fcn.00458a71
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10
Function at 0x42db60
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4713ac
push eax
mov eax, 0x2228
mov dword fs:[0], esp
call fcn.0043f620
mov eax, dword [esp + 0x2238]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
jne 0x42dba9
mov ecx, dword [esp + 0x2248]
push str.Configure_file_is_empty__n
call fcn.00458853
xor eax, eax
jmp 0x42dd1b
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
mov ecx, dword [0x4b1ca8]
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.00430b00
mov edx, dword [0x4ad780]
add esp, 8
mov dword [esp + 0xc], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0xc]
push eax
push str._sBMFileType.ini
push ecx
mov dword [esp + 0x2248], ebx
call fcn.00451685
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x242]
mov edx, dword [esp + 0x18]
mov word [esp + 0x240], bx
add esp, 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x238]
push 0x1000
push eax
push str.MultiLangs
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
lea edi, [esi + 0xd0]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00453198
lea ecx, [esp + 0x234]
push ecx
call fcn.0043f601
add esp, 4
test eax, eax
jne 0x42dc72
lea ecx, [esp + 0xc]
mov dword [esp + 0x223c], 0xffffffff
call fcn.004584d6
mov eax, 1
jmp 0x42dd1b
push ebp
lea ecx, [esp + 0x1c]
call fcn.00453105
lea edx, [esp + 0x1c]
lea eax, [esp + 0x238]
push edx
push eax
mov byte [esp + 0x2248], 1
call fcn.004308d0
mov ebp, eax
mov eax, dword [0x4ad780]
add esp, 8
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
xor esi, esi
cmp ebp, ebx
mov byte [esp + 0x2240], 3
jbe 0x42dccf
mov ecx, dword [esp + 0x20]
lea eax, [ecx + esi*8 + 4]
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.0045335f
inc esi
cmp esi, ebp
jb 0x42dcb6
lea ecx, [esp + 0x18]
mov byte [esp + 0x2240], 2
call fcn.004584d6
lea ecx, [esp + 0x14]
mov byte [esp + 0x2240], 1
call fcn.004584d6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2240], bl
call fcn.00453138
lea ecx, [esp + 0x10]
mov dword [esp + 0x2240], 0xffffffff
call fcn.004584d6
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x2234]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2234
ret 8

Function at 0x42e840
Capabilities:
Read .ini file

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jne 0x42e861
mov ecx, dword [esp + 0x10]
push str.Configure_file_is_empty__n
call fcn.00458853
pop edi
xor eax, eax
pop esi
ret 8
push ebx
push edi
lea ecx, [esi + 0xa8]
call fcn.0045866d
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0
push 0x4ad330
push 0x4ad320
call ebx
push edi
push 0
push 0x4ab5e8
push 0x4ad320
mov dword [esi + 0x98], eax
call ebx
push edi
push 0
push str.FlashPageType
push 0x4ad320
mov dword [esi + 0x9c], eax
call ebx
push edi
push 0
push str.ReadMCPType
push 0x4ad320
mov dword [esi + 0xa0], eax
call ebx
mov ecx, dword [esi + 0x98]
mov edx, dword [esi + 0x9c]
pop ebx
mov dword [esi + 0xa4], eax
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], edx
mov dword [esi + 0x94], eax
pop edi
mov eax, 1
pop esi
ret 8
Function at 0x42eeb0
Capabilities:
Capture screenshot

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 1
mov ecx, dword [edi + 0x54]
test ecx, ecx
jne 0x42eec5
mov dword [edi + 0x54], eax
mov ecx, dword [edi + 0x58]
test ecx, ecx
jne 0x42eecf
mov dword [edi + 0x58], eax
mov ebx, dword [esp + 0x1c]
mov ebp, dword [edi + 0x54]
mov esi, dword [ebx + 8]
mov ecx, dword [ebx]
sub esi, ecx
mov eax, esi
cdq
idiv ebp
mov ecx, eax
mov eax, esi
cdq
idiv ebp
mov dword [esp + 0x1c], ecx
test edx, edx
je 0x42eef6
inc ecx
mov dword [esp + 0x1c], ecx
mov esi, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov ebp, dword [edi + 0x58]
sub esi, edx
mov eax, esi
cdq
idiv ebp
mov ebx, eax
mov eax, esi
cdq
idiv ebp
test edx, edx
je 0x42ef12
inc ebx
xor ebp, ebp
test ecx, ecx
jle 0x42ef55
xor esi, esi
test ebx, ebx
jle 0x42ef50
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x54]
push 0xcc0020
push 0
push 0
push edx
push eax
imul eax, esi
push ecx
imul ecx, ebp
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
cmp esi, ebx
jl 0x42ef1e
mov ecx, dword [esp + 0x1c]
inc ebp
cmp ebp, ecx
jl 0x42ef18
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x435cb0
Capabilities:
Get file version info

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
test eax, eax
push ebx
push esi
push edi
mov esi, ecx
je 0x435cd0
push eax
lea eax, [esi + 0x84]
push eax
call fcn.0043f59c
add esp, 8
lea ecx, [esp + 0x18]
lea ebx, [esi + 0x84]
push ecx
push ebx
mov dword [esp + 0x20], 0
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x435d84
mov eax, dword [esi]
test eax, eax
je 0x435d02
push eax
call fcn.00458a71
add esp, 4
push edi
call fcn.00458a48
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x435d84
mov edx, dword [esp + 0x18]
push eax
push edi
push edx
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x435d84
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push str.VarFileInfoTranslation
push edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jle 0x435d84
cmp dword [esp + 0xc], 4
jb 0x435d84
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor edx, edx
add esi, 4
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
push str.StringFileInfo_04x_04x_
push esi
call fcn.0043f684
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 8
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x436e10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471fc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CFont.0
mov eax, dword [esp + 0x94]
mov dword [esp + 0x88], 0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [edi + 0x1c]
push eax
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00454f14
mov ecx, dword [eax + 0x1c]
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
call fcn.0045c141
mov eax, dword [eax + 4]
lea edx, [esp + 0x24]
push edx
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0x2bc
push ecx
mov dword [esp + 0x28], 0x14
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
lea ecx, [esp + 0x10]
call fcn.0045c156
mov esi, dword [esp + 0x90]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
push 1
mov ecx, esi
mov ebx, eax
call fcn.0045b928
mov eax, dword [edi + 0x3c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov edi, dword [edi + 0x48]
sub eax, 0x14
push 4
cdq
sub eax, edx
mov edx, dword [esi]
sar eax, 1
add ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x14
push eax
mov dword [esp + 0x1c], ecx
push 0xffffffffffffffff
push edi
mov ecx, esi
call dword [edx + 0x68]
test ebx, ebx
je 0x436f32
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x88], 1
call fcn.0045c1ad
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x80
ret 8