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

Disassembly:
mov eax, 0x2b34
call fcn.004d6340
push ebx
push esi
push edi
push 0x5b9260
push 1
xor edi, edi
xor ebx, ebx
push str.UseMRUDs
push str.Others
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4ade93
mov eax, dword [esp + 0x2b44]
push ebp
push eax
call fcn.004c9990
add esp, 4
lea esi, [esp + 0x2a4]
mov ecx, dword [esp + 0x2b4c]
lea ebp, [edi + 1]
push ebp
push ecx
lea edx, [esp + 0x24]
push str._s_d
push edx
mov word [esi], 0
call fcn.004d5ee1
add esp, 0x10
lea eax, [esp + 0x1c]
push 0x5b9260
push 0x104
push esi
push 0x5aae60
push eax
push str.MRUD
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
call fcn.004c9990
push esi
call fcn.004d6713
add esp, 8
test eax, eax
jbe 0x4add19
push 0
push esi
call fcn.004d8662
add esp, 8
test eax, eax
je 0x4add19
push 0x5b9260
lea ecx, [esp + 0x20]
push 0x5aae60
push ecx
push str.MRUD
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4add99
test edi, edi
jle 0x4add68
lea ebx, [esp + 0x2a4]
mov dword [esp + 0x18], edi
push esi
push ebx
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4add53
push 0x5b9260
lea edx, [esp + 0x20]
push 0x5aae60
push edx
push str.MRUD
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x18]
add ebx, 0x208
dec eax
mov dword [esp + 0x18], eax
jne 0x4add28
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4add99
mov eax, dword [esp + 0x2b48]
cmp word [eax], 0
je 0x4add99
push esi
push eax
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4add99
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], edi
mov ebx, edi
mov edi, ebp
add esi, 0x208
cmp edi, 0x14
jl 0x4adc90
mov eax, dword [esp + 0x14]
pop ebp
test eax, eax
je 0x4ade0a
test ebx, ebx
je 0x4ade93
mov eax, ebx
lea ecx, [esp + 0x98]
shl eax, 6
add eax, ebx
lea esi, [esp + eax*8 + 0x2a0]
push esi
push ecx
call fcn.004d631b
add esp, 8
cmp ebx, 1
jl 0x4addf8
mov eax, esi
mov edi, ebx
lea esi, [eax - 0x208]
push esi
push eax
call fcn.004d631b
add esp, 8
dec edi
mov eax, esi
jne 0x4adde3
lea edx, [esp + 0x98]
lea eax, [esp + 0x2a0]
push edx
push eax
jmp 0x4ade41
mov ebx, dword [esp + 0x2b44]
cmp word [ebx], 0
je 0x4ade49
lea eax, [esp + 0x2938]
mov edi, 0x13
lea esi, [eax - 0x208]
push esi
push eax
call fcn.004d631b
add esp, 8
dec edi
mov eax, esi
jne 0x4ade23
lea ecx, [esp + 0x2a0]
push ebx
push ecx
call fcn.004d631b
add esp, 8
xor eax, eax
lea edi, [esp + 0x2a0]
mov edx, dword [esp + 0x2b48]
lea esi, [eax + 1]
push esi
push edx
lea eax, [esp + 0x20]
push str._s_d
push eax
call fcn.004d5ee1
add esp, 0x10
lea ecx, [esp + 0x18]
push 0x5b9260
push edi
push ecx
push str.MRUD
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, esi
add edi, 0x208
cmp eax, 0x14
jl 0x4ade52
pop edi
pop esi
pop ebx
add esp, 0x2b34
ret
Function at 0x4aef90
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x400
lea eax, [esp + 0x200]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x410]
push edi
push eax
push esi
call fcn.004af090
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 8
xor edi, edi
push edi
push edi
push 0x146
push esi
call ebx
test eax, eax
jle 0x4af023
mov ebp, dword [esp + 0x418]
lea ecx, [esp + 0x10]
push ecx
push edi
push 0x148
push esi
call ebx
lea edx, [esp + 0x10]
push edx
call fcn.004aef50
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004d7652
add esp, 0xc
test eax, eax
jne 0x4af012
lea ecx, [esp + 0x210]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4af030
push 0
push 0
push 0x146
push esi
inc edi
call ebx
cmp edi, eax
jl 0x4aefcf
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
mov eax, dword [esp + 0x41c]
push 0
test eax, eax
je 0x4af06e
push 1
push 0x14f
push esi
call ebx
push 0
push edi
push 0x14e
push esi
call ebx
push 0
push 0xd
push pe_nt_image_headers32
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret
push edi
push 0x14e
push esi
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret
Function at 0x4b1060
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x88
cmp eax, 3
push 0x5b9260
push 0x40
jne 0x4b1087
lea eax, [esp + 0x10]
push eax
push 0x5a14d4
push str.RandomDelay
jmp 0x4b1096
lea ecx, [esp + 0x10]
push ecx
push 0x5a14d4
push str.AutoDelay
push str.Slideshow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 8]
push edx
call fcn.004c5910
fstp qword [esp + 4]
fld qword [esp + 4]
fcomp qword [0x552790]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x4b10d3
mov dword [esp], 0
mov dword [esp + 4], 0x40140000
fld qword [esp]
fmul qword [0x552940]
add esp, 0x88
jmp fcn.004d6118

