Function at 0x40ea60
Capabilities:
Check http status code
Create thread
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cf49
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x4c20f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x45c], ecx
mov esi, dword [ebp + 0xc]
mov edi, accept
mov eax, dword [ebp + 8]
mov dword [ebp - 0x458], eax
mov eax, edi
mov dword [ebp - 0x14], esi
mov edx, dword [esi + 0x10]
sub eax, edx
cmp eax, 0xb
jb 0x40fb57
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40eac1
mov eax, dword [esi]
push 0xb
push str.update.xml
push edx
push eax
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
call fcn.00408460
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
sub edi, ecx
cmp edi, 0xf
jb 0x40fb5c
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x40eaf5
mov eax, dword [esi]
push 0xf
push str.update.xml.bak
push ecx
push eax
push esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.00408460
mov edi, dword [ebp - 0x45c]
lea eax, [ebp - 0x1b4]
push 0xb0
push 0
mov byte [ebp - 4], 1
push eax
mov byte [edi], 0
call fcn.00474010
add esp, 4
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x1b4]
push 0x20
push eax
call fcn.0040fb90
push 0xe0
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00474010
add esp, 0xc
lea ecx, [ebp - 0x494]
push dword [ebp - 0x458]
call fcn.00405b60
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x494]
push eax
push ecx
lea ecx, [ebp - 0x70]
call fcn.004093c0
mov esi, eax
push 0x1c0
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.00474010
add esp, 0xc
lea ecx, [ebp - 0x454]
call fcn.00417510
push esi
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 5
call fcn.00418600
lea eax, [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x454]
call fcn.00417fe0
lea ecx, [ebp - 0x454]
call fcn.0040a4b0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x40ec16
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
push fcn.00404840
push 1
push 0x18
lea eax, [ebp - 0x494]
mov byte [ebp - 4], 8
push eax
call fcn.00471e19
cmp dword [ebp - 0x28c], 0xc8
je 0x40ec58
or esi, 0xffffffff
mov byte [edi], 1
jmp 0x40f0dd
lea ecx, [ebp - 0x1b0]
call fcn.00406390
test eax, eax
jne 0x40ec92
mov eax, dword [ebp - 0x1b4]
lea ecx, [ebp - 0x1b4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004022b0
sub esp, 0x18
lea eax, [ebp - 0x3c]
mov ecx, esp
lea esi, [ebp - 0x54]
push eax
call fcn.00405b60
mov ecx, esi
call fcn.0040e480
add esp, 0x18
cmp eax, 1
jne 0x40ecc9
push 0x4bb414
call fcn.00401780
add esp, 4
mov byte [edi], 1
xor esi, esi
jmp 0x40f0dd
push 0x1c0
call fcn.00471b5e
push 0x1c0
mov edi, eax
push 0
push edi
mov dword [ebp - 0x47c], edi
call fcn.00474010
mov dword [edi + 8], 0
lea esi, [edi + 0x38]
mov dword [edi + 0xc], 0
lea eax, [edi + 0x60]
mov dword [edi + 0x10], 0
add esp, 0x10
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi], vtable.tinyxml2::XMLDocument.0
mov word [edi + 0x34], 0x100
mov dword [esi], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
lea eax, [edi + 0x98]
mov dword [edi + 0x88], 0xa
mov dword [edi + 0x8c], 0
mov dword [edi + 0x94], eax
lea eax, [edi + 0xe4]
mov dword [edi + 0x90], vtable.tinyxml2::MemPoolT_60_.0
mov dword [edi + 0xc0], 0xa
mov dword [edi + 0xc4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe0], eax
lea eax, [edi + 0x130]
mov dword [edi + 0xdc], vtable.tinyxml2::MemPoolT_40_.0
mov dword [edi + 0x10c], 0xa
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x12c], eax
lea eax, [edi + 0x17c]
mov dword [edi + method.tinyxml2::MemPoolT_56_.virtual_0], vtable.tinyxml2::MemPoolT_56_.0
mov dword [edi + 0x158], 0xa
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + method.tinyxml2::MemPoolT_52_.virtual_0], vtable.tinyxml2::MemPoolT_52_.0
mov dword [edi + 0x178], eax
mov dword [edi + 0x1a4], 0xa
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1ac], 0
mov dword [edi + 0x1b0], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1bc], 0
mov dword [ebp - 0x104], 0
mov dword [edi + 4], edi
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0xb
lea edi, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
jb 0x40ef64
mov edi, dword [ebp - 0x54]
test edi, edi
jne 0x40ef64
push str.filename_null_
push edi
mov edi, dword [ebp - 0x47c]
push 4
push edi
call fcn.00415740
add esp, 0x10
jmp 0x40efd3
mov ecx, dword [ebp - 0x47c]
call fcn.00415540
push 0x4bb72c
lea eax, [ebp - 0x458]
mov dword [ebp - 0x458], 0
push edi
push eax
call fcn.0047e0d7
add esp, 0xc
test eax, eax
jne 0x40efba
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x40efba
mov edi, dword [ebp - 0x47c]
mov ecx, edi
push eax
call fcn.00415650
push dword [ebp - 0x20]
call fcn.00477039
add esp, 4
jmp 0x40efd3
push edi
mov edi, dword [ebp - 0x47c]
push str.filename_s
push 0
push 3
push edi
call fcn.00415740
add esp, 0x14
cmp dword [esi], 0
je 0x40eff2
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x45c]
or esi, 0xffffffff
mov byte [eax], 1
jmp 0x40f0dd
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00471b5e
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 - 0x1c], eax
mov byte [ebp - 4], 0xd
mov esi, dword [edi + 0x1c]
test esi, esi
je 0x40f043
nop
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
test eax, eax
jne 0x40f045
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x40f030
xor eax, eax
mov esi, dword [eax + 0x1c]
test esi, esi
je 0x40f0aa
nop dword [eax]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x40f09d
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test eax, eax
je 0x40f06f
xor eax, eax
jmp 0x40f082
lea ecx, [edi + 0xc]
call fcn.004139f0
cmp eax, str.Files
je 0x40f1db
push accept
push str.Files
push eax
call fcn.0047ded0
add esp, 0xc
test eax, eax
je 0x40f1db
mov esi, dword [esi + 0x28]
test esi, esi
jne 0x40f050
mov edi, dword [ebp - 0x47c]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x45c]
or esi, 0xffffffff
mov byte [eax], 1
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.00412bb0
push 0x40
push dword [ebp - 0x1c]
call fcn.00471ddf
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0040a800
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1b8], eax
lea ecx, [ebp - 0x1b0]
call fcn.004054f0
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1b8], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xe
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004708bb
mov edx, dword [ebp - 0x28]
add esp, 4
cmp edx, 0x10
jb 0x40f192
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f188
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb66
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x40fb38
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb66
jmp 0x40fb2e
push 4
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x478]
push str.File
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.00406bb0
mov byte [ebp - 4], 0xf
mov edi, dword [edi + 0x1c]
test edi, edi
je 0x40f2cb
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov esi, eax
mov dword [ebp - 0x458], esi
test esi, esi
jne 0x40f241
mov edi, dword [edi + 0x28]
test edi, edi
jne 0x40f221
jmp 0x40f2cb
cmp dword [ebp - 0x464], 0x10
setae byte [ebp - 0x45d]
nop
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
test eax, eax
je 0x40f261
xor edx, edx
jmp 0x40f26b
lea ecx, [esi + 0xc]
call fcn.004139f0
mov edx, eax
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f270
sub ecx, edi
lea eax, [ebp - 0x478]
cmp byte [ebp - 0x45d], 0
mov edi, dword [ebp - 0x478]
push ecx
push edx
push dword [ebp - 0x468]
cmovne eax, edi
push eax
call fcn.00413110
add esp, 0x10
test al, al
jne 0x40f2d9
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x40f2cb
nop dword [eax + eax]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov esi, eax
mov dword [ebp - 0x458], eax
test esi, esi
jne 0x40f250
mov edi, dword [edi + 0x28]
test edi, edi
jne 0x40f2b0
mov edi, dword [ebp - 0x478]
xor esi, esi
mov dword [ebp - 0x458], esi
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x464]
cmp eax, 0x10
jb 0x40f313
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x40f309
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb66
push ecx
push edi
call fcn.00471ddf
add esp, 8
mov eax, dword [ebp - 0x45c]
add eax, 0x20
mov ecx, dword [eax + 4]
mov edi, dword [eax]
cmp edi, ecx
je 0x40f346
mov esi, ecx
mov ecx, edi
call fcn.0040e0b0
add edi, 0x7c
cmp edi, esi
jne 0x40f327
mov eax, dword [ebp - 0x45c]
mov esi, dword [ebp - 0x458]
add eax, 0x20
mov edi, dword [eax]
mov dword [eax + 4], edi
test esi, esi
je 0x40f95f
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x478]
push 4
mov dword [ebp - 0x478], 0
push str.Name
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.00406bb0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0x12
push eax
mov edx, esi
lea ecx, [ebp - 0x494]
call fcn.00409510
lea ecx, [ebp - 0xec]
add esp, 4
cmp ecx, eax
je 0x40f4a5
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xec], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xdc], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x480]
cmp edx, 0x10
jb 0x40f4df
mov ecx, dword [ebp - 0x494]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0xf
mov byte [ebp - 0x494], 0
cmp edx, 0x10
jb 0x40f538
mov ecx, dword [ebp - 0x478]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f52e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
push 7
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x478]
push str.NewName
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.00406bb0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0x13
push eax
mov edx, esi
lea ecx, [ebp - 0x494]
call fcn.00409510
lea ecx, [ebp - 0xd4]
add esp, 4
cmp ecx, eax
je 0x40f5bc
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x480]
cmp edx, 0x10
jb 0x40f5f6
mov ecx, dword [ebp - 0x494]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f5ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0xf
mov byte [ebp - 0x494], 0
cmp edx, 0x10
jb 0x40f64f
mov ecx, dword [ebp - 0x478]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f645
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
push 3
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x478]
push 0x4bb440
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.00406bb0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0x14
push eax
mov edx, esi
lea ecx, [ebp - 0x494]
call fcn.00409510
lea ecx, [ebp - 0xbc]
add esp, 4
cmp ecx, eax
je 0x40f6d3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x480]
cmp edx, 0x10
jb 0x40f70d
mov ecx, dword [ebp - 0x494]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f703
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0xf
mov byte [ebp - 0x494], 0
cmp edx, 0x10
jb 0x40f766
mov ecx, dword [ebp - 0x478]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f75c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
push 3
mov dword [ebp - 0x478], 0
lea ecx, [ebp - 0x478]
push 0x4bb444
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0xf
mov byte [ebp - 0x478], 0
call fcn.00406bb0
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0x15
push eax
mov edx, esi
lea ecx, [ebp - 0x494]
call fcn.00409510
lea ecx, [ebp - 0xa4]
add esp, 4
cmp ecx, eax
je 0x40f7ea
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x94], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x480]
cmp edx, 0x10
jb 0x40f824
mov ecx, dword [ebp - 0x494]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f81a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x464]
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 0xf
mov byte [ebp - 0x494], 0
cmp edx, 0x10
jb 0x40f87d
mov ecx, dword [ebp - 0x478]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f873
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb61
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x8c]
cmp eax, ecx
je 0x40f8a3
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x40f894
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00406bb0
mov eax, dword [ebp - 0x45c]
mov edi, dword [eax + 0x24]
cmp edi, dword [eax + 0x28]
je 0x40f920
lea eax, [ebp - 0xec]
mov dword [ebp - 0x20], edi
push eax
mov ecx, edi
call fcn.00405b60
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x16
lea ecx, [edi + 0x18]
push eax
call fcn.00405b60
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x17
lea ecx, [edi + 0x30]
push eax
call fcn.00405b60
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x18
lea ecx, [edi + 0x48]
push eax
call fcn.00405b60
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x19
lea ecx, [edi + 0x60]
push eax
call fcn.00405b60
mov ecx, dword [ebp - 0x45c]
mov al, byte [ebp - 0x74]
mov byte [edi + 0x78], al
add dword [ecx + 0x24], 0x7c
jmp 0x40f930
lea ecx, [ebp - 0xec]
push ecx
push edi
lea ecx, [eax + 0x20]
call fcn.00412180
lea ecx, [ebp - 0xec]
call fcn.0040e0b0
mov byte [ebp - 4], 0xd
mov edi, dword [esi + 0x28]
test edi, edi
je 0x40f95f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax]
call eax
mov esi, eax
test esi, esi
jne 0x40f351
mov edi, dword [edi + 0x28]
test edi, edi
jne 0x40f946
mov esi, dword [ebp - 0x45c]
mov eax, 0x84210843
mov ecx, dword [esi + 0x24]
lea edi, [esi + 0x20]
sub ecx, dword [edi]
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x40f9fa
push 0x14
call fcn.00471b5e
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push edi
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.004134b0
mov eax, dword [ebp - 0x45c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x40be70
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1b
push eax
push 0
push esi
push 0x4131f0
push 0
push 0
call fcn.0047cc65
add esp, 0x18
mov dword [ebp - 0x24], eax
test eax, eax
je 0x40fb78
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x40fb6b
push ecx
push eax
call fcn.00470ebe
add esp, 8
test eax, eax
jne 0x40fb72
jmp 0x40fa0a
push 0x4bb414
mov byte [esi], 1
call fcn.00401780
add esp, 4
mov ecx, dword [ebp - 0x47c]
push 1
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.00412bb0
push 0x40
push dword [ebp - 0x1c]
call fcn.00471ddf
add esp, 8
lea ecx, [ebp - 0x294]
call fcn.0040a800
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1b8], eax
lea ecx, [ebp - 0x1b0]
call fcn.004054f0
mov eax, dword [ebp - 0x1b4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1b8], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x1d
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004708bb
mov edx, dword [ebp - 0x28]
add esp, 4
cmp edx, 0x10
jb 0x40faea
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fae0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb66
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp edx, 0x10
jb 0x40fb3a
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fb22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fb66
push edx
push ecx
call fcn.00471ddf
add esp, 8
jmp 0x40fb3a
push edx
push ecx
call fcn.00471ddf
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00471b4b
mov esp, ebp
pop ebp
ret 8
call fcn.004019d0
call fcn.004019d0
call fcn.0047caa2
call fcn.0047caa2
push 1
call fcn.00470d65
push eax
call fcn.00470d38
push 6
mov dword [ebp - 0x20], 0
call fcn.00470d65
int3