Function at 0x408910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2434
call fcn.00413c30
mov eax, dword [0x44032c]
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1e34]
cmp eax, 0xffffffff
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x2428], ebx
mov dword [ebp - 4], esi
mov dword [ebx + 0x1e20], esi
mov dword [ebx + 0x1e24], esi
je 0x408974
mov eax, dword [ebx + 0x1e30]
lea ecx, [ebx + 0x1e30]
call dword [eax + 0x4c]
cmp word [ebx], si
je 0x408997
cmp byte [ebx + 0x1e29], 1
jne 0x408997
push ebx
call dword [0x4312d8]
jmp 0x408997
mov cl, byte [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov dl, byte [ebp + 0x1c]
mov byte [ebx + 0x1e28], cl
mov dword [ebx + 0x1e1c], eax
mov word [ebp - 0x424], 0
xor eax, eax
push 0
mov ecx, 0x81
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
push 0x1a
lea ecx, [ebp - 0x424]
push ecx
push 0
mov byte [ebx + 0x1e29], dl
mov dword [ebp - 4], 2
stosw word es:[edi], ax
call dword [0x431360]
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp + 0x1c]
call fcn.00402b70
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.004028c0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x408b04
push str..rar
push eax
call fcn.004139fd
add esp, 8
test eax, eax
je 0x408b04
sub eax, dword [ebp + 0x1c]
sar eax, 1
cmp eax, 0xffffffff
je 0x408b04
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp + 0x18]
call fcn.00402b70
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx - 0xc]
test eax, eax
mov byte [ebp - 4], 4
jl 0x408ac1
push 0x43295c
push ecx
call fcn.004139fd
add esp, 8
test eax, eax
je 0x408abe
mov ecx, dword [ebp + 0x18]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x408ac1
push eax
lea ecx, [ebp + 0x14]
push ecx
lea ecx, [ebp + 0x18]
call fcn.004087d0
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 5
call fcn.00404c20
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408aa3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str..rar
call fcn.00413baa
add esp, 4
push eax
push str..rar
lea ecx, [ebp + 0x18]
call fcn.00408830
mov ecx, dword [ebp + 0x18]
push ecx
push str.AWGYGame
lea eax, [ebp - 0x424]
push eax
push str._s_s_s
push 0x104
push ebx
call fcn.00413bc0
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
add esp, 0x18
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x408b27
mov eax, dword [ebp + 0x10]
push eax
push str.AWGYGame
lea ecx, [ebp - 0x424]
push ecx
push str._s_s_s
push 0x104
push ebx
call fcn.00413bc0
add esp, 0x18
xor eax, eax
xor esi, esi
mov word [ebp - 0x21c], si
mov ecx, 0x81
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
push str.AWGYGame
lea edx, [ebp - 0x424]
push edx
push str._s_s
stosw word es:[edi], ax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call fcn.00413bc0
mov edi, dword [0x4312bc]
add esp, 0x14
lea esp, [esp]
mov ax, word [ebp + esi*2 - 0x21c]
test ax, ax
jne 0x408f13
push 0
lea ecx, [ebp - 0x21c]
push ecx
call edi
push ebx
call dword [0x4312d8]
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408bb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0xc]
mov edi, dword [0x4312ec]
push 0x104
push eax
lea ecx, [ebx + 0x410]
push ecx
call edi
mov edx, dword [ebp + 0x10]
push 0x104
push edx
lea eax, [ebx + 0x208]
push eax
call edi
xor esi, esi
mov dword [ebx + 0x1e20], esi
mov dword [ebx + 0x1e24], esi
mov dword [ebp - 4], 7
call fcn.00425edf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 8
call fcn.00425edf
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp + 0x1c]
push edx
lea eax, [ebp + 0xc]
push eax
push ecx
mov byte [ebp - 4], 9
call fcn.0042bae7
cmp eax, esi
je 0x408c62
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.004084e0
test al, al
je 0x408c62
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push eax
push ecx
mov ecx, ebx
call fcn.00408660
test al, al
jne 0x408cc1
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408c83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408ca4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004136ab
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebx + 0x1e40]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], esi
call fcn.0042b1bf
cmp dword [ebp + 0x10], 0xc8
je 0x408cf7
push 0x43a4ec
lea ecx, [ebp - 0x2430]
push ecx
mov dword [ebp - 0x2430], 4
call fcn.00413f2b
mov ecx, dword [ebx + 0x1e40]
mov edx, dword [ecx]
push 0x2000
lea eax, [ebp - 0x2424]
push eax
call dword [edx + 0x34]
push str._html_
mov dword [ebp + 8], eax
call dword [0x4312e4]
lea ecx, [eax + eax + 2]
lea edi, [ebp - 0x2424]
mov esi, str._html_
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x408d48
push 0x439f9c
lea eax, [ebp - 0x2434]
push eax
mov dword [ebp - 0x2434], edx
call fcn.00413f2b
push str.__DOCTYPE_HTML_PUBLIC
call dword [0x4312e4]
lea ecx, [eax + eax + 2]
lea edi, [ebp - 0x2424]
mov esi, str.__DOCTYPE_HTML_PUBLIC
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x408d7f
push 0x439f9c
lea eax, [ebp - 0x243c]
push eax
mov dword [ebp - 0x243c], edx
call fcn.00413f2b
mov ecx, dword [ebx + 0x1e40]
push 0
lea eax, [ebx + 0x1e24]
push eax
push 0x20000005
call fcn.0042b198
test eax, eax
jne 0x408db7
push 0x43a4ec
lea ecx, [ebp - 0x2438]
push ecx
mov dword [ebp - 0x2438], 4
call fcn.00413f2b
mov edx, dword [ebx + 0x1e30]
push 0
lea esi, [ebx + 0x1e30]
push 0x1002
push ebx
mov ecx, esi
call dword [edx + 0x20]
test eax, eax
jne 0x408def
push 0x43a4ec
lea eax, [ebp - 0x242c]
push eax
mov dword [ebp - 0x242c], 3
call fcn.00413f2b
mov edi, dword [ebp + 8]
mov edx, dword [esi]
push edi
lea eax, [ebp - 0x2424]
push eax
mov ecx, esi
call dword [edx + 0x38]
add dword [ebx + 0x1e20], edi
push 2
mov ecx, ebx
call fcn.00407fd0
lea ecx, [ebp + 0x18]
call fcn.00402140
lea ecx, [ebp + 0x1c]
call fcn.00402140
mov al, 1
jmp 0x408ca6
cmp ax, 0x5c
jne 0x408f38
push 0
lea eax, [ebp - 0x21c]
push eax
mov word [ebp + esi*2 - 0x21c], 0
call edi
mov word [ebp + esi*2 - 0x21c], 0x5c
inc esi
jmp 0x408b70