Function at 0x40d670
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5509c7
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x5c0078]
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 - 4], 0
lea ecx, [ebp - 0x1b8]
xorps xmm0, xmm0
mov dword [ebp - 0x198], 0
push 0x5cbf74
movups xmmword [ebp - 0x1b8], xmm0
movups xmmword [ebp - 0x1a8], xmm0
call fcn.00402870
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 1
lea ecx, [ebp - 0x25c]
movq qword [ebp - 0x20], xmm0
call fcn.00406da0
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00406da0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push dword [esi]
push ecx
call fcn.00527130
add esp, 0xc
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 3
call fcn.00404670
lea eax, [ebp - 0x20]
mov ecx, 0x5cbd08
push eax
call fcn.00402730
add esp, 4
mov dword [ebp - 0x1cc], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1ec]
movups xmmword [ebp - 0x1ec], xmm0
push 0x5cbf8c
movups xmmword [ebp - 0x1dc], xmm0
call fcn.00402870
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 1
lea ecx, [ebp - 0x298]
movq qword [ebp - 0x2c], xmm0
call fcn.00406da0
mov esi, eax
mov byte [ebp - 4], 4
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00406da0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push dword [esi]
push ecx
call fcn.00527130
add esp, 0xc
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 6
call fcn.00404670
lea eax, [ebp - 0x2c]
mov ecx, 0x5cbc08
push eax
call fcn.00402730
push 0x50
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.00527720
add esp, 0x10
lea ecx, [ebp - 0x23c]
call fcn.00412b00
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00412290
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call fcn.0040be40
mov ecx, eax
call fcn.0054eb10
push ecx
sub esp, 0x18
movsd qword [ebp - 0x258], xmm0
mov ecx, esp
mov byte [ebp - 0x241], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40d842
mov eax, dword [ecx]
jmp 0x40d844
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00404950
mov dl, byte [ebp - 0x241]
lea ecx, [ebp - 0x5c]
call fcn.0040b080
add esp, 4
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40d891
mov eax, dword [ecx]
jmp 0x40d893
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00404950
lea ecx, [ebp - 0x74]
call fcn.0040af40
mov ecx, esp
mov byte [ebp - 4], 0xa
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x40d8d7
mov eax, dword [ecx]
jmp 0x40d8d9
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00404950
lea ecx, [ebp - 0xbc]
call fcn.0040ae50
push 0x5b2b20
lea edx, [ebp - 0xbc]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x394]
call fcn.00419cc0
push 0x5b2ba0
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x37c]
call fcn.00419c70
push 0x5cbecc
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x364]
call fcn.0041a100
push 0x5b2b94
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x34c]
call fcn.00419c70
push str._ID
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x334]
call fcn.00419c70
push 0x5cbee4
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x31c]
call fcn.0041a100
push 0x5b2b94
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x304]
call fcn.00419c70
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x12
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ec]
call fcn.0041a100
push 0x5aef5c
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x2d4]
call fcn.00419c70
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x14
push ecx
mov edx, eax
lea ecx, [ebp - 0x2bc]
call fcn.0041a100
add esp, 0x40
push 0x5aef5c
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x2a4]
call fcn.00419c70
mov byte [ebp - 4], 0x16
mov edx, eax
push 0x5cbfd4
lea ecx, [ebp - 0xa4]
call fcn.0041a100
add esp, 8
mov eax, dword [ebp - 0x290]
cmp eax, 0x10
jb 0x40da22
inc eax
lea ecx, [ebp - 0x2a4]
push eax
push dword [ebp - 0x2a4]
call fcn.00404f30
mov dword [ebp - 0x290], 0xf
mov dword [ebp - 0x294], 0
mov byte [ebp - 0x2a4], 0
mov eax, dword [ebp - 0x2a8]
cmp eax, 0x10
jb 0x40da5b
inc eax
lea ecx, [ebp - 0x2bc]
push eax
push dword [ebp - 0x2bc]
call fcn.00404f30
mov dword [ebp - 0x2a8], 0xf
mov dword [ebp - 0x2ac], 0
mov byte [ebp - 0x2bc], 0
mov eax, dword [ebp - 0x2c0]
cmp eax, 0x10
jb 0x40da94
inc eax
lea ecx, [ebp - 0x2d4]
push eax
push dword [ebp - 0x2d4]
call fcn.00404f30
mov dword [ebp - 0x2c0], 0xf
mov dword [ebp - 0x2c4], 0
mov byte [ebp - 0x2d4], 0
mov eax, dword [ebp - 0x2d8]
cmp eax, 0x10
jb 0x40dacd
inc eax
lea ecx, [ebp - 0x2ec]
push eax
push dword [ebp - 0x2ec]
call fcn.00404f30
mov dword [ebp - 0x2d8], 0xf
mov dword [ebp - 0x2dc], 0
mov byte [ebp - 0x2ec], 0
mov eax, dword [ebp - 0x2f0]
cmp eax, 0x10
jb 0x40db06
inc eax
lea ecx, [ebp - 0x304]
push eax
push dword [ebp - 0x304]
call fcn.00404f30
mov dword [ebp - 0x2f0], 0xf
mov dword [ebp - 0x2f4], 0
mov byte [ebp - 0x304], 0
mov eax, dword [ebp - 0x308]
cmp eax, 0x10
jb 0x40db3f
inc eax
lea ecx, [ebp - 0x31c]
push eax
push dword [ebp - 0x31c]
call fcn.00404f30
mov dword [ebp - 0x308], 0xf
mov dword [ebp - 0x30c], 0
mov byte [ebp - 0x31c], 0
mov eax, dword [ebp - 0x320]
cmp eax, 0x10
jb 0x40db78
inc eax
lea ecx, [ebp - 0x334]
push eax
push dword [ebp - 0x334]
call fcn.00404f30
mov dword [ebp - 0x320], 0xf
mov dword [ebp - 0x324], 0
mov byte [ebp - 0x334], 0
mov eax, dword [ebp - 0x338]
cmp eax, 0x10
jb 0x40dbb1
inc eax
lea ecx, [ebp - 0x34c]
push eax
push dword [ebp - 0x34c]
call fcn.00404f30
mov dword [ebp - 0x338], 0xf
mov dword [ebp - 0x33c], 0
mov byte [ebp - 0x34c], 0
mov eax, dword [ebp - 0x350]
cmp eax, 0x10
jb 0x40dbea
inc eax
lea ecx, [ebp - 0x364]
push eax
push dword [ebp - 0x364]
call fcn.00404f30
mov dword [ebp - 0x350], 0xf
mov dword [ebp - 0x354], 0
mov byte [ebp - 0x364], 0
mov eax, dword [ebp - 0x368]
cmp eax, 0x10
jb 0x40dc23
inc eax
lea ecx, [ebp - 0x37c]
push eax
push dword [ebp - 0x37c]
call fcn.00404f30
mov dword [ebp - 0x368], 0xf
mov dword [ebp - 0x36c], 0
mov byte [ebp - 0x37c], 0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x380]
cmp eax, 0x10
jb 0x40dc60
inc eax
lea ecx, [ebp - 0x394]
push eax
push dword [ebp - 0x394]
call fcn.00404f30
push 0x5b2b20
lea edx, [ebp - 0xbc]
mov dword [ebp - 0x380], 0xf
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x384], 0
mov byte [ebp - 0x394], 0
call fcn.00419cc0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x23
push ecx
mov edx, eax
lea ecx, [ebp - 0x274]
call fcn.0041a100
push 0x5aef5c
mov edx, eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x3ac]
call fcn.00419c70
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x25
push ecx
mov edx, eax
lea ecx, [ebp - 0x8c]
call fcn.0041a100
add esp, 0x10
mov eax, dword [ebp - 0x398]
cmp eax, 0x10
jb 0x40dcf2
inc eax
lea ecx, [ebp - 0x3ac]
push eax
push dword [ebp - 0x3ac]
call fcn.00404f30
mov dword [ebp - 0x398], 0xf
mov dword [ebp - 0x39c], 0
mov byte [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x260]
cmp eax, 0x10
jb 0x40dd2b
inc eax
lea ecx, [ebp - 0x274]
push eax
push dword [ebp - 0x274]
call fcn.00404f30
mov dword [ebp - 0x260], 0xf
mov dword [ebp - 0x264], 0
mov byte [ebp - 0x274], 0
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x278]
cmp eax, 0x10
jb 0x40dd68
inc eax
lea ecx, [ebp - 0x28c]
push eax
push dword [ebp - 0x28c]
call fcn.00404f30
cmp dword [ebp - 0x34], 0
mov dword [ebp - 0x278], 0xf
mov dword [ebp - 0x27c], 0
mov byte [ebp - 0x28c], 0
je 0x40e1e3
push 0xc0
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.00527720
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x184]
call fcn.004140f0
mov eax, dword [0x5cbc04]
mov esi, dword [0x5cbe08]
push 0x5c85d0
push eax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x248], eax
call fcn.004357bd
mov dword [ebp - 0x14], eax
push 0x5c85d0
push esi
call fcn.004357bd
mov edi, eax
add esp, 0x10
mov dword [ebp - 0xc0], edi
movsd xmm0, qword [ebp - 0x258]
call fcn.0054e9a1
push 0x5c85d0
push eax
mov dword [ebp - 0x24c], eax
call fcn.004357bd
mov esi, eax
add esp, 8
mov dword [ebp - 0xc4], esi
mov byte [ebp - 4], 0x2d
cmp dword [ebp - 0x14], 0
je 0x40e191
test edi, edi
je 0x40e191
test esi, esi
je 0x40e19e
mov eax, dword [0x5cbc00]
movsd xmm1, qword [ebp - 0x258]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x40ded9
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x184]
cdq
push edx
push eax
push edi
call fcn.00415880
movd xmm0, dword [ebp - 0x248]
movsd xmm1, qword [ebp - 0x258]
cvtdq2pd xmm0, xmm0
subsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.0054e9bf
sub esp, 0x18
mov ecx, esp
push edx
push eax
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x184]
cdq
push edx
push eax
push dword [ebp - 0x14]
call fcn.00415880
mov eax, dword [0x5cbc00]
movsd xmm1, qword [ebp - 0x258]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x40df1b
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
movsd xmm0, qword [ebp - 0x258]
call fcn.0054e9bf
push edx
push eax
push esi
lea ecx, [ebp - 0x184]
call fcn.00415880
lea ecx, [ebp - 0x184]
call fcn.00413fc0
sub esp, 8
lea eax, [ebp + 8]
lea ecx, [ebp - 0x184]
push eax
call fcn.00414080
mov eax, dword [0x5cbc00]
movsd xmm1, qword [ebp - 0x258]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm1, xmm0
jbe 0x40e08f
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x248]
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1b8]
push eax
push eax
call fcn.004029f0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x250]
lea ecx, [ebp - 0x1b8]
push edi
push edi
call fcn.004029f0
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
mov eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x174]
cdq
push edx
push eax
push edi
call fcn.004153f0
movd xmm1, dword [ebp - 0x248]
movsd xmm0, qword [ebp - 0x258]
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
call fcn.0054e9bf
sub esp, 0x18
mov ecx, esp
push edx
push eax
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x174]
cdq
push edx
push eax
push dword [ebp - 0x14]
call fcn.004153f0
lea ecx, [ebp - 0x184]
call fcn.00413fc0
sub esp, 0x18
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.00402ba0
lea ecx, [ebp - 0x274]
call fcn.0040b680
add esp, 0x18
mov byte [ebp - 4], 0x2f
cmp dword [eax + 0x14], 8
jb 0x40e037
mov eax, dword [eax]
push eax
sub esp, 0x18
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.00402ba0
lea ecx, [ebp - 0x28c]
call fcn.0040b680
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40e05f
mov eax, dword [eax]
push eax
call fcn.00530074
add esp, 8
lea ecx, [ebp - 0x28c]
call fcn.0040fcf0
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x2d
call fcn.0040fcf0
mov eax, dword [0x5cbc00]
movsd xmm1, qword [ebp - 0x258]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
comisd xmm0, xmm1
jb 0x40e169
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x1ec]
push esi
push esi
call fcn.004029f0
sub esp, 0x18
mov ecx, esp
push 0
push 0
call fcn.00405080
lea ecx, [ebp - 0x174]
call fcn.004152d0
movsd xmm0, qword [ebp - 0x258]
call fcn.0054e9bf
push edx
push eax
push esi
lea ecx, [ebp - 0x174]
call fcn.004153f0
lea ecx, [ebp - 0x184]
call fcn.00413fc0
sub esp, 0x18
lea eax, [ebp - 0xa4]
mov ecx, esp
push eax
call fcn.00402ba0
lea ecx, [ebp - 0x274]
call fcn.0040b680
add esp, 0x18
mov byte [ebp - 4], 0x30
cmp dword [eax + 0x14], 8
jb 0x40e122
mov eax, dword [eax]
push eax
sub esp, 0x18
lea eax, [ebp - 0x8c]
mov ecx, esp
push eax
call fcn.00402ba0
lea ecx, [ebp - 0x28c]
call fcn.0040b680
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x40e14a
mov eax, dword [eax]
push eax
call fcn.00530074
add esp, 8
lea ecx, [ebp - 0x28c]
call fcn.0040fcf0
lea ecx, [ebp - 0x274]
call fcn.0040fcf0
push esi
call fcn.004351c4
push edi
call fcn.004351c4
push dword [ebp - 0x14]
call fcn.004351c4
add esp, 0xc
lea ecx, [ebp - 0x10c]
call fcn.00414000
mov byte [ebp - 4], 0x31
jmp 0x40e1ca
test esi, esi
je 0x40e19e
push esi
call fcn.004351c4
add esp, 4
test edi, edi
je 0x40e1ab
push edi
call fcn.004351c4
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40e1bb
push eax
call fcn.004351c4
add esp, 4
lea ecx, [ebp - 0x10c]
call fcn.00414000
mov byte [ebp - 4], 0x2e
lea eax, [ebp - 0x10c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0041eb9a
add esp, 4
mov eax, dword [ebp - 0x78]
cmp eax, 0x10
jb 0x40e1fe
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00404f30
mov eax, dword [ebp - 0x90]
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
cmp eax, 0x10
jb 0x40e231
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00404f30
mov eax, dword [ebp - 0xa8]
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
cmp eax, 0x10
jb 0x40e26a
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00404f30
mov eax, dword [ebp - 0x60]
mov byte [ebp - 0xbc], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
cmp eax, 0x10
jb 0x40e29a
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00404f30
mov eax, dword [ebp - 0x48]
mov byte [ebp - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
cmp eax, 0x10
jb 0x40e2c1
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404f30
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
cmp eax, 0x10
jb 0x40e2e8
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404f30
lea ecx, [ebp - 0x23c]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00412a40
lea ecx, [ebp - 0x2c]
call fcn.00404670
lea ecx, [ebp - 0x20]
call fcn.00404670
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x40e32a
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00418e70
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.004351b3
mov esp, ebp
pop ebp
ret