Function at 0x4085a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b7c2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx]
imul eax, dword [ebx + 8]
push esi
push edi
mov dword [ebp - 0x2c], ebx
mov esi, ecx
test eax, eax
mov eax, dword [ebp + 8]
jne 0x408622
cmp dword [eax + 0x14], 0xf
mov edx, eax
jbe 0x4085ea
mov edx, dword [eax]
push dword [eax + 0x10]
lea edi, [eax + 0x18]
call fcn.00409de0
add esp, 4
mov edx, edi
cmp dword [edi + 0x14], 0xf
jbe 0x408602
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00409de0
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + 0xac]
xor edi, edi
mov dword [ebp - 0x20], edi
cmp eax, 0xffffffff
jne 0x4088ef
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edx
movlpd qword [ebp - 0x4c], xmm0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xb0]
not al
test al, 1
je 0x40889c
mov ecx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 8], eax
jle 0x40889c
xor edi, edi
cmp dword [edx], edi
jle 0x408886
nop
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x11c], 0x433e34
mov dword [ebp - 0x10c], 0x433e1c
call fcn.00407060
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
push ecx
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x120], eax
lea eax, [ebp - 0x104]
push eax
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x11c]
movlpd qword [ebp - 0x114], xmm0
add ecx, dword [eax + 4]
call fcn.00407a80
mov eax, dword [ebp - 0x10c]
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 - 0x10c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x110], eax
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x120], eax
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x11c]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x120], eax
lea ecx, [ebp - 0x104]
call fcn.00407820
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x11c]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x11c]
add edx, esi
push edx
add ecx, dword [eax + 4]
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x3c], eax
mov al, byte [edx + 0x40]
mov byte [ecx + 0x40], al
call fcn.00401e80
mov ecx, dword [ebx + 4]
imul ecx, dword [ebp - 0x28]
mov eax, dword [ebx]
add ecx, edi
movsd xmm1, qword [eax + ecx*8]
lea ecx, [ebp - 0x10c]
call fcn.00409b90
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x104]
call fcn.00406f40
or dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x58]
cmovl ecx, dword [ebp - 0x58]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x408853
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408849
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b15
push ecx
push edx
call fcn.0040ed7c
add esp, 8
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
call fcn.00405e50
inc edi
lea edx, [ebx + 4]
cmp edi, dword [edx]
jl 0x408690
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebx + 8]
jl 0x408685
mov edi, dword [ebp - 0x20]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi + 0x20]
mov dword [ebp - 0x48], ecx
mov ecx, dword [eax + esi + 0x24]
mov al, byte [eax + esi + 0x40]
mov byte [ebp - 0x11], al
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x38], ecx
cmp dword [eax + 0x14], 0xf
jbe 0x4088c3
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
call fcn.00409de0
xor eax, eax
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebx + 4], eax
jle 0x408aa8
mov ecx, dword [ebp + 8]
lea edx, [ecx + 0x30]
mov dword [ebp - 0x28], edx
lea edx, [ecx + 0x48]
mov dword [ebp - 0x50], edx
jmp 0x408953
cmp eax, 0xfffffffe
jne 0x408901
mov ecx, 0xf
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
jmp 0x408923
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x24], edx
mov ecx, eax
or ecx, dword [ebp - 0x24]
lea edx, [ebx + 4]
mov dword [ebp - 0x30], eax
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], edx
je 0x408652
mov ecx, eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x40], edi
mov edi, dword [eax + 0x1c]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x1c], ecx
lea eax, [ebx + 4]
mov dword [ebp - 0x44], edi
xor edi, edi
mov dword [ebp - 0x1c], eax
jmp 0x40865e
mov ecx, dword [ebp + 8]
test eax, eax
je 0x408976
cmp dword [ecx + 0x8c], 0xf
lea edx, [ecx + 0x78]
jbe 0x408966
mov edx, dword [ecx + 0x78]
push dword [ecx + 0x88]
mov ecx, esi
call fcn.00409de0
add esp, 4
mov eax, dword [ebp - 0x28]
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x408983
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
call fcn.00409de0
add esp, 4
test edi, edi
je 0x4089b6
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov al, byte [eax + 0xa8]
mov byte [ecx + esi + 0x40], al
mov eax, edi
mov ecx, dword [esi]
cdq
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x20], eax
mov dword [ecx + esi + 0x24], edx
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
movsd xmm1, qword [eax + ecx*8]
mov ecx, esi
call fcn.00409b90
mov eax, dword [ebp - 0x2c]
mov ebx, 1
cmp dword [eax + 8], ebx
jle 0x408a55
mov edi, dword [ebp + 8]
nop dword [eax + eax]
cmp dword [edi + 0xa4], 0xf
lea edx, [edi + 0x90]
jbe 0x4089f5
mov edx, dword [edi + 0x90]
push dword [edi + 0xa0]
mov ecx, esi
call fcn.00409de0
mov edx, dword [ebp - 0x20]
add esp, 4
test edx, edx
je 0x408a2d
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, edi
mov al, byte [eax + 0xa8]
mov byte [ecx + esi + 0x40], al
mov eax, edx
mov ecx, dword [esi]
cdq
mov ecx, dword [ecx + 4]
mov dword [ecx + esi + 0x20], eax
mov dword [ecx + esi + 0x24], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x2c]
imul ecx, ebx
mov eax, dword [eax]
add ecx, dword [ebp - 0x18]
movsd xmm1, qword [eax + ecx*8]
mov ecx, esi
call fcn.00409b90
mov eax, dword [ebp - 0x2c]
inc ebx
cmp ebx, dword [eax + 8]
jl 0x4089e0
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov edx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x408a62
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, esi
call fcn.00409de0
mov ebx, dword [ebp - 0x1c]
add esp, 4
mov eax, dword [ebx]
dec eax
cmp dword [ebp - 0x18], eax
jge 0x408a96
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0xf
lea edx, [eax + 0x60]
jbe 0x408a89
mov edx, dword [eax + 0x60]
push dword [eax + 0x70]
mov ecx, esi
call fcn.00409de0
add esp, 4
mov eax, dword [ebp - 0x18]
inc eax
cmp eax, dword [ebx]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
jl 0x408950
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0xf
lea edx, [eax + 0x18]
jbe 0x408ab7
mov edx, dword [eax + 0x18]
push dword [eax + 0x28]
mov ecx, esi
call fcn.00409de0
mov eax, dword [ebp - 0x30]
add esp, 4
or eax, dword [ebp - 0x24]
je 0x408adf
mov eax, dword [esi]
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x18], ecx
mov ecx, dword [ebp - 0x44]
mov dword [eax + esi + 0x1c], ecx
test edi, edi
je 0x408b02
mov eax, dword [esi]
mov cl, byte [ebp - 0x11]
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], cl
mov eax, dword [esi]
mov ecx, dword [ebp - 0x48]
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x20], ecx
mov ecx, dword [ebp - 0x38]
mov dword [eax + esi + 0x24], ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00416a95
int3