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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d3fbd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
mov esi, dword [ebp + 0x24]
mov dword [esp + 0x10], ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [esp + 0x10], ecx
jle 0x4dc79d
mov edx, dword [esi + 4]
mov ecx, dword [edx + edi*4]
call fcn.004f1d70
test eax, eax
je 0x4dc755
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 8]
inc edi
cmp edi, eax
jl 0x4dc733
cmp dword [esp + 0xc], 1
jle 0x4dc79d
push 1
push ebx
push ebx
push ebx
push 0x61f3c4
push 0x61f3b0
call sub.etinfo.dll_unsigned_short_int_const____cdecl_mgLoadLocateString_unsigned_short_int_const__
add esp, 4
push eax
call fcn.0046c660
add esp, 0x18
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [esp + 0x70], 0x5e2824
mov dword [esp + 0x74], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0xd8]
mov dword [esp + 0x100], ebx
call fcn.004b6ca0
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x70]
lea eax, [esp + 0xd8]
push edx
push eax
push esi
mov ecx, edi
mov byte [esp + 0x10c], 1
call fcn.004d8570
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xac]
call fcn.004b6cb0
mov esi, dword [esi + 8]
mov byte [esp + 0x100], 2
cmp esi, 1
jne 0x4dc8e7
lea esi, [edi + 0x60]
mov ecx, esi
call fcn.004f6c70
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
cmp eax, 7
jne 0x4dc8e0
lea eax, [esp + 0xc8]
lea ecx, [esp + 0xd8]
push eax
call fcn.004b6ed0
fld qword [esi + 0x30]
fcomp qword [0x5e28b0]
fnstsw ax
test ah, 0x41
je 0x4dc87a
fld qword [esi + 0x30]
fcomp qword [0x5e28a8]
fnstsw ax
test ah, 1
jne 0x4dc87a
fld qword [esi + 0x30]
fmul qword [0x5e2640]
fsubr qword [0x5e2858]
fmul qword [esi + 0x18]
fstp qword [esp + 0x2c]
jmp 0x4dc888
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov ecx, esi
call fcn.004f6c70
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.004f6c70
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0x28]
fadd qword [esp + 0xd0]
mov eax, dword [esi]
sub esp, 8
mov ecx, esi
fstp qword [esp]
push ebx
push ebx
call dword [eax + 0x28]
fsubr qword [esp + 0xe0]
sub esp, 8
lea ecx, [esp + 0xc8]
fstp qword [esp]
call fcn.004b6d10
jmp 0x4dc932
push 0x40099999
jmp 0x4dc91e
cmp esi, 0xe
jle 0x4dc900
push 0x3ff4cccc
lea edx, [esp + 0xac]
push 0xcccccccd
push edx
jmp 0x4dc92b
cmp esi, 4
jle 0x4dc919
push 0x3ffccccc
lea eax, [esp + 0xac]
push 0xcccccccd
push eax
jmp 0x4dc92b
push 0x40059999
lea ecx, [esp + 0xac]
push 0x9999999a
push ecx
mov ecx, edi
call fcn.004e3640
lea edx, [esp + 0xa8]
lea ecx, [edi + 0x338]
push edx
call fcn.0050b020
push eax
call fcn.004b6bc0
add esp, 8
lea ecx, [esp + 0xa8]
call fcn.004b7040
fstp qword [esp + 0x14]
lea ecx, [esp + 0xd8]
call fcn.004b7040
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4dca04
lea ecx, [esp + 0xa8]
call fcn.004b7060
fstp qword [esp + 0x14]
lea ecx, [esp + 0xd8]
call fcn.004b7060
fcomp qword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4dca04
lea ecx, [esp + 0xa8]
mov byte [esp + 0x100], 1
call fcn.0042bd50
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], bl
call fcn.0042bd50
mov dword [esp + 0x70], 0x5e2824
mov eax, dword [esp + 0x74]
mov dword [esp + 0x100], 3
cmp eax, ebx
je 0x4dc9eb
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [esp + 0x84], 0x5e2824
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
lea eax, [esp + 0x84]
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x108], 4
call fcn.004dc010
mov eax, 0x5e2838
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
push eax
push esi
mov ecx, edi
mov byte [esp + 0x10c], 6
call fcn.004e1970
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
cmp ecx, eax
jne 0x4dcae2
cmp dword [ebp + 0x10], eax
jne 0x4dcae2
mov ecx, esi
call fcn.004f1d70
test al, 1
jne 0x4dcab4
mov dword [ebp + 0xc], ebx
jmp 0x4dcac3
mov edx, dword [esp + 0x54]
xor ecx, ecx
cmp edx, ebx
setle cl
inc ecx
mov dword [ebp + 0xc], ecx
mov ecx, esi
call fcn.004f1d70
test al, 2
jne 0x4dcad3
mov dword [ebp + 0x10], ebx
jmp 0x4dcae2
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp ecx, ebx
setle dl
inc edx
mov dword [ebp + 0x10], edx
lea esi, [edi + 0x60]
mov ecx, esi
call fcn.004f6c70
mov edx, dword [eax]
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [ebp + 0xc]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], 2
jne 0x4dcb8e
cmp dword [ebp + 0x10], eax
jne 0x4dcb8e
mov ecx, esi
call fcn.00504c00
cmp eax, 3
jle 0x4dcb8e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004dc5a0
cmp eax, ebx
je 0x4dcb8e
lea edx, [esp + 0xc8]
push eax
push edx
mov ecx, edi
call fcn.004e1b30
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], edx
jmp 0x4dcc91
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x4dcc0b
dec eax
je 0x4dcbb3
dec eax
jne 0x4dcc0f
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x4dcc0f
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, 1
mov esi, dword [ecx]
cmp edx, eax
mov dword [esp + 0xc], esi
jle 0x4dcbec
add ecx, 4
mov esi, dword [ecx]
cmp dword [esi + 0x13c], ebx
jne 0x4dcbe5
inc eax
add ecx, 4
cmp eax, edx
jl 0x4dcbcd
mov esi, dword [esp + 0xc]
jmp 0x4dcbec
mov edx, dword [esp + 0x50]
mov esi, dword [edx + eax*4]
lea eax, [esp + 0xc8]
push esi
push eax
mov ecx, edi
call fcn.004e1b30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x4dcc0f
mov dword [esp + 0x14], ebx
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x4dcc8d
dec eax
je 0x4dcc34
dec eax
jne 0x4dcc91
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
jmp 0x4dcc91
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, 1
mov esi, dword [ecx]
cmp edx, eax
mov dword [esp + 0xc], esi
jle 0x4dcc6d
add ecx, 4
mov esi, dword [ecx]
cmp dword [esi + 0x13c], ebx
jne 0x4dcc66
inc eax
add ecx, 4
cmp eax, edx
jl 0x4dcc4e
mov esi, dword [esp + 0xc]
jmp 0x4dcc6d
mov edx, dword [esp + 0x3c]
mov esi, dword [edx + eax*4]
lea eax, [esp + 0xc8]
push esi
push eax
mov ecx, edi
call fcn.004e1b30
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
jmp 0x4dcc91
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
mov ecx, esi
call fcn.004f1cc0
lea ecx, [esp + 0x1c]
push ecx
push esi
mov ecx, edi
call fcn.004e1ba0
fld qword [esp + 0x60]
fsub qword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
mov eax, 4
cmp ecx, eax
fstp qword [esp + 0x60]
fld qword [esp + 0x68]
fsub qword [esp + 0x24]
fstp qword [esp + 0x68]
jne 0x4dcce0
fld qword [ebp + 0x14]
fadd qword [esp + 0x98]
fstp qword [esp + 0x60]
cmp dword [ebp + 0x10], eax
jne 0x4dccf3
fld qword [ebp + 0x1c]
fadd qword [esp + 0xa0]
fstp qword [esp + 0x68]
mov ecx, esi
call fcn.004f1d70
mov edx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x70]
or eax, edx
mov edx, dword [ebp + 0x28]
and esi, eax
lea eax, [esp + 0x84]
push edx
push eax
lea edx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
call fcn.0050b020
mov ecx, dword [esp + 0x70]
push eax
mov edx, dword [esp + 0x78]
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.004e08d0
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4dcdc7
mov ecx, dword [esp + 0x54]
xor eax, eax
cmp ecx, ebx
jle 0x4dcd84
mov ecx, dword [esp + 0x50]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0x13c], ebx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x4dcd6b
cmp ecx, ebx
je 0x4dcd94
mov eax, dword [esp + 0x10]
mov dword [eax + 0x13c], 1
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ecx, ebx
jle 0x4dcdb7
mov ecx, dword [esp + 0x3c]
inc eax
mov edx, dword [ecx + eax*4 - 4]
mov dword [edx + 0x13c], ebx
mov ecx, dword [esp + 0x40]
cmp eax, ecx
jl 0x4dcd9e
cmp ecx, ebx
je 0x4dcdc7
mov eax, dword [esp + 0x10]
mov dword [eax + 0x13c], 1
mov edi, 0x5e2838
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x100], 7
cmp eax, ebx
je 0x4dcde9
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov esi, 0x5e262c
mov dword [esp + 0x4c], edi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x50]
mov byte [esp + 0x100], 8
cmp eax, ebx
je 0x4dce0f
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov edi, 0x5e2824
mov dword [esp + 0x4c], esi
mov dword [esp + 0x84], edi
mov eax, dword [esp + 0x88]
mov byte [esp + 0x100], 9
cmp eax, ebx
je 0x4dce3b
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
lea ecx, [esp + 0xa8]
mov dword [esp + 0x84], esi
mov byte [esp + 0x100], 1
call fcn.0042bd50
lea ecx, [esp + 0xd8]
mov byte [esp + 0x100], bl
call fcn.0042bd50
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x74]
mov dword [esp + 0x100], 0xa
cmp eax, ebx
je 0x4dce89
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24