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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor edi, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x50], edi
call fcn.004da330
test eax, eax
jne 0x4de024
mov dword [ebp + 0x14], edi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xd4
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 + 0x5c], esi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
mov dword [esp + 0xbc], eax
mov eax, dword [ecx + 8]
sub eax, edx
cdq
mov ebx, eax
mov eax, dword [ecx + 4]
xor ebx, edx
sub esi, 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 + 0x88], eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xd8], ebx
cdq
xor eax, edx
mov dword [esp + 0xe0], esi
sub eax, edx
mov edx, dword [esp + 0x88]
lea eax, [eax + edx + 1]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc4], 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 + 0xdc], ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esp + 0x6c], eax
je 0x4de18e
mov eax, dword [ecx]
test eax, eax
je 0x4de18e
cmp eax, 0x4d0bb0
jne 0x4de0eb
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 0x4de0f3
mov esi, eax
jmp 0x4de0f8
mov esi, dword [ecx + 8]
cmp esi, 1
jae 0x4de0f8
mov esi, 1
mov edx, dword [ecx]
mov eax, ebx
mov dword [esp + 0xb0], edx
xor edx, edx
div esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0xac], 1
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa0], 0
test eax, eax
mov dword [esp + 0xa4], eax
ja 0x4de14b
mov dword [esp + 0xa4], 1
mov eax, dword [esp + 0xa4]
mov edx, eax
imul edx, esi
cmp edx, ebx
jae 0x4de173
mov eax, ebx
push ecx
sub eax, edx
push ebx
push 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call dword [esp + 0xbc]
jmp 0x4de199
push ecx
push ebx
push 0
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call dword [esp + 0xbc]
jmp 0x4de199
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0xe8]
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x78], eax
xor eax, eax
cmp ebx, eax
mov dword [esp + 0x4c], eax
jle 0x4de8b4
test eax, eax
jne 0x4de1eb
mov eax, dword [esp + 0xf4]
mov ecx, esi
mov edi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
add esi, eax
mov dword [esp + 0x48], esi
add esi, eax
mov dword [esp + 0x3c], esi
add esi, eax
mov dword [esp + 0x90], edi
mov dword [esp + 0x50], esi
jmp 0x4de22a
mov edx, dword [esp + 0x40]
lea ecx, [ebx - 4]
cmp eax, ecx
mov eax, dword [esp + 0x48]
mov ecx, edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x90], edi
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
jg 0x4de223
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xf4]
mov edx, dword [esp + 0x6c]
add esi, eax
test edx, edx
mov dword [esp + 0xd4], esi
jle 0x4de7fc
mov ebx, dword [esp + 0x44]
lea esi, [edi + edx]
sub ebx, edi
sub ecx, edi
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x40]
sub ebx, edi
mov eax, edi
mov dword [esp + 0x8c], ebx
mov ebx, dword [esp + 0x48]
sub ebx, edi
lea edx, [edi + edx*2]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x3c]
sub ebx, edi
mov dword [esp + 0xb8], eax
mov dword [esp + 0x94], ebx
mov ebx, dword [esp + 0x50]
sub ebx, edi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x78]
sub ebx, edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x5c], edi
jmp 0x4de2c2
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0x7c]
add ebx, eax
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov bl, byte [edi + eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [ecx + eax]
xor ecx, ecx
add edi, ebx
xor ebx, ebx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x94]
mov cl, byte [edi + eax]
mov edi, ecx
xor ecx, ecx
mov cl, byte [eax]
add edi, ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x84]
mov bl, byte [ecx + eax]
xor ecx, ecx
mov cl, byte [edi + eax]
mov edi, dword [esp + 0x8c]
add ebx, ecx
xor ecx, ecx
mov cl, byte [edi + eax]
mov edi, dword [ebp + 0x2c]
mov eax, ecx
mov dword [esp + 0x1c], edi
mov edi, dword [edi + ebx*4]
mov dword [esp + 0x30], eax
lea ecx, [eax + ebx]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x20], ecx
add edi, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x38]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0x34]
add edi, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov ebp, dword [ebp + 0x3c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x68], ebp
add ecx, dword [eax + ebx*4]
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
add ecx, dword [ebx + eax*4]
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
mov ebp, dword [esp + 0x14]
add ecx, ebx
mov ebx, dword [esp + 0x20]
add eax, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x2c]
add eax, dword [ebp + ebx*4]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x10]
add eax, ecx
add ecx, edi
add eax, edi
add ecx, ebx
add eax, ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x74]
add eax, ebp
mov ebp, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
add ebp, ecx
mov dword [esp + 0x10], ebp
mov ebx, dword [esp + 0x94]
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x80]
mov ebp, ecx
xor ecx, ecx
mov cl, byte [esi]
add ebp, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x14], ebp
mov ebp, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov ebx, dword [esp + 0x8c]
add ebp, ecx
xor ecx, ecx
mov cl, byte [ebx + esi]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
mov esi, dword [ebx + esi*4]
mov ebx, dword [esp + 0x18]
add esi, dword [ebx + ebp*4]
mov ebx, dword [esp + 0x2c]
mov ebx, dword [ebx + ecx*4]
add esi, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
add esi, ebx
mov ebx, dword [esp + 0x20]
add eax, esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x68], edx
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x14]
add ecx, dword [ebx + esi*4]
mov esi, dword [esp + 0x2c]
add ecx, dword [esi + ebp*4]
mov esi, dword [esp + 0x10]
add ecx, esi
mov esi, dword [esp + 0x24]
add esi, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x34]
add edi, ecx
mov ecx, dword [esp + 0x10]
add edi, esi
add edi, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x30]
mov ecx, dword [ecx + ebp*4]
add ecx, dword [ebx + edi*4]
add edi, ebp
mov dword [esp + 0x38], edi
add ecx, esi
mov esi, dword [esp + 0x14]
add ecx, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
lea esi, [ecx + edx]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xc0], esi
lea ebp, [ecx + edx]
mov ecx, dword [esp + 0x8c]
add ecx, edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x80]
add ecx, edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x94]
add ecx, edx
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x7c]
add ecx, edx
mov dword [esp + 0x58], ecx
xor ecx, ecx
mov cl, byte [esi]
mov esi, dword [esp + 0x58]
mov edi, ecx
xor ecx, ecx
mov cl, byte [esi]
mov esi, dword [esp + 0x60]
add edi, ecx
xor ecx, ecx
mov cl, byte [esi]
mov esi, ecx
xor ecx, ecx
mov cl, byte [edx]
xor edx, edx
add esi, ecx
xor ecx, ecx
mov cl, byte [ebp]
mov ebp, dword [esp + 0x64]
mov dl, byte [ebp]
mov ebp, dword [esp + 0x34]
add ecx, edx
xor edx, edx
mov dl, byte [ebp]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov ebp, dword [ebp + ecx*4]
mov ebx, dword [ebx + edx*4]
add ebx, ebp
mov dword [esp + 0x20], ebx
add ebx, esi
add eax, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + 0x2c]
mov ebx, dword [ebx + 0x34]
mov ebp, dword [ebp + esi*4]
add ebp, dword [ebx + ecx*4]
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x38]
mov ebx, dword [ebx + edx*4]
add ebx, ebp
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], ebx
add ebx, edi
add ebp, ebx
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [ebp + 0x3c]
mov ebx, dword [ebx + edx*4]
mov edx, dword [ebp + 0x30]
add ebx, dword [edx + esi*4]
mov edx, dword [ebp + 0x38]
add ebx, dword [edx + ecx*4]
mov edx, dword [esp + 0x10]
add ebx, edi
add edx, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
add edx, edi
add ebx, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x38]
add edx, esi
add ebx, edx
mov edx, dword [esp + 0x30]
add edx, ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xbc]
mov dword [esp + 0x1c], edx
xor edx, edx
test ebx, ebx
mov dword [esp + 0x18], edx
jle 0x4de7ab
add ebx, 0xfffffffd
cmp edx, ebx
jge 0x4de65a
mov ecx, dword [esp + 0x6c]
mov edi, dword [esp + 0x34]
add edi, ecx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
add edi, ecx
add edx, ecx
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x60]
add edi, ecx
add esi, ecx
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x58]
add ebx, ecx
add edi, ecx
xor ecx, ecx
mov dword [esp + 0x58], edi
mov cl, byte [edx]
mov dword [esp + 0xc0], edx
mov edi, ecx
mov ecx, dword [esp + 0x58]
xor edx, edx
mov dword [esp + 0x68], esi
mov dl, byte [ecx]
xor ecx, ecx
add edi, edx
xor edx, edx
mov dl, byte [esi]
mov dword [esp + 0x70], ebx
mov esi, edx
mov edx, dword [esp + 0x60]
mov cl, byte [edx]
xor edx, edx
add esi, ecx
xor ecx, ecx
mov cl, byte [ebx]
mov ebx, dword [esp + 0x64]
mov dl, byte [ebx]
add ecx, edx
mov edx, dword [esp + 0x34]
xor ebx, ebx
mov bl, byte [edx]
mov dword [esp + 0x30], ebx
jmp 0x4de65e
mov ebx, dword [esp + 0x30]
mov edx, dword [ebp + 0x30]
mov ebp, dword [ebp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + ecx*4]
mov ebp, dword [esp + 0x20]
add edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x28]
add edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x34]
mov ebp, dword [ebp + 0x2c]
mov edx, dword [edx + ecx*4]
add edx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x2c]
add edx, dword [ebp + ebx*4]
add edx, edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + esi*4]
add edx, dword [ebp + ecx*4]
mov ebp, dword [esp + 0x28]
mov ebp, dword [ebp + 0x3c]
add edx, dword [ebp + ebx*4]
mov ebp, dword [esp + 0x14]
add edx, edi
add ebp, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x24]
add ebp, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x10]
add ebp, edx
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x38]
add ebp, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x1c]
add ebp, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ebp
lea ebp, [ebx + ecx]
mov ebx, dword [esp + 0x88]
add eax, ebp
sar eax, 8
cmp edx, ebx
jl 0x4de767
mov ebx, dword [esp + 0xc4]
cmp edx, ebx
mov edx, dword [esp + 0x18]
jge 0x4de76b
cmp edx, dword [esp + 0xe0]
jl 0x4de76b
cmp edx, dword [esp + 0xdc]
jge 0x4de76b
cmp eax, 0xff
jle 0x4de74f
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x54]
mov byte [eax], 0xff
mov eax, dword [esp + 0x6c]
add ebx, eax
mov dword [esp + 0x54], ebx
jmp 0x4de76b
test eax, eax
setl bl
dec ebx
and ebx, eax
mov eax, dword [esp + 0x54]
mov byte [eax], bl
mov eax, dword [esp + 0x6c]
add dword [esp + 0x54], eax
jmp 0x4de76b
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0xbc]
inc edx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
cmp edx, ebx
mov dword [esp + 0x18], edx
jl 0x4de5c3
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xcc]
mov edx, dword [esp + 0xc8]
mov ecx, dword [esp + 0x5c]
inc eax
inc esi
inc edx
dec ecx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc8], edx
mov dword [esp + 0x5c], ecx
jne 0x4de2b7
mov edi, dword [esp + 0x90]
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
cmp eax, ecx
jl 0x4de825
cmp eax, dword [esp + 0xc4]
jge 0x4de825
mov ecx, dword [esp + 0xec]
mov edx, dword [esp + 0x78]
add edx, ecx
mov dword [esp + 0x78], edx
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x4de88d
mov ecx, dword [esp + 0x98]
dec ecx
mov dword [esp + 0x98], ecx
jne 0x4de88d
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa4]
add eax, edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xa8]
push edx
push ecx
push eax
mov dword [esp + 0xac], eax
call dword [esp + 0xbc]
test eax, eax
je 0x4de89b
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, ebx
mov dword [esp + 0x4c], eax
jge 0x4de8c6
jmp 0x4de1b9
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xd4
ret 0x10
pop edi
mov dword [ebp + 0x14], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
ret 0x10
pop edi
mov dword [ebp + 0x14], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
ret 0x10