Function at 0x4b1380
Capabilities:
Read .ini file

Disassembly:
call fcn.004b10f0
push 0x5b9260
push 0x1e
push str.SortOrder
push str.Slideshow
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [esp + 0xc]
mov edx, dword [0x5b5560]
push ecx
push 1
push 1
push eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004b2050
mov eax, dword [esp + 0x20]
add esp, 0x18
test eax, eax
jne 0x4b13ce
push 0
push 1
call fcn.004b0de0
add esp, 8
ret
Function at 0x4b18d0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xa74
push esi
mov esi, dword [esp + 0xa80]
push edi
push esi
call fcn.004c9990
mov eax, dword [esp + 0xa84]
lea ecx, [esp + 0x468]
push eax
push esi
push str._s_s
push ecx
call fcn.004d5ee1
add esp, 0x14
lea edx, [esp + 0xc]
lea eax, [esp + 0x464]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 8], edi
je 0x4b19f5
push ebx
mov ebx, dword [esp + 0xa94]
push ebp
mov ebp, dword [esp + 0xa90]
cmp word [esp + 0x40], 0x2e
je 0x4b19d8
mov al, byte [esp + 0x14]
test al, 0x10
jne 0x4b19d8
test al, 2
je 0x4b195c
mov eax, dword [esp + 0xa94]
test eax, eax
je 0x4b19d8
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x264]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.004d6713
add esp, 4
cmp eax, 0x103
jbe 0x4b1987
mov eax, 0x103
jmp 0x4b1994
lea edx, [esp + 0x40]
push edx
call fcn.004d6713
add esp, 4
push eax
lea eax, [esp + 0x44]
lea ecx, [esp + 0x268]
push eax
push ecx
call fcn.004d6c3f
lea edx, [esp + 0x270]
lea eax, [esp + 0x680]
push edx
push esi
push str._s_s
push eax
call fcn.004d5ee1
lea ecx, [esp + 0x690]
push ebx
push ecx
push ebp
call fcn.004b1860
mov edi, dword [esp + 0x38]
add esp, 0x28
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b1935
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xa74
ret

