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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5c4dc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x130]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x38], 0x64
call sub.mfc42u.dll_CString::CString_3
xor esi, esi
lea ecx, [esp + 0x134]
mov dword [esp + 0x340], esi
call sub.mfc42u.dll_CString::CString_3
mov eax, 0x618e10
mov byte [esp + 0x340], 1
test eax, eax
mov dword [esp + 0x12c], 0x5e2a70
jne 0x41cb17
call fcn.004328a0
push eax
jmp 0x41cb1c
push 0x618e10
lea ecx, [esp + 0x138]
call fcn.005c0e66
call fcn.00432890
push eax
lea ecx, [esp + 0x134]
call fcn.005c0e66
lea ecx, [esp + 0x38]
mov dword [esp + 0x340], 2
push ecx
push 0x618e00
lea ecx, [esp + 0x134]
call fcn.004b57c0
mov ecx, dword [esp + 0x38]
mov eax, 0xa
cmp ecx, eax
jg 0x41cb6c
mov dword [esp + 0x38], eax
mov dword [ebx + 0x49c], esi
mov dword [ebx + 0x4a0], esi
mov dword [ebx + 0x4a4], esi
mov esi, dword [ebx + 0x4b0]
mov ecx, dword [ebx + 0x2d4]
mov eax, esi
cdq
lea edi, [ecx - 1]
mov dword [esp + 0x34], esi
idiv edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x2d0]
sub eax, ecx
test esi, esi
mov dword [esp + 0x14], eax
jne 0x41cbea
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
lea esi, [ecx + 4]
test eax, eax
mov dword [esp + 0x10], esi
je 0x41cbd1
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi], 0
mov dword [ecx + 0xc], 0
add ecx, 8
mov dword [esp + 0x24], ecx
mov dword [ecx], 0
jmp 0x41cd1d
mov edi, dword [ebp + 8]
mov edx, dword [edi + 4]
lea eax, [edi + 4]
test edx, edx
mov dword [esp + 0x10], eax
jne 0x41cc3b
lea edi, [esi*8]
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, edi
mov edi, edx
mov dword [eax], edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], esi
add eax, 8
mov dword [esp + 0x24], eax
mov dword [eax], esi
jmp 0x41cd15
mov ecx, dword [edi + 0xc]
cmp esi, ecx
jg 0x41cc65
mov eax, dword [edi + 8]
add edi, 8
cmp esi, eax
mov dword [esp + 0x24], edi
jle 0x41cc5e
mov ecx, esi
lea edx, [edx + eax*8]
sub ecx, eax
push ecx
push edx
call fcn.0049df10
mov dword [edi], esi
jmp 0x41cd15
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x41cc90
mov eax, dword [edi + 8]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x41cc84
mov eax, 4
jmp 0x41cc90
cmp eax, 0x400
jle 0x41cc90
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x18], eax
jl 0x41cc9e
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x18]
lea ecx, [eax*8]
push ecx
call sub.mfc42u.dll_operatornew
mov edx, dword [esp + 0x14]
lea ecx, [edi + 8]
mov dword [esp + 0x28], ecx
mov edi, eax
mov ecx, dword [ecx]
mov esi, dword [edx]
shl ecx, 3
mov edx, ecx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0xc], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov edx, edi
mov ecx, dword [ecx]
sub edx, ecx
lea eax, [eax + ecx*8]
push edx
push eax
call fcn.0049df10
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [edx], edi
mov dword [ecx + 0xc], eax
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebx + 0x4b0]
xor eax, eax
test ecx, ecx
jle 0x41cd59
mov edx, dword [ebx + 0x4ac]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebx + 0x4a4]
add edx, ecx
inc eax
mov dword [ebx + 0x4a4], edx
mov edx, dword [ebx + 0x4ac]
mov ecx, dword [esi]
fild dword [edx + eax*4 - 4]
fstp qword [ecx + eax*8 - 8]
cmp eax, dword [ebx + 0x4b0]
jl 0x41cd29
mov edx, dword [esp + 0x2c]
add edx, edi
imul edx, dword [esp + 0x14]
shl edx, 2
push edx
call sub.mfc42u.dll_operatornew
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
jle 0x41cfe2
mov ecx, eax
lea eax, [edi + 1]
mov dword [esp + 0x30], eax
or eax, 0xffffffff
sub eax, edi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
xor esi, esi
xor edi, edi
mov dword [esp + 0x28], esi
test eax, eax
jle 0x41cee6
mov esi, dword [esp + 0x18]
add ebx, 0x220
add esi, eax
mov dword [esp + 0x58], ecx
shl eax, 2
add ecx, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
inc edi
push edi
lea ecx, [esp + 0x80]
push eax
push ecx
mov ecx, ebx
mov dword [esp + 0x58], edi
call fcn.004c4290
mov eax, dword [eax]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
mov esi, eax
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0xc], esi
call sub.mfc42u.dll_CString::CString
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
add ecx, esi
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x28], ecx
jle 0x41ceb9
fild dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
fstp qword [esp + 0x84]
lea edi, [edx + 1]
mov ecx, dword [esp + 0x30]
push edi
lea edx, [esp + 0x84]
push ecx
push edx
mov ecx, ebx
call fcn.004c4290
mov eax, dword [eax]
lea ecx, [esp + 0x6c]
push ecx
push eax
mov dword [esp + 0x74], 0
call dword [sym.imp.msvcrt.dll_wcstod]
fstp qword [esp + 0x74]
add esp, 8
lea ecx, [esp + 0x80]
call sub.mfc42u.dll_CString::CString
mov edx, dword [esp + 0x10]
fld qword [esp + 0x84]
mov eax, dword [edx]
fmul qword [esp + 0x6c]
add eax, esi
add esi, 8
inc edi
fsubr qword [eax]
fstp qword [eax]
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jne 0x41ce51
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx*8]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0x1c]
cmp edi, eax
mov dword [esp + 0x3c], ecx
jl 0x41cddf
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x49c]
mov edi, dword [esp + 0x38]
add edx, esi
mov eax, esi
mov dword [ebx + 0x49c], edx
cdq
idiv edi
mov eax, esi
test edx, edx
cdq
je 0x41cf09
idiv edi
inc eax
jmp 0x41cf0b
idiv edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
jle 0x41cfb7
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov edi, ecx
lea esi, [edx + 1]
mov edx, dword [esp + 0x18]
add edx, eax
shl eax, 2
add ecx, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x30]
push esi
lea ecx, [esp + 0x7c]
push eax
push ecx
lea ecx, [ebx + 0x220]
call fcn.004c4290
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x54], 0
call dword [sym.imp.msvcrt.dll_wcstod]
fstp qword [esp + 0x54]
add esp, 8
lea ecx, [esp + 0x78]
call sub.mfc42u.dll_CString::CString
fld qword [esp + 0x4c]
fmul qword [0x5e33a8]
call sub.msvcrt.dll__ftol
fld qword [esp + 0x4c]
fadd qword [esp + 0x5c]
mov dword [edi], eax
mov eax, dword [esp + 0xc]
add edi, 4
inc esi
dec eax
fstp qword [esp + 0x5c]
mov dword [esp + 0xc], eax
jne 0x41cf4b
mov ecx, dword [esp + 0x20]
fild dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
inc eax
fmul qword [esp + 0x5c]
mov dword [esp + 0x30], eax
add edx, eax
mov eax, dword [esp + 0x14]
fadd qword [esp + 0x44]
cmp edx, eax
fstp qword [esp + 0x44]
jl 0x41cdaa
fld qword [esp + 0x44]
fadd qword [0x5e2790]
call sub.msvcrt.dll__ftol
fld qword [0x5e2798]
mov esi, eax
mov eax, dword [esp + 0x24]
fst qword [esp + 0x44]
mov dword [ebx + 0x4a0], esi
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x41d032
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
fld qword [edi]
fcomp qword [0x5e2798]
fnstsw ax
test ah, 1
je 0x41d026
fadd qword [edi]
inc ecx
add edi, 8
cmp ecx, edx
jl 0x41d015
fst qword [esp + 0x44]
mov al, byte [ebp + 0xc]
test al, al
je 0x41d290
fcom qword [0x5e2798]
fnstsw ax
test ah, 0x41
je 0x41d290
fld qword [0x5e2790]
mov ecx, dword [ebx + 0x49c]
mov dword [esp + 0x118], esi
fsub st(1)
mov dword [esp + 0x114], ecx
call sub.msvcrt.dll__ftol
mov edx, dword [ebx + 0x4bc]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x120], eax
mov dword [esp + 0x110], edx
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x90]
mov dword [esp + 0x124], ecx
push 0x40
push eax
lea ecx, [ebx + 0x1a0]
fstp st(0)
mov dword [esp + 0x130], edx
call sub.mfc42u.dll_CWnd::GetWindowTextW
mov ecx, dword [ebx + 0x4cc]
mov edi, ecx
mov dword [esp + 0x14], edi
lea esi, [edi + 1]
test esi, esi
jne 0x41d0fa
mov eax, dword [ebx + 0x4c8]
test eax, eax
je 0x41d0e7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [ebx + 0x4c8], esi
xor eax, eax
mov dword [ebx + 0x4d0], eax
mov dword [ebx + 0x4cc], eax
jmp 0x41d26f
mov edx, dword [ebx + 0x4c8]
test edx, edx
jne 0x41d145
lea edi, [esi + esi*4]
shl edi, 3
sub edi, esi
shl edi, 2
push edi
call sub.mfc42u.dll_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4c8], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x4d0], esi
mov dword [ebx + 0x4cc], esi
jmp 0x41d26b
cmp esi, dword [ebx + 0x4d0]
jg 0x41d18a
cmp esi, ecx
jle 0x41d17f
mov eax, esi
lea edi, [ecx + ecx*4]
sub eax, ecx
shl edi, 3
sub edi, ecx
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
lea edi, [edx + edi*4]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x4cc], esi
jmp 0x41d26f
mov eax, dword [ebx + 0x4d4]
test eax, eax
jne 0x41d1b7
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x41d1ab
mov eax, 4
jmp 0x41d1b7
cmp eax, 0x400
jle 0x41d1b7
mov eax, 0x400
mov ecx, dword [ebx + 0x4d0]
add eax, ecx
cmp esi, eax
jge 0x41d1c9
mov dword [esp + 0x20], eax
jmp 0x41d1cf
mov dword [esp + 0x20], esi
mov eax, esi
lea ecx, [eax + eax*4]
shl ecx, 3
sub ecx, eax
shl ecx, 2
push ecx
call sub.mfc42u.dll_operatornew
mov edx, dword [ebx + 0x4cc]
mov esi, dword [ebx + 0x4c8]
mov edi, eax
mov dword [esp + 0x44], eax
lea ecx, [edx + edx*4]
shl ecx, 3
sub ecx, edx
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x4cc]
lea esi, [edx + 1]
mov edx, esi
lea edi, [ecx + ecx*4]
sub edx, ecx
shl edi, 3
sub edi, ecx
lea ecx, [edx + edx*4]
shl ecx, 3
sub ecx, edx
lea edi, [eax + edi*4]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x4c8]
push eax
call sub.mfc42u.dll_operatordelete
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
add esp, 8
mov dword [ebx + 0x4c8], eax
mov dword [ebx + 0x4cc], esi
mov dword [ebx + 0x4d0], ecx
mov edi, dword [esp + 0x14]
mov eax, dword [ebx + 0x4c8]
lea edx, [edi + edi*4]
shl edx, 3
sub edx, edi
mov ecx, 0x27
lea esi, [esp + 0x90]
lea edi, [eax + edx*4]
rep movsd dword es:[edi], dword [esi]
jmp 0x41d29f
mov ecx, dword [esp + 0x34]
push ecx
fstp st(0)
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0x12c]
mov dword [esp + 0x340], 0xffffffff
call fcn.004b5690
mov ecx, dword [esp + 0x338]
pop edi
fld qword [esp + 0x40]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8