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

Disassembly:
push 0xffffffffffffffff
push 0x4b92f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x154
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0x190]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x16c], esi
je 0x47b76e
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0x74]
call sub.MFC42.DLL_CUIntArray::SetSize
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 0x88]
call sub.MFC42.DLL_CUIntArray::SetSize
mov edx, dword [esp + 0x18c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x24], esi
mov edi, dword [edx - 8]
mov dword [esp + 0x54], esi
cmp edi, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
jne 0x47b7a9
mov esi, dword [esp + 0x174]
mov dword [esi], ecx
mov dword [esi + 4], eax
jmp 0x47c8db
mov eax, dword [esp + 0x180]
mov ebx, dword [esp + 0x17c]
lea esi, [ebp + 0xa4]
mov ecx, 0xf
lea edi, [esp + 0xb0]
mov dword [esp + 0x48], eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0x4bd544
lea ecx, [esp + 0xb0]
mov byte [esp + 0x16c], 1
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x178]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x30]
mov edx, dword [esi + 8]
lea ecx, [esp + 0x12c]
push ecx
push edx
mov dword [esp + 0x60], eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x64], ecx
push 0x4db968
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], eax
call sub.MFC42.DLL_CString::CString_4
push 0x4db968
lea ecx, [esp + 0x50]
mov byte [esp + 0x170], 2
call sub.MFC42.DLL_CString::CString_4
push 0x4db968
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 3
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x190]
xor eax, eax
cmp ecx, eax
mov byte [esp + 0x16c], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], eax
je 0x47b89b
mov eax, dword [esp + 0x60]
jmp 0x47b8a3
mov edx, dword [ebp + 0x8c]
mov eax, dword [edx]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x20], eax
call fcn.004ac04c
mov eax, dword [esp + 0x84]
push 0
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0x174], 5
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], 1
mov eax, dword [ecx - 8]
test eax, eax
jl 0x47c90f
cmp dword [esp + 0x18], eax
jge 0x47c1e7
lea edx, [esp + 0x18]
lea eax, [esp + 0x18c]
push edx
lea ecx, [esp + 0x9c]
push eax
push ecx
mov ecx, ebp
xor edi, edi
call fcn.0047c990
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x170], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x98]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x47c110
lea edx, [esp + 0x18]
lea eax, [esp + 0x18c]
push edx
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, ebp
call fcn.0047cb20
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 7
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xa4]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
xor edx, edx
mov al, byte [ecx]
cmp al, 0x2f
sete dl
mov eax, edx
test eax, eax
mov dword [esp + 0x38], eax
je 0x47b9e0
mov ecx, dword [ecx - 8]
lea eax, [esp + 0x74]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 8
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x74]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
push 0x4da5d4
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47b9fd
mov edi, 1
jmp 0x47c0af
mov ecx, dword [esp + 0x14]
push 0x4da5d0
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47ba1e
mov edi, 2
jmp 0x47c0af
mov edx, dword [esp + 0x14]
push 0x4da5cc
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47ba3f
mov edi, 4
jmp 0x47c0af
mov eax, dword [esp + 0x14]
push str.suib
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47ba60
mov edi, 3
jmp 0x47c0af
mov ecx, dword [esp + 0x14]
push 0x4da5c4
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47ba9b
mov edi, 9
push 1
lea edx, [esp + 0x1c]
lea eax, [esp + 0x190]
push edx
push eax
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x10], eax
jmp 0x47c0af
mov ecx, dword [esp + 0x14]
push 0x4da5c0
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bad6
lea edx, [esp + 0x18]
push 1
lea eax, [esp + 0x190]
push edx
push eax
mov ecx, ebp
mov edi, 0xa
call fcn.0047cf40
mov dword [esp + 0x10], eax
jmp 0x47c0af
mov ecx, dword [esp + 0x14]
mov al, byte [ecx]
cmp al, 0xa
jne 0x47baf2
mov edi, 9
mov dword [esp + 0x10], 1
jmp 0x47c0af
cmp al, 9
jne 0x47bb08
mov edi, 0xa
mov dword [esp + 0x10], 1
jmp 0x47c0af
push 0x4da5bc
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bb2c
mov ecx, dword [ebp + 0x120]
mov edi, 5
push ecx
jmp 0x47ba7e
mov ecx, dword [esp + 0x14]
push 0x4da5b8
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bb4f
mov edi, 5
push 0x10
jmp 0x47ba7e
mov ecx, dword [esp + 0x14]
push 0x4da5b4
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bb74
mov edx, dword [ebp + 0x124]
mov edi, 7
push edx
jmp 0x47bb92
mov edx, dword [esp + 0x14]
push 0x4da5b0
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bbaf
mov edi, 8
push 0x11
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x190]
push eax
push ecx
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x10], eax
jmp 0x47c0af
mov edx, dword [esp + 0x14]
push 0x4da5ac
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x47c0a7
mov eax, dword [esp + 0x14]
push str.al_l
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x47c0a7
mov ecx, dword [esp + 0x14]
push str.al_c
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bc18
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x47c0af
mov dword [esp + 0x54], 1
jmp 0x47c0af
mov edx, dword [esp + 0x14]
push str.al_r
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bc4b
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x47c0af
mov dword [esp + 0x54], 2
jmp 0x47c0af
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x4da590
push eax
call edi
add esp, 8
test eax, eax
jne 0x47bd09
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18c]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
mov ecx, ebp
call fcn.0047cde0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x90]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47bcc9
push 0
push 0
push eax
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x47bcd1
mov dword [esp + 0x10], 0x64
lea ecx, [esp + 0x70]
push 1
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4d8b98
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
mov edi, eax
add esp, 8
neg edi
sbb edi, edi
lea ecx, [esp + 0x70]
add edi, 0xc
call sub.MFC42.DLL_CString::CString
jmp 0x47c0af
mov edx, dword [esp + 0x14]
push 0x4da58c
push edx
call edi
add esp, 8
test eax, eax
jne 0x47be2d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x18c]
push eax
lea edx, [esp + 0xa4]
push ecx
push edx
mov ecx, ebp
mov edi, 0xd
call fcn.0047cde0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 0xa
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0xa0]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], 2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x18c]
push eax
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, ebp
call fcn.0047cca0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0xb
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x78]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 0x4da588
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bde9
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x28], eax
jmp 0x47be19
mov eax, dword [esp + 0x14]
push 0x4da584
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47be19
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x47bd7b
jmp 0x47c0af
mov eax, dword [esp + 0x14]
push str.ilst
push eax
call edi
add esp, 8
test eax, eax
jne 0x47be63
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
mov edi, 0xe
call fcn.0047cf40
mov dword [esp + 0x10], eax
jmp 0x47c0af
mov eax, dword [esp + 0x14]
push str.icon
push eax
call edi
add esp, 8
test eax, eax
jne 0x47bf64
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
mov edi, 0x11
call fcn.0047cf40
mov dword [esp + 0x10], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], 2
lea eax, [esp + 0x18]
lea ecx, [esp + 0x18c]
push eax
lea edx, [esp + 0xa0]
push ecx
push edx
mov ecx, ebp
call fcn.0047cca0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x9c]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push 0x4da588
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bf20
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x28], eax
jmp 0x47bf50
mov eax, dword [esp + 0x14]
push 0x4da584
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47bf50
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x47beac
jmp 0x47c0af
mov eax, dword [esp + 0x14]
push 0x4da570
push eax
call edi
add esp, 8
test eax, eax
jne 0x47c0a3
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x190]
push ecx
push edx
mov ecx, ebp
mov edi, 0xf
call fcn.0047cf40
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::Empty
mov dword [esp + 0x3c], 3
lea eax, [esp + 0x18]
lea ecx, [esp + 0x18c]
push eax
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, ebp
call fcn.0047cca0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x170], 0xd
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x94]
mov byte [esp + 0x16c], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
push str.mask
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47c030
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x18]
push 0xff00ff
lea eax, [esp + 0x190]
push edx
push eax
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x5c], eax
jmp 0x47c092
mov ecx, dword [esp + 0x14]
push 0x4da588
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47c062
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x190]
push edx
push eax
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x28], eax
jmp 0x47c092
mov ecx, dword [esp + 0x14]
push 0x4da584
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47c092
push eax
lea edx, [esp + 0x1c]
lea eax, [esp + 0x190]
push edx
push eax
mov ecx, ebp
call fcn.0047cf40
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
dec eax
mov dword [esp + 0x3c], eax
jne 0x47bfaa
jmp 0x47c0af
xor edi, edi
jmp 0x47c0af
mov dword [esp + 0x54], 0
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18c]
push ecx
push edx
mov ecx, ebp
call fcn.0047cae0
cmp edi, 0xd
jl 0x47c21e
cmp edi, 0xf
jle 0x47c0da
cmp edi, 0x11
jne 0x47c21e
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47c21e
mov eax, dword [esp + 0x54]
dec eax
je 0x47c1f6
dec eax
jne 0x47c216
mov edx, dword [ebp + 0x78]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x184]
mov eax, dword [edx + eax*4]
sub ebx, eax
jmp 0x47c216
mov eax, dword [esp + 0x50]
test eax, eax
je 0x47c157
mov eax, dword [esp + 0x54]
dec eax
je 0x47c137
dec eax
jne 0x47c157
mov eax, dword [ebp + 0x78]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x184]
mov eax, dword [eax + edx*4]
sub ebx, eax
jmp 0x47c157
mov eax, dword [ebp + 0x78]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x184]
mov eax, dword [eax + edx*4]
sub ebx, eax
mov eax, dword [esp + 0x17c]
sub ebx, eax
shr ebx, 1
add ebx, eax
mov eax, dword [ecx - 8]
lea edx, [esp + 0xa8]
push edx
push eax
mov eax, dword [esi + 8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c18e
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x47c1bd
mov dword [esp + 0x20], eax
jmp 0x47c1bd
mov ecx, dword [ebp + 0x8c]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
mov ecx, dword [ecx - 8]
push ecx
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov ecx, dword [esp + 0x50]
add eax, ecx
mov ecx, esi
push eax
push ebx
call dword [edx + 0x64]
mov edx, dword [esp + 0xa8]
push 0x4db968
lea ecx, [esp + 0x50]
add ebx, edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], 0
dec eax
mov dword [esp + 0x18], eax
jmp 0x47c21e
mov edi, 9
mov dword [esp + 0x10], 1
jmp 0x47c21e
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x184]
mov eax, dword [ecx + edx*4]
sub ebx, eax
mov eax, dword [esp + 0x17c]
sub ebx, eax
shr ebx, 1
add ebx, eax
mov dword [esp + 0x50], 0
lea eax, [edi - 1]
cmp eax, 0x10
ja case.0x47c22a.16
jmp dword [eax*4 + 0x47c91c]
mov ecx, dword [esp + 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 0xb4]
test ecx, ecx
mov dword [esp + 0xc0], eax
jne 0x47c2f3
add eax, eax
cmp eax, 0x384
mov dword [esp + 0xc0], eax
jle 0x47c2f3
mov dword [esp + 0xc0], 0x384
jmp 0x47c2f3
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
test ecx, ecx
sete cl
mov byte [esp + 0xc4], cl
jmp 0x47c2f3
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
test ecx, ecx
sete cl
mov byte [esp + 0xc6], cl
jmp 0x47c2f3
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x38]
test ecx, ecx
sete cl
mov byte [esp + 0xc5], cl
lea edx, [esp + 0xb0]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call dword [eax + 0x30]
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
cmp eax, 0x19
jae case.0x47c22a.16
mov ecx, dword [ebp + eax*4 + 0xe0]
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0x38]
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x38]
neg ecx
sbb ecx, ecx
add ecx, 2
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
cmp eax, 0x19
jae case.0x47c22a.16
mov ecx, dword [ebp + eax*4 + 0xe0]
mov edx, dword [esi]
push ecx
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, esi
neg edx
sbb edx, edx
add edx, 2
push edx
call sub.MFC42.DLL_CDC::SetBkMode
jmp case.0x47c22a.16
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c40b
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov ecx, dword [eax + edx*4]
add ecx, edi
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x47c402
mov edx, dword [ebp + 0x8c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x48]
shr eax, 1
add eax, edx
lea edx, [ebx + ecx]
push eax
push edx
push ebx
push esi
mov ecx, ebp
call fcn.0047d4f0
add ebx, dword [esp + 0x10]
jmp case.0x47c22a.16
mov ecx, dword [esp + 0x184]
mov edx, dword [esp + 0x17c]
mov eax, dword [esp + 0x10]
push 0x64
sub ecx, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 0x10], eax
jmp 0x47c3db
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
test ecx, ecx
je case.0x47c22a.16
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c495
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push 0
push ecx
push ebx
push esi
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x10c]
mov ecx, ebp
push eax
call fcn.0047cfa0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [esp + 0x20], eax
jg 0x47c4e2
mov dword [esp + 0x20], eax
add ebx, ecx
jmp case.0x47c22a.16
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push 0
push ecx
push edx
push eax
lea ecx, [ebp + 0x88]
call fcn.0047c960
mov ecx, dword [esp + 0x54]
push eax
push ecx
push ebx
push esi
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x12c]
mov ecx, ebp
push eax
call fcn.0047cfa0
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [esp + 0x40], edx
add ebx, ecx
jmp case.0x47c22a.16
mov eax, dword [ebp + 0x21c]
test eax, eax
je case.0x47c22a.16
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c54d
mov ecx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 0x224]
lea edx, [ebp + 0x218]
push ecx
mov ecx, dword [ebp + 0x220]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
push ebx
lea eax, [esp + 0x138]
push esi
push eax
mov ecx, ebp
call fcn.0047d440
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp edx, ecx
jg 0x47c58a
mov dword [esp + 0x20], ecx
add ebx, eax
jmp case.0x47c22a.16
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 0x224]
push 0
lea eax, [ebp + 0x218]
push edx
mov edx, dword [ebp + 0x220]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0x130]
push esi
push ecx
mov ecx, ebp
call fcn.0047d440
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
add ebx, eax
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x47c22a.16
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c5fb
mov ecx, dword [esp + 0x28]
mov edx, eax
mov eax, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
mov ecx, dword [esp + 0x28]
push edx
xor eax, eax
mov edx, dword [ecx - 8]
lea ecx, [esp + 0x114]
test edx, edx
mov edx, dword [esp + 0x20]
setne al
push eax
mov eax, dword [esp + 0x5c]
push edx
push 0
push eax
push ebx
push esi
push ecx
mov ecx, ebp
call fcn.0047d110
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jg 0x47c64f
mov dword [esp + 0x20], ecx
jmp 0x47c64f
mov eax, dword [ebp + 0x8c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x64]
push ecx
push edx
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov edi, dword [edx - 8]
mov edx, dword [esp + 0x58]
test edi, edi
setne cl
push ecx
mov ecx, dword [esp + 0x24]
push ecx
push eax
push edx
push ebx
lea eax, [esp + 0x148]
push esi
push eax
mov ecx, ebp
call fcn.0047d110
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
add ebx, eax
mov eax, dword [esp + 0x10]
test eax, eax
je case.0x47c22a.16
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c6aa
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push 0
push ecx
push ebx
lea edx, [esp + 0x110]
push esi
push edx
mov ecx, ebp
call fcn.0047d3b0
mov edx, dword [esp + 0x20]
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp edx, ecx
jg 0x47c6ea
mov dword [esp + 0x20], ecx
add ebx, eax
jmp case.0x47c22a.16
mov edx, dword [ebp + 0x8c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push 0
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
push ebx
lea eax, [esp + 0x118]
push esi
push eax
mov ecx, ebp
call fcn.0047d3b0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x40], edx
add ebx, eax
jmp case.0x47c22a.16
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x47c701
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x190]
test eax, eax
je 0x47c745
mov ecx, dword [esp + 0x17c]
mov eax, dword [esp + 0x68]
sub ebx, ecx
cmp eax, ebx
jg 0x47c721
mov dword [esp + 0x68], ebx
mov eax, dword [ebp + 0x7c]
lea ecx, [ebp + 0x74]
push ebx
push eax
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x90]
lea ecx, [ebp + 0x88]
push edx
push eax
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov eax, dword [ebp + 0x8c]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x48]
push 0
mov eax, dword [eax + ecx*4]
imul eax, dword [esp + 0x14]
add edi, eax
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x88]
push ecx
lea ecx, [esp + 0x84]
mov dword [esp + 0x50], edi
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x17c]
mov dword [esp + 0x50], 1
mov dword [esp + 0x20], edx
jmp case.0x47c22a.16
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x47c7a6
mov edi, 1
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x17c]
lea ecx, [eax*4]
mov eax, ebx
sub eax, edx
cdq
idiv ecx
test edx, edx
mov dword [esp + 0x5c], edx
je 0x47c7d0
sub ecx, edx
add ebx, ecx
dec edi
mov dword [esp + 0x10], edi
imul edi, dword [esp + 0x64]
lea ebx, [ebx + edi*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x18c]
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [edx - 8]
cmp ecx, eax
jle 0x47b8f0
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x180]
mov ecx, dword [esp + 0x58]
sub eax, ebx
push ecx
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x84]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x18], eax
jle 0x47c86a
mov edx, dword [esp + 0x80]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x47c85a
mov edx, dword [ebp + 0x78]
push 0x64
push edi
push ecx
mov esi, dword [edx + eax*4]
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp + 0x78]
mov edx, dword [esp + 0x18]
add eax, esi
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x84]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x47c82c
mov esi, dword [esp + 0x174]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x16c], 4
mov dword [esi], edi
mov dword [esi + 4], ebx
call sub.MFC42.DLL_CUIntArray::CUIntArray
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x16c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x30], 0x4bd508
lea ecx, [esp + 0x30]
mov byte [esp + 0x16c], 0xe
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x30], 0x4bd4f4
lea ecx, [esp + 0x18c]
mov dword [esp + 0x16c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x164]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x160
ret 0x20
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x48]
jmp 0x47c7fb