Function at 0x4063ce
Capabilities:
Check if file exists

Disassembly:
push 0x10
push 0x350
mov eax, 0x426300
call fcn.00408d72
mov esi, dword [ebx + 0x10]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x280]
push 0
push eax
call fcn.004034aa
pop ecx
pop ecx
push dword [eax]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x290]
call fcn.00401c7d
mov ecx, dword [ebp - 0x280]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00403e28
push dword [ebp - 0x290]
lea eax, [ebp - 0x27c]
push eax
call fcn.00403883
pop ecx
pop ecx
push dword [eax]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 3
call fcn.00401c7d
mov ecx, dword [ebp - 0x27c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 5
call fcn.00403e28
lea eax, [ebp - 0x290]
push eax
push ecx
mov ecx, esp
push 0x427588
call fcn.00401c7d
call fcn.00403b9d
pop ecx
pop ecx
push esi
lea ecx, [ebp - 0x28c]
call fcn.00401c7d
lea ecx, [ebp - 0x288]
call fcn.00401d27
push 0
mov esi, str.funplus.soc:
mov byte [ebp - 4], 7
push esi
lea ecx, [ebp - 0x28c]
call fcn.00403122
or ecx, 0xffffffff
cmp eax, ecx
je 0x406cb4
push 0x42740c
push esi
lea ecx, [ebp - 0x28c]
call fcn.00403e88
push str._paramset
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.0040537c
add esp, 0xc
mov eax, dword [ebp - 0x294]
mov byte [ebp - 4], 8
cmp dword [eax - 0xc], 0
je 0x406ca2
lea eax, [ebp - 0x294]
push eax
call fcn.004012bf
mov edx, eax
mov dword [ebp - 0x134], 0xf
pop ecx
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x148], al
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40651a
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x148]
call fcn.00404dcd
mov dword [ebp - 0x270], 0x2ea65137
mov edx, 0xa124dddf
mov dword [ebp - 0x26c], 0xa3113008
mov edi, 0x11d5655b
mov eax, dword [ebp - 0x270]
mov esi, 0xa6f87a7c
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x270], 0x19317791
mov dword [ebp - 0x26c], 0xedbf490a
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], edi
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x270], 0x9d6cc5c
mov dword [ebp - 0x26c], 0x275bbe66
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x270], 0x5df7127d
mov dword [ebp - 0x26c], 0xeb434059
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], 0x415c11da
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], 0x9d6cc5c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x26c], 0x275bbe66
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
movaps xmm1, xmmword [ebp - 0x110]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x110], xmm1
movaps xmm1, xmmword [ebp - 0x100]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x110]
pxor xmm1, xmmword [ebp - 0x40]
lea edx, [ecx + 1]
push 0xf
pop edi
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 9
movaps xmmword [ebp - 0x100], xmm1
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edi
mov byte [ebp - 0xd0], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066c3
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00404dcd
mov dword [ebp - 0x270], 0x69c4204c
mov edx, 0xa124dddf
mov dword [ebp - 0x26c], 0xd374766c
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x270], 0x233d21e3
mov dword [ebp - 0x26c], 0xc09d1e1f
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], 0x11d5655b
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x270], 0x9d6cc5c
mov dword [ebp - 0x26c], 0x275bbe66
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x270], 0x5df7127d
mov dword [ebp - 0x26c], 0xeb434059
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], 0x415c11da
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], edx
mov dword [ebp - 0x26c], 0x11d5655b
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x270], 0x9d6cc5c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x26c], 0x275bbe66
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
movaps xmm1, xmmword [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0x130], xmm1
movaps xmm1, xmmword [ebp - 0x120]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x130]
pxor xmm1, xmmword [ebp - 0x40]
lea edx, [ecx + 1]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 0xa
movaps xmmword [ebp - 0x120], xmm1
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edi
mov byte [ebp - 0xb8], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40686d
sub ecx, edx
lea eax, [ebp - 0x130]
push ecx
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404dcd
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.00404fb5
add esp, 0x10
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xd
push eax
call fcn.004012a0
mov esi, eax
pop ecx
test esi, esi
je 0x4068cf
push esi
call fcn.004110db
pop ecx
push eax
push esi
lea ecx, [ebp - 0x288]
call fcn.004041b3
mov dword [ebp - 0x270], 0x31943f50
mov edx, 0xa6f87a7c
mov dword [ebp - 0x26c], 0x88282330
mov edi, 0x7c3975b5
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0x270], 0x5df7127d
mov dword [ebp - 0x26c], 0xeb434059
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x270], 0x415c11da
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
movaps xmm1, xmmword [ebp - 0xe0]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x64], ecx
pxor xmm1, xmmword [ebp - 0x70]
push eax
movaps xmmword [ebp - 0xe0], xmm1
call fcn.004115c0
mov dword [ebp - 0x270], 0x31943f50
mov esi, eax
mov dword [ebp - 0x26c], 0x88282330
mov ecx, dword [ebp - 0x270]
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xec], edx
mov edx, 0xa6f87a7c
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x26c], edx
mov ecx, dword [ebp - 0x270]
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0x270], 0x5df7127d
mov dword [ebp - 0x26c], 0xeb434059
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x270], 0x415c11da
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x26c]
movaps xmm1, xmmword [ebp - 0xf0]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0xf0]
mov dword [esp], 0xfde9
mov dword [ebp - 0x64], ecx
pxor xmm1, xmmword [ebp - 0x70]
push esi
push eax
movaps xmmword [ebp - 0xf0], xmm1
call fcn.004042bf
add esp, 0xc
lea ecx, [ebp - 0x29c]
push eax
call fcn.00401c7d
push dword [ebp - 0x29c]
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0040537c
add esp, 0xc
mov eax, dword [ebp - 0x298]
mov byte [ebp - 4], 0xf
cmp dword [eax - 0xc], 0
je 0x406b53
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00402750
add esp, 0xc
push 0x42740c
push dword [eax]
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 0x10
call fcn.00403e88
mov ecx, dword [ebp - 0x27c]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00403e28
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
push eax
call fcn.00402ebf
add eax, 0x10
pop ecx
mov dword [ebp - 0x278], eax
push str.prefs
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x11
call fcn.00402d5c
push str.soc_global_setting.ini
lea ecx, [ebp - 0x278]
call fcn.00402d5c
mov esi, dword [ebp - 0x278]
push esi
push dword [ebp - 0x298]
push str.ad_click_code
push str.fun__settings
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [esi - 0x10]
call fcn.00403e28
mov eax, dword [ebp - 0x298]
lea ecx, [eax - 0x10]
call fcn.00403e28
mov ecx, dword [ebp - 0x29c]
lea ecx, [ecx - 0x10]
call fcn.00403e28
lea ecx, [ebp - 0x160]
call fcn.00404c08
jmp 0x406b82
mov eax, dword [ebp - 0xa4]
mov edi, 0x1000
mov dword [ebp - 4], 0xb
cmp eax, 0x10
jb 0x406bda
mov ecx, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], ecx
cmp eax, edi
jb 0x406bd1
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x274]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x278]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
cmp eax, 0x10
jb 0x406c3e
mov ecx, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], ecx
cmp eax, edi
jb 0x406c35
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x274]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x278]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0xbc], 0xf
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x406ca2
mov ecx, dword [ebp - 0x148]
inc eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x278], ecx
cmp eax, edi
jb 0x406c99
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x274]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x278]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x294]
mov byte [ebp - 4], 7
lea ecx, [ecx - 0x10]
call fcn.00403e28
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
push eax
call fcn.00402ebf
add eax, 0x10
mov dword [ebp - 0x278], eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x13
mov dword [esp], str.config
call fcn.00402d5c
push str.version.ini
lea ecx, [ebp - 0x278]
call fcn.00402d5c
mov esi, dword [ebp - 0x278]
lea ecx, [ebp - 0x358]
push 1
push 0x40
push 0x21
push esi
call fcn.00401dc1
cmp dword [ebp - 0x2fc], 0
mov byte [ebp - 4], 0x14
je 0x407109
xor eax, eax
mov dword [ebp - 0x8c], 7
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], cx
push 0xf
pop edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x88], al
push 0x16
pop eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x358]
mov dword [ebp - 0x2c], 0x73726576
push eax
mov dword [ebp - 0x28], 0x6e6f69
call fcn.00401a88
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x406f4d
lea edi, [ebp - 0x2c]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x406d90
sub edi, ecx
cmp dword [ebp - 0x74], 0x10
lea ecx, [ebp - 0x2c]
push edi
push ecx
push 0
push dword [ebp - 0x78]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.00401867
add esp, 0x14
test eax, eax
je 0x406de7
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x358]
push eax
call fcn.00401a88
pop ecx
pop ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x406d99
jmp 0x406f4d
xor eax, eax
mov dword [ebp - 0x70], eax
push 0xf
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x70], al
mov eax, dword [ebp - 0x78]
pop ecx
mov dword [ebp - 0x5c], ecx
cmp eax, 8
jb 0x407161
add eax, 0xfffffff8
or edi, 0xffffffff
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x74], 0x10
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
add eax, 8
mov dword [ebp - 0x27c], eax
cmp edi, ecx
ja 0x406e48
push edi
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x60], edi
push eax
call fcn.00404f80
mov byte [ebp + edi - 0x70], 0
add esp, 0xc
mov ecx, dword [ebp - 0x70]
jmp 0x406ea9
mov eax, 0x7fffffff
mov dword [ebp - 0x274], eax
cmp edi, eax
ja 0x407166
mov edx, edi
or edx, ecx
cmp edx, eax
ja 0x406e73
push 0x16
pop ecx
cmp edx, ecx
mov eax, edx
cmovb eax, ecx
mov dword [ebp - 0x274], eax
inc eax
push eax
call fcn.004012d7
mov ecx, dword [ebp - 0x274]
push edi
push dword [ebp - 0x27c]
mov dword [ebp - 0x294], eax
push eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x5c], ecx
call fcn.00404f80
mov ecx, dword [ebp - 0x294]
add esp, 0x10
mov byte [ecx + edi], 0
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 3
cmovae eax, ecx
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x268], ecx
lea ecx, [ebp - 0x268]
push eax
call fcn.0040354c
push dword [ebp - 0x268]
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x18
call fcn.00404e16
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x268], eax
je 0x406f00
push dword [ebp - 0x268]
call fcn.0040d2bb
pop ecx
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 0x16
cmp eax, 0x10
jb 0x406f4d
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x27c], ecx
cmp eax, 0x1000
jb 0x406f44
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x274]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x27c]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
cmp dword [ebp - 0x90], 0
je 0x407036
mov eax, dword [ebp - 0x284]
add eax, 0xfffffff0
push eax
call fcn.00402ebf
add eax, 0x10
pop ecx
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x19
cmovae eax, dword [ebp - 0xa0]
push eax
call fcn.00402d5c
push str.PC_Launcher.exe
lea ecx, [ebp - 0x274]
call fcn.00402d5c
lea ecx, [ebp - 0x284]
call fcn.00403e69
mov edi, dword [ebp - 0x274]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40702e
lea ecx, [ebp - 0x280]
call fcn.00401d27
push dword [ebp - 0x288]
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
push dword [ebp - 0x290]
cmovae eax, dword [ebp - 0xa0]
push eax
push dword [ebp - 0x284]
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x1a
push str.__currentPath__s____configVersion_s___launchExe__s___s
push eax
call fcn.004031c9
mov esi, dword [ebp - 0x280]
push 0
push 1
push 0
push esi
push edi
call fcn.004040ab
add esp, 0x2c
lea ecx, [esi - 0x10]
call fcn.00403e28
mov esi, dword [ebp - 0x278]
lea ecx, [edi - 0x10]
call fcn.00403e28
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x407088
mov ecx, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], ecx
cmp eax, 0x1000
jb 0x40707f
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x280]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x27c]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp eax, 8
jb 0x4070ef
mov ecx, dword [ebp - 0xa0]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x27c], ecx
cmp eax, 0x1000
jb 0x4070e6
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0040441c
mov eax, dword [ebp - 0x280]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x27c]
push eax
push ecx
call fcn.0040874e
pop ecx
pop ecx
and dword [ebp - 0x90], 0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
lea ecx, [ebp - 0x358]
call fcn.004029a5
lea ecx, [esi - 0x10]
call fcn.00403e28
mov ecx, dword [ebp - 0x288]
lea ecx, [ecx - 0x10]
call fcn.00403e28
mov ecx, dword [ebp - 0x28c]
lea ecx, [ecx - 0x10]
call fcn.00403e28
mov ecx, dword [ebp - 0x284]
lea ecx, [ecx - 0x10]
call fcn.00403e28
mov ecx, dword [ebp - 0x290]
lea ecx, [ecx - 0x10]
call fcn.00403e28
xor eax, eax
mov ecx, dword [ebp - 0x24]
call fcn.00408d50
ret 0x10
call fcn.00404c77
call fcn.00404c6c
int3