Function at 0x439bd0
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x439bd9
mov eax, dword [ebp - 4]
add esp, 0xfffff884
push ebx
push esi
push edi
mov esi, eax
mov edi, 0x4ae7e4
mov eax, 0x49d89c
call fcn.0048d8c4
lea edx, [edi + 0x810]
push edx
lea ecx, [ebp - 0x520]
push ecx
call fcn.0048d424
mov byte [edi + 0x810], 0
xor eax, eax
add esp, 8
mov al, byte [ebp - 0x520]
cmp eax, 0x3f
jne 0x439d2d
lea ebx, [ebp - 0x51f]
cmp byte [ebx], 0
je 0x439c40
push ebx
call fcn.0048ee28
pop ecx
cmp dword [esi + 0x104], 1
jbe 0x439cbb
mov word [ebp - 0x10c], 8
lea eax, [ebp - 0xf8]
call fcn.0040eedc
add dword [ebp - 0x100], 4
mov word [ebp - 0x10c], 0x14
lea edx, [ebp - 0xf8]
mov eax, esi
call fcn.0043a5ea
push 0
push 0
cmp byte [ebx], 0
lea ecx, [ebp - 0xf8]
sete dl
and edx, 1
mov al, 1
push edx
xor edx, edx
push 1
call fcn.00448ff8
sub dword [ebp - 0x100], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0040eff8
mov word [ebp - 0x10c], 0
jmp 0x439d1c
cmp dword [esi + 0x104], 1
jne 0x439cea
lea ecx, [ebp - 0x1150]
xor edx, edx
mov eax, esi
call fcn.004650ec
lea edx, [ebp - 0x1150]
lea eax, [edi + 0x42d8]
add edx, 0x400
call fcn.0040f9f8
push 1
push 0
lea ecx, [edi + 0x42d8]
lea edx, [edi + 0x3ed8]
mov eax, 0x4ba55c
call fcn.0045bc70
dec eax
jne 0x439d1c
cmp byte [ebx], 0
mov al, 1
sete cl
and ecx, 1
xor edx, edx
push ecx
mov cl, 1
call fcn.00448c18
mov eax, dword [ebp - 0x11c]
mov dword fs:[0], eax
jmp 0x439fc3
xor ebx, ebx
mov bl, byte [edi + 0x32a8]
push ebx
call fcn.00491378
pop ecx
cmp eax, 0x45
jne 0x439d4b
mov dword [edi + 0x20c0], 2
xor ebx, ebx
mov bl, byte [edi + 0x32a8]
push ebx
call fcn.00491378
pop ecx
cmp eax, 0x54
sete al
and eax, 1
mov byte [edi + 0x21b6], al
cmp byte [ebp - 0x520], 0
je 0x439d92
lea edx, [ebp - 0x1550]
push edx
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x520]
xor ecx, ecx
xor edx, edx
call fcn.00409cac
call fcn.0044a49c
mov dword [ebp - 0x120], eax
xor ebx, ebx
jmp 0x439f2a
mov eax, dword [edi + 0x4ae4]
call fcn.0040f074
lea ecx, [ebp - 0x2180]
mov edx, ebx
mov eax, esi
call fcn.004650ec
push 0x3ff
lea edx, [ebp - 0x2180]
push edx
lea ecx, [edi + 0x3ed8]
push ecx
call fcn.0048d674
add esp, 0xc
lea edx, [ebp - 0x1d80]
lea eax, [edi + 0x42d8]
mov ecx, 0x3ff
call fcn.0040fa10
mov eax, dword [ebp - 0x1554]
mov dword [edi + 0x2a90], eax
cmp byte [edi + 0x3ed8], 0
jne 0x439e12
cmp word [edi + 0x42d8], 0
je 0x439f29
lea eax, [edi + 0x3ed8]
call fcn.0040b590
push eax
cmp byte [edi + 0x21b6], 0
je 0x439e2e
mov eax, 0x20b
jmp 0x439e33
mov eax, 0x20a
call fcn.004117b8
push eax
lea edx, [ebp - 0x2780]
push edx
call fcn.004902f4
add esp, 0xc
lea eax, [ebp - 0x2780]
call fcn.004775b4
call fcn.00476b3c
cmp byte [edi + 0x21b6], 0
jne 0x439e99
cmp byte [ebp - 0x520], 0
je 0x439e99
lea edx, [ebp - 0x520]
push edx
call fcn.0048ee28
pop ecx
inc eax
jne 0x439e99
lea ecx, [ebp - 0x520]
mov eax, 0x1f7
push ecx
call fcn.004117b8
push eax
call fcn.0044a23c
add esp, 8
jmp 0x439f3f
push 1
push 0
lea ecx, [ebp - 0x1d80]
lea edx, [ebp - 0x2180]
mov eax, 0x4ba55c
call fcn.0045bc70
cmp byte [edi + 0x21b6], 0
je 0x439eed
cmp byte [edi + 0x3297], 0
je 0x439eed
mov eax, 0x4ba55c
call fcn.00458f50
test al, 1
jne 0x439eed
mov eax, 0x3ac
call fcn.004117b8
push eax
lea edx, [ebp - 0x2180]
push edx
call fcn.00444944
add esp, 8
mov eax, 0x4ba55c
xor ecx, ecx
mov dl, byte [edi + 0x3295]
call fcn.004586e0
lea eax, [ebp - 0x1550]
push eax
call fcn.0048ee28
pop ecx
mov eax, dword [ebp - 0x1580]
mov edx, dword [ebp - 0x157c]
add dword [0x4bcaf8], eax
adc dword [0x4bcafc], edx
call fcn.004778c0
inc ebx
cmp ebx, dword [esi + 0x104]
jae 0x439f3f
cmp dword [0x4bc1ac], 0
je 0x439da4
call fcn.0044a49c
cmp eax, dword [ebp - 0x120]
jne 0x439f5e
cmp dword [0x4bc1b0], 0
jne 0x439f5e
cmp dword [0x4bc1ac], 0
je 0x439f62
xor eax, eax
jmp 0x439f67
mov eax, 1
cmp byte [edi + 0x21b6], 0
je 0x439fb6
cmp byte [edi + 0x3297], 0
je 0x439fb6
test al, al
je 0x439fb6
cmp dword [0x4b9824], 0
je 0x439fb6
push 0
push dword [0x4b9824]
call sub.USER32.DLL_ShowWindow
push 0x40
mov eax, 0x3a7
call fcn.004117b8
push eax
mov eax, 0x3a8
call fcn.004117b8
push eax
push dword [0x4b9818]
call sub.USER32.DLL_MessageBoxA
mov edx, dword [ebp - 0x11c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret