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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4dcd5b
sub esp, 0x74
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
test ecx, ecx
je 0x4dc7e8
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x4dc7cc
mov ecx, dword [0x6579f8]
mov edx, dword [0x6579fc]
jmp 0x4dc7f4
cmp ecx, 0x7fffffff
jle 0x4dc7e2
mov ecx, dword [0x6579f0]
mov edx, dword [0x6579f4]
jmp 0x4dc7f4
xor ecx, ecx
xor edx, edx
jmp 0x4dc7f4
mov ecx, dword [0x657a00]
mov edx, dword [0x657a04]
test ecx, ecx
jne 0x4dccf3
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
nop
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 4]
lea ebx, [edx - 1]
test ebx, ebx
jl 0x4dc86a
mov edx, dword [ecx + edx*4 - 4]
nop
cmp edx, 0x10000
jb 0x4dc83a
shr edx, 0x10
mov ecx, 0x10
jmp 0x4dc83c
xor ecx, ecx
cmp edx, 0x100
jb 0x4dc84a
shr edx, 8
add ecx, 8
cmp edx, 0x100
jae 0x4dcd4e
shl ebx, 5
lea ebp, [0x568a99]
movzx edx, byte [ebp + edx]
add ecx, edx
add ecx, ebx
jmp 0x4dc86c
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
shl eax, 1
mov ecx, dword [esp + 0x24]
lea edx, [ecx + 7]
sar edx, 0x1f
shr edx, 0x1d
lea ecx, [edx + ecx + 7]
sar ecx, 3
mov edx, ecx
sub ecx, eax
lea eax, [ecx - 2]
mov ecx, dword [esp + 0x90]
cmp ecx, eax
jg 0x4dccb4
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], edx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp], ebp
call ecx
lea eax, [0x547680]
mov dword [esp], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447590
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 0x18]
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x3c]
cmp edx, ecx
jb 0x4dcd49
cmp ecx, 1
jb 0x4dcd3f
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov ecx, dword [esp + 0x3c]
lea eax, [ecx - 1]
mov edx, eax
neg eax
sar eax, 0x1f
and eax, 1
mov ebx, dword [esp + 0x50]
add eax, ebx
mov ebp, dword [esp + 4]
lea esi, [ebp + 1]
cmp ecx, esi
jb 0x4dcd38
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edx, eax
sub eax, ecx
lea ecx, [eax - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
mov ebp, dword [esp + 0x30]
and ebp, ecx
mov ecx, dword [esp + 0x50]
add ebp, ecx
mov esi, dword [esp + 4]
cmp esi, ebx
ja 0x4dcd2f
mov edi, dword [esp + 0x2c]
cmp edi, esi
jl 0x4dca0d
mov edi, esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebp
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x4dca45
mov dword [esp + 0x30], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.0045fd70
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x90]
mov edi, eax
sub eax, esi
lea edx, [eax - 2]
cmp edx, ebx
jae 0x4dcd26
mov byte [eax + ebp - 2], 1
lea edx, [eax - 1]
sub edi, eax
mov eax, edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
lea edx, [ebp + edi]
cmp esi, eax
jl 0x4dca7c
mov esi, eax
mov eax, dword [esp + 0x8c]
cmp eax, edx
je 0x4dca97
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0045fd70
nop
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call fcn.00467340
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4dcb11
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x38]
mov dword [esp + 0x1c], edi
call fcn.004dc530
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.004dc530
mov byte [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call fcn.004d85a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov byte [esp + 0x64], 0
mov byte [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
lea eax, [esp + 0x64]
mov dword [esp + 8], eax
call fcn.004dc700
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
lea ecx, [0x547680]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00447590
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
call fcn.004d01f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
add esp, 0x74
ret
mov eax, dword [0x6579e0]
mov ecx, dword [0x6579e4]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x74
ret
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x74
ret
mov eax, edx
mov ecx, ebx
call fcn.0045f4d0
mov ecx, esi
mov edx, ebx
call fcn.0045f510
mov eax, esi
call fcn.0045f530
mov eax, 1
call fcn.0045f530
call fcn.0045f510
mov eax, edx
mov ecx, 0x100
call fcn.0045f4e0
nop
call fcn.0045e080
jmp fcn.004dc790