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

Disassembly:
sub esp, 0xac
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], esi
call fcn.004da330
test eax, eax
jne 0x4dcbf8
mov dword [ebp + 0x14], esi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xac
ret 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, edx
mov edi, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x3c], edi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 8]
sub eax, edx
cdq
mov ebx, eax
mov eax, dword [ecx + 4]
xor ebx, edx
sub edi, eax
mov eax, dword [ecx + 0x44]
sub ebx, edx
mov edx, dword [ecx + 0x10]
inc ebx
sub eax, edx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xa8], ebx
cdq
xor eax, edx
mov dword [esp + 0xac], edi
sub eax, edx
mov edx, dword [esp + 0x50]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 0x10]
lea ecx, [eax + edi + 1]
mov eax, dword [edx + 0xc]
mov dword [esp + 0xb4], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x4dcd32
mov eax, dword [ecx]
test eax, eax
je 0x4dcd32
cmp eax, 0x4d0bb0
jne 0x4dccb9
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 0x4dccc1
mov edi, eax
jmp 0x4dccc6
mov edi, dword [ecx + 8]
cmp edi, 1
jae 0x4dccc6
mov edi, 1
mov edx, dword [ecx]
mov eax, ebx
mov dword [esp + 0x6c], edx
xor edx, edx
div edi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], 0
test eax, eax
mov dword [esp + 0x60], eax
ja 0x4dcd01
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x60]
mov edx, eax
imul edx, edi
cmp edx, ebx
jae 0x4dcd20
mov eax, ebx
push ecx
sub eax, edx
push ebx
push 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [esp + 0x78]
jmp 0x4dcd3a
push ecx
push ebx
push 0
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call dword [esp + 0x78]
jmp 0x4dcd3a
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0xc0]
mov edi, dword [esp + 0xc8]
xor ecx, ecx
mov dword [esp + 0x48], eax
cmp ebx, ecx
mov dword [esp + 0x34], ecx
jle 0x4dd16e
test ecx, ecx
jne 0x4dcd7b
mov edx, dword [esp + 0xcc]
mov eax, edi
mov esi, edi
mov dword [esp + 0x18], edi
add edi, edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x10], edi
add edi, edx
jmp 0x4dcd9c
lea edx, [ebx - 3]
mov eax, esi
mov esi, dword [esp + 0x18]
cmp ecx, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jg 0x4dcda0
mov dword [esp + 0x28], edi
mov edx, dword [esp + 0xcc]
add edi, edx
mov edx, dword [esp + 0x24]
test edx, edx
mov dword [esp + 0xb0], edi
jle 0x4dd0e3
mov ebx, dword [esp + 0x28]
mov edi, eax
mov eax, dword [esp + 0x18]
sub ebx, esi
sub eax, esi
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
add edx, esi
sub edi, esi
sub eax, esi
mov ecx, esi
sub ebx, esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x8c], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x3c], esi
jmp 0x4dce20
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0xa4]
mov esi, dword [esp + 0x7c]
add ebx, ecx
mov dword [esp + 0x4c], ebx
xor ebx, ebx
mov bl, byte [esi + ecx]
mov dword [esp + 0x84], edx
mov esi, ebx
xor ebx, ebx
mov bl, byte [edi + ecx]
mov edi, dword [esp + 0x74]
add esi, ebx
xor ebx, ebx
mov bl, byte [eax + ecx]
mov eax, ebx
xor ebx, ebx
mov bl, byte [ecx]
add eax, ebx
xor ebx, ebx
mov bl, byte [edi + ecx]
mov ecx, dword [ebp + 0x20]
mov edi, ebx
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ecx + edi*4]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx + edi*4]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + eax*4]
mov ebx, dword [esp + 0x14]
lea ecx, [ecx + esi*2]
add ecx, ebx
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + esi*4]
mov esi, dword [ebx + edi*4]
add ecx, esi
mov esi, dword [ebp + 0x28]
mov ebx, dword [esi + eax*4]
mov eax, dword [esp + 0x78]
add ecx, ebx
xor ebx, ebx
lea esi, [eax + edx]
mov eax, dword [esp + 0x74]
add eax, edx
mov dword [esp + 0x90], esi
mov bl, byte [esi]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov esi, ebx
add eax, edx
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0xa0], eax
mov bl, byte [eax]
xor eax, eax
add esi, ebx
mov ebx, dword [esp + 0x30]
mov al, byte [ebx]
xor ebx, ebx
mov bl, byte [edx]
mov edx, dword [ebp + 0x24]
add eax, ebx
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + eax*4]
lea edx, [edx + esi*2]
add edx, ebx
mov ebx, dword [esp + 0x1c]
add edx, ecx
add edx, ebx
mov ebx, dword [esp + 0x20]
add edx, ebx
mov ebx, dword [esp + 0x1c]
add ecx, ebx
mov ebx, dword [esp + 0x20]
add ecx, ebx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
add ecx, ebx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x2c], ecx
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x14], ecx
jle 0x4dd0a0
add ebx, 0xfffffffe
cmp ecx, ebx
jge 0x4dcfab
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x98]
add esi, eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0xa0]
add ecx, eax
add edi, eax
add ebx, eax
add esi, eax
xor eax, eax
mov dword [esp + 0xa0], esi
mov al, byte [esi]
mov dword [esp + 0x90], ecx
mov esi, eax
xor eax, eax
mov al, byte [ecx]
mov ecx, dword [esp + 0x30]
add esi, eax
xor eax, eax
mov al, byte [ecx]
xor ecx, ecx
mov cl, byte [edi]
mov dword [esp + 0x84], edi
add eax, ecx
xor ecx, ecx
mov cl, byte [ebx]
mov dword [esp + 0x98], ebx
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x24]
mov ecx, dword [ecx + edi*4]
lea ecx, [ecx + eax*2]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x28]
mov ecx, dword [ecx + edi*4]
add ecx, dword [ebx + eax*4]
mov ebx, dword [ebp + 0x2c]
lea ecx, [ecx + esi*2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + esi*4]
add ecx, dword [ebx + edi*4]
mov ebx, ecx
mov ecx, dword [ebp + 0x28]
add ebx, dword [ecx + eax*4]
mov ecx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
add ebx, ecx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x38]
add ebx, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x50]
add edx, ecx
mov ecx, dword [esp + 0x34]
sar edx, 8
cmp ecx, ebx
jl 0x4dd06c
cmp ecx, dword [esp + 0x80]
jge 0x4dd06c
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0xac]
cmp ecx, ebx
jl 0x4dd070
cmp ecx, dword [esp + 0xb4]
jge 0x4dd070
cmp edx, 0xff
jle 0x4dd052
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
mov byte [edx], 0xff
add edx, ebx
mov dword [esp + 0x4c], edx
jmp 0x4dd070
test edx, edx
setl bl
dec ebx
and ebx, edx
mov edx, dword [esp + 0x4c]
mov byte [edx], bl
mov ebx, dword [esp + 0x24]
add edx, ebx
mov dword [esp + 0x4c], edx
jmp 0x4dd070
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x9c]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x14], ecx
jl 0x4dcf36
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
inc ecx
inc edx
dec eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], edx
mov dword [esp + 0x3c], eax
jne 0x4dce0e
mov ebx, dword [esp + 0xa8]
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [esp + 0x50]
jl 0x4dd103
cmp ecx, dword [esp + 0x80]
jge 0x4dd103
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4dd147
mov eax, dword [esp + 0x54]
dec eax
mov dword [esp + 0x54], eax
jne 0x4dd147
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
push ecx
push edx
push eax
call dword [esp + 0x78]
test eax, eax
je 0x4dd155
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x34], ecx
jge 0x4dd180
jmp 0x4dcd5a
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xac
ret 0x10
pop edi
mov dword [ebp + 0x14], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret 0x10
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xac
ret 0x10