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

Disassembly:
sub esp, 0x288
push ebx
mov ebx, dword [esp + 0x2a0]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
mov esi, dword [esp + 0x2ac]
push edi
mov edi, dword [esp + 0x2a0]
test edi, edi
je 0x4ca643
push esi
lea eax, [esp + 0x94]
push 0x10
push eax
push str.65280
push str.FontColor
push ebx
call ebp
lea ecx, [esp + 0x90]
push ecx
call fcn.004d6be0
add esp, 4
mov dword [edi], eax
mov edi, dword [esp + 0x2a4]
test edi, edi
je 0x4ca678
push esi
lea edx, [esp + 0x94]
push 0x10
push edx
push str.16777215
push str.TxtBgkr
push ebx
call ebp
lea eax, [esp + 0x90]
push eax
call fcn.004d6be0
add esp, 4
mov dword [edi], eax
mov edi, dword [esp + 0x2a8]
test edi, edi
je 0x4ca694
push esi
push 1
push str.TranspText
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi], eax
push 0xfffffffffffffff3
call fcn.004c5330
push eax
lea ecx, [esp + 0x18]
push str._d000400000012449
push ecx
call fcn.004d5ee1
add esp, 0x10
lea edx, [esp + 0x90]
lea eax, [esp + 0x10]
push esi
push 0x104
push edx
push eax
push str.FontParam
push ebx
call ebp
mov edx, dword [esp + 0x29c]
mov ecx, 0x17
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x90]
push edx
push ecx
call fcn.004ca720
mov edx, dword [esp + 0x2a4]
add esp, 8
add edx, 0x1c
push esi
push 0x40
push edx
push str.Courier_New
push 0x5a48d8
push ebx
call ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x288
ret

