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

Disassembly:
push 0xffffffffffffffff
push 0x5d0968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 0x5e2838
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x44], 0x5e76d8
mov dword [esp + 0x48], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.004b6ca0
lea eax, [esp + 0x58]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [ebx + 0x2e0]
mov byte [esp + 0x8c], 2
call fcn.004e00e0
mov eax, dword [esp + 0x38]
xor ebp, ebp
cmp eax, edi
jle 0x49b2c7
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x8c]
mov eax, dword [ecx + edi*4]
mov eax, dword [eax + 0x360]
cmp dword [eax + 0x14], edx
jne 0x49b2b4
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
add eax, 0x3e8
mov dword [esp + 0x28], eax
lea eax, [esi + 0x3e8]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + edi*4]
lea ecx, [eax + 0x1b8]
call fcn.004b0a70
mov eax, dword [eax]
mov edx, dword [esp + 0x88]
lea ebx, [esp + 0x20]
push 0x520
mov ecx, dword [eax - 8]
mov edx, dword [edx]
push ebx
push ecx
mov ecx, dword [esp + 0x94]
push eax
call dword [edx + 0x70]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
cmp ebp, eax
jg 0x49b2b0
mov ebp, eax
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x49b233
test ebp, ebp
jne 0x49b325
xor edi, edi
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.0042bd50
mov dword [esp + 0x44], 0x5e76d8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x80], 3
cmp eax, edi
je 0x49b2f9
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x30], 0x5e2838
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], 4
cmp eax, edi
je 0x49b5fa
jmp 0x49b5f1
lea ecx, [esp + 0x18]
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [esp + 0x8c]
mov byte [esp + 0x80], 5
mov ecx, dword [eax + 0x1c]
push ecx
push 0x61e020
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
lea edx, [esp + 0x1c]
push eax
push edx
call sub.mfc42u.dll_CString::Format_1
mov edi, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ecx
mov ecx, ebx
call fcn.00497200
push 0x61ca4c
lea ecx, [esp + 0x98]
mov esi, eax
call fcn.005c0fb0
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x94]
push edx
push esi
push edi
push eax
mov ecx, ebx
mov byte [esp + 0x90], 6
call fcn.00497200
lea ecx, [esp + 0x94]
mov edi, eax
mov byte [esp + 0x80], 5
call sub.mfc42u.dll_CString::CString
mov eax, dword [0x6274b0]
test eax, eax
je 0x49b3fe
mov ecx, dword [ebx + 0x1ec]
mov edx, dword [ecx]
cmp dword [edx + 4], 1
jne 0x49b3fe
mov eax, dword [0x6274d4]
test eax, eax
mov eax, edi
je 0x49b3ef
sub eax, esi
lea ecx, [eax + ebp]
lea ebp, [ecx + eax*8]
jmp 0x49b41c
sub eax, esi
lea edx, [eax*8]
sub edx, eax
add ebp, edx
jmp 0x49b41c
mov eax, dword [0x6274d4]
test eax, eax
je 0x49b414
mov eax, edi
sub eax, esi
lea eax, [eax + eax*2]
lea ebp, [ebp + eax*2]
jmp 0x49b41c
mov ecx, edi
sub ecx, esi
lea ebp, [ebp + ecx*4]
lea eax, [edi + esi]
mov dword [esp + 0x14], 0
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x94], eax
xor edi, edi
mov eax, dword [ebx + 0xa7c]
mov dword [esp + 0x1c], edi
test eax, eax
je 0x49b44e
mov eax, dword [ebx + 0xa78]
mov eax, dword [eax + 8]
jmp 0x49b450
xor eax, eax
cmp edi, eax
jge 0x49b58b
mov edx, dword [ebx + 0xa7c]
xor ecx, ecx
test edx, edx
jle 0x49b581
mov eax, dword [ebx + 0xa78]
add eax, 4
mov esi, dword [eax]
mov esi, dword [esi + edi*4]
test esi, esi
jne 0x49b489
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x49b471
mov edi, dword [esp + 0x1c]
inc edi
jmp 0x49b435
mov edx, dword [esp + 0x8c]
mov eax, dword [esi + 0x14]
cmp eax, edx
jne 0x49b581
mov ecx, dword [esp + 0x38]
xor eax, eax
xor edi, edi
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x49b4f6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + edi*4]
call fcn.004ed430
test al, al
jne 0x49b4e9
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x3c]
mov eax, dword [ecx + edi*4]
mov ecx, dword [eax + 0x1c0]
cmp ecx, dword [edx + 0x988]
jne 0x49b4e9
mov edx, dword [eax + 0x360]
mov eax, dword [esp + 0x8c]
cmp eax, dword [edx + 0x14]
jne 0x49b4e9
inc dword [esp + 0x10]
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jl 0x49b4ab
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
inc edx
cmp ecx, 1
mov dword [esp + 0x14], edx
jne 0x49b528
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
push eax
mov eax, dword [esp + 0x8c]
push esi
push ebp
push ecx
push edx
push eax
jmp 0x49b573
mov ecx, dword [esp + 0x14]
and ecx, 0x80000001
jns 0x49b539
dec ecx
or ecx, 0xfffffffe
inc ecx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push esi
push ebp
push edx
je 0x49b567
mov ecx, dword [esp + 0x98]
push eax
push ecx
mov ecx, ebx
call fcn.004972c0
mov edi, dword [esp + 0x1c]
inc edi
jmp 0x49b435
mov edx, dword [esp + 0x98]
lea ecx, [eax + ebp]
push ecx
push edx
mov ecx, ebx
call fcn.004972c0
mov dword [esp + 0x94], eax
mov edi, dword [esp + 0x1c]
inc edi
jmp 0x49b435
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 1
call fcn.0042bd50
mov dword [esp + 0x44], 0x5e76d8
mov eax, dword [esp + 0x48]
mov byte [esp + 0x80], 7
test eax, eax
je 0x49b5ce
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov dword [esp + 0x44], 0x5e262c
mov dword [esp + 0x30], 0x5e2838
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], 8
test eax, eax
je 0x49b5fa
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 0x14