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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x38]
cmp eax, dword [ecx + 8]
jbe 0x4dcce4
sub esp, 0xb8
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
je 0x4dcc5e
mov ecx, dword [edx]
test ecx, 1
je 0x4dcc5e
mov byte [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov byte [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0xa8]
cmp ecx, edx
je 0x4dc685
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
mov esi, dword [ecx + 8]
mov dword [esp + 0x38], esi
mov edi, dword [ecx + 4]
cmp esi, ebx
jg 0x4dcba6
mov edx, dword [esp + 0x38]
cmp edx, esi
jge 0x4dcb9f
mov dword [esp + 0x68], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], ebx
cmp ebp, edi
je 0x4dc653
mov dword [esp], ebp
mov dword [esp + 4], edi
shl edx, 2
mov dword [esp + 8], edx
call fcn.0045eba0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xbc]
movzx eax, byte [eax]
mov byte [esp + 0xa8], al
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x98]
cmp eax, ecx
je 0x4dc712
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [eax + 8]
mov esi, dword [eax + 4]
cmp edx, ebp
jl 0x4dcb09
mov edi, ebp
cmp ebp, edi
jle 0x4dcb02
mov dword [esp + 0x50], edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x6c], ebx
cmp ebx, esi
je 0x4dc6e0
mov dword [esp], ebx
mov dword [esp + 4], esi
shl edi, 2
mov dword [esp + 8], edi
call fcn.0045eba0
mov eax, dword [esp + 0x20]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xc0]
movzx eax, byte [eax]
mov byte [esp + 0x98], al
movzx eax, byte [esp + 0x98]
test al, al
je 0x4dcaf8
movzx eax, byte [esp + 0xa8]
test al, al
je 0x4dcaee
mov eax, 0xffffffff
mov byte [esp + 0x98], 0
jmp 0x4dc917
inc edx
cmp edx, ecx
jae 0x4dcc57
mov ebx, dword [eax + edx*4]
test ebx, ebx
je 0x4dc744
shl edx, 5
mov ebp, ebx
neg ebx
and ebp, ebx
imul ebx, ebp, 0x77cb531
shr ebx, 0x1b
lea ebp, [0x6de680]
movzx ebx, byte [ebp + ebx]
add edx, ebx
nop
test edx, 1
je 0x4dcaaf
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
test ecx, ecx
jbe 0x4dcc50
mov eax, dword [ebx]
and eax, 7
cmp eax, 3
jne 0x4dca9d
mov eax, dword [esp + 0x5c]
neg eax
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x88]
mov dword [esp], ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004dccf0
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0x9c]
test ecx, ecx
jbe 0x4dcc49
mov edx, dword [eax]
and edx, 3
cmp edx, 3
jne 0x4dca94
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
test edx, edx
jbe 0x4dcc40
mov edx, dword [ebx]
and edx, 3
cmp edx, 3
jne 0x4dca94
mov edx, dword [esp + 0x5c]
neg edx
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xac]
cmp ecx, ebx
jg 0x4dca12
mov esi, ecx
cmp esi, ecx
jge 0x4dca0b
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x60], ebp
cmp eax, ebp
je 0x4dc861
mov dword [esp], ebp
mov dword [esp + 4], eax
shl esi, 2
mov dword [esp + 8], esi
call fcn.0045eba0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xac], eax
movzx eax, byte [esp + 0x98]
mov byte [esp + 0xa8], al
nop
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
cmp edx, eax
jg 0x4dc991
mov ebp, edx
cmp ebp, edx
jge 0x4dc98a
mov dword [esp + 0x24], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], ecx
cmp ecx, ebx
je 0x4dc8e3
mov dword [esp], ecx
mov dword [esp + 4], ebx
shl ebp, 2
mov dword [esp + 8], ebp
call fcn.0045eba0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x9c], ecx
movzx ecx, byte [esp + 0x88]
mov byte [esp + 0x98], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x6fc8b8]
lea edx, [esp + 0x98]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004da210
mov eax, dword [esp + 8]
test eax, eax
je 0x4dcadc
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4dcaca
lea eax, [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], eax
lea ecx, [esp + 0x98]
mov dword [esp + 8], ecx
call fcn.004da000
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xac]
test ecx, ecx
je 0x4dcab8
xor edx, edx
jmp 0x4dc745
mov ebp, edx
jmp 0x4dc8c0
mov dword [esp + 0x30], edx
mov dword [esp + 0x78], ebx
cmp edx, 1
jne 0x4dc9d7
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x30]
mov edx, 1
mov eax, 1
jmp 0x4dc8b8
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [edx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x30]
mov edx, ebp
mov eax, dword [esp + 0x4c]
jmp 0x4dc8b8
mov esi, ecx
jmp 0x4dc83e
mov dword [esp + 0x28], ecx
mov dword [esp + 0x7c], eax
cmp ecx, 1
jne 0x4dca5c
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ecx, 1
mov ebx, 1
jmp 0x4dc836
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x48], edx
mov dword [esp + 8], edx
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
mov ecx, esi
mov ebx, dword [esp + 0x48]
jmp 0x4dc836
mov edx, dword [esp + 0x5c]
jmp 0x4dc81a
cmp eax, 5
je 0x4dc7a4
mov eax, dword [esp + 0x5c]
jmp 0x4dc7aa
mov eax, dword [esp + 0x5c]
jmp 0x4dc7aa
mov dword [esp + 0xc4], 0
add esp, 0xb8
ret
mov dword [esp + 0xc4], 0
add esp, 0xb8
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc4], eax
add esp, 0xb8
ret
mov eax, 1
jmp 0x4dc737
mov eax, 1
jmp 0x4dc917
mov edi, ebp
jmp 0x4dc6bd
mov dword [esp + 0x34], ebp
mov dword [esp + 0x74], esi
cmp ebp, 1
jne 0x4dcb5d
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x98]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x34]
mov ebp, 1
mov edx, 1
jmp 0x4dc6b5
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea ecx, [ebp + 4]
mov dword [esp + 0x40], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
lea ecx, [esp + 0x98]
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x34]
mov ebp, edi
mov edx, dword [esp + 0x40]
jmp 0x4dc6b5
mov edx, esi
jmp 0x4dc630
mov dword [esp + 0x70], edi
cmp esi, 1
jne 0x4dcbf9
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0xa8]
mov edi, dword [esp + 0x70]
mov esi, 1
mov ebx, 1
jmp 0x4dc624
lea eax, [0x5a56a0]
mov dword [esp], eax
mov dword [esp + 4], esi
lea ecx, [esi + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 8], ecx
call fcn.004451f0
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0xa8]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x44]
jmp 0x4dc624
xor eax, eax
mov ecx, edx
call fcn.0045e2a0
xor eax, eax
call fcn.0045e2a0
xor eax, eax
call fcn.0045e2a0
mov eax, edx
call fcn.0045e2b0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x5ceea0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea eax, [0x5ddf00]
mov dword [esp], eax
mov dword [esp + 4], 0x44
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004bc200
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00409170
mov eax, dword [esp + 8]
lea ecx, [0x5a5ba0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00431c00
nop
call fcn.0045ccc0
jmp fcn.004dc530