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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f0430
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ebx, 1
mov eax, dword [esi + 0x214]
mov ebp, dword [esi + 0x40]
test eax, eax
je 0x4a681c
mov eax, dword [esi + 0x210]
cmp byte [eax], bl
jne 0x4a681c
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.004a6410
mov ecx, esi
mov edi, eax
call fcn.004a63f0
test edi, edi
jne 0x4a6842
mov dword [esp + 0x10], 0x32
jmp 0x4a684f
cmp edi, 1
jne 0x4a684f
mov dword [esp + 0x10], 0x14
fadd qword [0x4f5b58]
fmul qword [0x4f5578]
call sub.MSVCRT.dll__ftol
mov edi, eax
test ebx, ebx
mov dword [esp + 0x14], edi
je 0x4a6ba1
mov al, byte [esi + 0x14c]
test al, al
jne 0x4a6b4b
mov al, byte [esi + 0x14e]
cmp al, 0x80
jne 0x4a69e8
mov eax, dword [esi + 0xbbc]
lea edi, [esi + 0x270]
push eax
mov ecx, edi
call fcn.004c2660
test eax, eax
je 0x4a6b47
push esi
lea ecx, [esp + 0x54]
call fcn.004e2538
mov edx, dword [esi]
lea eax, [esp + 0x50]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x88], 0
call dword [edx + 0xe4]
mov ecx, edi
call fcn.004c4c20
mov ebx, eax
xor eax, eax
mov dword [esp + 0x28], 0x4f57c0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0xbbc]
mov eax, dword [esi + 0xba8]
lea ecx, [esp + 0x28]
mov byte [esp + 0x80], 1
push ecx
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
mov ecx, edi
call fcn.004bda80
lea edx, [esp + 0x28]
mov ecx, esi
push edx
call fcn.004a1020
mov eax, dword [esi + 0xba8]
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, edi
call fcn.004bd8d0
mov ecx, ebp
call fcn.0048a7d0
test eax, eax
je 0x4a698f
mov edx, dword [ebp + 0xe8]
mov eax, dword [ebp + 0xe4]
mov ecx, dword [eax + edx*4 - 4]
lea edx, [esp + 0x18]
push edx
call fcn.0045c520
mov eax, dword [esi + 0xba8]
push ebx
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, edi
call fcn.004bde70
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0xba8]
push 0
push 0
push edx
push eax
lea edx, [esp + 0x60]
push ecx
push edx
mov ecx, edi
call fcn.004bf5e0
mov dword [esp + 0x28], 0x4f57c0
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x80], 2
test edi, edi
je 0x4a69cc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a69c3
lea ebx, [eax]
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax]
add edi, 0x14
dec ebx
jne 0x4a69b1
mov edi, dword [esp + 0x2c]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x28], 0x4f4f00
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x50]
jmp 0x4a6b42
cmp al, 0x81
je 0x4a69f4
cmp al, 0x82
jne 0x4a6b4b
lea edi, [esi + 0x270]
mov ecx, edi
call fcn.004ca2c0
test eax, eax
je 0x4a6b47
push esi
lea ecx, [esp + 0x68]
call fcn.004e2538
mov edx, dword [esi]
xor ebx, ebx
lea eax, [esp + 0x64]
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x88], 3
call dword [edx + 0xe4]
mov ecx, edi
call fcn.004c4c20
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], 0x4f5778
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov edx, dword [esi + 0xba8]
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, edi
mov byte [esp + 0x8c], 4
call fcn.004ca2d0
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004a23b0
mov edx, dword [esi + 0xba8]
lea eax, [esp + 0x64]
push edx
push eax
mov ecx, edi
call fcn.004bd8d0
mov ecx, ebp
call fcn.0048a7d0
test eax, eax
je 0x4a6aef
mov ecx, dword [ebp + 0xe8]
mov edx, dword [ebp + 0xe4]
lea eax, [esp + 0x20]
mov ecx, dword [edx + ecx*4 - 4]
push eax
call fcn.0045c520
mov ebp, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esi + 0xba8]
push ecx
mov ebx, dword [eax + 4]
lea eax, [esp + 0x68]
push edx
push eax
mov ecx, edi
call fcn.004bde70
mov ecx, dword [esi + 0xba8]
push 0
push 0
push ebx
push ebp
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, edi
call fcn.004bf5e0
xor ebx, ebx
mov dword [esp + 0x3c], 0x4f5778
mov edi, dword [esp + 0x40]
mov byte [esp + 0x80], 5
cmp edi, ebx
je 0x4a6b2b
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x4a6b22
lea ebp, [eax]
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax]
add edi, 0x30
dec ebp
jne 0x4a6b11
mov edi, dword [esp + 0x40]
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x3c], 0x4f4f00
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CClientDC::CClientDC
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp ax, 0x32
jne 0x4a6b76
mov word [esi + 0xcb6], di
mov word [esi + 0xc98], ax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
cmp ax, 0x14
jne 0x4a6c5e
mov word [esi + 0xca4], di
mov word [esi + 0xc98], ax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov eax, dword [esi + 0x214]
xor ecx, ecx
test eax, eax
jle 0x4a6bf2
mov edx, dword [esi + 0x210]
xor eax, eax
mov ax, word [edx + ecx*8 + 2]
mov edx, dword [ebp + 0xe4]
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x10]
cmp dx, 0x32
jne 0x4a6bd7
mov word [eax + 0x14], dx
mov word [eax + 0x32], di
jmp 0x4a6be5
cmp dx, 0x14
jne 0x4a6be5
mov word [eax + 0x14], dx
mov word [eax + 0x20], di
mov eax, dword [esi + 0x214]
inc ecx
cmp ecx, eax
jl 0x4a6bad
jmp 0x4a6bf6
mov edx, dword [esp + 0x10]
cmp dx, 0x32
jne 0x4a6c0c
mov word [esi + 0xc98], dx
mov word [esi + 0xcb6], di
jmp 0x4a6c20
cmp dx, 0x14
jne 0x4a6c20
mov word [esi + 0xc98], dx
mov word [esi + 0xca4], di
mov eax, dword [esi + 0x134]
test eax, eax
je 0x4a6c39
push 0
push 0
lea ecx, [esi + 0x234]
call fcn.0040e810
mov ecx, ebp
call fcn.00489c30
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 0x64]
mov ecx, esi
call fcn.004a0b80
push 0
lea ecx, [esi + 0x184]
call fcn.004d5a30
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret