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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.004da330
test eax, eax
jne 0x4dc61c
mov dword [edi + 0x14], esi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xa8
ret 0x10
mov ecx, dword [edi + 0xc]
mov ebx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, ebx
mov ebp, dword [ecx + 0x10]
cdq
xor eax, edx
mov edi, dword [ecx + 0x38]
sub eax, edx
mov dword [esp + 0x38], edi
inc eax
sub edi, ebx
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 8]
sub eax, ebp
mov dword [esp + 0xb4], edi
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ecx + 0x44]
inc eax
mov ebx, edx
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
sub ebx, ebp
cdq
xor eax, edx
mov dword [esp + 0x84], ebx
sub eax, edx
lea eax, [eax + ebx + 1]
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 0x40]
sub eax, dword [esp + 0x38]
cdq
xor eax, edx
sub eax, edx
lea ecx, [eax + edi + 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0x24], ebx
je 0x4dc748
mov ebp, dword [ecx]
test ebp, ebp
je 0x4dc748
cmp ebp, 0x4d0bb0
jne 0x4dc6d3
mov edi, dword [ecx + 4]
xor edx, edx
mov eax, dword [edi + 0xc]
imul eax, dword [edi + 4]
div dword [edi + 8]
cmp eax, 1
jb 0x4dc6db
mov edi, eax
jmp 0x4dc6e0
mov edi, dword [ecx + 8]
cmp edi, 1
jae 0x4dc6e0
mov edi, 1
mov dword [esp + 0x70], ebp
mov ebp, dword [esp + 0x50]
mov eax, ebp
xor edx, edx
div edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x60], 0
mov edx, eax
test edx, edx
mov dword [esp + 0x64], edx
ja 0x4dc71f
mov dword [esp + 0x64], 1
mov edx, dword [esp + 0x64]
mov eax, edx
imul eax, edi
cmp eax, ebp
jae 0x4dc732
mov edx, ebp
sub edx, eax
mov dword [esp + 0x58], edx
jmp 0x4dc736
mov dword [esp + 0x58], edx
push ecx
push ebp
push 0
mov dword [esp + 0x68], edx
call dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
jmp 0x4dc754
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0xbc]
mov edi, dword [esp + 0xc4]
mov dword [esp + 0x54], ecx
xor ecx, ecx
cmp ebp, ecx
mov dword [esp + 0x34], ecx
jle 0x4dcb86
test ecx, ecx
jne 0x4dc795
mov edx, dword [esp + 0xc8]
mov eax, edi
mov esi, edi
mov dword [esp + 0x20], edi
add edi, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edi
add edi, edx
jmp 0x4dc7b6
lea edx, [ebp - 3]
mov eax, esi
mov esi, dword [esp + 0x20]
cmp ecx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
jg 0x4dc7ba
mov dword [esp + 0x2c], edi
add edi, dword [esp + 0xc8]
test ebx, ebx
mov dword [esp + 0xac], edi
jle 0x4dcaf4
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub ecx, esi
sub eax, esi
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x2c]
sub ecx, esi
sub edx, esi
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x54]
mov edi, esi
lea ebp, [esi + ebx]
sub ecx, esi
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x94], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x38], ebx
jmp 0x4dc832
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x98]
add ecx, edi
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov cl, byte [esi + edi]
mov esi, dword [esp + 0x7c]
xor ebx, ebx
mov dword [esp + 0xa0], ebp
mov bl, byte [eax + edi]
xor eax, eax
mov al, byte [esi + edi]
add ecx, ebx
xor ebx, ebx
mov bl, byte [edi]
add eax, ebx
xor ebx, ebx
mov bl, byte [edx + edi]
mov edx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x3c], edx
lea esi, [eax + edx*2]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x44], ebx
mov esi, dword [esi + 0x28]
mov edx, dword [esi + edx*4]
mov dword [esp + 0x1c], edx
mov edx, dword [ebx + eax*4]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + eax*4]
mov esi, dword [esp + 0x3c]
add edx, ebx
mov ebx, dword [esp + 0x10]
add edx, ecx
mov ebx, dword [ebx + 0x2c]
add eax, dword [ebx + esi*4]
mov esi, dword [esp + 0x98]
xor ebx, ebx
add esi, ebp
mov dword [esp + 0x4c], esi
lea ecx, [eax + ecx*2]
mov eax, dword [esp + 0x94]
add eax, ebp
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x80], eax
mov bl, byte [eax]
add ecx, ebp
mov esi, ebx
mov ebx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x7c]
mov al, byte [ebx]
add ecx, ebp
add esi, eax
xor eax, eax
mov dword [esp + 0x48], ecx
mov al, byte [ecx]
mov ebx, dword [esp + 0x1c]
mov ecx, eax
xor eax, eax
mov al, byte [ebp]
add ecx, eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + ecx*4]
add eax, ebx
mov ebx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x14]
add eax, edx
add eax, ebx
mov ebx, dword [esp + 0x18]
add ebx, edx
add eax, esi
add ebx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
add edx, ebx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x14], ebx
test edx, edx
mov dword [esp + 0x18], 0
jle 0x4dcabe
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
jmp 0x4dc95e
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add edx, 0xfffffffe
cmp edi, edx
jge 0x4dc9cf
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0xa0]
mov edx, dword [esp + 0x88]
add esi, ebx
add ecx, ebx
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x4c]
add edi, ebx
add edx, ebx
add esi, ebx
xor ebx, ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x80], ecx
mov bl, byte [esi]
mov dword [esp + 0xa0], edi
mov esi, ebx
xor ebx, ebx
mov bl, byte [ecx]
xor ecx, ecx
add esi, ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov cl, byte [ebx]
xor ebx, ebx
mov bl, byte [edi]
add ecx, ebx
xor ebx, ebx
mov bl, byte [edx]
mov dword [esp + 0x3c], ebx
mov edi, dword [ebp + 0x28]
mov edx, dword [esp + 0x3c]
mov ebx, dword [ebp + 0x24]
mov edx, dword [edi + edx*4]
add edx, dword [ebx + ecx*4]
mov ebx, dword [ebp + 0x2c]
mov ebp, dword [edi + ecx*4]
mov edi, dword [esp + 0x3c]
add edx, esi
add ebp, dword [ebx + edi*4]
mov ebx, dword [esp + 0x44]
lea edi, [ecx + edi*2]
add ebp, ebx
mov ebx, dword [esp + 0x1c]
add ebx, edx
add eax, edi
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x84]
sar eax, 8
cmp edx, ebx
lea ebp, [ebp + esi*2]
jl 0x4dca78
cmp edx, dword [esp + 0x8c]
jge 0x4dca78
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0xb4]
cmp edx, ebx
jl 0x4dca78
cmp edx, dword [esp + 0xb0]
jge 0x4dca78
cmp eax, 0xff
jle 0x4dca5e
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x24]
mov byte [eax], 0xff
add eax, ebx
mov dword [esp + 0x40], eax
jmp 0x4dca7c
test eax, eax
mov ebx, dword [esp + 0x24]
setl dl
dec edx
and edx, eax
mov eax, dword [esp + 0x40]
mov byte [eax], dl
add eax, ebx
mov dword [esp + 0x40], eax
jmp 0x4dca7c
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x18]
inc ebp
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x14], edi
mov edi, ebp
mov dword [esp + 0x18], ebp
cmp edi, edx
jl 0x4dc95a
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x9c]
mov ebp, dword [esp + 0xa4]
jmp 0x4dcac6
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
inc edi
inc ebp
dec eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa4], ebp
mov dword [esp + 0x38], eax
jne 0x4dc820
mov edi, dword [esp + 0xac]
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x84]
jl 0x4dcb17
cmp ecx, dword [esp + 0x8c]
jge 0x4dcb17
mov eax, dword [esp + 0xc0]
mov edx, dword [esp + 0x54]
add edx, eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4dcb5b
mov eax, dword [esp + 0x58]
dec eax
mov dword [esp + 0x58], eax
jne 0x4dcb5b
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x74]
push ecx
push edx
push eax
call dword [esp + 0x7c]
test eax, eax
je 0x4dcb69
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, ebp
mov dword [esp + 0x34], ecx
jge 0x4dcb98
jmp 0x4dc774
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword [ecx + 0x14], 0
pop ebx
add esp, 0xa8
ret 0x10
pop edi
pop esi
mov dword [eax + 0x14], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret 0x10
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [edx + 0x14], 0
xor eax, eax
pop ebx
add esp, 0xa8
ret 0x10