Function at 0x4cac00
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test ebx, ebx
je 0x4cac26
push esi
push 0
push str.Save_Compression
push str.TIFF
call edi
mov dword [ebx], eax
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4cac3f
push esi
push 0x50
push str.Save_Quality
push 0x59814c
call edi
mov dword [ebx], eax
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4cac58
push esi
push 1
push str.GrayPalette
push str.TIFF
call edi
mov dword [ebx], eax
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4cac71
push esi
push 1
push str.SaveAllPages
push str.TIFF
call edi
mov dword [ebx], eax
pop edi
pop esi
pop ebx
ret
Function at 0x4cac80
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2200
call fcn.004d6340
push ebx
push ebp
mov ebp, dword [esp + 0x2210]
xor eax, eax
mov ecx, ebp
mov edx, dword [esp + 0x222c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push esi
mov dword [ecx], eax
mov esi, dword [esp + 0x2260]
push edi
mov edi, dword [esp + 0x2260]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov eax, dword [esp + 0x2214]
test eax, eax
je 0x4cad1b
push edi
lea eax, [esp + 0x14]
push pe_nt_image_headers32
push eax
push str.0_0_100_100_
push str.TextCoord
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp + 0xc]
lea edx, [ebp + 8]
push ecx
lea eax, [ebp + 4]
push edx
push eax
push ebp
lea ecx, [esp + 0x20]
push 0x598654
push ecx
call fcn.004d6c09
add esp, 0x18
push edi
push 0
push str.Corner
push esi
call ebx
mov edx, dword [esp + 0x2234]
mov dword [edx], eax
mov eax, dword [esp + 0x2228]
mov ecx, dword [esp + 0x2220]
mov edx, dword [esp + 0x2224]
mov ebp, dword [esp + 0x221c]
push edi
push esi
push eax
push ecx
push edx
push ebp
call fcn.004ca5f0
add esp, 0x18
mov byte [ebp + 0x1a], 4
push edi
push 0
push str.SemiTranspText
push esi
call ebx
mov ecx, dword [esp + 0x222c]
push edi
push 0
push str.Orientation
push esi
mov dword [ecx], eax
call ebx
mov edx, dword [esp + 0x2230]
push edi
push 0
push str.FitColorW
push esi
mov dword [edx], eax
call ebx
mov ecx, dword [esp + 0x223c]
push edi
push 0
push str.OutlineFill
push esi
mov dword [ecx], eax
call ebx
mov edx, dword [esp + 0x2240]
push edi
push 0
push str.Outline
push esi
mov dword [edx], eax
call ebx
mov ecx, dword [esp + 0x2244]
push edi
push 0
push 0x5a54d8
push esi
mov dword [ecx], eax
call ebx
mov edx, dword [esp + 0x2248]
push edi
push 0
push 0x5a54c8
push esi
mov dword [edx], eax
call ebx
mov ecx, dword [esp + 0x224c]
push edi
push 0
push str.Angle
push esi
mov dword [ecx], eax
call ebx
mov edx, dword [esp + 0x2250]
push edi
push 0
push str.Canvas
push esi
mov dword [edx], eax
call ebx
mov ecx, dword [esp + 0x2254]
mov edx, dword [esp + 0x2258]
push edi
push 0x40
push edx
mov dword [ecx], eax
push 0x5aae60
push str.Outline1
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebp, dword [esp + 0x2238]
test ebp, ebp
je 0x4cae32
push edi
push 0
push str.FontZoom
push esi
call ebx
mov dword [ebp], eax
push edi
lea eax, [esp + 0x214]
push 0x800
push eax
push 0x5aae60
push str.AddText
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x225c]
push 0x7c
push 0x1000
lea edx, [esp + 0x218]
push ecx
push edx
call fcn.004caaa0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2200
ret
Function at 0x4cae80
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x80
xor eax, eax
mov edx, dword [esp + 0x94]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
mov ecx, esi
mov ebx, dword [esp + 0xac]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
mov dword [ecx], eax
mov edi, dword [esp + 0xb4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [edx], eax
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4caf14
push ebx
lea eax, [esp + 0x14]
push 0x40
push eax
push str.0_0_100_100_
push str.Coord
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi + 0xc]
lea edx, [esi + 8]
push ecx
lea eax, [esi + 4]
push edx
push eax
push esi
lea ecx, [esp + 0x20]
push 0x598654
push ecx
call fcn.004d6c09
add esp, 0x18
push ebx
push 0
push str.Corner
push edi
call ebp
mov edx, dword [esp + 0xa4]
mov dword [edx], eax
push ebx
push 0
push str.Option
push edi
call ebp
mov ecx, dword [esp + 0x98]
push ebx
push 0x21
push str.Transp
push edi
mov dword [ecx], eax
call ebp
mov ecx, dword [esp + 0xa8]
test eax, eax
mov dword [ecx], eax
jge 0x4caf48
mov dword [ecx], 0
jmp 0x4caf53
cmp eax, 0x64
jle 0x4caf53
mov dword [ecx], 0x64
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4caf86
push ebx
lea edx, [esp + 0x14]
push 0x10
push edx
push str.65535
push 0x59ee40
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x10]
push eax
call fcn.004d6be0
add esp, 4
mov dword [esi], eax
mov ecx, dword [esp + 0x9c]
push ebx
push 0x104
push ecx
push str.no_image
push 0x59ee78
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
Function at 0x4cb0c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x110
push ebx
push esi
push edi
mov edi, dword [esp + 0x134]
test edi, edi
je 0x4cb12f
mov eax, dword [esp + 0x128]
mov edx, dword [esp + 0x124]
push eax
lea ecx, [esp + 0x20]
push 0x80
push ecx
push str.0_0_0_0_0_0_
push edx
push str.WinPosition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x12c]
mov eax, dword [esp + 0x130]
push edi
push eax
lea ecx, [esi + 0xc]
lea edx, [esi + 8]
lea ebx, [esi + 4]
push ecx
push edx
push ebx
push esi
lea eax, [esp + 0x34]
push str._d__d__d__d__d__d_
push eax
call fcn.004d6c09
add esp, 0x20
jmp 0x4cb187
mov ecx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push ecx
lea edx, [esp + 0x20]
push 0x80
push edx
push str.0_0_0_0_0_
push eax
push str.WinPosition
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esp + 0x12c]
mov ecx, dword [esp + 0x130]
push ecx
lea ecx, [esp + 0x20]
lea edx, [esi + 0xc]
lea eax, [esi + 8]
lea ebx, [esi + 4]
push edx
push eax
push ebx
push esi
push str._d__d__d__d__d_
push ecx
call fcn.004d6c09
add esp, 0x1c
push 0x50
call fcn.004c53b0
cmp eax, 2
jge 0x4cb1d2
lea edx, [esp + 0xc]
push 0
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jl 0x4cb1b4
cmp eax, dword [esp + 0x14]
jl 0x4cb1b6
mov dword [esi], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
jl 0x4cb1c6
cmp eax, dword [esp + 0x18]
jl 0x4cb200
pop edi
mov dword [ebx], ecx
pop esi
pop ebx
add esp, 0x110
ret
mov eax, dword [ebx]
mov edi, dword [esi]
mov edx, dword [esp + 0x120]
push eax
lea ecx, [esp + 0x10]
push edi
push ecx
push edx
call fcn.004c4a40
push 0
call fcn.004c49a0
mov eax, dword [esp + 0x20]
add esp, 0x14
cmp edi, eax
jge 0x4cb1fe
mov edi, eax
mov dword [esi], edi
pop edi
pop esi
pop ebx
add esp, 0x110
ret

Function at 0x4cb4f0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x18
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
lea edx, [esp]
push esi
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4cb52e
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
push 0x400
push ecx
push edx
call fcn.004d91f0
pop esi
add esp, 0x18
ret
mov eax, esi
pop esi
add esp, 0x18
ret
Function at 0x4cb540
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x61c
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push edi
mov edi, dword [esp + 0x628]
push 0
push 0
push 0x14b
push edi
call ebx
push 0
push 0xf4
push 0x141
push edi
call ebx
mov ecx, dword [esp + 0x638]
xor eax, eax
test ecx, ecx
mov dword [esp + 8], eax
jl 0x4cb646
push ebp
push esi
push eax
mov eax, dword [esp + 0x63c]
push eax
lea ecx, [esp + 0x224]
push str._s_d
push ecx
call fcn.004d5ee1
mov edx, dword [esp + 0x654]
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x21c]
push edx
mov edx, dword [esp + 0x638]
push 0x104
push eax
push 0x5aae60
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x14], 0
je 0x4cb62c
push 0
push 0
push 0x146
push edi
call ebx
mov ebp, eax
xor esi, esi
test ebp, ebp
jle 0x4cb61d
lea eax, [esp + 0x424]
push eax
push esi
push 0x148
push edi
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x424]
push ecx
push edx
call fcn.004d7652
add esp, 8
test eax, eax
je 0x4cb62c
inc esi
cmp esi, ebp
jl 0x4cb5ee
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x14a
push edi
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x640]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jle 0x4cb587
pop esi
pop ebp
push 0
push 0
push 0x146
push edi
call ebx
test eax, eax
jne 0x4cb668
mov ecx, dword [esp + 0x634]
push ecx
push 0xffffffffffffffff
push 0x14a
push edi
call ebx
push 0
push 0
push 0x14e
push edi
call ebx
pop edi
pop ebx
add esp, 0x61c
ret

