Function at 0x47eb60
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov edx, dword [esi + 4]
mov eax, edx
mov ecx, dword [esi + 8]
sub eax, 0xfb00
je 0x47ea0d
sub eax, 1
je 0x47e8f6
sub eax, 2
je 0x47e084
cmp ecx, 0xfffffdee
jne case.default.0x47ea7c
test byte [esi + 0xb4], 1
jne case.default.0x47ea7c
push 0x100
lea eax, [ebp - 0x414]
push eax
push edx
push dword [0x5f0394]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0x50
lea eax, [ebp - 0x414]
push eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
add ecx, 0xfffff82f
cmp ecx, 0x11
ja case.default.0x47ea7c
movzx eax, byte [ecx + 0x47eb14]
jmp dword [eax*4 + 0x47eaf4]
test dword [esi + 0x58], 0xfffffff3
je case.default.0x47ea7c
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x501
push dword [0x5f0848]
call ebx
call fcn.00481d90
push 0
push 0
push 0xa0a
push dword [0x5e9fbc]
call ebx
cmp eax, 1
jle 0x47e137
push 0
push 0
push 0x977
push dword [0x5e9fbc]
call ebx
cmp eax, 1
je 0x47e137
push 0
push 0
push 0x7d8
push dword [0x5e9fbc]
call ebx
push 0
push 0
push 0x1f
push dword [0x5e9fbc]
mov esi, eax
call ebx
push 0
push 0
push 0xa0b
push dword [0x5e9fbc]
call ebx
push esi
push esi
push 0xa0c
push dword [0x5e9fbc]
call ebx
mov edx, dword [0x5ed320]
sub esp, 8
call fcn.00470930
add esp, 8
cmp dword [0x5ed608], 0
je case.default.0x47ea7c
push 0
push 0
push 0x7ec
push dword [0x5e9fbc]
call ebx
push 0
push 0
push 0x7d6
push dword [0x5e9fbc]
mov esi, eax
call ebx
cmp esi, eax
jge 0x47e1ad
push 0
push esi
push 0x876
push dword [0x5e9fbc]
call ebx
push 0
push eax
push 0x877
push dword [0x5e9fbc]
call ebx
push 0xffffffffffffffff
push eax
push 0xfa3
push dword [0x5e9fbc]
call ebx
push 0
push 0
push 0x7d8
push dword [0x5e9fbc]
call ebx
push 0
mov esi, eax
push esi
push 0x7d7
push dword [0x5e9fbc]
mov dword [ebp - 0x418], esi
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrA]
movsx cx, al
movzx ecx, cx
push ecx
push 0x41faa0
call edi
push 0
push esi
test eax, eax
je 0x47e223
push 0x931
push dword [0x5e9fbc]
call ebx
mov dword [ebp - 0x41c], eax
push 0
push esi
cmp eax, 0xffffffff
jne 0x47e27d
push 0x930
push dword [0x5e9fbc]
call ebx
push 0
push 0
jmp 0x47e2c4
push 0x971
push dword [0x5e9fbc]
call ebx
push 0
mov esi, eax
push esi
push 0x7d7
push dword [0x5e9fbc]
mov dword [ebp - 0x418], esi
call ebx
movsx cx, al
movzx ecx, cx
push ecx
push 0x41faa0
call edi
test eax, eax
je 0x47e2e4
push 0
push esi
push 0x931
push dword [0x5e9fbc]
call ebx
mov dword [ebp - 0x41c], eax
push 0
push esi
cmp eax, 0xffffffff
je 0x47e20d
push 0x851
push dword [0x5e9fbc]
call ebx
push 0
push dword [ebp - 0x41c]
mov edi, eax
push 0x851
push dword [0x5e9fbc]
call ebx
push dword [ebp - 0x41c]
mov esi, eax
push dword [ebp - 0x418]
push 0x92f
push dword [0x5e9fbc]
call ebx
cmp edi, esi
push 0
cmovl esi, edi
push esi
push 0x856
push dword [0x5e9fbc]
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x92f
push dword [0x5e9fbc]
call ebx
push 0
push 0
jmp 0x47e2c4
cmp dword [0x5ed600], 0
je 0x47e47b
mov eax, dword [esi + 0x10]
cmp eax, 0xd
je 0x47e319
cmp eax, 0xa
jne 0x47e47b
cmp dword [0x5e95d8], 0
jne 0x47e327
cmp eax, 0xa
je case.default.0x47ea7c
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x7d8
push dword [0x5e9fbc]
call edi
push 0
push eax
push 0x876
push dword [0x5e9fbc]
call edi
mov dword [ebp - 0x418], eax
test eax, eax
jle case.default.0x47ea7c
push 0
lea ebx, [eax - 1]
push ebx
push 0x877
push dword [0x5e9fbc]
call edi
push 0
push ebx
push 0x858
push dword [0x5e9fbc]
mov esi, eax
call edi
sub eax, esi
jne 0x47e3bd
push eax
push ebx
push 0x7fe
push dword [0x5e9fbc]
call edi
test al, 1
je 0x47e3bd
push 0
push ebx
push 0x7fc
push dword [0x5e9fbc]
call edi
push 0
push dword [ebp - 0x418]
push 0x7fb
push dword [0x5e9fbc]
call edi
push 0
push ebx
push 0x92e
push dword [0x5e9fbc]
call edi
mov dword [ebp - 0x418], eax
lea ecx, [eax + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je case.default.0x47ea7c
push esi
push ebx
push 0x869
push dword [0x5e9fbc]
call edi
mov eax, dword [ebp - 0x418]
mov ecx, esi
mov byte [esi + eax], 0
mov al, byte [esi]
test al, al
je 0x47e461
nop word [eax + eax]
cmp al, 0x20
je 0x47e41b
cmp al, 9
je 0x47e41b
mov byte [ecx], 0
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x47e410
mov al, byte [esi]
test al, al
je 0x47e461
push 0
push 0
push 0x81e
push dword [0x5e9fbc]
call edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x7d1
push dword [0x5e9fbc]
call edi
push 0
push 0
push 0x81f
push dword [0x5e9fbc]
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
cmp dword [0x5ed604], 0
je 0x47e6f1
cmp dword [esi + 0x10], 0x3e
jne 0x47e6f1
push 0x200
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00583650
mov ax, word [0x41fc38]
add esp, 0xc
mov word [ebp - 0x214], ax
mov al, byte [0x41fc3a]
mov byte [ebp - 0x212], al
lea eax, [ebp - 0x211]
push 0x201
push 0
push eax
call fcn.00583650
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
mov edi, 2
push 0
push 0
push 0x7d8
push dword [0x5e9fbc]
call ebx
xor edx, edx
mov dword [ebp - 0x418], eax
mov esi, eax
lea ecx, [eax - 0x1ff]
test ecx, ecx
cmovs ecx, edx
sub esi, ecx
cmp esi, 3
jl case.default.0x47ea7c
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x428]
push eax
push edx
push 0x872
push dword [0x5e9fbc]
mov dword [ebp - 0x428], ecx
call ebx
cmp byte [ebp + esi - 0x416], 0x2f
lea esi, [ebp + esi - 0x416]
je case.default.0x47ea7c
lea eax, [ebp - 0x414]
cmp esi, eax
jbe 0x47e575
nop
mov al, byte [esi]
cmp al, 0x3c
je 0x47e57a
cmp al, 0x3e
je 0x47e575
dec esi
lea eax, [ebp - 0x414]
cmp esi, eax
ja 0x47e560
cmp byte [esi], 0x3c
jne 0x47e5b5
mov ebx, dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
movsx ax, byte [esi + 1]
inc esi
movzx eax, ax
push eax
push 0x41fc3c
call dword [sym.imp.SHLWAPI.dll_StrChrA]
test eax, eax
jne 0x47e5a3
movzx eax, byte [esi]
push eax
call ebx
test eax, eax
je 0x47e5af
mov al, byte [esi]
mov byte [ebp + edi - 0x214], al
inc edi
jmp 0x47e580
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp + edi - 0x214], 0x3e
inc edi
cmp edi, 0x204
jae 0x47eaed
mov byte [ebp + edi - 0x214], 0
cmp edi, 3
jle case.default.0x47ea7c
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x214]
push 0x41fc44
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc4c
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc58
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc60
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc6c
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc74
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc7c
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc88
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0x41fc90
lea eax, [ebp - 0x214]
push eax
call esi
test eax, eax
je case.default.0x47ea7c
push 0
push 0
push 0x81e
push dword [0x5e9fbc]
call ebx
lea eax, [ebp - 0x214]
push eax
push 0
push 0x87a
push dword [0x5e9fbc]
call ebx
mov eax, dword [ebp - 0x418]
push eax
push eax
push 0x870
push dword [0x5e9fbc]
call ebx
push 0
push 0
push 0x81f
jmp 0x47e2c9
cmp dword [0x5eca48], 0
je case.default.0x47ea7c
push 0
push 0
push 0x836
push dword [0x5e9fbc]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne case.default.0x47ea7c
xor edx, edx
call fcn.004705d0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
call fcn.00482240
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5e95cc]
xor edx, edx
cmp eax, dword [0x5e95b0]
mov dword [0x5ed5f0], 0
setne dl
sub esp, 0xc
push edx
mov edx, dword [0x5be124]
push ecx
push 0x5f05e0
sub esp, 8
mov ecx, edi
call fcn.00473260
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x40], 2
jne case.default.0x47ea7c
mov ecx, dword [0x5f0374]
push 0
push dword [esi + 0xc]
mov eax, dword [ecx]
push 0x876
call dword [eax + 0x104]
mov ecx, dword [0x5f0374]
mov edi, eax
mov ebx, dword [esi + 0x14]
mov esi, ebx
push 0
push edi
mov eax, dword [ecx]
and esi, 1
push 0x8af
call dword [eax + 0x104]
test eax, 0x2000
jne 0x47e866
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x5ec4cc], edi
jne 0x47e89e
cmp dword [0x5ec4d0], ebx
jne 0x47e89e
call eax
mov esi, eax
sub esi, dword [0x5ec4d4]
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
cmp esi, eax
ja 0x47e899
mov ecx, dword [0x5f0374]
push 0
push edi
push 0x8b1
mov eax, dword [ecx]
mov dword [0x5ec4cc], 0xffffffff
call dword [eax + 0x104]
mov edi, eax
test edi, edi
js case.default.0x47ea7c
mov ecx, dword [0x5f0374]
push 0
push edi
push 0x8b6
mov edx, dword [ecx]
call dword [edx + 0x104]
test eax, eax
je case.default.0x47ea7c
mov esi, 1
push 0
mov edx, ebx
mov ecx, edi
call fcn.004759c0
test esi, esi
je case.default.0x47ea7c
push 0
lea edx, [edi + 1]
call fcn.0046e570
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x5ec4cc], edi
mov dword [0x5ec4d0], ebx
call eax
mov dword [0x5ec4d4], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
call fcn.00475ae0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
sub esp, 0xc
mov dword [0x5ed5f0], 1
push 1
jmp 0x47e76b
add ecx, 0x2d0
cmp ecx, 0x10
ja case.default.0x47ea7c
movzx eax, byte [ecx + 0x47eb3c]
jmp dword [eax*4 + 0x47eb28]
push 0
push 0
push 0x501
push dword [0x5f0848]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
cmp eax, 0x20
jae case.default.0x47ea7c
push 0x100
lea ecx, [ebp - 0x414]
push ecx
lea eax, [eax + eax*4]
push dword [eax*4 + 0x5bf7fc]
push dword [0x5f0394]
call dword [sym.imp.USER32.dll_LoadStringW]
push dword [esi + 0x24]
lea eax, [ebp - 0x414]
push eax
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [esi + 0xc]
lea eax, [eax + eax*4]
movups xmm0, xmmword [eax*4 + 0x5bf7f8]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [eax*4 + 0x5bf808]
mov dword [esi + 0x20], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x418
push dword [0x5e9b6c]
call edi
mov esi, eax
test esi, esi
jle 0x47e9e6
nop dword [eax + eax]
push 0
push 0
push 0x416
push dword [0x5e9b6c]
call edi
sub esi, 1
jne 0x47e9d0
push 0x5bf7f8
push 0x18
push 0x444
push dword [0x5e9b6c]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
cmp ecx, 0xfffffffd
je 0x47ea6d
cmp ecx, 0xfffffffe
jne case.default.0x47ea7c
cmp dword [esi + 0xc], 3
jne case.default.0x47ea7c
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0x7ee
push dword [0x5e9fbc]
call esi
push eax
push 0x7ed
push dword [0x5e9fbc]
call esi
mov ecx, dword [0x5e9fbc]
call fcn.0046e710
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x47ea7c
jmp dword [eax*4 + 0x47eb50]
push 0
push 0x19ca9
push 0x111
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5e95d8]
test ecx, ecx
jne 0x47eabf
mov eax, 0x19d09
push ecx
push eax
jmp 0x47ea8a
xor eax, eax
cmp ecx, 2
push 0
sete al
lea eax, [eax*2 + 0x19d08]
push eax
jmp 0x47ea8a
push 0
push 0x19dd0
jmp 0x47ea8a
push 0
push 0
push 0x914
push dword [0x5e9fbc]
jmp 0x47ea90
call fcn.0057ea74
nop
sti
loop 4713278
add byte [ebp - 0x19], cl
inc edi
add dl, ah
call 0xe90beb49
inc edi
add byte [ecx + 0x350047e0], ah
out 0x47, eax
add byte [edi - 0x2effb819], dl
loop 0x47eb5a
add byte [eax], al
add dword [edx], eax
pop es
add eax, dword [edi]
add al, 5
pop es
push es
pop es
pop es
pop es
pop es
pop es
pop es
pop es
add eax, -381972378
inc edi
add byte [eax - 0x51ffb817], bl
jmp 0xe95aeb7d
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 1
add dword [edx], eax
add ecx, dword [edi]
pop ds
add byte [ebx - 0x53ffb816], al
ljmp 0x47
inc edi
add bl, dl
ljmp 0x81ec
push ebp
mov ebp, esp
invalid