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

Disassembly:
sub esp, 0xd4
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x54], edi
call fcn.004da330
test eax, eax
jne 0x4de924
mov dword [esi + 0x14], edi
pop edi
pop esi
pop ebp
mov eax, 0xffffff94
pop ebx
add esp, 0xd4
ret 0x10
mov ecx, dword [esi + 0xc]
mov ebp, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
sub eax, ebp
mov esi, dword [ecx + 0x38]
cdq
xor eax, edx
mov dword [esp + 0x60], esi
sub eax, edx
mov edx, dword [ecx + 0x10]
inc eax
sub esi, ebp
mov dword [esp + 0xb4], eax
mov eax, dword [ecx + 8]
sub eax, edx
mov dword [esp + 0xe0], esi
cdq
mov ebx, eax
mov eax, dword [ecx + 0x10]
xor ebx, edx
sub ebx, edx
mov edx, dword [ecx + 0x44]
mov ebp, edx
inc ebx
sub ebp, eax
mov eax, dword [ecx + 0x3c]
sub eax, edx
mov dword [esp + 0xd8], ebx
cdq
xor eax, edx
mov dword [esp + 0xac], ebp
sub eax, edx
mov edx, dword [esp + 0x60]
lea eax, [eax + ebp + 1]
mov dword [esp + 0xb0], eax
mov eax, dword [ecx + 0x40]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
lea ecx, [eax + esi + 1]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xdc], ecx
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x40], edx
je 0x4dea77
mov ebp, dword [ecx]
test ebp, ebp
je 0x4dea77
cmp ebp, 0x4d0bb0
jne 0x4de9e5
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 0x4de9ed
mov esi, eax
jmp 0x4de9f2
mov esi, dword [ecx + 8]
cmp esi, 1
jae 0x4de9f2
mov esi, 1
mov eax, ebx
xor edx, edx
div esi
mov ecx, dword [ecx + 4]
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], ebp
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x90], 0
test eax, eax
mov dword [esp + 0x94], eax
ja 0x4dea43
mov dword [esp + 0x94], 1
mov eax, dword [esp + 0x94]
mov edx, eax
imul edx, esi
cmp edx, ebx
jae 0x4dea59
mov eax, ebx
sub eax, edx
mov dword [esp + 0x88], eax
jmp 0x4dea60
mov dword [esp + 0x88], eax
push ecx
push ebx
push 0
mov dword [esp + 0x98], eax
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
jmp 0x4dea82
mov dword [esp + 0x9c], 0
mov ecx, dword [esp + 0xe8]
mov esi, dword [esp + 0xf0]
mov dword [esp + 0x78], ecx
xor ecx, ecx
cmp ebx, ecx
mov dword [esp + 0x5c], ecx
jle 0x4df15e
test ecx, ecx
jne 0x4dead1
mov eax, dword [esp + 0xf4]
mov ebp, esi
mov edi, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x34], esi
add esi, eax
mov dword [esp + 0x3c], esi
add esi, eax
mov dword [esp + 0x4c], esi
add esi, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x54], esi
jmp 0x4deb0d
lea eax, [ebx - 4]
mov ebp, edi
mov edi, dword [esp + 0x48]
cmp ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
jg 0x4deb06
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0xf4]
add esi, eax
test edx, edx
mov dword [esp + 0xd4], esi
jle 0x4df0a4
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x48]
sub ebx, edi
lea esi, [edi + edx]
mov dword [esp + 0x84], ebx
mov ebx, dword [esp + 0x3c]
sub ebx, edi
sub ebp, edi
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x4c]
sub ebx, edi
sub ecx, edi
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x54]
sub ebx, edi
mov eax, edi
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x78]
lea edx, [edi + edx*2]
sub ebx, edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc0], edx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x68], ecx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x60], edi
jmp 0x4deba2
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0xd0]
mov edi, dword [esp + 0x6c]
add ebx, eax
mov dword [esp + 0x58], ebx
xor ebx, ebx
mov bl, byte [edi + eax]
mov edi, ebx
xor ebx, ebx
mov bl, byte [eax + ebp]
add edi, ebx
xor ebx, ebx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x7c]
mov bl, byte [edi + eax]
mov edi, dword [esp + 0x74]
mov ebp, ebx
xor ebx, ebx
mov bl, byte [eax]
add ebp, 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
mov ebx, dword [esp + 0x84]
mov cl, byte [ebx + eax]
lea eax, [edi + ecx*2]
lea ebx, [ebp + ecx*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [eax + edi*4]
lea eax, [eax + ebx*2]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 0x38]
mov eax, dword [eax + 0x34]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + ebp*4]
add eax, dword [ebx + ecx*4]
mov ebx, dword [esp + 0x18]
add eax, dword [ebx + edi*4]
mov ebx, dword [esp + 0x14]
add eax, ebx
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
lea ebx, [ebx + ebp*4]
mov ebp, dword [esp + 0x24]
mov ecx, dword [ebp + ecx*4]
lea ecx, [ecx + ebx*2]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [ebx + edi*4]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x2c]
add ecx, ebp
add ecx, eax
add eax, ebx
add ecx, ebx
add eax, edi
add ecx, edi
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
xor eax, eax
mov al, byte [edi + esi]
mov edi, dword [esp + 0x80]
mov ebp, eax
xor eax, eax
mov al, byte [edi + esi]
mov edi, dword [esp + 0x7c]
add ebp, eax
xor eax, eax
mov al, byte [edi + esi]
mov edi, eax
xor eax, eax
mov al, byte [esi]
add edi, eax
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0xb8], edx
mov al, byte [edi + esi]
mov edi, eax
xor eax, eax
mov al, byte [ebx + esi]
mov ebx, dword [esp + 0x84]
add edi, eax
xor eax, eax
mov al, byte [ebx + esi]
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebx + esi*4]
mov ebx, dword [esp + 0x1c]
add esi, dword [ebx + eax*4]
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx + edi*4]
add esi, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x18], esi
add esi, ebp
mov ebx, dword [ebx + eax*4]
add ecx, esi
mov esi, dword [esp + 0x14]
lea esi, [ebp + esi*4]
lea esi, [ebx + esi*2]
mov ebx, dword [esp + 0x1c]
add esi, dword [ebx + edi*4]
mov ebx, dword [esp + 0x20]
add ebx, esi
mov esi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x50]
add esi, ebx
mov ebx, dword [esp + 0x2c]
add esi, ebx
add esi, ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x14]
mov ebp, dword [ebp + edi*4]
lea esi, [esi + eax*4]
lea eax, [edi + eax*2]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x80]
lea esi, [ebp + esi*2]
add esi, ebx
mov dword [esp + 0x38], esi
lea esi, [eax + edx]
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc4], esi
lea ebp, [eax + edx]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xc8], ebp
lea ebx, [eax + edx]
mov eax, dword [esp + 0x74]
add eax, edx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x7c]
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x64], eax
xor eax, eax
mov al, byte [esi]
mov esi, dword [esp + 0x64]
mov edi, eax
xor eax, eax
mov al, byte [esi]
mov esi, dword [esp + 0x2c]
add edi, eax
xor eax, eax
mov al, byte [esi]
mov esi, eax
xor eax, eax
mov al, byte [edx]
xor edx, edx
add esi, eax
xor eax, eax
mov al, byte [ebp]
mov ebp, dword [esp + 0x24]
mov dl, byte [ebp]
mov ebp, dword [esp + 0x28]
add eax, edx
xor edx, edx
mov dl, byte [ebx]
mov ebp, dword [ebp + eax*4]
lea ebx, [esi + edx*4]
lea ebx, [ebp + ebx*2]
mov dword [esp + 0x14], ebx
add ecx, ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx + esi*4]
mov ebx, dword [esp + 0x1c]
add ebp, dword [ebx + edx*4]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x34]
mov ebx, dword [ebx + eax*4]
add ebx, ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
add ebx, edi
add ebp, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
lea ebp, [edi + esi*4]
mov ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + edx*4]
lea ebp, [ebx + ebp*2]
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x38]
add ebp, dword [ebx + eax*4]
mov ebx, dword [esp + 0x44]
add ebx, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x18]
add ebx, edi
add ebp, ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x30]
add ebp, ebx
lea ebx, [eax + edx*2]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x18], ebx
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x14], ebx
jle 0x4df04e
add ebp, 0xfffffffd
cmp ebx, ebp
jge 0x4def05
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0xc4]
mov esi, dword [esp + 0xb8]
mov ebp, dword [esp + 0xc8]
mov ebx, dword [esp + 0xbc]
add edi, eax
add edx, eax
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x2c]
add edi, eax
add esi, eax
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x64]
add ebp, eax
add ebx, eax
add edi, eax
xor eax, eax
mov al, byte [edx]
mov dword [esp + 0x64], edi
mov edi, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc4], edx
xor edx, edx
mov dl, byte [eax]
mov dword [esp + 0xb8], esi
add edi, edx
xor edx, edx
mov dl, byte [esi]
xor eax, eax
mov esi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc8], ebp
mov dword [esp + 0xbc], ebx
mov al, byte [edx]
xor edx, edx
add esi, eax
xor eax, eax
mov al, byte [ebp]
mov ebp, dword [esp + 0x24]
mov dl, byte [ebp]
add eax, edx
xor edx, edx
mov dl, byte [ebx]
mov ebx, dword [esp + 0x10]
lea ebp, [esi + edx*4]
mov ebx, dword [ebx + 0x2c]
mov dword [esp + 0x28], ebx
mov ebx, dword [ebx + eax*4]
lea ebx, [ebx + ebp*2]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x10]
mov ebp, dword [ebx + 0x38]
mov ebx, dword [ebx + 0x34]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x28]
mov ebx, dword [ebx + eax*4]
add ebx, dword [ebp + esi*4]
mov ebp, dword [esp + 0x1c]
add ebx, dword [ebp + edx*4]
mov ebp, dword [ebp + eax*4]
add ebx, edi
mov dword [esp + 0x1c], ebx
lea ebx, [edi + esi*4]
lea ebx, [ebp + ebx*2]
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp + 0x3c]
add ebx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x38]
add ebp, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x20]
add ebp, ebx
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x44]
add ebp, ebx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
add ebp, ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x18]
add ebp, ebx
lea ebx, [eax + edx*2]
mov dword [esp + 0x18], ebp
lea ebp, [ecx + ebx]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xac]
sar ebp, 8
cmp ecx, ebx
jl 0x4df00b
mov ebx, dword [esp + 0xb0]
cmp ecx, ebx
mov ebx, dword [esp + 0x14]
jge 0x4df00f
cmp ebx, dword [esp + 0xe0]
jl 0x4df00f
cmp ebx, dword [esp + 0xdc]
jge 0x4df00f
cmp ebp, 0xff
jle 0x4deff0
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x58]
mov byte [ecx], 0xff
mov ecx, dword [esp + 0x40]
add ebp, ecx
mov dword [esp + 0x58], ebp
jmp 0x4df00f
test ebp, ebp
setl cl
dec ecx
and ecx, ebp
mov ebp, dword [esp + 0x58]
mov byte [ebp], cl
mov ecx, dword [esp + 0x40]
add ebp, ecx
mov dword [esp + 0x58], ebp
jmp 0x4df00f
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x30], ebp
lea ebp, [eax + edx*2]
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0xb4]
inc ebx
cmp ebx, ebp
mov dword [esp + 0x14], ebx
jl 0x4dee64
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xcc]
mov edx, dword [esp + 0xc0]
mov ecx, dword [esp + 0x60]
inc eax
inc esi
inc edx
dec ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xcc], esi
mov dword [esp + 0xc0], edx
mov dword [esp + 0x60], ecx
jne 0x4deb90
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
cmp ecx, dword [esp + 0xac]
jl 0x4df0c7
cmp ecx, dword [esp + 0xb0]
jge 0x4df0c7
mov eax, dword [esp + 0xec]
mov ebp, dword [esp + 0x78]
add ebp, eax
mov dword [esp + 0x78], ebp
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4df133
mov eax, dword [esp + 0x88]
dec eax
mov dword [esp + 0x88], eax
jne 0x4df133
mov ecx, dword [esp + 0x94]
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0xa4]
add eax, ebp
push ecx
push edx
push eax
mov dword [esp + 0x9c], eax
call dword [esp + 0xac]
test eax, eax
je 0x4df141
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x5c]
inc ecx
cmp ecx, ebx
mov dword [esp + 0x5c], ecx
jge 0x4df170
jmp 0x4deaa2
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword [ecx + 0x14], 0
pop ebx
add esp, 0xd4
ret 0x10
pop edi
pop esi
mov dword [eax + 0x14], ecx
pop ebp
xor eax, eax
pop ebx
add esp, 0xd4
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, 0xd4
ret 0x10