Function at 0x4cb680
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x61c
lea eax, [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x630]
push 0x104
push eax
push edi
xor esi, esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [esp + 0x14]
push ecx
call fcn.004d6713
mov ebp, dword [esp + 0x644]
add esp, 4
test eax, eax
jbe 0x4cb6fc
mov edx, dword [esp + 0x638]
push 0
push edx
lea eax, [esp + 0x42c]
push str._s_d
push eax
mov esi, 1
call fcn.004d5ee1
mov eax, dword [esp + 0x644]
add esp, 0x10
lea ecx, [esp + 0x14]
lea edx, [esp + 0x424]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], 0
push 0
push 0
push 0x146
push edi
call ebx
mov ecx, dword [esp + 0x63c]
cmp ecx, eax
jge 0x4cb725
mov eax, ecx
jmp 0x4cb731
push 0
push 0
push 0x146
push edi
call ebx
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jge 0x4cb7c4
lea edx, [esp + 0x21c]
push edx
push ecx
push 0x148
push edi
call ebx
lea eax, [esp + 0x21c]
push eax
call fcn.004d6713
add esp, 4
test eax, eax
jbe 0x4cb7bb
lea ecx, [esp + 0x21c]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.004d7652
add esp, 8
test eax, eax
je 0x4cb7bb
mov eax, esi
lea ecx, [esp + 0x424]
push eax
mov eax, dword [esp + 0x63c]
push eax
push str._s_d
push ecx
inc esi
call fcn.004d5ee1
mov ecx, dword [esp + 0x644]
add esp, 0x10
lea edx, [esp + 0x21c]
lea eax, [esp + 0x424]
push ebp
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
inc dword [esp + 0x10]
jmp 0x4cb70a
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x61c
ret
Function at 0x4cb850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
push edi
xor eax, eax
lea ecx, [esi + esi]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4cb893
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push ebx
push ecx
push 0
push edx
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4cb8c9
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4cbb00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x720
push ebx
push ebp
push esi
push edi
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x2e0]
push 0x5b9260
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2e4]
push pe_nt_image_headers32
push eax
push str.THMXMP
push str.SideCarExts
push str.Others
xor esi, esi
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x2e0]
push ecx
call fcn.004c9ba0
lea edx, [esp + 0x2e4]
push 0x7c
push edx
call fcn.004c9a70
mov ebx, dword [esp + 0x748]
mov dword [esp + 0x20], eax
imul eax, ebx
add esp, 0xc
lea ecx, [eax + eax*2]
shl ecx, 3
sub ecx, eax
lea eax, [ecx + ecx*2]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x734]
test eax, eax
mov dword [ecx], eax
jne 0x4cbbab
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x720
ret
test ebx, ebx
mov dword [esp + 0x10], 0
jle 0x4cbd36
jmp 0x4cbbc4
mov ebx, dword [esp + 0x73c]
mov ecx, 0x92
xor eax, eax
lea edi, [esp + 0x4e8]
lea edx, [esp + 0x4e8]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x738]
push edx
push eax
push ebx
push ecx
call fcn.004cba20
mov eax, dword [esp + 0x750]
add esp, 0x10
test eax, eax
jne 0x4cbc32
mov eax, dword [esp + 0x734]
lea edx, [esp + 0x4e8]
push edx
push 0x5980e0
mov ecx, dword [eax]
lea edx, [ecx + esi*2]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0x4f4]
push eax
call fcn.004d6713
add esp, 0x10
lea esi, [esi + eax + 1]
inc ebp
mov eax, dword [esp + 0x14]
xor ebx, ebx
test eax, eax
jle 0x4cbd1e
push 0x40
lea ecx, [esp + 0x1c]
push 0x7c
push ecx
lea edx, [esp + 0x2ec]
push ebx
push edx
call fcn.004c9ab0
mov ecx, 0x92
xor eax, eax
lea edi, [esp + 0xac]
push 7
rep stosd dword es:[edi], eax
lea eax, [esp + 0xb0]
lea ecx, [esp + 0x500]
push eax
push ecx
call fcn.004c93e0
lea edx, [esp + 0xb8]
push 0x59a890
push edx
call fcn.004d62f1
lea eax, [esp + 0x40]
lea ecx, [esp + 0xc0]
push eax
push ecx
call fcn.004d62f1
lea edx, [esp + 0xc8]
push edx
call fcn.004381b0
add esp, 0x34
cmp eax, 1
jne 0x4cbd11
mov edi, dword [esp + 0x734]
lea eax, [esp + 0x98]
push eax
push ebp
mov ecx, dword [edi]
push ecx
call fcn.004cba80
add esp, 0xc
test eax, eax
jne 0x4cbd11
lea edx, [esp + 0x98]
push edx
call fcn.004cb9c0
mov ecx, dword [edi]
lea eax, [esp + 0x9c]
push eax
push 0x5980e0
lea edx, [ecx + esi*2]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [esp + 0xa8]
push eax
call fcn.004d6713
add esp, 0x14
lea esi, [esi + eax + 1]
inc ebp
mov eax, dword [esp + 0x14]
inc ebx
cmp ebx, eax
jl 0x4cbc40
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x73c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4cbbbd
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x720
ret
Function at 0x4cbf10
Capabilities:
Copy file
Move file
Set file attributes

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
mov esi, dword [esp + 0x42c]
push edi
push esi
call fcn.004381b0
mov ebp, dword [esp + 0x438]
add esp, 4
test ebp, ebp
jne 0x4cbf41
cmp dword [esp + 0x440], 1
jne 0x4cbf41
xor eax, eax
mov ecx, dword [esp + 0x43c]
mov ebx, dword [esp + 0x42c]
cmp ecx, 1
jne 0x4cc00e
mov edi, dword [esp + 0x448]
test eax, eax
je 0x4cbf6c
cmp dword [edi], 2
je 0x4cc121
cmp dword [edi], 4
je 0x4cc022
test eax, eax
je 0x4cc022
lea eax, [esp + 0x10]
push ebx
push eax
call fcn.004d631b
lea ecx, [esp + 0x220]
push esi
push ecx
call fcn.004d631b
mov edx, dword [esp + 0x454]
add esp, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x420], 0
push eax
push 0x45af10
mov dword [esp + 0x42c], edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [0x5b5574]
push eax
push 0x560
push ecx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [esp + 0x420]
cmp eax, 1
mov dword [edi], eax
je 0x4cc121
cmp eax, 2
je 0x4cc121
cmp eax, 5
je 0x4cc121
cmp eax, 6
jne 0x4cc022
lea edx, [esp + 0x218]
push edx
push esi
call fcn.004d631b
jmp 0x4cc01f
cmp ecx, 2
jne 0x4cc022
test eax, eax
je 0x4cc022
push esi
push 1
call fcn.004cbe50
add esp, 8
push esi
push ebx
call fcn.004d7652
add esp, 8
test eax, eax
jne 0x4cc048
cmp ebp, 1
je 0x4cc121
mov eax, dword [esp + 0x440]
test eax, eax
je 0x4cc121
push 0x20
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test ebp, ebp
je 0x4cc0be
push esi
call fcn.004381b0
add esp, 4
cmp eax, 1
jne 0x4cc07a
push esi
push ebx
call fcn.004d7652
add esp, 8
test eax, eax
je 0x4cc07a
push esi
call fcn.004d7368
add esp, 4
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x4cc121
mov eax, dword [esp + 0x438]
test eax, eax
je 0x4cc114
mov eax, dword [0x5b5574]
push 0
push esi
push ebx
push str._s:__s_n__s_
push 0x4f7
push eax
call fcn.004cc7f0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
mov eax, dword [esp + 0x440]
test eax, eax
je 0x4cc0de
push esi
push ebx
call fcn.004cbd50
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4cc121
mov eax, dword [esp + 0x438]
test eax, eax
je 0x4cc114
mov ecx, dword [0x5b5574]
push 0
push esi
push ebx
push str._s:__s_n__s_
push 0x4f7
push ecx
call fcn.004cc7f0
add esp, 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x418
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret
Function at 0x4d3510
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
push esi
push 0x5b9260
push 1
push str.Magnifier
push str.Viewing
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
je 0x4d35eb
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0xc]
push edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x38], edx
mov edx, dword [0x5b550c]
push 0x4d32a0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
push esi
push 0x5a8
push edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov edi, eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x7c]
push ebp
push ebx
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
push esi
push edi
call fcn.004d3070
add esp, 0x30
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x30
ret
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x4d3600
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
mov esi, 0x10
push esi
call edi
test al, al
mov byte [esp + esi + 0xc], al
jne 0x4d3633
inc esi
cmp esi, 0x7b
jl 0x4d3616
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x100
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x100
ret

