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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d9842
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebp
mov ebp, ecx
push edi
xor edi, edi
cmp dword [ebp + 0x238], edi
je 0x48b6ec
push ebx
push esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0xc0], edi
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x30], 0xeb1c432d
mov dword [esp + 0x34], 0x3f1a36e2
mov dword [esp + 0x1c], 0xf
mov dword [esp + 0x20], edi
call fcn.0048b710
fld qword [esp + 0xc8]
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fstp dword [esp + 0x38]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0xc4], 2
call fcn.00405130
lea ecx, [esp + 0x30]
mov byte [esp + 0xc0], 3
push ecx
lea ecx, [esp + 0x64]
call fcn.00405130
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov bl, 7
cmp esi, eax
mov byte [esp + 0xc0], bl
mov dword [esp + 0x10], esi
je 0x48b6c5
mov edi, dword [esi]
cmp byte [edi + 0xc], 9
jb 0x48b6b1
lea edx, [esp + 0x9c]
push edi
push edx
lea ecx, [esp + 0x5c]
call fcn.004051b0
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xd0]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0xd0]
push edx
lea edx, [esp + 0x60]
push edx
push edi
call dword [eax + 0x3c]
lea ecx, [esp + 0x18]
call fcn.00496780
test eax, eax
je 0x48b6b1
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 8
call fcn.00405270
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov byte [esp + 0xc0], bl
je 0x48b62a
mov eax, dword [esi]
mov edx, dword [eax]
mov dword [esp + 0x24], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 9
call fcn.00405270
mov edx, dword [esi]
add esi, 4
mov byte [esp + 0xc0], bl
mov byte [edx + 0xc], 5
mov eax, dword [esp + 0x1c]
cmp esi, eax
jne 0x48b5da
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x48b632
xor eax, eax
jmp 0x48b637
sub eax, esi
sar eax, 2
inc eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call fcn.0049fd50
add esp, 0xc
push eax
lea eax, [esp + 0xac]
push eax
mov ecx, edi
mov byte [esp + 0xc8], 0xa
call fcn.00471f20
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x48]
lea edx, [esp + 0x78]
push ecx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0xc8], 0xb
call fcn.004051b0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov byte [esp + 0xc0], bl
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x14]
add esi, 4
cmp esi, eax
mov dword [esp + 0x10], esi
jne 0x48b543
xor edi, edi
mov ecx, ebp
call fcn.0048b7b0
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
mov eax, dword [esp + 0x18]
pop esi
cmp eax, edi
pop ebx
je 0x48b6ec
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb0]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0xb4
ret 8