Function at 0x402a50
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41fcdb
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x42a21c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x930], eax
mov dword [ebp - 0x944], 0x42047c
mov dword [ebp - 0x938], 0x420644
mov dword [ebp - 0x934], 0x420648
mov eax, dword [ebp + 8]
mov dword [ebp - 0x93c], eax
cmp dword [ebp + 8], 0
je 0x402c13
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f970
add esp, 4
test eax, eax
je 0x402c13
mov edx, dword [ebp + 8]
push edx
call fcn.0040f970
add esp, 4
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x92c], edx
mov eax, dword [ebp - 0x92c]
cmp eax, dword [ebp + 8]
jb 0x402bfd
push 0x42064c
mov ecx, dword [ebp - 0x92c]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
je 0x402b2f
mov edx, dword [ebp - 0x92c]
add edx, 2
push edx
call fcn.0040e4a3
add esp, 4
mov dword [ebp - 0x944], eax
mov eax, dword [ebp - 0x92c]
mov byte [eax], 0
push 0x420650
mov ecx, dword [ebp - 0x92c]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
je 0x402b68
mov edx, dword [ebp - 0x92c]
add edx, 2
push edx
call fcn.0040e4a3
add esp, 4
mov dword [ebp - 0x938], eax
mov eax, dword [ebp - 0x92c]
mov byte [eax], 0
push 0x420654
mov ecx, dword [ebp - 0x92c]
push ecx
call fcn.00401320
add esp, 8
test eax, eax
je 0x402bb0
mov edx, dword [ebp - 0x92c]
add edx, 2
push edx
call fcn.0040e4a3
add esp, 4
mov dword [ebp - 0x934], eax
mov eax, dword [ebp - 0x92c]
sub eax, 1
mov dword [ebp - 0x92c], eax
mov ecx, dword [ebp - 0x92c]
mov byte [ecx], 0
push 0x420658
mov edx, dword [ebp - 0x92c]
push edx
call fcn.00401320
add esp, 8
test eax, eax
je 0x402be9
mov eax, dword [ebp - 0x92c]
add eax, 2
push eax
call fcn.0040e4a3
add esp, 4
mov dword [ebp - 0x93c], eax
mov ecx, dword [ebp - 0x92c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x92c]
sub edx, 1
mov dword [ebp - 0x92c], edx
jmp 0x402ae7
mov eax, dword [ebp - 0x93c]
push eax
push 0x42abf0
call fcn.0040f870
add esp, 8
jmp 0x402c7c
lea ecx, [ebp - 0x31c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x31c]
push edx
lea eax, [ebp - 0x704]
push eax
call fcn.0040f870
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x704]
push ecx
mov edx, dword [ebp - 0x930]
push edx
lea ecx, [ebp - 0x924]
call fcn.004032e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x924]
call fcn.004034b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x924]
call fcn.00402260
push 0x42abf0
call fcn.0040f970
add esp, 4
test eax, eax
jne 0x402c94
push 1
call fcn.00410999
push 0x42abf0
lea eax, [ebp - 0x114]
push eax
call fcn.0040f870
add esp, 8
push 0x420590
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040f880
add esp, 8
push str.nponflow.dll
lea edx, [ebp - 0x114]
push edx
call fcn.0040f880
add esp, 8
push 0x76
lea eax, [ebp - 0x114]
push eax
call fcn.00402690
add esp, 8
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402cfc
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.00410999
push 0x42abf0
lea edx, [ebp - 0x218]
push edx
call fcn.0040f870
add esp, 8
push 0x420590
lea eax, [ebp - 0x218]
push eax
call fcn.0040f880
add esp, 8
push str.onflowplayer0.dll
lea ecx, [ebp - 0x218]
push ecx
call fcn.0040f880
add esp, 8
push 0x77
lea edx, [ebp - 0x218]
push edx
call fcn.00402690
add esp, 8
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402d64
mov eax, dword [ebp - 0x928]
push eax
call fcn.00410999
lea ecx, [ebp - 0xa5c]
call fcn.00407dd0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x9a0], ecx
lea edx, [ebp - 0x9a0]
push edx
lea ecx, [ebp - 0xa5c]
call fcn.00407e80
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402daf
mov eax, dword [ebp - 0x928]
push eax
call fcn.00410999
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0x99c], str.type
mov eax, 4
shl eax, 0
mov dword [ebp + eax - 0x99c], str.width
mov ecx, 4
shl ecx, 1
mov dword [ebp + ecx - 0x99c], str.height
mov edx, 4
imul eax, edx, 3
mov dword [ebp + eax - 0x99c], 0x420437
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0x98c], 0x4202e4
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x934]
mov dword [ebp + eax - 0x98c], ecx
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 0x938]
mov dword [ebp + edx - 0x98c], eax
mov ecx, 4
imul edx, ecx, 3
mov dword [ebp + edx - 0x98c], 0x420437
lea eax, [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00407fc0
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402e76
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.00410999
mov edx, dword [ebp - 0x930]
push edx
call fcn.00403100
add esp, 4
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402ea0
mov eax, dword [ebp - 0x928]
push eax
call fcn.00410999
lea ecx, [ebp - 0x9a0]
push ecx
mov edx, dword [ebp - 0x930]
push edx
call fcn.00402910
add esp, 8
mov dword [ebp - 0x940], eax
cmp dword [ebp - 0x940], 0
jne 0x402ecc
push 7
call fcn.00410999
mov eax, dword [ebp - 0x934]
push eax
call fcn.00410c80
add esp, 4
mov dword [ebp - 0x948], eax
mov ecx, dword [ebp - 0x938]
push ecx
call fcn.00410c80
add esp, 4
mov dword [ebp - 0x94c], eax
mov edx, dword [ebp - 0x940]
mov dword [ebp - 0x97c], edx
mov dword [ebp - 0x978], 0
mov eax, dword [ebp - 0x948]
mov dword [ebp - 0x970], eax
mov ecx, dword [ebp - 0x94c]
mov dword [ebp - 0x96c], ecx
mov dword [ebp - 0x960], 1
lea edx, [ebp - 0x9a0]
push edx
lea ecx, [ebp - 0xa5c]
call fcn.00408080
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402f5b
mov eax, dword [ebp - 0x928]
push eax
call fcn.00410999
lea ecx, [ebp - 0x9a0]
push ecx
lea ecx, [ebp - 0xa5c]
call fcn.00407f50
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402f88
mov edx, dword [ebp - 0x928]
push edx
call fcn.00410999
lea eax, [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0xa5c]
call fcn.00408130
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402fb5
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.00410999
lea edx, [ebp - 0x9a0]
push edx
mov eax, dword [ebp - 0x944]
push eax
call fcn.00410c80
add esp, 4
add eax, 0x12c
push eax
mov ecx, dword [ebp - 0x930]
push ecx
call fcn.004031b0
add esp, 0xc
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x402ffb
mov edx, dword [ebp - 0x928]
push edx
call fcn.00410999
lea eax, [ebp - 0x9a0]
push eax
lea ecx, [ebp - 0xa5c]
call fcn.004080e0
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x403028
mov ecx, dword [ebp - 0x928]
push ecx
call fcn.00410999
lea edx, [ebp - 0x9a0]
push edx
lea ecx, [ebp - 0xa5c]
call fcn.00407e40
mov dword [ebp - 0x928], eax
cmp dword [ebp - 0x928], 0
je 0x403055
mov eax, dword [ebp - 0x928]
push eax
call fcn.00410999
push 0x3e7
mov ecx, dword [ebp - 0x930]
push ecx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [ebp - 0x950], eax
push 0
push 0
push 0
lea edx, [ebp - 0x9bc]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4030bf
lea eax, [ebp - 0x9bc]
push eax
mov ecx, dword [ebp - 0x950]
push ecx
mov edx, dword [ebp - 0x9bc]
push edx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x4030bd
lea eax, [ebp - 0x9bc]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x9bc]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40306d
lea ecx, [ebp - 0xa5c]
call fcn.004080c0
push 0
call fcn.00410999
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa5c]
call fcn.00407de0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040af7c
mov esp, ebp
pop ebp
ret