Function at 0x483660
Capabilities:
Check if file exists
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5bd344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5e939c]
mov ecx, dword [0x5e9d90]
mov dword [ebp - 0x210], 0
push ebx
push esi
push edi
test eax, eax
je 0x483697
test ecx, ecx
je 0x483c19
cmp dword [0x5e9fac], 0
jne 0x483c19
cmp dword [0x5e95c0], 0
jne 0x483c19
cmp dword [0x5e9b80], 0
jne 0x483c19
mov edx, dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_SearchPathW]
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
mov dword [ebp - 0x214], edx
test ecx, ecx
je 0x48396b
mov ecx, dword [0x5e95a8]
test ecx, ecx
je 0x48396b
push ecx
call edx
mov ecx, dword [0x5e95a8]
shr eax, 1
mov edx, eax
call fcn.00474b70
push dword [0x5e95a8]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x483799
push 0x104
push 0x5e97f8
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [0x5e95a8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x4837b7
push 0
push eax
push 0x104
push 0
push dword [0x5e95a8]
push 0
call esi
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x4837b7
push 0x104
push 0x5e97f8
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [0x5e95a8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x4837b1
push 0
push eax
push 0x104
push 0
push dword [0x5e95a8]
push 0
call esi
test eax, eax
je 0x4837c0
lea eax, [ebp - 0x20c]
push eax
push dword [0x5e95a8]
call edi
mov ecx, dword [0x5e95a8]
call fcn.00474bc0
lea eax, [ebp - 0x210]
push eax
push 0x483560
call ebx
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x483966
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x483c01
push dword [ebp - 0x210]
mov esi, 0x34
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x483819
push 9
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_ShowWindowAsync]
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x483857
push 0x203
push 0
push 0x400
push dword [ebp - 0x210]
call ebx
push 0x202
push 0
push 0x400
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x5e95b8]
test eax, eax
je 0x48387a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax*2 + 0x36]
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [0x5e9b70]
mov esi, eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x10], 0
mov dword [esi + 8], ecx
test ecx, ecx
je 0x4838cc
mov eax, dword [0x5e95b8]
test eax, eax
je 0x4838cc
push eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x19
lea eax, [esi + eax*2]
push eax
call edi
mov dword [esi + 0xc], 0xffffffff
jmp 0x4838d4
mov eax, dword [0x5e9fb4]
mov dword [esi + 0xc], eax
cmp dword [0x5e9a4c], 0
mov eax, dword [0x5e9b8c]
mov dword [esi + 0x14], eax
mov eax, dword [0x5e97f0]
mov dword [esi + 0x18], eax
mov eax, dword [0x5e8f84]
mov dword [esi + 0x1c], eax
je 0x4838fc
call fcn.00467540
jmp 0x4838ff
or eax, 0xffffffff
mov dword [esi + 0x20], eax
mov eax, dword [0x5e9b78]
mov dword [esi + 0x24], eax
mov eax, dword [0x5e8f80]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
push esi
mov dword [ebp - 0x220], 0xfb10
call dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x4a
push dword [ebp - 0x210]
mov dword [ebp - 0x218], esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e93d
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5e939c]
test eax, eax
jne 0x483c19
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x210]
push eax
push 0x4834c0
call ebx
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x483c19
push eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x483c01
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4839c2
push 9
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_ShowWindowAsync]
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x228], ebx
test eax, eax
jne 0x483a06
push 0x203
push 0
push 0x400
push dword [ebp - 0x210]
call ebx
push 0x202
push 0
push 0x400
push dword [ebp - 0x210]
call ebx
push dword [ebp - 0x210]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x5e95a8]
test eax, eax
je 0x483950
push eax
call dword [ebp - 0x214]
mov ecx, dword [0x5e95a8]
shr eax, 1
mov edx, eax
call fcn.00474b70
push dword [0x5e95a8]
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x483a86
push 0x104
push 0x5e97f8
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push dword [0x5e95a8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x20c]
jne 0x483aa4
push 0
push eax
push 0x104
push 0
push dword [0x5e95a8]
push 0
call esi
test eax, eax
je 0x483aad
lea eax, [ebp - 0x20c]
push eax
push dword [0x5e95a8]
call edi
push dword [0x5e95a8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
call ebx
lea esi, [eax*2 + 0x36]
mov eax, dword [0x5e95b8]
test eax, eax
je 0x483ad4
push eax
call ebx
lea esi, [esi + eax*2]
add esi, 2
push 0x5e9a58
call ebx
mov dword [ebp - 0x224], eax
test eax, eax
je 0x483aeb
lea esi, [esi + eax*2]
add esi, 2
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push dword [0x5e95a8]
mov esi, eax
lea eax, [esi + 0x30]
mov dword [esi], 1
push eax
call edi
mov ecx, dword [0x5e95dc]
mov eax, dword [0x5e9b70]
mov dword [esi + 4], ecx
mov ecx, dword [0x5e9b58]
mov dword [esi + 0x10], ecx
mov dword [esi + 8], eax
test eax, eax
je 0x483b48
mov eax, dword [0x5e95b8]
test eax, eax
je 0x483b48
push eax
lea eax, [esi + 0x30]
push eax
call ebx
add eax, 0x19
lea eax, [esi + eax*2]
push eax
call edi
mov dword [esi + 0xc], 0xffffffff
jmp 0x483b50
mov eax, dword [0x5e9fb4]
mov dword [esi + 0xc], eax
cmp dword [0x5e9a4c], 0
mov eax, dword [0x5e9b8c]
mov dword [esi + 0x14], eax
mov eax, dword [0x5e97f0]
mov dword [esi + 0x18], eax
mov eax, dword [0x5e8f84]
mov dword [esi + 0x1c], eax
je 0x483b78
call fcn.00467540
jmp 0x483b7b
or eax, 0xffffffff
cmp dword [ebp - 0x224], 0
mov dword [esi + 0x20], eax
mov eax, dword [0x5e9b78]
mov dword [esi + 0x24], eax
mov eax, dword [0x5e8f80]
mov dword [esi + 0x28], eax
je 0x483bb2
push 0x5e9a58
lea eax, [esi + 0x30]
push eax
call ebx
add eax, 0x19
lea eax, [esi + eax*2]
push eax
call edi
mov eax, 1
jmp 0x483bb4
xor eax, eax
mov dword [esi + 0x2c], eax
push esi
mov dword [ebp - 0x220], 0xfb10
call dword [ebp - 0x214]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x4a
push dword [ebp - 0x210]
mov dword [ebp - 0x218], esi
call dword [ebp - 0x228]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [0x5e95a8]
call esi
jmp 0x483950
push 0xc355
push 2
call fcn.00458d80
add esp, 8
cmp eax, 6
jne 0x483950
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e93d
mov esp, ebp
pop ebp
ret