Function at 0x4b1a00
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x664
mov eax, dword [esp + 0x668]
push ebx
mov ebx, dword [esp + 0x674]
push ebp
mov ebp, dword [esp + 0x680]
push esi
mov esi, dword [esp + 0x678]
push edi
mov edi, dword [esp + 0x68c]
push edi
push ebp
push ebx
push esi
push eax
call fcn.004b18d0
mov eax, dword [esp + 0x698]
add esp, 0x14
test eax, eax
je 0x4b1aea
push esi
call fcn.004c9990
push esi
lea ecx, [esp + 0x26c]
push 0x59f064
push ecx
call fcn.004d5ee1
add esp, 0x10
lea edx, [esp + 0x14]
lea eax, [esp + 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x4b1aea
cmp word [esp + 0x40], 0x2e
je 0x4b1acb
test byte [esp + 0x14], 0x10
je 0x4b1acb
lea ecx, [esp + 0x40]
lea edx, [esp + 0x46c]
push ecx
push esi
push str._s_s
push edx
call fcn.004d5ee1
mov eax, dword [esp + 0x694]
mov edx, dword [esp + 0x688]
push edi
push ebp
push eax
lea ecx, [esp + 0x488]
push ebx
push ecx
push edx
call fcn.004b1a00
add esp, 0x28
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b1a81
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x664
ret
Function at 0x4b1b00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x608
push esi
push edi
push 0x5b9260
push 1
push str.ShowHiddenFiles
push str.Viewing
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0xc], eax
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x210]
push 2
push 0x1000
rep stosd dword es:[edi], eax
call fcn.004d61b4
mov esi, eax
add esp, 8
test esi, esi
je 0x4b1c97
push 1
push esi
call fcn.00457f00
add esp, 8
xor edx, edx
xor ecx, ecx
test eax, eax
jle 0x4b1b7b
mov edi, dword [esp + 0x614]
lea edi, [edi + edi + 1]
cmp word [esi + ecx*2], 0
jne 0x4b1b72
inc edx
inc ecx
cmp edx, edi
je 0x4b1b7b
cmp ecx, eax
jl 0x4b1b6a
lea eax, [esi + ecx*2]
lea ecx, [esp + 0x210]
push eax
push ecx
call fcn.004d631b
lea edx, [esp + 0x218]
push 0x599e98
push edx
call fcn.004d62f1
push esi
call fcn.004d59c1
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x24]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x424]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x224]
xor edi, edi
push eax
mov dword [esp + 0x20], edi
call fcn.004d6713
add esp, 0x18
test eax, eax
jle 0x4b1c97
push ebx
mov ebx, dword [esp + 0x628]
push ebp
mov ebp, dword [esp + 0x628]
mov ax, word [esp + edi*2 + 0x218]
cmp ax, 0x3b
jne 0x4b1c72
mov word [esp + esi*2 + 0x18], 0
xor esi, esi
cmp word [esp + 0x418], si
je 0x4b1c29
lea ecx, [esp + 0x418]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.004d6acd
add esp, 8
test eax, eax
jne 0x4b1c78
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x624]
mov edx, dword [esp + 0x620]
push ebx
push eax
push ebp
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.004b1a00
lea ecx, [esp + 0x30]
lea edx, [esp + 0x430]
push ecx
push edx
call fcn.004d631b
add esp, 0x20
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
jmp 0x4b1c78
mov word [esp + esi*2 + 0x18], ax
inc esi
lea eax, [esp + 0x218]
inc edi
push eax
mov dword [esp + 0x14], edi
call fcn.004d6713
add esp, 4
cmp edi, eax
jl 0x4b1bef
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x608
ret

Function at 0x4b1f10
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x664
mov ecx, dword [esp + 0x66c]
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp], eax
je 0x4b1fb7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x67c]
push edi
mov edi, dword [esp + 0x678]
cmp word [esp + 0x40], 0x2e
je 0x4b1f98
test byte [esp + 0x14], 0x10
jne 0x4b1f98
lea edx, [esp + 0x264]
push edi
push edx
call fcn.004d631b
lea eax, [esp + 0x48]
lea ecx, [esp + 0x26c]
push eax
push ecx
call fcn.004d62f1
add esp, 0x10
lea edx, [esp + 0x264]
push edx
push 0
push 0x180
push esi
call ebp
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call ebx
test eax, eax
jne 0x4b1f54
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x664
ret
Function at 0x4b23a0
Capabilities:
Set current directory

