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

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
call fcn.004da330
test eax, eax
jne 0x4dc1c0
pop edi
mov dword [ebp + 0x14], ebx
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0x80
ret 0x10
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, edx
mov esi, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x4c], esi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 8]
sub eax, edx
cdq
mov edi, eax
mov eax, dword [ecx + 4]
xor edi, edx
sub esi, eax
mov eax, dword [ecx + 0x44]
sub edi, edx
mov edx, dword [ecx + 0x10]
inc edi
sub eax, edx
mov edx, dword [ecx + 0x44]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0x44], edi
cdq
xor eax, edx
mov dword [esp + 0x64], esi
sub eax, edx
mov edx, dword [esp + 0x34]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [ebp + 0x10]
lea ecx, [eax + esi + 1]
mov eax, dword [edx + 0xc]
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x2c], eax
je 0x4dc303
mov eax, dword [ecx]
test eax, eax
je 0x4dc303
cmp eax, 0x4d0bb0
jne 0x4dc272
mov esi, dword [ecx + 4]
xor edx, edx
mov eax, dword [esi + 0xc]
imul eax, dword [esi + 4]
div dword [esi + 8]
cmp eax, 1
jb 0x4dc27a
mov esi, eax
jmp 0x4dc27f
mov esi, dword [ecx + 8]
cmp esi, 1
jae 0x4dc27f
mov esi, 1
mov edx, dword [ecx]
mov eax, edi
mov dword [esp + 0x88], edx
xor edx, edx
div esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x84], 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], 0
test eax, eax
mov dword [esp + 0x7c], eax
ja 0x4dc2c6
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0x7c]
mov edx, eax
imul edx, esi
cmp edx, edi
jae 0x4dc2eb
mov eax, edi
push ecx
sub eax, edx
push edi
push 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call dword [esp + 0x94]
jmp 0x4dc30e
push ecx
push edi
push 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
call dword [esp + 0x94]
jmp 0x4dc30e
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x9c]
xor ecx, ecx
mov dword [esp + 0x38], eax
cmp edi, ecx
mov dword [esp + 0x24], ecx
jle 0x4dc5b2
test ecx, ecx
jne 0x4dc349
mov edx, dword [esp + 0xa0]
mov eax, esi
mov ebx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
add esi, edx
jmp 0x4dc35e
lea edx, [edi - 2]
mov eax, ebx
mov ebx, dword [esp + 0x10]
cmp ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
jg 0x4dc362
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xa0]
add esi, edx
mov edx, dword [esp + 0x2c]
test edx, edx
mov dword [esp + 0x6c], esi
jle 0x4dc51e
mov edi, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [esp + 0x10]
sub ecx, ebx
sub eax, ebx
mov esi, ebx
sub edi, ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x4c], edx
jmp 0x4dc3af
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
xor edx, edx
mov ebx, dword [ebp + 0x1c]
mov dl, byte [eax + esi]
add edi, esi
mov eax, edx
xor edx, edx
mov dl, byte [ecx + esi]
xor ecx, ecx
mov cl, byte [esi]
mov dword [esp + 0x1c], edi
add eax, edx
mov edx, dword [ebp + 0x18]
mov edi, ecx
mov dword [esp + 0x3c], esi
mov edx, dword [edx + eax*4]
mov dword [esp + 0x14], 0
mov ecx, dword [ebx + edi*4]
add edx, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + edi*4]
add ecx, dword [ebx + eax*4]
mov ebx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x30]
test edx, edx
jle 0x4dc4fe
mov edx, dword [esp + 0x10]
sub esi, ebx
mov ebx, dword [esp + 0x28]
add esi, ebx
sub edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], esi
jmp 0x4dc426
mov esi, dword [esp + 0x40]
dec edx
cmp ebx, edx
jge 0x4dc454
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x60]
add edi, eax
add esi, eax
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov al, byte [edx + esi]
xor edx, edx
mov dl, byte [esi]
add eax, edx
xor edx, edx
mov dl, byte [edi]
mov edi, edx
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
mov esi, dword [esi + eax*4]
mov ebx, dword [edx + edi*4]
add esi, ebx
mov ebx, dword [ebp + 0x20]
add ecx, esi
mov ebx, dword [ebx + edi*4]
add ebx, dword [edx + eax*4]
mov edx, dword [esp + 0x20]
sar ecx, 8
add edx, ebx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
cmp edx, ebx
jl 0x4dc4d3
mov ebx, dword [esp + 0x50]
cmp edx, ebx
mov ebx, dword [esp + 0x14]
jge 0x4dc4d7
cmp ebx, dword [esp + 0x64]
jl 0x4dc4d7
cmp ebx, dword [esp + 0x68]
jge 0x4dc4d7
cmp ecx, 0xff
jle 0x4dc4b9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov byte [ecx], 0xff
add ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x4dc4d7
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov ecx, dword [esp + 0x1c]
mov byte [ecx], dl
mov edx, dword [esp + 0x2c]
add ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x4dc4d7
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
inc ebx
mov dword [esp + 0x20], esi
cmp ebx, edx
mov dword [esp + 0x14], ebx
jl 0x4dc422
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
jmp 0x4dc502
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
inc esi
dec eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
jne 0x4dc3a3
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esp + 0x34]
jl 0x4dc53b
cmp ecx, dword [esp + 0x50]
jge 0x4dc53b
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x38]
add edx, eax
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4dc58b
mov eax, dword [esp + 0x70]
dec eax
mov dword [esp + 0x70], eax
jne 0x4dc58b
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
add eax, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
push ecx
push edx
push eax
call dword [esp + 0x94]
test eax, eax
je 0x4dc599
mov ecx, dword [esp + 0x24]
inc ecx
cmp ecx, edi
mov dword [esp + 0x24], ecx
jge 0x4dc5c4
jmp 0x4dc32e
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x80
ret 0x10
pop edi
mov dword [ebp + 0x14], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 0x10
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret 0x10