Function at 0x471000
Capabilities:
Create process on windows
Get common file path
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2a0
push ebx
push ebp
push esi
lea eax, [esp + 0x60]
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x50], ebx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push ebp
push 0x101f
push ecx
call edi
lea edx, [esp + 0x7c]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
push eax
lea edx, [esp + 0x80]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47106c
mov ecx, ebx
call fcn.00473040
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret 0x10
mov esi, dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [esp + 0x50], ebp
call esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], ebp
call esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], ebp
call esi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x64]
lea edx, [esp + 0x64]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 4]
push edx
push eax
mov dword [esp + 0x88], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edx, edx
mov eax, dword [esp + 0x64]
mov ecx, dword [0x4d9540]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x8c], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], edx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
push ebp
push 0x1012
push eax
mov dword [esp + 0xa0], ecx
call edi
cmp eax, 0xffffffff
jne 0x471181
mov ecx, dword [esp + 0x2c0]
mov eax, dword [esp + 0x2c]
mov dword [ecx], ebp
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x471141
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x471141
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
cmp dword [esp + 0x20], ebp
je 0x471150
lea ecx, [esp + 0x20]
call fcn.0040e7f0
cmp dword [esp + 0x5c], ebp
je 0x47115f
lea ecx, [esp + 0x5c]
call fcn.0040e7f0
cmp dword [esp + 0x50], ebp
je 0x472031
lea ecx, [esp + 0x50]
call fcn.0040e7f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2a0
ret 0x10
mov ecx, dword [ebx + 0x84]
mov eax, dword [ecx + eax*4]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0xc]
cmp edx, ebp
mov dword [esp + 0x38], ecx
je 0x4711a9
mov dword [esp + 0x38], 1
jmp 0x4711b3
cmp ecx, ebp
je 0x4717a6
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x28], 0x80ba
mov eax, dword [0x4d9540]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
push 0x4da88c
push ecx
call fcn.00401a70
lea edx, [esp + 0x84]
push 0x194
push edx
call fcn.0048eb30
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 0x14
mov eax, dword [esi]
cmp ecx, eax
je 0x471245
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x471215
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x47121c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x47122c
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x471245
lea ecx, [esp + 0x10]
call fcn.0040e950
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x78]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471274
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x471274
mov edx, dword [esp + 0x78]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, 0x4d9b84
test eax, eax
mov dword [esp + 0x6c], esi
je 0x471428
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
test ebx, ebx
je 0x471428
test esi, esi
jne 0x4712a4
mov dword [esp + 0x18], esi
jmp 0x4712af
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x10]
xor edi, edi
mov ecx, dword [esi - 8]
lea ebp, [esi + ecx*2]
cmp esi, ebp
jae 0x471428
push 0x4d9b84
push esi
call fcn.004c546f
add esp, 8
test eax, eax
je 0x4712eb
lea esi, [eax + ebx*2]
push 0x4d9b84
push esi
inc edi
call fcn.004c546f
add esp, 8
test eax, eax
jne 0x4712d5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp esi, ebp
jb 0x4712c3
test edi, edi
jle 0x471428
lea ecx, [esp + 0x10]
call fcn.00401380
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
sub ebp, ebx
imul ebp, edi
mov eax, dword [esi - 8]
mov dword [esp + 0x24], eax
add ebp, eax
mov eax, dword [esi - 4]
mov dword [esp + 0x54], ebp
cmp eax, ebp
jl 0x471332
cmp dword [esi - 0xc], 1
jle 0x471370
lea edx, [esi - 0xc]
push ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x64], edx
call fcn.004012f0
test eax, eax
je 0x471428
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x10]
push eax
mov ecx, dword [eax + 4]
shl ecx, 1
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00401350
mov esi, dword [esp + 0x10]
mov eax, dword [esi - 8]
lea eax, [esi + eax*2]
cmp esi, eax
mov dword [esp + 0x44], eax
jae 0x471425
push 0x4d9b84
push esi
call fcn.004c546f
mov edi, eax
add esp, 8
test edi, edi
je 0x47140a
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ecx, edi
sub ecx, eax
mov eax, dword [esp + 0x24]
sar ecx, 1
sub eax, ecx
lea esi, [edx + edx]
sub eax, ebx
lea ecx, [edi + ebx*2]
lea ebp, [eax + eax]
lea eax, [esi + edi]
push ebp
push ecx
push eax
mov dword [esp + 0x6c], eax
call fcn.004c5570
mov ecx, esi
mov esi, dword [esp + 0x78]
mov edx, ecx
mov eax, dword [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
sub eax, ebx
and ecx, 3
push 0x4d9b84
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x70]
push esi
mov word [esi + ebp], 0
mov ebp, dword [esp + 0x38]
add ebp, eax
mov dword [esp + 0x38], ebp
call fcn.004c546f
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x471396
mov ebp, dword [esp + 0x54]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
mov eax, dword [esp + 0x44]
cmp esi, eax
jb 0x471382
mov esi, dword [esp + 0x10]
mov dword [esi - 8], ebp
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x4714d4
lea ecx, [esp + 0x70]
push 0x191
push ecx
call fcn.0048eb30
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x471496
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x471466
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x47146d
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x47147d
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x471496
lea ecx, [esp + 0x10]
call fcn.0040e950
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x70]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4716c4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716ca
mov edx, dword [esp + 0x70]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x4716ca
cmp ebx, 1
jne 0x47157d
lea eax, [esp + 0x74]
push 0x192
push eax
call fcn.0048eb30
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x47153f
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x47150f
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x471516
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x471526
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x47153f
lea ecx, [esp + 0x10]
call fcn.0040e950
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x74]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4716c4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716ca
mov eax, dword [esp + 0x74]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
jmp 0x4716ca
cmp ebx, 3
jne 0x471626
lea ecx, [esp + 0x58]
push 0x193
push ecx
call fcn.0048eb30
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x4715e8
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4715b8
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4715bf
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4715cf
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x4715e8
lea ecx, [esp + 0x10]
call fcn.0040e950
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x58]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4716c4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716ca
mov edx, dword [esp + 0x58]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
jmp 0x4716ca
cmp ebx, 9
jne 0x4716c4
lea eax, [esp + 0x34]
push 0x195
push eax
call fcn.0048eb30
mov ecx, dword [esp + 0x18]
mov esi, eax
add esp, 8
mov eax, dword [esi]
cmp ecx, eax
je 0x471691
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x471661
mov edx, dword [0x4d9544]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x471668
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x471678
mov ecx, dword [eax - 8]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00401630
jmp 0x471691
lea ecx, [esp + 0x10]
call fcn.0040e950
mov esi, dword [esi]
mov dword [esp + 0x10], esi
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x34]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4716c4
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4716ca
mov eax, dword [esp + 0x34]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
jmp 0x4716ca
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
push ecx
push edi
push 0
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4d9544]
inc ebx
lea ecx, [eax - 0xc]
mov dword [esp + 0x14], ebx
cmp ecx, edx
je 0x471711
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471711
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47173c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x47173c
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
inc edi
cmp edi, 0x80c3
mov dword [esp + 0x28], edi
jle 0x4711bf
lea eax, [esp + 0x28]
push 0x190
push eax
call fcn.0048eb30
mov eax, dword [eax]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
add esp, 8
push eax
push ecx
push 0x410
push edx
call dword [sym.imp.USER32.dll_AppendMenuW]
mov eax, dword [esp + 0x28]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4717a6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4717a6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x40]
mov ecx, dword [0x4d9540]
mov esi, dword [eax + 8]
mov dword [esp + 0x30], ecx
test esi, esi
je 0x4717d2
mov edx, esi
shr edx, 0x10
jne 0x47182c
and esi, 0xffff
lea ecx, [esp + 0x30]
push esi
call fcn.0040ff70
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
push 0
push ecx
lea ecx, [esp + 0xa8]
call fcn.004ad550
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 8]
push eax
call fcn.0046aba0
mov ecx, dword [0x4d9540]
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], ecx
test esi, esi
je 0x4718a5
mov edx, esi
shr edx, 0x10
jne 0x47186b
and esi, 0xffff
lea ecx, [esp + 0x3c]
push esi
call fcn.0040ff70
jmp 0x4718a5
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4717d2
push edi
lea ecx, [esp + 0x34]
call fcn.004012f0
test eax, eax
je 0x4717d2
lea ecx, [edi + edi]
mov edi, dword [esp + 0x30]
mov eax, ecx
mov ebp, dword [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4717dc
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
je 0x4718a5
push edi
lea ecx, [esp + 0x40]
call fcn.004012f0
test eax, eax
je 0x4718a5
lea ecx, [edi + edi]
mov edi, dword [esp + 0x3c]
mov eax, ecx
mov ebp, dword [esp + 0x4c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
push 0x3f9
push ecx
call fcn.0048eb30
lea edx, [esp + 0x3c]
push 0x3fe
push edx
call fcn.0048eb30
lea eax, [esp + 0x38]
push 0x3f8
push eax
call fcn.0048eb30
mov eax, dword [esp + 0x50]
add esp, 0x18
test eax, eax
je 0x471a02
mov ecx, dword [0x4d9540]
mov edx, 0x4db54c
test edx, edx
mov dword [esp + 0x14], ecx
jne 0x4718fe
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor eax, eax
jmp 0x47190b
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x4db54c
call edi
push 0x4db54c
push eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004017b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401200
lea ecx, [esp + 0x14]
call fcn.004014c0
mov edx, dword [0x4d9540]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x34]
call fcn.004017b0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
push edx
call fcn.00401200
lea ecx, [esp + 0x24]
call fcn.004014c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push 0x1bc
push 0x400
push ecx
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4719bf
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4719c5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
jmp 0x4719c5
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4719f0
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4719f0
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x20]
push 0
push 0
push 0xc00
push eax
call ebx
jmp 0x471a0e
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [0x4d9540]
mov edx, 0x4db54c
test edx, edx
mov dword [esp + 0x14], ecx
jne 0x471a25
xor eax, eax
jmp 0x471a2c
push 0x4db54c
call edi
push 0x4db54c
push eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [eax - 8]
push eax
call fcn.004017b0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401200
lea ecx, [esp + 0x14]
call fcn.004014c0
mov edx, dword [0x4d9540]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x34]
call fcn.004017b0
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
push edx
call fcn.00401200
lea ecx, [esp + 0x24]
call fcn.004014c0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push eax
push 0x1bd
push 0x400
push ecx
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4d9544]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x471ad8
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471ad8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff4
push eax
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471b03
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471b03
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [0x4d9540]
mov ecx, 0x4db54c
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x471b19
xor eax, eax
jmp 0x471b20
push 0x4db54c
call edi
push 0x4db54c
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
mov edx, dword [eax - 8]
push edx
call fcn.004017b0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.00401200
lea ecx, [esp + 0x14]
call fcn.004014c0
mov ecx, dword [0x4d9540]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
push eax
mov edx, dword [eax - 8]
mov eax, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [eax - 8]
lea ecx, [esp + 0x30]
push eax
call fcn.004017b0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00401200
lea ecx, [esp + 0x24]
call fcn.004014c0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
push edx
push 0x1167
push 0x400
push eax
call ebx
mov eax, dword [esp + 0x1c]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471bcc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471bcc
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x4d9544]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x471bf7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x471bf7
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.004c5432
add esp, 4
mov eax, dword [esp + 0x20]
push 0
push 0
push 0xc00
push eax
call ebx
lea ecx, [esp + 0x54]
push 0x12d
push ecx
call fcn.0048eb30
mov edx, dword [0x4d9540]
mov esi, eax
mov eax, 0x4da038
add esp, 8
test eax, eax
mov dword [esp + 0x14], edx
je 0x471c35
push 0x4da038
call edi
mov ecx, dword [esi]
push 0x4da038
push eax
push ecx
mov ecx, dword [ecx - 8]
push ecx
lea ecx, [esp + 0x24]
call fcn.004017b0
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
call fcn.00401200
lea ecx, [esp + 0x14]
call fcn.004014c0
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x48]
push ecx
push edx
call fcn.0040f0a0
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x24]
push 0xe123
push 0x400
push eax
call ebx
lea ecx, [esp + 0x44]
call fcn.004014c0
lea ecx, [esp + 0x38]
call fcn.004014c0
lea ecx, [esp + 0x54]
call fcn.004014c0
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x6c]
push ecx
push 0x4da038
push 0x4954b
push edx
call fcn.0048eb30
add esp, 8
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0040f1f0
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.0040f0a0
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push edx
push 0xe120
push 0x400
call fcn.00452640
lea ecx, [esp + 0x44]
call fcn.004014c0
lea ecx, [esp + 0x54]
call fcn.004014c0
lea ecx, [esp + 0x6c]
call fcn.004014c0
lea ecx, [esp + 0x28]
call fcn.004014c0
lea ecx, [esp + 0x34]
call fcn.004014c0
lea ecx, [esp + 0x58]
call fcn.004014c0
mov eax, dword [esp + 0x20]
push 0
push 0x1bc
push eax
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
and ecx, 8
push ecx
push 0x1bb
push edx
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
call esi
mov eax, dword [ebp + 0x5e8]
mov ecx, dword [esp + 0x20]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x1ba
push ecx
call esi
mov ecx, dword [0x4eacec]
test ecx, ecx
je 0x471fbf
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
push 0
push edx
mov edx, dword [esp + 0x28]
push eax
push 0x102
push edx
call fcn.00431c10
cmp eax, 0x1ba
jne 0x471dc5
mov ecx, dword [ebp + 0x5e8]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp + 0x3258]
sete al
push ecx
mov ecx, ebp
mov dword [ebp + 0x5e8], eax
call fcn.0046e3f0
jmp 0x471fbf
cmp eax, 0x1bb
jne 0x471def
mov esi, dword [ebp + 0x30]
xor edx, edx
test esi, esi
push 0x105
push 0
sete dl
push 0
lea ecx, [ebp + 4]
mov dword [ebp + 0x30], edx
call fcn.004152c0
jmp 0x471fbf
cmp eax, 0x1bc
jne 0x471e5b
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0x4c]
call fcn.004ad550
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x471e35
push eax
lea ecx, [esp + 0x80]
call fcn.004acdc0
lea edx, [esp + 0x7c]
lea ecx, [esp + 0x44]
push edx
call fcn.00472040
lea ecx, [esp + 0x7c]
call fcn.004acdf0
lea eax, [esp + 0x44]
lea ecx, [esp + 0x48]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, ebp
mov edx, dword [eax]
push edx
call fcn.0046e3f0
lea ecx, [esp + 0x44]
call fcn.004acdf0
jmp 0x471fbf
cmp eax, 0x1bd
jne 0x471e8d
lea eax, [esp + 0x30]
lea ecx, [esp + 0x2c]
push eax
call fcn.0040ec90
mov ecx, dword [esp + 0x2c]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x471fbf
cmp eax, 0x1167
jne 0x471f9d
lea edx, [esp + 0x30]
lea ecx, [esp + 0x2c]
push edx
call fcn.0040ec90
mov eax, dword [0x4e3a2c]
mov ecx, 0x81
mov dword [esp + 0xa8], eax
xor eax, eax
lea edi, [esp + 0xac]
push 0x104
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4dac08
lea ecx, [esp + 0x48]
call fcn.0040ea20
push eax
lea edx, [esp + 0xac]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.0040f340
lea ecx, [esp + 0x44]
call fcn.004014c0
push 0x4d9c5c
push 0x4da880
lea ecx, [esp + 0x48]
call fcn.0040fcd0
push str.___e
lea ecx, [esp + 0x2c]
call fcn.004014f0
push str.__select__
lea ecx, [esp + 0x3c]
call fcn.004014f0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.0040f0a0
lea edx, [esp + 0x38]
push eax
push edx
call fcn.0040f0a0
lea ecx, [esp + 0x44]
call fcn.004014c0
lea ecx, [esp + 0x38]
call fcn.004014c0
lea ecx, [esp + 0x28]
call fcn.004014c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
push 1
push 0
push eax
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x34]
call fcn.004014c0
lea ecx, [esp + 0x40]
call fcn.004014c0
mov ebp, dword [esp + 0x4c]
jmp 0x471fbf
cmp eax, 0x3e8
jl 0x471fab
cmp eax, 0x3ec
jle 0x471fbf
test eax, eax
je 0x471fbf
push 0
push eax
push 0x111
lea ecx, [ebp + 4]
call fcn.0040d6c0
mov edx, dword [ebp + 0x30]
push 0
push edx
push str.HollowSel
push 0x4db058
call fcn.00480e00
mov eax, dword [ebp + 0x5e8]
push 0
push eax
push str.show_File
push 0x4db058
call fcn.00480e00
add esp, 0x20
lea ecx, [esp + 0x3c]
call fcn.004014c0
lea ecx, [esp + 0xa0]
call fcn.004acdf0
lea ecx, [esp + 0x30]
call fcn.004014c0
lea ecx, [esp + 0x2c]
call fcn.004014c0
lea ecx, [esp + 0x20]
call fcn.0040e020
lea ecx, [esp + 0x5c]
call fcn.0040e020
lea ecx, [esp + 0x50]
call fcn.0040e020
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2a0
ret 0x10