Disassembly:
sub esp, 0x294
push esi
push edi
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x14], 0xfeff
call fcn.004c94a0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, dword [esp + 0x2a0]
push 0x598078
push esi
call fcn.004d5ece
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 8], edi
jne 0x4b240d
mov edx, dword [0x5b5574]
push 3
push eax
push esi
push eax
push 0x4e71
push edx
call fcn.004cc7f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
add esp, 0x294
ret
push ebx
push ebp
push edi
push 1
lea eax, [esp + 0x1c]
push 2
push eax
call fcn.004d5f50
push edi
push str.__UNICODE_FILE___edit_with_care_____r_n_r_n
call fcn.004d7bf0
mov ebx, dword [esp + 0x2c4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x18
push 0
push 0
push 0x18b
push ebx
call ebp
test eax, eax
mov dword [esp + 0x18], eax
jle 0x4b24bf
xor esi, esi
test eax, eax
jle 0x4b24bf
xor eax, eax
mov ecx, 0xa2
push eax
lea edi, [esp + 0x20]
push esi
push 0x18a
rep stosd dword es:[edi], eax
push ebx
call ebp
cmp eax, 0x144
jae 0x4b247f
lea ecx, [esp + 0x1c]
push ecx
push esi
push 0x189
push ebx
call ebp
lea edx, [esp + 0x1c]
push edx
call fcn.004d6713
add esp, 4
test eax, eax
je 0x4b24b2
mov eax, dword [esp + 0x2b0]
test eax, eax
jne 0x4b24b2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
push str._s_r_n
push ecx
call fcn.004d7616
add esp, 0xc
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x4b2453
mov edi, dword [esp + 0x10]
push edi
call fcn.004d5e20
add esp, 4
mov eax, 1
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x294
ret

Function at 0x4b3490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x20c
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_DragQueryFileW]
push esi
push edi
mov edi, dword [esp + 0x220]
lea eax, [esp + 0x10]
push 0x104
push eax
push 0xffffffffffffffff
push edi
call ebx
xor esi, esi
mov dword [esp + 0xc], eax
test eax, eax
jle 0x4b3543
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push esi
push edi
call ebx
lea edx, [esp + 0x14]
push edx
call ebp
cmp eax, 0xffffffff
je 0x4b351c
and eax, 0x10
cmp al, 0x10
jne 0x4b351c
mov ecx, dword [esp + 0x22c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004d631b
mov edx, dword [esp + 0x228]
add esp, 8
push 0x65
push 0x772
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4b3539
mov eax, dword [esp + 0x238]
mov edx, dword [esp + 0x228]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call fcn.004b1860
add esp, 0xc
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x4b34ca
pop ebp
push edi
call dword [sym.imp.SHELL32.dll_DragFinish]
mov eax, dword [esp + 0x22c]
mov esi, dword [esp + 0x224]
test eax, eax
je 0x4b356d
mov eax, dword [esp + 0x230]
push eax
push esi
call fcn.004b14d0
add esp, 8
mov ecx, dword [esp + 0x21c]
push ecx
push esi
call fcn.004b1810
push 0
push esi
call fcn.004b3210
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x20c
ret
Function at 0x4b5180
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x24f0
call fcn.004d6340
push ebx
push esi
push edi
lea eax, [esp + 0x4fc]
push 1
push eax
call fcn.00457f00
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 8
xor esi, esi
push 0x5b9260
push 1
push str.OpenIndex
push str.Slideshow
mov word [esp + 0x304], si
call edi
push 0x5b9260
push 1
push str.SaveSlideDir
push str.Others
mov ebx, eax
call edi
test eax, eax
je 0x4b51fe
push 0x5b9260
lea ecx, [esp + 0xe8]
push 0x104
push ecx
push 0x598470
push str.OpenDir
push str.Slideshow
jmp 0x4b5247
push 0x5b9040
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x4b5226
lea edx, [esp + 0xe4]
push 0x5b9040
push edx
call fcn.004d631b
add esp, 8
jmp 0x4b524d
push 0x5b9260
lea eax, [esp + 0xe8]
push 0x104
push eax
push 0x598470
push str.OpenDir
push 0x59ba00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 0x16
xor eax, eax
lea edi, [esp + 0xc]
mov edx, dword [esp + 0x2504]
rep stosd dword es:[edi], eax
mov ecx, dword [0x5b5528]
lea eax, [esp + 0x4fc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2f4]
lea eax, [esp + 0x64]
mov dword [esp + 0x28], ecx
mov ecx, dword [0x5b5574]
push 0x40
mov dword [esp + 0x18], edx
push eax
lea edx, [esp + 0xec]
push 0x483
push ecx
mov dword [esp + 0x1c], 0x58
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edx
call dword [sym.imp.USER32.dll_LoadStringW]
mov eax, dword [0x5b6eb4]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x60
lea edx, [esp + 0x68]
push 0x64
push eax
mov dword [esp + 0x48], edx
mov word [esp + 0x50], si
mov word [esp + 0x52], si
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], 0x4b3ee0
mov dword [esp + 0x60], 0x40e
mov dword [esp + 0x4c], 0x88026c
call edi
push 0x64
push eax
push 0x2d8
call edi
push esi
mov edi, eax
call fcn.004c49d0
add esp, 4
cmp eax, 0x320
jg 0x4b5332
cmp dword [0x5b6eb4], 0x60
jg 0x4b5342
push esi
call fcn.004c49d0
add edi, 0xfffffff6
add esp, 4
cmp edi, eax
jle 0x4b534a
mov dword [esp + 0x60], 1
lea ecx, [esp + 0xc]
push ecx
call dword [0x5aae20]
pop edi
pop esi
test eax, eax
pop ebx
je 0x4b539f
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xd8]
push edx
push 0x5985ac
push eax
call fcn.004d5ee1
add esp, 0xc
lea ecx, [esp + 0xd8]
push 0x5b9260
push ecx
push str.OpenIndex
push str.Slideshow
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, 1
add esp, 0x24f0
ret
xor eax, eax
add esp, 0x24f0
ret
Function at 0x4b57f0
Capabilities:
Get file size

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 8
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 4]
add esp, 8
ret

