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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4de0eb
add esp, 0xffffff80
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
jl 0x4dde69
test eax, eax
je 0x4dde3e
test ecx, ecx
je 0x4dde3e
cmp ecx, 1
je 0x4dddc5
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x98]
mov dword [esp + 0x14], esi
call fcn.004dd810
movzx eax, byte [esp + 0x18]
test al, al
jne 0x4dda5d
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x14], esi
call fcn.004dd810
movzx eax, byte [esp + 0x18]
test al, al
je 0x4dda65
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x4dda7a
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x84]
mov ebx, dword [0x87b3c8]
mov ebp, dword [esp + 0xa0]
cmp ebp, ebx
jl 0x4ddcfc
mov dword [esp + 0x7c], edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.004dd940
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
lea ecx, [eax + eax*2]
mov dword [esp + 0x5c], ecx
shl ecx, 1
mov ebx, dword [esp + 0xa0]
mov ebp, dword [esp + 0x94]
lea esi, [ebp + ebx]
mov dword [esp + 0x58], esi
cmp ecx, esi
jl 0x4ddad4
mov esi, ecx
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.004dc450
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x9c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x20], edi
call fcn.004dd200
mov eax, dword [esp + 0x50]
mov ecx, eax
shl eax, 3
mov edx, ecx
shl ecx, 1
mov ebx, dword [esp + 0x58]
mov ebp, ebx
sub ebx, ecx
mov esi, dword [esp + 0x64]
mov edi, esi
sub esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov eax, dword [esp + 0x7c]
lea ecx, [esi + eax]
test ebx, ebx
je 0x4ddba2
mov dword [esp], ecx
shl ebx, 2
mov dword [esp + 4], ebx
call fcn.00477900
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0xa0]
cmp ecx, edx
jg 0x4ddbbc
mov ebx, dword [esp + 0x94]
cmp ebx, ecx
je 0x4ddee7
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004debf0
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [eax]
mov dword [esp + 0x78], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov ebx, dword [eax + 8]
mov dword [esp + 0x4c], ebx
mov ebp, dword [esp + 0x90]
mov dword [esp], ebp
mov esi, dword [esp + 0x50]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x98]
mov dword [esp + 8], edi
call fcn.004dc410
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x50]
sub eax, ecx
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0xa0]
sub ebx, ecx
mov dword [esp + 0x30], ebx
mov ebp, eax
neg eax
shl ecx, 2
sar eax, 0x1f
and eax, ecx
mov ecx, dword [esp + 0x9c]
add eax, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], edi
call fcn.004dd860
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 8], ecx
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x78]
jmp 0x4de07e
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x94]
lea ecx, [eax + ebp]
mov dword [esp + 0xc], ecx
call fcn.004dc450
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x60], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x20], ebx
call fcn.004dcd00
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 8], eax
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
sub esp, 0xffffff80
ret
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], 0
call fcn.004dcbd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb0], eax
sub esp, 0xffffff80
ret
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x9c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x20], eax
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
sub esp, 0xffffff80
ret
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
sub esp, 0xffffff80
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.004dc410
mov eax, dword [esp + 0xc]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x20], esi
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x54]
mov dword [esp + 0x18], edi
call fcn.004dd860
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
call fcn.004dd980
mov eax, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
add edi, esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x18], edi
call fcn.004dd860
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x78]
mov edx, dword [esp + 0x94]
cmp edx, ebx
jle 0x4de0ce
mov dword [esp + 0x54], ebx
mov dword [esp + 0x78], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
sub edx, ebx
mov ecx, dword [esp + 0x98]
sub ecx, ebx
mov dword [esp + 0x44], ecx
neg ecx
shl ebx, 2
sar ecx, 0x1f
and ecx, ebx
mov ebx, dword [esp + 0x90]
add ecx, ebx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jl 0x4ddf1c
mov ebx, edx
jmp 0x4ddf1c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.004dece0
mov eax, dword [esp + 0x7c]
mov ebp, dword [esp + 0x58]
mov edi, dword [esp + 0x64]
jmp 0x4ddee7
call fcn.00475ee0
jmp fcn.004dd980