Function at 0x4d5580
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d5683
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x469
push esi
call edi
push 0
push 0
push 0x467
push esi
mov ebx, eax
call edi
sub ebx, eax
mov eax, 0x66666667
imul ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
call ebx
test ax, ax
jge 0x4d55e4
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov ebp, eax
push 0x10
call ebx
test ax, ax
jge 0x4d5600
mov eax, 0x66666667
imul ebp
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ebp, edx
cmp ebp, 1
jg 0x4d560a
mov ebp, 1
push 0
push 0x65
push 0x808
push esi
call edi
push 0
push 0
push 0x4ca
push esi
call edi
mov ebx, eax
mov eax, dword [esp + 0x18]
cmp ax, 1
jne 0x4d5632
add ebx, ebp
jmp 0x4d5639
test ax, ax
jne 0x4d5639
sub ebx, ebp
push 0
push 0
push 0x469
push esi
call edi
cmp ebx, eax
jle 0x4d5657
push 0
push 0
push 0x469
push esi
call edi
mov ebx, eax
test ebx, ebx
jge 0x4d5669
push 0
push 0
push 0x467
push esi
call edi
mov ebx, eax
push ebx
push 0
push 0x807
push esi
call edi
push 0
push 0
push 0x806
push esi
call edi
pop edi
pop ebp
pop ebx
pop esi
ret