Function at 0x4b5810
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
push edi
push 0x598030
push eax
call fcn.004d5ece
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b582f
pop edi
pop esi
pop ebx
ret
push 2
push 0
push esi
call fcn.004d5be4
push esi
call fcn.004d5c9d
push 0
push 0
push esi
mov ebx, eax
call fcn.004d5be4
push ebx
call fcn.004d5aaa
add esp, 0x20
mov edi, eax
test edi, edi
push esi
jne 0x4b5869
call fcn.004d5e20
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
push 1
push ebx
push edi
call fcn.004d58aa
add esp, 0x10
lea ecx, [esp + 0x14]
push 0
push ecx
push ebx
mov ebx, dword [esp + 0x1c]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.004d5e20
push edi
call fcn.004d59c1
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4b8230
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x5b554c]
push esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
push eax
call esi
test eax, eax
je 0x4b8293
mov ecx, dword [0x5b5550]
push ecx
call esi
test eax, eax
je 0x4b8293
mov ecx, dword [0x5b66b8]
mov eax, 1
cmp ecx, eax
je 0x4b8293
mov edx, dword [0x5b5550]
mov dword [0x5b66b8], eax
push edx
call fcn.00442000
mov eax, dword [0x5b5550]
add esp, 4
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 8]
push ecx
push 0
push 0x442060
call fcn.004d7c3d
add esp, 0xc
pop esi
ret

