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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e56cc
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x417e06
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
lea ecx, [ebp + 0x10]
push eax
push edx
mov eax, dword [ecx + 8]
push eax
call fcn.0041dd40
jmp 0x41902b
mov ecx, dword [ebp + 4]
push ecx
lea ecx, [esp + 0x54]
call fcn.004e2538
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x50]
push 0
push eax
mov edx, dword [ecx]
mov dword [esp + 0x88], 0
call dword [edx + 0xe4]
lea ecx, [esp + 0x30]
call fcn.004178f0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + eax*8 - 8]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.00417900
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x8a]
mov dword [esp + 0x10], ecx
mov ebx, dword [eax]
mov eax, dword [esp + 0x32]
cmp ax, dx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
jne 0x41818d
mov edx, dword [ebp + 4]
and eax, 0xffff
cmp cx, bx
mov edx, dword [edx + 0x40]
mov edx, dword [edx + 0xe4]
mov edi, dword [edx + eax*4]
jae 0x418007
and ecx, 0xffff
and ebx, 0xffff
inc ecx
mov dword [esp + 0x10], ebx
mov esi, ecx
cmp esi, ebx
jg 0x417fbd
lea ebx, [esi + esi*2]
lea eax, [esi + esi*4]
shl ebx, 4
shl eax, 2
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x30]
cmp al, 2
jne 0x417f5d
lea eax, [esp + 0x64]
push esi
push eax
lea ecx, [edi + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 1
cmp eax, 0xa
je 0x417f4a
cmp eax, 7
je 0x417f4a
cmp eax, 2
je 0x417f4a
cmp eax, 4
je 0x417f4a
cmp eax, 8
je 0x417f4a
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, ebp
call fcn.00419040
mov edx, dword [edi + 0x44]
mov eax, dword [esp + 0x18]
push 1
push esi
mov dword [edx + eax + 0x10], 1
mov ecx, dword [ebp + 4]
push 0
lea eax, [esp + 0x5c]
mov edx, dword [ecx + 0xbb4]
mov ecx, edi
push edx
push eax
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
jmp 0x417fa2
cmp al, 3
jne 0x417fa2
lea ecx, [esp + 0x30]
push ecx
push esi
mov ecx, ebp
call fcn.00419040
mov edx, dword [edi + 0x58]
push 1
mov dword [edx + ebx + 0x2c], 1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xe4]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push ecx
push edx
push esi
push 0
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, edi
call fcn.0045e950
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc esi
add edx, 0x14
add ebx, 0x30
cmp esi, eax
mov dword [esp + 0x18], edx
jle 0x417ed8
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add ebp, 0x10
lea ecx, [eax - 1]
mov eax, dword [ebp + 8]
sub eax, ecx
lea esi, [edx + ecx*8]
dec eax
je 0x417fe7
shl eax, 3
lea ecx, [edx + ecx*8 + 8]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
dec edi
mov eax, edi
push edx
push ecx
push eax
mov ecx, ebp
mov dword [ebp + 8], edi
call fcn.0041dd40
jmp 0x419017
jbe 0x419017
cmp bx, cx
mov esi, ebx
jae 0x418123
and ebx, 0xffff
lea eax, [ebx + ebx*2]
shl eax, 4
mov dword [esp + 0x14], eax
lea eax, [ebx + ebx*4]
shl eax, 2
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x30]
cmp al, 2
jne 0x4180b7
lea edx, [esp + 0x64]
push ebx
push edx
lea ecx, [edi + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 2
cmp eax, 0xa
je 0x4180a4
cmp eax, 7
je 0x4180a4
cmp eax, 2
je 0x4180a4
cmp eax, 4
je 0x4180a4
cmp eax, 8
je 0x4180a4
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push ebx
call fcn.00419040
mov ecx, dword [edi + 0x44]
mov edx, dword [esp + 0x18]
push 1
push esi
mov dword [ecx + edx + 0x10], 1
mov eax, dword [ebp + 4]
push 0
lea edx, [esp + 0x5c]
mov ecx, dword [eax + 0xbb4]
push ecx
push edx
mov ecx, edi
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
jmp 0x418100
cmp al, 3
jne 0x418100
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push ebx
call fcn.00419040
mov ecx, dword [edi + 0x58]
mov edx, dword [esp + 0x14]
push 1
mov dword [ecx + edx + 0x2c], 1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xe4]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push ecx
push edx
push esi
push 0
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, edi
call fcn.0045e950
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
inc esi
inc ebx
add edx, 0x14
add ecx, 0x30
cmp si, word [esp + 0x10]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
jb 0x418032
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add ebp, 0x10
lea ecx, [eax - 1]
mov eax, dword [ebp + 8]
sub eax, ecx
lea esi, [edx + ecx*8]
dec eax
je 0x41814d
shl eax, 3
lea ecx, [edx + ecx*8 + 8]
push eax
push ecx
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
dec ecx
mov esi, ecx
mov dword [ebp + 8], ecx
push 0xffffffffffffffff
mov dword [esp + 0x3c], edx
lea ecx, [esi + 1]
mov dword [esp + 0x40], eax
push ecx
mov ecx, ebp
call fcn.00417530
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [ecx + esi*8]
call fcn.00417900
jmp 0x419017
mov ecx, dword [ebp + 4]
and edx, 0xffff
mov dword [esp + 0x1c], edx
mov esi, eax
mov ecx, dword [ecx + 0x40]
and esi, 0xffff
mov dword [esp + 0x20], esi
mov edi, dword [ecx + 0xe4]
mov ecx, dword [ecx + 0xe4]
mov edx, dword [ecx + edx*4]
mov ecx, dword [ebp + 0x18]
mov edi, dword [edi + esi*4]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [ebp + 0x18]
dec edx
sub ecx, edx
dec ecx
lea ebx, [esi + edx*8]
je 0x4181ec
lea eax, [ecx*8]
lea ecx, [esi + edx*8 + 8]
push eax
push ecx
push ebx
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [esp + 0x3e]
add esp, 0xc
mov edx, dword [ebp + 0x18]
dec edx
mov dword [ebp + 0x18], edx
mov dx, word [esp + 0x24]
cmp word [esp + 0x2c], dx
jae 0x4187ba
mov edx, dword [esp + 0x30]
cmp dl, 3
jne 0x418376
mov eax, dword [esp + 0x10]
and eax, 0xffff
lea ecx, [eax + 1]
mov eax, dword [edi + 0x5c]
mov ebx, eax
mov esi, ecx
and ebx, 0xffff
mov dword [esp + 0x10], ecx
cmp esi, ebx
jge 0x41829c
lea ebx, [esi + esi*2]
shl ebx, 4
and eax, 0xffff
cmp ecx, eax
jg 0x418285
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push esi
call fcn.00419040
mov ecx, dword [edi + 0x58]
push 1
mov dword [ecx + ebx + 0x2c], 1
mov eax, dword [ebp + 4]
mov edx, dword [eax + 0xe4]
mov ecx, dword [eax + 0xe0]
push edx
mov edx, dword [eax + 0xbb0]
push ecx
push esi
push 0
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, edi
call fcn.0045e950
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x5c]
inc esi
mov edx, eax
add ebx, 0x30
and edx, 0xffff
cmp esi, edx
jl 0x418237
mov edx, dword [esp + 0x30]
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
lea ecx, [edi + 1]
mov dword [esp + 0x3c], edx
push ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00417530
mov ecx, dword [esi + 4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [ecx + edi*8]
call fcn.00417900
mov eax, dword [esp + 0x14]
xor esi, esi
and eax, 0xffff
mov dword [esp + 0x10], eax
jle 0x41833f
mov ebx, dword [esp + 0x18]
xor edi, edi
cmp word [esp + 0x14], 0
je 0x418333
lea edx, [esp + 0x88]
mov ecx, ebp
push edx
push esi
call fcn.00419040
mov eax, dword [ebx + 0x58]
push 1
mov dword [eax + edi + 0x2c], 1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0xe4]
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push ecx
push edx
push esi
push 0
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, ebx
call fcn.0045e950
mov eax, dword [esp + 0x10]
inc esi
add edi, 0x30
cmp esi, eax
jl 0x4182e7
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.00417530
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
jmp 0x418557
cmp dl, 2
jne 0x418563
mov eax, dword [esp + 0x10]
and eax, 0xffff
lea ecx, [eax + 1]
mov eax, dword [edi + 0x48]
mov ebx, eax
mov esi, ecx
and ebx, 0xffff
mov dword [esp + 0x10], ecx
cmp esi, ebx
jge 0x418444
lea ebx, [esi + esi*4]
shl ebx, 2
cmp ecx, eax
jg 0x418429
lea edx, [esp + 0x64]
push esi
push edx
lea ecx, [edi + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 3
cmp eax, 0xa
je 0x418414
cmp eax, 7
je 0x418414
cmp eax, 2
je 0x418414
cmp eax, 4
je 0x418414
cmp eax, 8
je 0x418414
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push esi
call fcn.00419040
mov ecx, dword [edi + 0x44]
push 1
push esi
push 0
mov dword [ecx + ebx + 0x10], 1
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x5c]
mov eax, dword [edx + 0xbb4]
push eax
push ecx
mov ecx, edi
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + 0x48]
inc esi
mov edx, eax
add ebx, 0x14
and edx, 0xffff
cmp esi, edx
jl 0x4183aa
mov edx, dword [esp + 0x30]
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov eax, dword [esp + 0x34]
push 0xffffffffffffffff
lea ecx, [edi + 1]
mov dword [esp + 0x3c], edx
push ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00417530
mov ecx, dword [esi + 4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [ecx + edi*8]
call fcn.00417900
mov eax, dword [esp + 0x14]
xor esi, esi
and eax, 0xffff
mov dword [esp + 0x10], eax
jle 0x418525
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp word [esp + 0x14], 0
je 0x418515
lea edx, [esp + 0x64]
push esi
push edx
lea ecx, [edi + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 4
cmp eax, 0xa
je 0x418504
cmp eax, 7
je 0x418504
cmp eax, 2
je 0x418504
cmp eax, 4
je 0x418504
cmp eax, 8
je 0x418504
lea eax, [esp + 0x88]
mov ecx, ebp
push eax
push esi
call fcn.00419040
mov ecx, dword [edi + 0x44]
push 1
push esi
push 0
mov dword [ecx + ebx + 0x10], 1
mov edx, dword [ebp + 4]
lea ecx, [esp + 0x5c]
mov eax, dword [edx + 0xbb4]
push eax
push ecx
mov ecx, edi
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov eax, dword [esp + 0x10]
inc esi
add ebx, 0x14
cmp esi, eax
jl 0x418493
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
call fcn.00417530
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
mov ecx, dword [esi + 4]
push eax
lea ecx, [ecx + edi*8]
call fcn.00417900
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 1]
cmp eax, ecx
je 0x419017
mov dword [esp + 0x14], eax
jge 0x419017
lea esi, [eax*4]
lea ecx, [esp + 0x38]
call fcn.004178f0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x80], 5
je 0x4185b3
mov ecx, eax
call sub.MFC42.DLL_CUIntArray::CUIntArray
jmp 0x4185b5
xor eax, eax
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x30]
cmp al, 3
mov byte [esp + 0x80], 0
jne 0x418676
mov cx, word [esp + 0x14]
mov edx, dword [ebp + 4]
mov byte [esp + 0x38], al
mov word [esp + 0x3a], cx
mov eax, dword [edx + 0x40]
xor edi, edi
mov eax, dword [eax + 0xe4]
mov eax, dword [eax + esi]
cmp word [eax + 0x5c], di
jbe 0x418765
xor ebx, ebx
lea ecx, [esp + 0x38]
push ecx
push edi
mov ecx, ebp
call fcn.00419040
mov edx, dword [ebp + 4]
push 1
mov eax, dword [edx + 0x40]
mov eax, dword [eax + 0xe4]
mov eax, dword [eax + esi]
mov ecx, dword [eax + 0x58]
mov dword [ecx + ebx + 0x2c], 1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x40]
mov edx, dword [ecx + 0xe4]
mov ecx, dword [edx + esi]
mov edx, dword [eax + 0xe4]
push edx
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push edx
push edi
push 0
lea edx, [esp + 0x64]
push eax
push edx
call fcn.0045e950
mov eax, dword [ebp + 4]
inc edi
add ebx, 0x30
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ecx + esi]
mov eax, dword [eax + 0x5c]
and eax, 0xffff
cmp edi, eax
jl 0x4185f8
jmp 0x418765
cmp al, 2
jne 0x418765
mov dx, word [esp + 0x14]
mov byte [esp + 0x38], al
mov eax, dword [ebp + 4]
mov word [esp + 0x3a], dx
add eax, 0x40
xor edi, edi
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + esi]
mov edx, dword [ecx + 0x48]
test edx, edx
jle 0x418765
xor ebx, ebx
mov eax, dword [eax]
lea ecx, [esp + 0x64]
push edi
push ecx
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + esi]
lea ecx, [eax + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 6
cmp eax, 0xa
je 0x418736
cmp eax, 7
je 0x418736
cmp eax, 2
je 0x418736
cmp eax, 4
je 0x418736
cmp eax, 8
je 0x418736
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
push edi
call fcn.00419040
mov eax, dword [ebp + 4]
push 1
push edi
push 0
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ecx + esi]
mov edx, dword [eax + 0x44]
mov dword [edx + ebx + 0x10], 1
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0xbb4]
lea eax, [esp + 0x5c]
push edx
mov ecx, dword [ecx + 0xe4]
push eax
mov ecx, dword [ecx + esi]
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov eax, dword [ebp + 4]
inc edi
add eax, 0x40
add ebx, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + esi]
cmp edi, dword [ecx + 0x48]
jl 0x4186ac
mov ebx, dword [ebp + 0x18]
lea edi, [ebp + 0x10]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
lea ecx, [ebx + 1]
push 0xffffffffffffffff
push ecx
mov ecx, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
call fcn.00417530
mov ecx, dword [edi + 4]
lea edx, [esp + 0x24]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [ecx + ebx*8]
call fcn.00417900
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x418587
jmp 0x419017
mov ecx, dword [esp + 0x30]
cmp cl, 3
jne 0x418979
mov ebx, dword [esp + 0x10]
xor edi, edi
and ebx, 0xffff
jle 0x41885d
xor esi, esi
cmp word [esp + 0x10], 0
je 0x418851
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
push edi
call fcn.00419040
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x32]
and ecx, 0xffff
push 1
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x58]
mov dword [eax + esi + 0x2c], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x36]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xe4]
push edx
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push edx
push edi
push 0
lea edx, [esp + 0x64]
push eax
push edx
call fcn.0045e950
inc edi
add esi, 0x30
cmp edi, ebx
jl 0x4187db
mov ecx, dword [esp + 0x30]
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
lea ecx, [edi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.00417530
mov ecx, dword [esi + 4]
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
push edx
push eax
lea ecx, [ecx + edi*8]
call fcn.00417900
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
and eax, 0xffff
lea ebx, [eax + 1]
mov eax, dword [edx + 0x5c]
mov esi, ebx
cmp esi, eax
jge 0x418942
lea edi, [esi + esi*2]
shl edi, 4
cmp ebx, eax
jg 0x41892f
lea eax, [esp + 0x88]
mov ecx, ebp
push eax
push esi
call fcn.00419040
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x8a]
and edx, 0xffff
push 1
mov eax, dword [ecx + 0x40]
mov eax, dword [eax + 0xe4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x58]
mov dword [ecx + edi + 0x2c], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x8e]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xe4]
push edx
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push edx
push esi
push 0
lea edx, [esp + 0x64]
push eax
push edx
call fcn.0045e950
mov eax, dword [esp + 0x18]
inc esi
add edi, 0x30
mov eax, dword [eax + 0x5c]
cmp esi, eax
jl 0x4188b4
mov edi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
lea esi, [ebp + 0x10]
lea eax, [edi + 1]
mov dword [esp + 0x38], ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0x44], edx
call fcn.00417530
lea ecx, [esp + 0x38]
lea edx, [esp + 0x40]
push ecx
jmp 0x418bdb
cmp cl, 2
jne 0x418be7
mov ebx, dword [esp + 0x10]
xor edi, edi
and ebx, 0xffff
jle 0x418a6e
xor esi, esi
cmp word [esp + 0x10], 0
je 0x418a5e
mov ecx, dword [ebp + 4]
and eax, 0xffff
push edi
mov ecx, dword [ecx + 0x40]
mov edx, dword [ecx + 0xe4]
lea ecx, [esp + 0x68]
push ecx
mov eax, dword [edx + eax*4]
lea ecx, [eax + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 7
cmp eax, 0xa
je 0x418a49
cmp eax, 7
je 0x418a49
cmp eax, 2
je 0x418a49
cmp eax, 4
je 0x418a49
cmp eax, 8
je 0x418a49
lea edx, [esp + 0x30]
mov ecx, ebp
push edx
push edi
call fcn.00419040
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x32]
and ecx, 0xffff
push 1
mov eax, dword [eax + 0x40]
push edi
push 0
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x44]
mov dword [eax + esi + 0x10], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x3e]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xbb4]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov eax, dword [esp + 0x32]
inc edi
add esi, 0x14
cmp edi, ebx
jl 0x418996
mov ecx, dword [esp + 0x30]
mov edi, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x34]
lea edx, [edi + 1]
mov dword [esp + 0x3c], ecx
push 0xffffffffffffffff
push edx
mov ecx, esi
call fcn.00417530
mov edx, dword [esi + 4]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x40]
push eax
push ecx
lea ecx, [edx + edi*8]
call fcn.00417900
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
and eax, 0xffff
inc eax
mov dword [esp + 0x2c], eax
mov esi, eax
mov eax, dword [ebx + 0x48]
cmp esi, eax
jge 0x418ba9
lea edi, [esi + esi*4]
shl edi, 2
cmp dword [esp + 0x2c], eax
jg 0x418b9a
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x8a]
and ecx, 0xffff
push esi
mov eax, dword [eax + 0x40]
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [eax + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 8
cmp eax, 0xa
je 0x418b89
cmp eax, 7
je 0x418b89
cmp eax, 2
je 0x418b89
cmp eax, 4
je 0x418b89
cmp eax, 8
je 0x418b89
lea edx, [esp + 0x88]
mov ecx, ebp
push edx
push esi
call fcn.00419040
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x8a]
and ecx, 0xffff
push 1
mov eax, dword [eax + 0x40]
push esi
push 0
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x44]
mov dword [eax + edi + 0x10], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x96]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xbb4]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov eax, dword [ebx + 0x48]
inc esi
add edi, 0x14
cmp esi, eax
jl 0x418ac7
mov edi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
lea esi, [ebp + 0x10]
lea eax, [edi + 1]
mov dword [esp + 0x38], ecx
push 0xffffffffffffffff
push eax
mov ecx, esi
mov dword [esp + 0x44], edx
call fcn.00417530
lea ecx, [esp + 0x38]
lea edx, [esp + 0x40]
push ecx
mov eax, dword [esi + 4]
push edx
lea ecx, [eax + edi*8]
call fcn.00417900
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea esi, [ecx + 1]
cmp esi, eax
je 0x419017
mov dword [esp + 0x18], esi
jge 0x419017
lea ebx, [esi*4]
mov dword [esp + 0x14], ebx
jmp 0x418c19
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x38]
call fcn.004178f0
push 0x14
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x80], 9
je 0x418c45
mov ecx, eax
call sub.MFC42.DLL_CUIntArray::CUIntArray
jmp 0x418c47
xor eax, eax
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x30]
cmp al, 3
mov byte [esp + 0x80], 0
jne 0x418d15
mov edx, dword [ebp + 4]
mov byte [esp + 0x38], al
mov word [esp + 0x3a], si
xor esi, esi
mov eax, dword [edx + 0x40]
mov eax, dword [eax + 0xe4]
mov eax, dword [eax + ebx]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
jle 0x418e1d
xor edi, edi
lea ecx, [esp + 0x38]
push ecx
push esi
mov ecx, ebp
call fcn.00419040
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x3a]
and ecx, 0xffff
push 1
mov eax, dword [edx + 0x40]
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x58]
mov dword [eax + edi + 0x2c], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x3e]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xe4]
push edx
mov edx, dword [eax + 0xe0]
mov eax, dword [eax + 0xbb0]
push edx
push esi
push 0
lea edx, [esp + 0x64]
push eax
push edx
call fcn.0045e950
mov eax, dword [ebp + 4]
inc esi
add edi, 0x30
mov eax, dword [eax + 0x40]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ecx + ebx]
cmp esi, dword [eax + 0x5c]
jl 0x418c86
jmp 0x418e1d
cmp al, 2
jne 0x418e1d
mov byte [esp + 0x38], al
mov eax, dword [ebp + 4]
add eax, 0x40
mov word [esp + 0x3a], si
xor esi, esi
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe4]
mov ecx, dword [edx + ebx]
mov edx, dword [ecx + 0x48]
test edx, edx
jle 0x418e1d
xor edi, edi
mov eax, dword [eax]
mov ecx, dword [esp + 0x3a]
and ecx, 0xffff
push esi
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
lea ecx, [esp + 0x68]
push ecx
lea ecx, [eax + 0x40]
call fcn.00416560
mov eax, dword [esp + 0x70]
mov byte [esp + 0x80], 0xa
cmp eax, 0xa
je 0x418dee
cmp eax, 7
je 0x418dee
cmp eax, 2
je 0x418dee
cmp eax, 4
je 0x418dee
cmp eax, 8
je 0x418dee
lea edx, [esp + 0x38]
mov ecx, ebp
push edx
push esi
call fcn.00419040
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x3a]
and ecx, 0xffff
push 1
mov eax, dword [eax + 0x40]
push esi
push 0
mov edx, dword [eax + 0xe4]
mov eax, dword [edx + ecx*4]
mov eax, dword [eax + 0x44]
mov dword [eax + edi + 0x10], 1
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x46]
mov ecx, dword [eax + 0x40]
and edx, 0xffff
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax + 0xbb4]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.0045e320
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 0
call fcn.004ba050
mov eax, dword [ebp + 4]
inc esi
add eax, 0x40
add edi, 0x14
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xe4]
mov ecx, dword [ecx + ebx]
cmp esi, dword [ecx + 0x48]
jl 0x418d46
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, ecx
mov dword [esp + 0x10], ebx
inc ebx
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x14]
cmp ebx, edi
mov dword [esp + 0x40], edx
jne 0x418e5f
cmp eax, edi
je 0x418e54
push eax
mov dword [esp + 0x30], ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp + 0x14], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], edi
jmp 0x418fde
cmp eax, edi
jne 0x418eb0
lea esi, [ebx*8]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 0x14], edi
mov dword [esp + 0x30], edi
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x30]
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebx]
test esi, esi
je 0x418e9f
mov ecx, esi
call fcn.004178f0
add esi, 8
dec edi
jne 0x418e94
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], ebx
jmp 0x418fde
mov esi, dword [ebp + 0x1c]
cmp ebx, esi
jg 0x418f14
cmp ecx, ebx
jge 0x418f04
mov edx, ebx
lea edi, [eax + ecx*8]
sub edx, ecx
xor eax, eax
mov dword [esp + 0x2c], edi
lea ecx, [edx*8]
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x418f0c
mov esi, dword [esp + 0x2c]
lea edi, [edx + 1]
test esi, esi
je 0x418ef6
mov ecx, esi
call fcn.004178f0
add esi, 8
dec edi
jne 0x418eeb
mov dword [ebp + 0x18], ebx
jmp 0x418fde
jle 0x418f0c
sub ecx, ebx
mov dword [esp + 0x2c], ecx
mov dword [ebp + 0x18], ebx
jmp 0x418fde
mov eax, dword [ebp + 0x20]
cmp eax, edi
jne 0x418f3e
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x418f32
mov eax, 4
jmp 0x418f3e
cmp eax, 0x400
jle 0x418f3e
mov eax, 0x400
add eax, esi
cmp ebx, eax
mov dword [esp + 0x1c], eax
jl 0x418f4c
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x1c]
lea edx, [ecx*8]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
mov dword [esp + 0x28], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x18]
add esp, 4
sub edx, ecx
lea edi, [eax + ecx*8]
xor eax, eax
lea ecx, [edx*8]
mov dword [esp + 0x2c], edi
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x418fc1
mov esi, dword [esp + 0x2c]
lea edi, [edx + 1]
test esi, esi
je 0x418fbb
mov ecx, esi
call fcn.004178f0
add esi, 8
dec edi
jne 0x418fb0
mov eax, dword [ebp + 0x14]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add esp, 4
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], edx
mov edx, dword [ebp + 0x14]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [edx + eax*8]
call fcn.00417900
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
jl 0x418c11
lea ecx, [esp + 0x50]
mov dword [esp + 0x80], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 8