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

Disassembly:
sub esp, 0xd8
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 8]
mov dword [esp + 0xac], ebx
cmp eax, 8
jne 0x10010d16
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x10010495
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x28], 0
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x18]
imul eax, ecx
cdq
and edx, 7
mov dword [ebx + 0x24], ecx
add eax, edx
sar eax, 3
add eax, 3
cdq
and edx, 3
add eax, edx
mov esi, eax
mov eax, dword [ebx + 0x28]
sar esi, 2
shl esi, 2
test eax, eax
mov dword [esp + 0xa4], esi
jne 0x100104db
mov eax, dword [ebx + 0x1c]
imul eax, esi
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebx + 0x28], eax
mov ecx, esi
mov edi, dword [ebx + 0x28]
imul ecx, dword [ebx + 0x1c]
mov edx, ecx
or eax, 0xffffffff
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0xa0], 2
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x1c]
sub eax, 3
cmp eax, 2
jl 0x10010d16
push ebp
lea ebp, [esi + esi]
lea ecx, [esi*4]
mov dword [esp + 0xac], ebp
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], 0
mov edx, dword [ebx + 0x18]
mov esi, 2
sub edx, 3
cmp edx, esi
jl 0x10010cd4
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x58]
add ecx, eax
lea edx, [eax + ebp]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], edx
mov ecx, dword [ebx]
mov eax, dword [esp + 0xb8]
add ebp, ecx
xor edx, edx
lea edi, [ecx + eax]
xor eax, eax
mov dl, byte [esi + ebp + 1]
xor ebx, ebx
mov al, byte [edi + esi - 1]
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xb4]
add edx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], eax
xor eax, eax
mov bl, byte [edx + esi - 1]
mov al, byte [edi + esi]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x34], ebx
xor ebx, ebx
mov dword [esp + 0x74], eax
mov bl, byte [edx + esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], ebx
xor eax, eax
xor ebx, ebx
mov al, byte [edi + esi + 1]
mov bl, byte [edx + esi + 1]
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x24], eax
mov edx, ebx
mov ebx, dword [esp + 0x38]
xor eax, eax
mov al, byte [esi + ebp - 1]
mov dword [esp + 0x70], edx
mov dword [esp + 0x3c], edx
add edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], eax
xor eax, eax
mov al, byte [esi + ebp]
add edx, ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
add edx, ebx
mov ebx, eax
add edx, ebx
mov ebx, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x20]
add edx, ebx
mov ebx, dword [esp + 0x1c]
add edx, ebx
mov dword [esp + 0x14], 9
mov dword [esp + 0x40], edx
lea edx, [esp + 0x1c]
fild dword [esp + 0x40]
mov dword [esp + 0x10], edx
fmul dword [0x1002187c]
fstp dword [esp + 0x80]
fld dword [0x100215a4]
fld dword [esp + 0x80]
fmul dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ebx, edx
imul ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ebx
fild dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
add ebx, 4
dec edx
fsub st(1)
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
faddp st(2)
jne 0x10010659
mov edx, dword [esp + 0x58]
xor ebx, ebx
add edx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], edx
mov bl, byte [edx + esi - 1]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x1c], ebx
xor ebx, ebx
mov bl, byte [edx + esi]
mov dword [esp + 0x20], ebx
xor ebx, ebx
mov bl, byte [edx + esi + 1]
mov edx, ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
add edx, eax
add edx, ebx
mov ebx, dword [esp + 0x28]
add edx, ebx
mov ebx, dword [esp + 0x24]
add edx, ebx
mov ebx, dword [esp + 0x20]
fxch st(1)
fst dword [esp + 0xc4]
add edx, ebx
mov ebx, dword [esp + 0x1c]
fxch st(1)
fstp st(0)
add edx, ebx
mov dword [esp + 0x14], edx
lea edx, [esp + 0x1c]
fild dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 7
fmul dword [0x10021878]
fstp dword [esp + 0x84]
fld dword [0x100215a4]
fld dword [esp + 0x84]
fmul dword [esp + 0x84]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ebx, edx
imul ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ebx, 4
dec edx
fsub st(1)
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
faddp st(2)
jne 0x1001073c
xor edx, edx
mov ebx, dword [esp + 0x48]
mov dl, byte [edi + esi - 2]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], 7
mov dword [esp + 0x20], edx
xor edx, edx
mov dl, byte [esi + ebp - 2]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x28], edx
xor edx, edx
mov dl, byte [ebx + esi - 2]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x30], edx
add ebx, edx
mov edx, eax
add ebx, edx
mov edx, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x24]
add ebx, edx
mov edx, dword [esp + 0x20]
add ebx, edx
mov edx, dword [esp + 0x1c]
fstp st(0)
fstp dword [esp + 0xc8]
add ebx, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x18]
fmul dword [0x10021878]
fstp dword [esp + 0x88]
fld dword [0x100215a4]
fld dword [esp + 0x88]
fmul dword [esp + 0x88]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ebx, edx
imul ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ebx, 4
dec edx
fsub st(1)
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
faddp st(2)
jne 0x10010812
mov edx, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x5c]
add ecx, edx
xor edx, edx
fstp st(0)
mov dl, byte [ecx + esi - 1]
mov bl, byte [ecx + esi + 1]
mov dword [esp + 0x54], edx
mov dword [esp + 0x2c], edx
xor edx, edx
mov dword [esp + 0x50], ebx
mov dl, byte [ecx + esi]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
add ebx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
add ebx, edx
mov edx, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x24]
fstp dword [esp + 0xcc]
add ebx, edx
mov edx, dword [esp + 0x20]
add ebx, edx
mov edx, eax
add ebx, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edx
fild dword [esp + 0x18]
mov dword [esp + 0x14], 7
fmul dword [0x10021878]
fstp dword [esp + 0x8c]
fld dword [0x100215a4]
fld dword [esp + 0x8c]
fmul dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
mov edx, dword [edx]
mov ebx, edx
imul ebx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
add ebx, 4
dec edx
fsub st(1)
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
faddp st(2)
jne 0x100108e6
xor ebx, ebx
mov edx, dword [esp + 0x78]
mov bl, byte [edi + esi + 2]
mov dword [esp + 0x1c], edx
mov edi, ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x28], ebx
xor ebx, ebx
mov bl, byte [esi + ebp + 2]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov bl, byte [esi + ebp + 2]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x34], ebx
add ebx, ebp
mov ebp, dword [esp + 0x2c]
add ebx, ebp
mov ebp, dword [esp + 0x28]
add ebx, ebp
mov ebp, eax
add ebx, ebp
mov ebp, edi
add ebx, ebp
mov dword [esp + 0x20], edi
fstp st(0)
fstp dword [esp + 0xd0]
add ebx, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x1c]
fild dword [esp + 0x18]
mov dword [esp + 0x48], 7
fmul dword [0x10021878]
fstp dword [esp + 0x90]
fld dword [0x100215a4]
fld dword [esp + 0x90]
fmul dword [esp + 0x90]
mov ebx, dword [edx]
add edx, 4
mov ebp, ebx
imul ebp, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x18], ebp
fild dword [esp + 0x18]
dec ebx
mov dword [esp + 0x48], ebx
fsub st(1)
faddp st(2)
jne 0x100109b1
mov ebx, dword [esp + 0x40]
xor edx, edx
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x60]
mov dl, byte [ebx + esi + 2]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x34], edi
add edi, eax
mov ebp, dword [esp + 0x44]
add edi, ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], edx
add edi, ebx
mov ebx, dword [esp + 0x24]
add edi, ebx
mov dword [esp + 0x1c], ebp
add edi, edx
mov dword [esp + 0x30], eax
fstp st(0)
fstp dword [esp + 0xd4]
add edi, ebp
lea edx, [esp + 0x1c]
mov dword [esp + 0x44], edi
mov edi, 7
fild dword [esp + 0x44]
fmul dword [0x10021878]
fstp dword [esp + 0x94]
fld dword [0x100215a4]
fld dword [esp + 0x94]
fmul dword [esp + 0x94]
mov ebx, dword [edx]
add edx, 4
mov ebp, ebx
imul ebp, ebx
mov dword [esp + 0x44], ebp
dec edi
fild dword [esp + 0x44]
fsub st(1)
faddp st(2)
jne 0x10010a5b
mov edi, dword [esp + 0x40]
xor edx, edx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
mov dl, byte [edi + esi - 2]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x30], edi
add edi, eax
mov dword [esp + 0x1c], edx
add edi, ebp
mov ebp, dword [esp + 0x28]
add edi, ebp
mov ebp, dword [esp + 0x24]
add edi, ebp
mov dword [esp + 0x20], ebx
add edi, ebx
fstp st(0)
fstp dword [esp + 0xd8]
add edi, edx
lea edx, [esp + 0x1c]
mov dword [esp + 0x4c], edi
mov edi, 7
fild dword [esp + 0x4c]
fmul dword [0x10021878]
fstp dword [esp + 0x98]
fld dword [0x100215a4]
fld dword [esp + 0x98]
fmul dword [esp + 0x98]
mov ebx, dword [edx]
add edx, 4
mov ebp, ebx
imul ebp, ebx
mov dword [esp + 0x4c], ebp
dec edi
fild dword [esp + 0x4c]
fsub st(1)
faddp st(2)
jne 0x10010b04
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
xor edx, edx
mov dl, byte [ecx + esi - 2]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edx
add ebx, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x6c]
add ebx, edx
mov edx, dword [esp + 0x28]
add ebx, edx
mov edx, dword [esp + 0x24]
mov ebp, eax
add ebx, edx
add ebx, ebp
mov dword [esp + 0x1c], edi
fstp st(0)
fstp dword [esp + 0xdc]
add ebx, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x54], ebx
lea edx, [esp + 0x1c]
fild dword [esp + 0x54]
mov edi, 7
fmul dword [0x10021878]
fstp dword [esp + 0x9c]
fld dword [0x100215a4]
fld dword [esp + 0x9c]
fmul dword [esp + 0x9c]
mov ebx, dword [edx]
add edx, 4
mov ebp, ebx
imul ebp, ebx
mov dword [esp + 0x54], ebp
dec edi
fild dword [esp + 0x54]
fsub st(1)
faddp st(2)
jne 0x10010bab
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov bl, byte [ecx + esi + 2]
mov ebp, dword [esp + 0x68]
mov ecx, ebx
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x34], ecx
add ecx, ebx
mov ebx, dword [esp + 0x2c]
add ecx, ebx
mov dword [esp + 0x1c], eax
add ecx, edx
mov dword [esp + 0x20], edi
add ecx, ebp
mov dword [esp + 0x24], ebp
add ecx, edi
mov dword [esp + 0x28], edx
fstp st(0)
fstp dword [esp + 0xe0]
add ecx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, 7
fild dword [esp + 0x50]
fmul dword [0x10021878]
fstp dword [esp + 0xa0]
fld dword [0x100215a4]
fld dword [esp + 0xa0]
fmul dword [esp + 0xa0]
mov edx, dword [eax]
add eax, 4
mov edi, edx
imul edi, edx
mov dword [esp + 0x50], edi
dec ecx
fild dword [esp + 0x50]
fsub st(1)
faddp st(2)
jne 0x10010c4b
mov ebp, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
fstp st(0)
fstp dword [esp + 0xe4]
xor edi, edi
mov dword [esp + 0x40], edi
fcom dword [esp + edi + 0xc4]
fnstsw ax
test ah, 0x41
jne 0x10010c9c
fstp st(0)
fld dword [esp + edi + 0xc4]
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0x40]
fld dword [esp + eax + 0x80]
fadd qword [0x100216e8]
call sub.MSVCRT.dll__ftol
mov edx, dword [ebx + 0x28]
lea ecx, [esi + ebp]
add edi, 4
cmp edi, 0x20
mov byte [ecx + edx], al
jle 0x10010c81
mov eax, dword [ebx + 0x18]
inc esi
sub eax, 3
cmp esi, eax
fstp st(0)
jle 0x1001055e
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0xa4]
mov edi, dword [esp + 0x5c]
add edx, eax
inc ecx
mov dword [esp + 0x58], edx
mov edx, dword [ebx + 0x1c]
sub edx, 3
add ebp, eax
add edi, eax
cmp ecx, edx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], ebp
mov dword [esp + 0x5c], edi
jle 0x1001052d
pop ebp
pop edi
pop esi
pop ebx
add esp, 0xd8
ret