Function at 0x4b82a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x54
push esi
push edi
mov edx, dword [0x5b54fc]
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x28]
push ecx
push 0
push 0x104b
push edx
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4b83dc
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4b83dc
fild dword [esp + 0x60]
mov ax, word [esp + 0x68]
mov cl, byte [esp + 0x70]
mov edx, dword [esp + 0x60]
mov word [esi + 0x22c], ax
fstp qword [esp + 8]
fild dword [esp + 0x64]
mov eax, dword [esp + 0x64]
mov byte [esi + 0x22e], cl
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x21c], edx
fstp qword [esp + 0x10]
fld qword [esp + 8]
fmul qword [esp + 0x10]
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], ecx
fdiv qword [0x552918]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fmul qword [0x552940]
call fcn.004d6118
mov edx, dword [esp + 0x78]
mov dword [esi + 0x228], eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4b83dc
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x26]
push eax
lea eax, [esp + 0x26]
push ecx
push eax
lea ecx, [esp + 0x2a]
lea eax, [esp + 0x28]
push ecx
push eax
push 0x59f660
push edx
call fcn.004d842c
add esp, 0x20
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
mov dword [esi + 0x214], edx
mov dword [esi + 0x218], eax
pop edi
pop esi
add esp, 0x54
ret
Function at 0x4b83f0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x34
mov eax, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x48]
push edi
lea edx, [esp + 0x10]
mov ecx, 0xd
mov dword [esi], 0
mov dword [ebx], 0
mov dword [ebp], 0
mov dword [eax], 0
xor eax, eax
lea edi, [esp + 0x10]
push edx
push eax
rep stosd dword es:[edi], eax
mov eax, dword [0x5b54fc]
mov ecx, dword [esp + 0x50]
push 0x104b
push eax
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4b8486
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b8486
mov ecx, dword [eax + 0x21c]
mov dword [esi], ecx
mov edx, dword [eax + 0x220]
mov dword [ebx], edx
movsx ecx, word [eax + 0x22c]
mov dword [ebp], ecx
mov edx, dword [eax + 0x224]
mov eax, dword [esp + 0x58]
mov dword [eax], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret

Function at 0x4b9140
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
lea eax, [esp]
push esi
push edi
push 0x5b9260
push 0x40
push eax
push str.100_100
push str.ThumbW
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
push esi
push edi
lea ecx, [esp + 0x10]
push 0x5a4be4
push ecx
call fcn.004d6c09
lea edx, [esp + 0x18]
push 0x2c
push edx
call fcn.004d75ed
add esp, 0x18
test eax, eax
jne 0x4b919f
mov eax, dword [edi]
mov dword [esi], eax
pop edi
pop esi
add esp, 0x80
ret

Function at 0x4b91b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push esi
push edi
push eax
push ecx
call fcn.004b9140
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 8
push 0x5b9260
push 5
push str.ResampleFilter
push str.Resize
call esi
mov edx, dword [esp + 0x1c]
push 0x5b9260
push 1
push str.UseResample
push 0x59a1bc
mov dword [edx], eax
call esi
mov ecx, dword [esp + 0x18]
push 0x5b9260
push 0
push str.Enlarge
push 0x59a1bc
mov dword [ecx], eax
call esi
mov edx, dword [esp + 0x14]
push 0x5b9260
push 0
push str.PaintBorders
push 0x59a1bc
mov dword [edx], eax
call esi
mov ecx, dword [esp + 0x20]
push 0x5b9260
push 0
push str.Scroll
push 0x59a1bc
mov dword [ecx], eax
call esi
mov edx, dword [esp + 0x24]
push 1
mov dword [edx], eax
call fcn.004b9280
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add esp, 4
test edi, edi
mov dword [ecx], eax
je 0x4b9274
push 0x5b9260
push 1
push str.ExifThumb
push 0x59a1bc
call esi
mov dword [edi], eax
pop edi
pop esi
ret

Function at 0x4b9280
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x40
cmp eax, 1
push 0x5b9260
push 0x20
jne 0x4b92a4
lea eax, [esp + 8]
push eax
push str.12632256
push str.BackColor
jmp 0x4b92b3
lea ecx, [esp + 8]
push ecx
push str.12632256
push str.BackgroundColor
push 0x59a1bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp]
push edx
call fcn.004d6be0
add esp, 0x44
ret