Function at 0x40f620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8c7f
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xe0], ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc8], 0
mov eax, dword fs:[0x2c]
mov edx, dword [eax]
mov eax, dword [0x5084b8]
cmp eax, dword [edx + 4]
jle 0x40f6a8
push 0x5084b8
call fcn.004acdaf
add esp, 4
cmp dword [0x5084b8], 0xffffffff
jne 0x40f6a8
push 0x4e19c0
call fcn.004ad050
add esp, 4
push 0x5084b8
call fcn.004acd5e
add esp, 4
cmp dword [edi + 0x14], 7
mov ecx, edi
jbe 0x40f6b2
mov ecx, dword [edi]
cmp dword [0x502cac], 7
mov eax, 0x502c98
jbe 0x40f6c5
mov eax, dword [0x502c98]
push ecx
push eax
call fcn.004b4661
add esp, 8
test eax, eax
je 0x40f7c1
push 0x40
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
call fcn.004acccd
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0xd0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebx]
mov eax, dword [esi]
mov dword [ebp - 0xc0], eax
cmp eax, esi
je 0x40f761
mov edi, edi
lea esi, [eax + 0x10]
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00412b30
cmp eax, esi
je 0x40f74a
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
jbe 0x40f741
mov esi, dword [esi]
push ecx
push esi
mov ecx, eax
call fcn.00403a40
lea ecx, [ebp - 0xc0]
call fcn.00404a70
mov esi, dword [ebx]
mov eax, dword [ebp - 0xc0]
cmp eax, esi
jne 0x40f720
lea eax, [ebp - 0xd0]
cmp ebx, eax
je 0x40f793
push dword [esi + 4]
mov ecx, ebx
push ebx
call fcn.00405200
lea eax, [ebp - 0xd0]
mov dword [esi + 4], esi
mov dword [esi], esi
mov ecx, ebx
mov dword [esi + 8], esi
push eax
mov dword [ebx + 4], 0
call fcn.00414150
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd0]
push dword [eax + 4]
lea eax, [ebp - 0xd0]
push eax
mov ecx, eax
call fcn.00405200
push 0x40
push dword [ebp - 0xd0]
call fcn.004accfd
add esp, 8
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x40f7cb
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40f998
cmp edi, 0x502c98
je 0x40f7fa
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x40f7ec
mov eax, dword [edi]
push dword [edi + 0x10]
mov ecx, 0x502c98
push eax
call fcn.00403a40
mov dword [ebp - 0x1ac], 0x4ebea0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov byte [ebp - 0xfc], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x19c]
push ecx
push eax
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0xc8], 0x40
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x140], 0x58
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
call fcn.004139d0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1b0], eax
lea ecx, [ebp - 0x19c]
call fcn.00413260
mov dword [ebp - 4], 4
cmp dword [edi + 0x14], 7
jbe 0x40f921
mov edi, dword [edi]
push ecx
push 1
push edi
lea ecx, [ebp - 0x19c]
call fcn.004137e0
test eax, eax
mov byte [ebp - 0xc0], 0
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1ac]
je 0x40f959
add ecx, dword [eax + 4]
mov eax, dword [ecx + 0x38]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
jmp 0x40f96e
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push dword [ebp - 0xc0]
push eax
call fcn.0040a340
mov eax, dword [ebp - 0x1ac]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1a0], 0
je 0x40f99f
lea ecx, [ebp - 0x1ac]
call fcn.00410730
xor al, al
jmp 0x4106fe
push 0x20000
call fcn.004ad065
add esp, 4
mov edi, eax
mov dword [ebp - 0xc8], edi
push 0x20000
push 0
push edi
call fcn.004affe0
mov ebx, 0x140
mov dword [ebp - 0xe8], edi
add esp, 0xc
mov dword [ebp - 0xc0], ebx
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 8
nop
sub esp, 8
lea ecx, [ebp - 0x1ac]
push edi
call fcn.00412a60
xor eax, eax
cmp byte [edi], al
jne 0x410459
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 0xa
xor edi, edi
mov eax, dword [ebp - 0xdc]
mov esi, eax
cmp esi, dword [ebp - 0xd8]
je 0x40ffaf
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40fa61
mov eax, dword [esi]
push 2
push 0x4ebe04
push eax
call fcn.004b92a0
add esp, 0xc
neg eax
sbb eax, eax
and eax, edi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0xc4], eax
mov eax, esi
jbe 0x40fa87
mov eax, dword [esi]
push 2
push 0x4ebe0c
push eax
call fcn.004b92a0
add esp, 0xc
neg eax
sbb ebx, ebx
mov eax, esi
and ebx, dword [ebp - 0xc4]
cmp dword [esi + 0x14], 7
jbe 0x40faab
mov eax, dword [esi]
push 2
push 0x4ebe14
push eax
call fcn.004b92a0
add esp, 0xc
neg eax
sbb edi, edi
mov eax, esi
and edi, ebx
cmp dword [esi + 0x14], 7
jbe 0x40facb
mov eax, dword [esi]
push 5
push str.msgid
push eax
call fcn.004b92a0
add esp, 0xc
test eax, eax
jne 0x40fc17
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x40faed
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40faf2
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00403a40
mov ecx, dword [ebp - 0x64]
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
lea eax, [ecx - 8]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
cmp ecx, 7
jb 0x41071c
add ecx, 0xfffffff9
cmp ecx, eax
jb 0x40fb37
mov ecx, eax
cmp dword [ebp - 0x60], 7
lea eax, [ebp - 0x74]
jbe 0x40fb43
mov eax, dword [ebp - 0x74]
push ecx
add eax, 0xe
lea ecx, [ebp - 0x44]
push eax
call fcn.00403450
or dword [ebp - 0xc0], 2
lea ecx, [ebp - 0x74]
call fcn.004027a0
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
push eax
call fcn.004024d0
mov edx, dword [ebp - 0xa8]
lea edi, [ebp - 0xbc]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xac]
cmp edx, 7
jbe 0x40fbb6
lea edi, [ecx + eax*2]
mov ebx, ecx
jmp 0x40fbbf
lea edi, [edi + eax*2]
lea ebx, [ebp - 0xbc]
cmp ebx, edi
je 0x40fbe6
movzx eax, word [ebx]
push eax
call fcn.004b8e3c
add esp, 4
test eax, eax
je 0x40fbda
add ebx, 2
cmp ebx, edi
jne 0x40fbc3
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0xbc]
cmp edx, 7
jbe 0x40fbf3
mov eax, ecx
push ebx
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00412c40
lea ecx, [ebp - 0xbc]
mov edi, 1
call fcn.004027a0
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40fc21
mov eax, dword [esi]
push 6
push str.msgstr
push eax
call fcn.004b92a0
add esp, 0xc
test eax, eax
jne 0x40fcf0
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x40fc43
mov edx, dword [esi]
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x40fc50
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fc50
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00403a40
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
lea eax, [ecx - 9]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
cmp ecx, 8
jb 0x41071c
add ecx, 0xfffffff8
cmp ecx, eax
jb 0x40fc95
mov ecx, eax
cmp dword [ebp - 0x48], 7
lea eax, [ebp - 0x5c]
jbe 0x40fca1
mov eax, dword [ebp - 0x5c]
push ecx
add eax, 0x10
lea ecx, [ebp - 0x44]
push eax
call fcn.00403450
mov ebx, dword [ebp - 0xc0]
lea ecx, [ebp - 0x5c]
or ebx, 1
mov dword [ebp - 0xc0], ebx
call fcn.004027a0
mov eax, dword [ebp - 0x44]
mov edi, 2
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
jmp 0x40fcf6
mov ebx, dword [ebp - 0xc0]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x40fd00
mov eax, dword [esi]
push 1
push 0x4eb5fc
push eax
call fcn.004b92a0
add esp, 0xc
test eax, eax
jne 0x40ff9a
cmp edi, 1
jne 0x40fe35
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x40fd2b
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xc4], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fd53
sub ecx, dword [ebp - 0xc4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.00403450
mov byte [ebp - 4], 0xb
xor edx, edx
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
lea eax, [ecx - 2]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
cmp ecx, 1
jb 0x41071c
dec ecx
cmp ecx, eax
jb 0x40fda1
mov ecx, eax
cmp dword [ebp - 0x78], 7
lea eax, [ebp - 0x8c]
jbe 0x40fdb3
mov eax, dword [ebp - 0x8c]
push ecx
add eax, 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403450
or ebx, 8
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0xc0], ebx
call fcn.004027a0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x78], eax
cmp eax, 7
jbe 0x40fe0e
mov ecx, edx
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x74]
call fcn.00404ad0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x78]
cmp ecx, 7
jbe 0x40ff9a
mov edx, dword [ebp - 0x8c]
jmp 0x40ff6b
cmp edi, 2
jne 0x40ff9a
cmp dword [esi + 0x14], 7
mov edx, esi
jbe 0x40fe48
mov edx, dword [esi]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
lea eax, [ecx + 2]
mov dword [ebp - 0xc4], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fe80
sub ecx, dword [ebp - 0xc4]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00403450
mov byte [ebp - 4], 0xc
xor edx, edx
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
lea eax, [ecx - 2]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
cmp ecx, 1
jb 0x41071c
dec ecx
cmp ecx, eax
jb 0x40fed1
mov ecx, eax
cmp dword [ebp - 0x90], 7
lea eax, [ebp - 0xa4]
jbe 0x40fee6
mov eax, dword [ebp - 0xa4]
push ecx
add eax, 2
lea ecx, [ebp - 0x2c]
push eax
call fcn.00403450
or ebx, 4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xc0], ebx
call fcn.004027a0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0x90], eax
cmp eax, 7
jbe 0x40ff4a
mov ecx, edx
push dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00404ad0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x90]
cmp ecx, 7
jbe 0x40ff9a
mov edx, dword [ebp - 0xa4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40ff90
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410721
push ecx
push edx
call fcn.004accfd
add esp, 8
add esi, 0x18
cmp esi, dword [ebp - 0xd8]
jne 0x40fa57
mov eax, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xd8]
cmp eax, edi
je 0x40ffda
mov esi, eax
jmp 0x40ffc0
mov ecx, esi
call fcn.004027a0
add esi, 0x18
cmp esi, edi
jne 0x40ffc0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xd8], ecx
xor eax, eax
lea ecx, [ebp - 0x44]
push 1
push 0x4eb5fc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0xd
push 2
push 0x4eb600
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xe
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004027a0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x410080
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410076
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410721
push ecx
push edx
call fcn.004accfd
add esp, 8
xor eax, eax
lea ecx, [ebp - 0x44]
push 1
push 0x4ebe38
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0xf
push 2
push 0x4ebe3c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x74]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004027a0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x410126
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41011c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410721
push ecx
push edx
call fcn.004accfd
add esp, 8
xor eax, eax
lea ecx, [ebp - 0x2c]
push 1
push 0x4ebe44
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0x11
push 2
push 0x4ebe48
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x12
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
xor eax, eax
lea ecx, [ebp - 0x2c]
push 1
push 0x4ebe50
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0x13
push 2
push 0x4ebe54
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push 1
push 0x4eb5fc
lea ecx, [ebp - 0x2c]
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0x15
push 2
push 0x4eb600
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
xor eax, eax
lea ecx, [ebp - 0x2c]
push 1
push 0x4ebe38
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0x17
push 2
push 0x4ebe3c
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
xor eax, eax
lea ecx, [ebp - 0x2c]
push 1
push 0x4ebe44
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
mov byte [ebp - 4], 0x19
xor eax, eax
push 2
push 0x4ebe48
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
xor eax, eax
lea ecx, [ebp - 0x2c]
push 1
push 0x4ebe50
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.00403450
xor eax, eax
mov byte [ebp - 4], 0x1b
push 2
push 0x4ebe54
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
call fcn.00403450
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.00403c70
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.004027a0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.004027a0
cmp dword [ebp - 0x64], 0
je 0x410414
cmp dword [ebp - 0x4c], 0
je 0x410414
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0x74]
push eax
call fcn.00412b30
lea ecx, [ebp - 0x5c]
cmp eax, ecx
je 0x410414
cmp dword [ebp - 0x48], 7
jbe 0x410409
mov ecx, dword [ebp - 0x5c]
push dword [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00403a40
cmp dword [ebp - 0x60], 7
lea eax, [ebp - 0x74]
jbe 0x410420
mov eax, dword [ebp - 0x74]
xor ecx, ecx
mov dword [ebp - 0x64], 0
mov word [eax], cx
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 7
jbe 0x410438
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x4c], ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x5c]
call fcn.004027a0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 8
call fcn.004027a0
jmp 0x41067b
mov ecx, edi
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea edx, [ecx + 1]
mov dword [ebp - 0x30], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x410470
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.0040e720
mov byte [ebp - 4], 0x1d
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xe4], eax
test eax, eax
jne 0x4104c2
xor edi, edi
mov dword [ebp - 0x18], 7
mov ecx, edi
mov dword [ebp - 0x2c], edi
mov edx, edi
mov dword [ebp - 0x28], edi
or ebx, 0x10
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xc0], ebx
jmp 0x4105b9
xor ebx, ebx
lea eax, [eax*2 + 2]
mov ecx, 2
mul ecx
seto bl
neg ebx
or ebx, eax
push ebx
call fcn.004ad065
add esp, 4
mov edi, eax
mov dword [ebp - 0xc4], edi
push ebx
push 0
push edi
call fcn.004affe0
mov ebx, dword [ebp - 0xc0]
add esp, 0xc
mov dword [ebp - 0xf0], edi
or ebx, 0x20
mov byte [ebp - 4], 0x1e
test edi, edi
jne 0x41053a
xor eax, eax
mov dword [ebp - 0x2c], edi
or ebx, 0x10
mov dword [ebp - 0x28], edi
push edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xc0], ebx
call fcn.004ad06e
jmp 0x4105b0
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x44]
jbe 0x410546
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0xe4]
lea eax, [eax*2 - 1]
push eax
push edi
push dword [ebp - 0x34]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
mov word [edi + eax*2], cx
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410585
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403450
or ebx, 0x10
push edi
mov dword [ebp - 0xc0], ebx
call fcn.004ad06e
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
add esp, 4
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 0x1f
cmp esi, dword [ebp - 0xd4]
je 0x4105f5
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 4], edi
mov dword [esi + 8], ecx
mov ecx, 7
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
xor eax, eax
add esi, 0x18
mov word [ebp - 0x2c], ax
mov dword [ebp - 0xd8], esi
jmp 0x410608
lea eax, [ebp - 0x2c]
push eax
push esi
lea ecx, [ebp - 0xdc]
call fcn.00403b50
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1d
cmp ecx, 7
jbe 0x410643
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410639
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410721
push ecx
push edx
call fcn.004accfd
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x41067b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410671
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410721
push ecx
push edx
call fcn.004accfd
add esp, 8
cmp dword [ebp - 0x1a0], 0
jl 0x4106a0
jg 0x41068f
cmp dword [ebp - 0x1a4], 0
jbe 0x4106a0
mov esi, dword [ebp - 0xd8]
mov edi, dword [ebp - 0xc8]
jmp 0x40f9f0
lea ecx, [ebp - 0x19c]
call fcn.00413170
test eax, eax
jne 0x4106d8
mov eax, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1ac]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040a340
lea ecx, [ebp - 0xdc]
call fcn.004020e0
push dword [ebp - 0xc8]
call fcn.004ad06e
add esp, 4
lea ecx, [ebp - 0x1ac]
call fcn.00410730
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004accbf
mov esp, ebp
pop ebp
ret 4
call fcn.00404b30
call fcn.004b306f
int3