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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], edi
call fcn.004da330
test eax, eax
jne 0x4dd1dc
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xa8
ret 0x10
mov ecx, dword [esi + 0xc]
mov ebp, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, ebp
mov ebx, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x34], ebx
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
sub ebx, ebp
mov dword [esp + 0x9c], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov dword [esp + 0xa8], ebx
cdq
mov edi, eax
mov eax, dword [ecx + 0x10]
xor edi, edx
sub edi, edx
mov edx, dword [ecx + 0x44]
mov ebp, edx
inc edi
sub ebp, eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xa4], edi
cdq
xor eax, edx
mov dword [esp + 0x74], ebp
sub eax, edx
lea eax, [eax + ebp + 1]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x40]
sub eax, dword [esp + 0x34]
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esi + 0x10]
lea ecx, [eax + ebx + 1]
mov eax, dword [edx + 0xc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov dword [esp + 0x38], eax
je 0x4dd309
mov ebp, dword [ecx]
test ebp, ebp
je 0x4dd309
cmp ebp, 0x4d0bb0
jne 0x4dd291
mov ebx, dword [ecx + 4]
xor edx, edx
mov eax, dword [ebx + 0xc]
imul eax, dword [ebx + 4]
div dword [ebx + 8]
cmp eax, 1
jb 0x4dd299
mov ebx, eax
jmp 0x4dd29e
mov ebx, dword [ecx + 8]
cmp ebx, 1
jae 0x4dd29e
mov ebx, 1
mov eax, edi
xor edx, edx
div ebx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], 1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x58], 0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x5c], ebp
ja 0x4dd2d6
mov ebp, 1
mov dword [esp + 0x5c], ebp
mov eax, ebp
imul eax, ebx
cmp eax, edi
jae 0x4dd2f5
mov edx, edi
push ecx
sub edx, eax
push edi
push 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
call dword [esp + 0x74]
jmp 0x4dd315
push ecx
mov edx, ebp
push edi
push 0
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], edx
call dword [esp + 0x74]
jmp 0x4dd315
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xc4]
xor eax, eax
mov dword [esp + 0x48], ecx
cmp edi, eax
mov dword [esp + 0x24], eax
jle 0x4dd766
test eax, eax
jne 0x4dd35a
mov edx, dword [esp + 0xc8]
mov eax, ebx
mov ecx, ebx
mov dword [esp + 0x14], ebx
add ebx, edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], ebx
add ebx, edx
mov dword [esp + 0x28], ebx
jmp 0x4dd39f
lea edx, [edi - 3]
cmp eax, edx
mov eax, dword [esp + 0x10]
jle 0x4dd37f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
jmp 0x4dd39b
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc8]
add ebx, edx
mov edx, dword [esp + 0x38]
test edx, edx
mov dword [esp + 0xac], ebx
jle 0x4dd6dc
mov edi, eax
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x28]
sub eax, ecx
sub edi, ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
sub ebp, ecx
lea ebx, [ecx + edx]
sub eax, ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0xa0], eax
mov dword [esp + 0x34], edx
jmp 0x4dd426
mov edi, dword [esp + 0x88]
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x84]
add eax, ecx
mov dword [esp + 0x3c], eax
xor eax, eax
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [edi + ecx]
mov edi, dword [esp + 0x94]
add eax, edx
xor edx, edx
mov dl, byte [edi + ecx]
mov dword [esp + 0x70], ebx
mov edi, edx
xor edx, edx
mov dl, byte [ecx]
add edi, edx
xor edx, edx
mov dl, byte [ecx + ebp]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [esi + 0x20]
mov dword [esp + 0x20], edx
mov ecx, dword [ecx + edi*4]
add ecx, dword [ebp + edx*4]
mov ebp, dword [esi + 0x18]
add ecx, dword [ebp + eax*4]
mov ebp, dword [esi + 0x28]
mov edx, dword [ebp + edx*4]
mov ebp, dword [esi + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [esi + 0x24]
mov edx, dword [edx + edi*4]
add edx, dword [ebp + eax*4]
mov ebp, dword [esp + 0x1c]
add edx, ebp
mov ebp, dword [esi + 0x28]
mov edi, dword [ebp + edi*4]
mov ebp, dword [esi + 0x20]
add edi, dword [ebp + eax*4]
mov eax, dword [esi + 0x2c]
mov ebp, dword [esp + 0x20]
add edi, dword [eax + ebp*4]
mov eax, dword [esp + 0x88]
lea ebp, [eax + ebx]
mov eax, dword [esp + 0x8c]
add eax, ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x94]
add eax, ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x84]
lea edi, [eax + ebx]
xor eax, eax
mov dword [esp + 0x80], edi
mov al, byte [edi]
mov edi, eax
xor eax, eax
mov al, byte [ebp]
mov ebp, dword [esp + 0x4c]
add edi, eax
xor eax, eax
mov al, byte [ebp]
mov ebp, eax
xor eax, eax
mov al, byte [ebx]
mov ebx, dword [esi + 0x1c]
add ebp, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + ebp*4]
add eax, dword [ebx + edi*4]
mov ebx, dword [esp + 0x1c]
add eax, ebx
mov ebx, dword [esp + 0x40]
add eax, ebx
add ebx, edx
add eax, edx
add ebx, ecx
add eax, ecx
mov dword [esp + 0x30], ebx
add edx, ecx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x2c], edx
test ebx, ebx
mov dword [esp + 0x1c], ecx
jle 0x4dd69d
mov edx, dword [esp + 0x20]
add ebx, 0xfffffffe
cmp ecx, ebx
jge 0x4dd5b0
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x80]
add ebp, ecx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x4c]
add edx, ecx
add ebx, ecx
add ebp, ecx
add edi, ecx
xor ecx, ecx
mov dword [esp + 0x80], edi
mov cl, byte [edi]
mov dword [esp + 0x78], edx
mov edi, ecx
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
mov dl, byte [ebp]
add edi, ecx
xor ecx, ecx
mov dword [esp + 0x4c], ebp
mov cl, byte [ebx]
mov ebp, edx
add ebp, ecx
mov ecx, dword [esp + 0x44]
xor edx, edx
mov dword [esp + 0x70], ebx
mov dl, byte [ecx]
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov ecx, dword [ecx + ebp*4]
add ecx, dword [ebx + edx*4]
mov ebx, dword [esi + 0x18]
add ecx, dword [ebx + edi*4]
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + edi*4]
add ecx, dword [ebx + edx*4]
mov ebx, dword [esi + 0x24]
add ecx, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xb4], ecx
add ebx, ecx
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x30], ebx
mov ebx, dword [ecx + ebp*4]
mov ecx, dword [esi + 0x20]
add ebx, dword [ecx + edi*4]
mov ecx, dword [esi + 0x2c]
add ebx, dword [ecx + edx*4]
mov ecx, dword [esp + 0x2c]
add ecx, ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
add ecx, ebx
mov ebx, dword [esp + 0x20]
add eax, ebx
mov ebx, dword [esp + 0x24]
sar eax, 8
cmp ebx, dword [esp + 0x74]
jl 0x4dd66d
cmp ebx, dword [esp + 0x7c]
jge 0x4dd66d
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0xa8]
jl 0x4dd66d
cmp ebx, dword [esp + 0xb0]
jge 0x4dd66d
cmp eax, 0xff
jle 0x4dd651
mov eax, dword [esp + 0x3c]
mov byte [eax], 0xff
jmp 0x4dd65f
test eax, eax
setl bl
dec ebx
and ebx, eax
mov eax, dword [esp + 0x3c]
mov byte [eax], bl
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
add ebx, eax
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x9c]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x1c], ecx
jl 0x4dd54c
mov ecx, dword [esp + 0x98]
mov ebx, dword [esp + 0x90]
mov eax, dword [esp + 0x34]
inc ecx
inc ebx
dec eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x34], eax
jne 0x4dd411
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jl 0x4dd6ff
cmp eax, dword [esp + 0x7c]
jge 0x4dd6ff
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x4dd73f
mov ecx, dword [esp + 0x50]
dec ecx
mov dword [esp + 0x50], ecx
jne 0x4dd73f
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x60]
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
push ecx
push edx
push eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebp
call dword [esp + 0x74]
test eax, eax
je 0x4dd74d
mov eax, dword [esp + 0x24]
inc eax
cmp eax, edi
mov dword [esp + 0x24], eax
jge 0x4dd778
jmp 0x4dd335
mov dword [esi + 0x14], 0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xa8
ret 0x10
mov dword [esi + 0x14], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret 0x10
mov dword [esi + 0x14], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xa8
ret 0x10