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

Disassembly:
push 0xffffffffffffffff
push 0x4ed2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a0
mov eax, dword [esp + 0x308]
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x40], ecx
push eax
xor edi, edi
mov dword [esp + 0x40], esi
call fcn.004b03d0
mov ebx, 1
add esp, 4
cmp eax, ebx
jle 0x47fc8a
mov esi, ebx
mov dword [esp + 0x3c], esi
cmp esi, edi
mov dword [esp + 0x38], edi
je 0x47fce6
mov ecx, dword [esp + 0x31c]
cmp dword [ecx + 0xc], ebx
jle 0x47fce6
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
push 0xa28d
lea ecx, [esp + 0x18]
mov dword [esp + 0x2bc], edi
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [esp + 0x14]
push edi
push 4
push edx
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 6
jne 0x47fcd2
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.004e2712
mov eax, dword [esp + 0x314]
xor ecx, ecx
xor ebp, ebp
xor dx, dx
mov dl, al
movzx ax, ah
mov word [esp + 0x36], dx
mov word [esp + 0x14], ax
xor esi, esi
mov dword [esp + 0x18], 0x4f57c0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov eax, dword [esp + 0x318]
lea edx, [esp + 0x18]
push edx
push edi
push ebp
push ecx
push eax
mov dword [esp + 0x2cc], 1
call fcn.004b37a0
add esp, 0x14
lea ecx, [esp + 0x44]
mov dword [esp + 0x100], eax
call fcn.0045a2d0
lea ecx, [esp + 0x18c]
push esi
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c0], 2
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 0xb
lea ecx, [esp + 0x18c]
sete bl
call fcn.004ba050
test bl, bl
je 0x47fd8a
mov ax, 3
jmp 0x47fdf2
lea edx, [esp + 0x1b4]
push esi
push edx
lea ecx, [esp + 0x20]
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 0xc
lea ecx, [esp + 0x1b4]
sete bl
call fcn.004ba050
test bl, bl
je 0x47fdbb
mov ax, 0x1e
jmp 0x47fdf2
lea eax, [esp + 0x1a0]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 0xd
lea ecx, [esp + 0x1a0]
sete bl
call fcn.004ba050
test bl, bl
mov ax, 4
jne 0x47fdf2
mov ax, word [esp + 0x2de]
mov cx, word [esp + 0x2d8]
cmp word [esp + 0x2c0], 0xe6
mov word [esp + 0x4a], ax
mov word [esp + 0x4c], cx
jb 0x47fe4e
mov cl, byte [esp + 0x2d6]
cmp cl, 1
jne 0x47fe28
mov word [esp + 0x4e], 1
jmp 0x47ff31
cmp cl, 2
jne 0x47fe39
mov word [esp + 0x4e], 2
jmp 0x47ff31
cmp cl, 3
jne 0x47ff31
mov word [esp + 0x4e], 3
jmp 0x47ff31
mov ecx, dword [esp + 0x31c]
cmp dword [ecx + 0xc], esi
je 0x47ff31
mov eax, dword [ecx + 4]
mov eax, dword [eax]
add eax, 8
cmp eax, esi
je 0x47fe6f
lea ecx, [eax + 4]
jmp 0x47fe71
xor ecx, ecx
mov edx, dword [ecx]
mov dword [esp + 0x138], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x13c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x140], ecx
mov dx, word [eax + 0x10]
mov word [esp + 0x144], dx
mov edx, dword [eax + 0x14]
mov dword [esp + 0x148], edx
mov dx, word [eax + 0x18]
mov word [esp + 0x14c], dx
mov dx, word [eax + 0x1a]
mov word [esp + 0x14e], dx
mov dx, word [eax + 0x1c]
mov word [esp + 0x150], dx
mov dx, word [eax + 0x1e]
mov word [esp + 0x152], dx
mov edx, dword [eax + 0x20]
mov dword [esp + 0x154], edx
mov edx, dword [eax + 0x24]
mov dword [esp + 0x158], edx
mov dx, word [eax + 0x28]
mov word [esp + 0x15c], dx
mov eax, dword [eax + 0x2c]
cmp ecx, esi
mov dword [esp + 0x160], eax
mov dword [esp + 0x134], 0x4f5588
jne 0x47ff16
mov word [esp + 0x4e], 2
jmp 0x47ff20
cmp ecx, 1
jne 0x47ff20
mov word [esp + 0x4e], cx
lea ecx, [esp + 0x134]
call fcn.00456e80
mov ax, word [esp + 0x4a]
cmp ax, 2
jne 0x47ff78
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x178]
lea esi, [eax - 1]
dec eax
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00416560
cmp dword [esp + 0x184], 0xa
jne 0x47ff5c
dec esi
lea ecx, [esp + 0x178]
mov word [esp + 0x50], 0
mov word [esp + 0x52], si
call fcn.004ba050
xor esi, esi
jmp 0x47ffaa
mov ecx, 1
cmp ax, cx
je 0x47ffa0
cmp ax, 0x1e
je 0x47ffa0
cmp ax, 3
je 0x47ff94
cmp ax, 4
jne 0x47ffaa
mov word [esp + 0x50], cx
mov word [esp + 0x52], cx
jmp 0x47ffaa
mov word [esp + 0x50], si
mov word [esp + 0x52], si
mov ax, word [esp + 0x2f4]
mov dx, word [esp + 0x2f0]
mov cx, word [esp + 0x2f6]
mov word [esp + 0x5a], ax
mov ax, word [esp + 0x2fa]
mov word [esp + 0x58], dx
mov dx, word [esp + 0x2f8]
mov word [esp + 0x60], ax
mov ax, word [esp + 0x302]
mov word [esp + 0x5e], dx
mov dx, word [esp + 0x304]
mov word [esp + 0x6a], ax
mov ax, word [esp + 0x300]
mov word [esp + 0x5c], cx
mov cx, word [esp + 0x2fc]
mov word [esp + 0x68], ax
mov ax, word [esp + 0x30e]
mov word [esp + 0x6e], dx
mov dx, word [esp + 0x310]
mov word [esp + 0x62], cx
mov cx, word [esp + 0x2da]
mov bl, byte [esp + 0x316]
mov word [esp + 0x76], ax
mov word [esp + 0x6c], dx
movzx ax, byte [esp + 0x312]
mov dx, word [esp + 0x306]
mov word [esp + 0x64], cx
mov cx, word [esp + 0x2fe]
mov word [esp + 0x70], dx
mov dx, word [esp + 0x30c]
mov word [esp + 0x66], cx
mov cx, word [esp + 0x30a]
mov word [esp + 0x78], ax
movzx ax, byte [esp + 0x313]
mov word [esp + 0x74], dx
mov word [esp + 0x72], cx
mov cx, word [esp + 0x14]
xor edx, edx
test bl, bl
mov word [esp + 0x7a], ax
mov ax, word [esp + 0x36]
mov word [esp + 0x7e], cx
push 0xffffffffffffffff
setne dl
push esi
lea ecx, [esp + 0x8c]
mov word [esp + 0x84], ax
mov dword [esp + 0x88], edx
call fcn.004163d0
mov ecx, dword [esp + 0x20]
cmp ecx, esi
mov esi, dword [esp + 0x88]
mov ebx, ecx
jne 0x480130
xor edi, edi
cmp esi, edi
je 0x48011d
mov eax, dword [esp + 0x8c]
cmp eax, edi
je 0x480109
lea ebx, [eax]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax]
add esi, 0x14
dec ebx
jne 0x4800f5
mov esi, dword [esp + 0x88]
push esi
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x8c], edi
jmp 0x48028b
test esi, esi
jne 0x480164
lea ecx, [ecx + ecx*4]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x88], eax
push ebx
push eax
call fcn.00416ff0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
jmp 0x480287
mov edi, dword [esp + 0x90]
cmp ecx, edi
jg 0x4801cb
mov eax, dword [esp + 0x8c]
cmp eax, ecx
jge 0x480199
lea edx, [eax + eax*4]
sub ecx, eax
push ecx
lea eax, [esi + edx*4]
push eax
call fcn.00416ff0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ebx
jmp 0x48028b
jle 0x4801bf
lea edx, [ecx + ecx*4]
sub eax, ecx
lea esi, [esi + edx*4]
mov edx, eax
dec eax
test edx, edx
je 0x4801bf
lea ebp, [eax + 1]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x14
dec ebp
jne 0x4801ad
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x8c], ebx
jmp 0x48028b
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4801fe
mov eax, dword [esp + 0x8c]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x4801f2
mov eax, 4
jmp 0x4801fe
cmp eax, 0x400
jle 0x4801fe
mov eax, 0x400
add eax, edi
cmp ecx, eax
mov dword [esp + 0x10], eax
jl 0x48020c
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov ebp, eax
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x8c]
mov edi, ebp
lea ecx, [eax + eax*4]
add esp, 4
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x8c]
mov ecx, ebx
sub ecx, eax
lea edx, [eax + eax*4]
push ecx
lea eax, [ebp + edx*4]
push eax
call fcn.00416ff0
mov ecx, dword [esp + 0x88]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x20]
xor esi, esi
test ecx, ecx
jle 0x48031f
lea eax, [esp + 0x164]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00416560
lea eax, [esp + 0x164]
sub esp, 0x14
neg eax
sbb eax, eax
lea edx, [esp + 0x17c]
and eax, edx
mov ecx, esp
mov dword [esp + 0x24], esp
push esi
mov edx, dword [eax]
mov byte [esp + 0x2d0], 3
mov dword [ecx + 4], edx
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x188]
mov dword [ecx + 0xc], edx
mov eax, dword [esp + 0x18c]
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x4f57e8
lea ecx, [esp + 0x9c]
call fcn.004165b0
lea ecx, [esp + 0x164]
mov byte [esp + 0x2b8], 2
call fcn.004ba050
mov eax, dword [esp + 0x20]
inc esi
cmp esi, eax
jl 0x480295
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0xa0]
call fcn.00417070
mov ebx, dword [esp + 0x31c]
xor edi, edi
mov ebp, dword [ebx + 0xc]
cmp ebp, edi
jne 0x480395
mov esi, dword [esp + 0x9c]
cmp esi, edi
je 0x480382
mov eax, dword [esp + 0xa0]
cmp eax, edi
je 0x480372
lea ebx, [eax]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx]
add esi, 0x30
dec ebx
jne 0x480357
mov esi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x31c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa0], edi
jmp 0x480503
mov ecx, dword [esp + 0x9c]
cmp ecx, edi
jne 0x4803d1
lea eax, [ebp + ebp*2]
shl eax, 4
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x9c], eax
push ebp
push eax
call fcn.004177c0
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebp
jmp 0x480503
mov esi, dword [esp + 0xa4]
cmp ebp, esi
jg 0x48043d
mov eax, dword [esp + 0xa0]
cmp eax, ebp
jge 0x480406
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*2]
shl eax, 4
add eax, ecx
push edx
push eax
call fcn.004177c0
mov dword [esp + 0xa0], ebp
jmp 0x480503
jle 0x480431
lea esi, [ebp + ebp*2]
sub eax, ebp
shl esi, 4
add esi, ecx
mov ecx, eax
dec eax
test ecx, ecx
je 0x480431
lea ebx, [eax + 1]
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx]
add esi, 0x30
dec ebx
jne 0x48041d
mov ebx, dword [esp + 0x31c]
mov dword [esp + 0xa0], ebp
jmp 0x480503
mov eax, dword [esp + 0xa8]
cmp eax, edi
jne 0x480470
mov eax, dword [esp + 0xa0]
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x480464
mov eax, 4
jmp 0x480470
cmp eax, 0x400
jle 0x480470
mov eax, 0x400
add eax, esi
cmp ebp, eax
jge 0x48047c
mov dword [esp + 0x10], eax
jmp 0x480482
mov dword [esp + 0x10], ebp
mov eax, ebp
lea eax, [eax + eax*2]
shl eax, 4
push eax
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
mov edi, ebx
lea ecx, [eax + eax*2]
add esp, 4
shl ecx, 4
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xa0]
mov ecx, ebp
sub ecx, eax
lea edx, [eax + eax*2]
push ecx
shl edx, 4
add edx, ebx
push edx
call fcn.004177c0
mov eax, dword [esp + 0x9c]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esp + 0x9c], ebx
mov ebx, dword [esp + 0x31c]
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ecx
xor edi, edi
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x104]
mov dword [esp + 0x2c], eax
call fcn.00456e50
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, edi
mov byte [esp + 0x2b8], 4
je 0x48068d
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
call fcn.0042e960
sub esp, 0x30
cmp eax, edi
mov dword [esp + 0x40], esp
mov ecx, esp
je 0x48054a
lea edx, [eax + 4]
jmp 0x48054c
xor edx, edx
mov ebp, dword [edx]
mov dword [ecx + 4], ebp
mov edx, dword [edx + 4]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov dx, word [eax + 0x10]
mov word [ecx + 0x10], dx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov dx, word [eax + 0x18]
mov word [ecx + 0x18], dx
mov dx, word [eax + 0x1a]
mov word [ecx + 0x1a], dx
mov dx, word [eax + 0x1c]
mov word [ecx + 0x1c], dx
mov dx, word [eax + 0x1e]
mov word [ecx + 0x1e], dx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov dx, word [eax + 0x28]
mov word [ecx + 0x28], dx
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x2c], eax
mov dword [ecx], 0x4f5588
lea ecx, [esp + 0x2b0]
push ecx
lea ecx, [esp + 0x138]
call fcn.00456e90
lea ecx, [esp + 0x280]
call fcn.00456e80
lea ecx, [esp + 0x104]
sub esp, 0x30
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x138]
and ecx, edx
mov eax, esp
mov dword [esp + 0x40], esp
push esi
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x144]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x148]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x14c]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x150]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x152]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x154]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x156]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x158]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x15c]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x160]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x164]
lea ecx, [esp + 0xcc]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.00423b60
mov eax, dword [esp + 0x2c]
inc esi
cmp eax, edi
jne 0x48052c
mov ebx, dword [ebx + 4]
cmp ebx, edi
je 0x4806b1
lea esi, [ebx + 8]
xor edi, edi
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax]
add esi, 0x30
mov ecx, edi
dec edi
test ecx, ecx
jne 0x480699
mov ebx, dword [ebx]
test ebx, ebx
jne 0x480694
mov esi, dword [esp + 0x31c]
xor ebp, ebp
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
call sub.MFC42.DLL_CPlex::FreeDataChain
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x14], ebp
cmp eax, ebp
je 0x48075e
cmp dword [esp + 0x38], ebp
je 0x48075e
mov edi, dword [esp + 0x40]
sub esp, 8
fld qword [edi + 0x58]
fmul qword [0x4f67f8]
mov edx, dword [edi + 0xd4]
mov eax, dword [edi + 0xd0]
mov ecx, dword [edi + 0xcc]
fstp qword [esp]
push edx
mov edx, dword [edi + 0xc8]
push eax
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.0045b0e0
cmp ax, bp
jge 0x480762
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
push 0xa293
lea ecx, [esp + 0x34]
mov byte [esp + 0x2bc], 5
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x30]
push ebp
push ebp
push eax
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x30]
mov byte [esp + 0x2b8], 4
call fcn.004e2712
jmp 0x480762
mov edi, dword [esp + 0x40]
cmp word [esp + 0x2c0], 0xe6
jae 0x480940
cmp dword [esp + 0xa0], 2
jle 0x480940
lea ecx, [esp + 0x250]
push ebp
push ecx
lea ecx, [esp + 0xa0]
call fcn.0040b280
lea edx, [esp + 0x220]
push 1
push edx
lea ecx, [esp + 0xa0]
mov byte [esp + 0x2c0], 6
call fcn.0040b280
movsx eax, word [esp + 0x50]
lea ecx, [esp + 0x1dc]
push eax
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x2c0], 7
call fcn.00416560
cmp eax, ebp
je 0x4807de
add eax, 4
jmp 0x4807e0
xor eax, eax
mov esi, dword [eax]
mov ebx, dword [eax + 4]
lea ecx, [esp + 0x1dc]
call fcn.004ba050
lea eax, [esp + 0x250]
lea edx, [esp + 0x254]
neg eax
sbb eax, eax
and eax, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, esi
jne 0x480816
cmp eax, ebx
je 0x480918
lea eax, [esp + 0x220]
lea ecx, [esp + 0x224]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, esi
jne 0x480918
cmp eax, ebx
jne 0x480918
lea edx, [esp + 0x1f0]
push 0
push edx
lea ecx, [esp + 0xa0]
call fcn.0040b280
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x9c]
mov byte [esp + 0x2b8], 8
xor ebx, ebx
lea ebp, [eax - 1]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x30
mov eax, ebx
dec ebx
test eax, eax
jne 0x480870
test ebp, ebp
je 0x4808a3
mov eax, dword [esp + 0x9c]
lea ecx, [ebp + ebp*2]
shl ecx, 4
lea edx, [eax + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov edx, dword [esp + 0xa0]
mov eax, dword [edi + 0xe8]
dec edx
dec eax
mov dword [esp + 0xa0], edx
js 0x4808dc
mov ecx, dword [edi + 0xe4]
mov esi, 1
lea edx, [ecx + eax*4]
mov ecx, dword [edx]
cmp dword [ecx + 0x5c], esi
jg 0x480979
dec eax
sub edx, 4
test eax, eax
jge 0x4808c9
mov eax, dword [esp + 0x9c]
push eax
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x44], esp
lea edx, [esp + 0x224]
push edx
call fcn.0041f960
call fcn.004b86d0
add esp, 0x34
lea ecx, [esp + 0x1f0]
mov byte [esp + 0x2b8], 7
call fcn.00456e80
xor ebp, ebp
lea ecx, [esp + 0x220]
mov byte [esp + 0x2b8], 6
call fcn.00456e80
lea ecx, [esp + 0x250]
mov byte [esp + 0x2b8], 4
call fcn.00456e80
lea ecx, [esp + 0x44]
call fcn.0045afe0
cmp dword [esp + 0xa0], ebp
je 0x4809aa
mov ax, word [esp + 0x4e]
cmp ax, 2
je 0x4809a0
cmp ax, 3
je 0x4809a0
cmp ax, 1
jne 0x4809aa
mov eax, dword [esp + 0x9c]
mov dword [eax + 0xc], 1
jmp 0x4809aa
test ecx, ecx
je 0x4808dc
mov eax, dword [ecx + 0x5c]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 0x58]
shl edx, 4
lea ecx, [edx + eax - 0x30]
push ecx
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x44], esp
jmp 0x4808ed
mov ecx, dword [esp + 0x9c]
mov dword [ecx + 0xc], ebp
cmp dword [esp + 0x320], ebp
jne 0x4809c2
lea edx, [esp + 0x44]
push ebp
push edx
mov ecx, edi
call fcn.0048b500
jmp 0x480a08
push 0xbc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x2b8], 9
je 0x4809ed
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.0045a3a0
jmp 0x4809ef
xor eax, eax
mov ecx, dword [esp + 0x324]
push eax
mov byte [esp + 0x2bc], 4
mov edx, dword [ecx + 8]
push edx
call sub.MFC42.DLL_CObArray::SetAtGrow
movsx edx, word [esp + 0x52]
lea eax, [esp + 0x1c8]
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.00416560
cmp eax, ebp
je 0x480a2b
add eax, 4
jmp 0x480a2d
xor eax, eax
mov ebp, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x1c8]
call fcn.004ba050
lea ecx, [esp + 0x104]
mov byte [esp + 0x2b8], 2
call fcn.00456e80
lea ecx, [esp + 0x44]
mov byte [esp + 0x2b8], 1
call fcn.0045ae80
mov dword [esp + 0x18], 0x4f57c0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x2b8], 0xa
test esi, esi
je 0x480aa3
mov eax, dword [esp + 0x20]
test eax, eax
je 0x480a9a
lea ebx, [eax]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
add esi, 0x14
dec ebx
jne 0x480a88
mov esi, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x2b8], 0xffffffff
test ecx, ecx
mov dword [esp + 0x18], 0x4f4f00
jge 0x47fd04
mov ecx, dword [esp + 0x2b0]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x2ac
ret 0x68