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

Disassembly:
push 0xffffffffffffffff
push 0x5e6698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [esp + 0x34]
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x38], ebx
call fcn.004b4310
mov edi, ebp
mov ecx, eax
call fcn.004b4a30
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 0x78]
cmp ecx, eax
mov dword [esp + 0xc], ecx
jle 0x4de61a
mov dword [esp + 0xc], eax
mov ecx, eax
xor edx, edx
cmp ecx, 4
mov dword [esp + 0x38], edx
jl 0x4de87e
mov edx, dword [esp + 0x24]
mov ecx, 4
sub ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, 0xfffffff8
sub ecx, edx
mov dword [esp + 0x10], 3
mov dword [esp + 0x3c], 8
lea eax, [edx + 8]
mov dword [esp + 0x14], ecx
jmp 0x4de65c
mov ecx, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov edi, dword [esi + 0x74]
add edx, 0x3c
mov ebx, dword [edx]
add ecx, eax
mov edi, dword [edi + ecx]
add edi, 0x3c
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax - 8]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx]
add edx, 0x48
mov ebx, dword [edx]
add edi, 0x48
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax - 8]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx]
add edx, 0x54
mov ebx, dword [edx]
add edi, 0x54
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [esi + 0x74]
mov edx, dword [edx + ecx]
mov edi, dword [ebp + 4]
mov dword [edx + 0x40], edi
mov edx, dword [esi + 0x74]
mov edx, dword [edx + ecx]
mov edi, dword [ebp + 4]
mov dword [edx + 0x4c], edi
mov edx, dword [eax - 4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx + 4]
add edx, 0x3c
mov ebx, dword [edx]
add edi, 0x3c
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax - 4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx + 4]
add edx, 0x48
mov ebx, dword [edx]
add edi, 0x48
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax - 4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx + 4]
add edx, 0x54
mov ebx, dword [edx]
add edi, 0x54
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [esi + 0x74]
mov edx, dword [edx + ecx + 4]
mov edi, dword [ebp + 4]
mov dword [edx + 0x40], edi
mov edx, dword [esi + 0x74]
mov ecx, dword [edx + ecx + 4]
mov edx, dword [ebp + 4]
mov dword [ecx + 0x4c], edx
mov edx, dword [eax]
mov edi, dword [esi + 0x74]
mov ecx, dword [esp + 0x3c]
mov edi, dword [edi + ecx]
add edx, 0x3c
mov ebx, dword [edx]
add edi, 0x3c
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx]
add edx, 0x48
mov ebx, dword [edx]
add edi, 0x48
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [eax]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ecx]
add edx, 0x54
mov ebx, dword [edx]
add edi, 0x54
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edx, dword [esi + 0x74]
mov edx, dword [edx + ecx]
mov edi, dword [ebp + 4]
mov dword [edx + 0x40], edi
mov edx, dword [esi + 0x74]
mov edx, dword [edx + ecx]
mov edi, dword [ebp + 4]
mov dword [edx + 0x4c], edi
mov ebx, dword [esi + 0x74]
mov edi, dword [eax + 4]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + edx]
add edi, 0x3c
mov ebx, dword [edi]
add edx, 0x3c
mov dword [edx], ebx
mov ebx, dword [edi + 4]
mov dword [edx + 4], ebx
mov edi, dword [edi + 8]
mov ebx, dword [esp + 0x3c]
mov dword [edx + 8], edi
mov edx, dword [eax + 4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ebx]
add edx, 0x48
mov ebx, dword [edx]
add edi, 0x48
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0x3c]
mov dword [edi + 8], edx
mov edx, dword [eax + 4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + ebx]
add edx, 0x54
mov ebx, dword [edx]
add edi, 0x54
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov dword [edi + 8], edx
mov edi, dword [esi + 0x74]
mov edx, dword [esp + 0x3c]
mov edi, dword [edi + edx]
mov ebx, dword [ebp + 4]
mov dword [edi + 0x40], ebx
mov edi, dword [esi + 0x74]
mov edx, dword [edi + edx]
mov edi, dword [ebp + 4]
add ecx, 0x10
mov dword [edx + 0x4c], edi
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x10]
add ecx, 4
add edx, 4
add eax, 0x10
cmp ecx, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x10], ecx
jl 0x4de658
mov ecx, edi
xor ebx, ebx
cmp edx, ecx
jge 0x4de90e
mov edi, dword [esi + 0x74]
mov edi, dword [edi + edx*4]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edx*4]
add ecx, 0x3c
mov ebx, dword [ecx]
add edi, 0x3c
mov dword [edi], ebx
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
mov ecx, dword [ecx + 8]
mov dword [edi + 8], ecx
mov ecx, dword [eax + edx*4]
mov edi, dword [esi + 0x74]
mov edi, dword [edi + edx*4]
add ecx, 0x48
mov ebx, dword [ecx]
add edi, 0x48
mov dword [edi], ebx
mov ebx, dword [ecx + 4]
mov dword [edi + 4], ebx
mov ecx, dword [ecx + 8]
mov dword [edi + 8], ecx
mov eax, dword [eax + edx*4]
mov ecx, dword [esi + 0x74]
mov ecx, dword [ecx + edx*4]
add eax, 0x54
mov edi, dword [eax]
add ecx, 0x54
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 4]
mov dword [eax + 0x40], ecx
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp + 4]
mov dword [ecx + 0x4c], eax
mov ecx, dword [esp + 0xc]
inc edx
cmp edx, ecx
jl 0x4de886
xor ebx, ebx
mov edx, dword [esi + 0x78]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x70], ecx
jle 0x4de93b
xor edx, edx
lea esp, [esp]
mov edi, dword [esi + 0x6c]
mov ebx, dword [esp + 0x40]
mov edi, dword [edi + ebx*4]
xor ebx, ebx
mov byte [edi + edx + 5], bl
mov edi, dword [esi + 0x78]
inc eax
add edx, 0x20
cmp eax, edi
jl 0x4de920
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x38], eax
jle 0x4dea7c
mov dword [esp + 0x3c], ebx
jmp 0x4de953
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 0x6c]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax*4]
mov ebx, dword [esp + 0x40]
mov edi, dword [edi + ebx*4]
mov ebx, dword [esp + 0x3c]
lea edi, [edi + ebx + 8]
add edx, 0x3c
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0x40]
mov dword [edi + 8], edx
mov edx, dword [ecx + eax*4]
mov edi, dword [esi + 0x6c]
mov edi, dword [edi + ebx*4]
mov ebx, dword [esp + 0x3c]
add edx, 0x48
lea edi, [edi + ebx + 0x14]
mov ebx, dword [edx]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [edi + 4], ebx
mov edx, dword [edx + 8]
mov ebx, dword [esp + 0x40]
mov dword [edi + 8], edx
mov ecx, dword [ecx + eax*4]
mov edx, dword [esi + 0x6c]
mov edx, dword [edx + ebx*4]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ebx, dword [edx + ebx]
push eax
lea edi, [ecx + 0x54]
lea eax, [ecx + 0x48]
add ecx, 0x3c
push esi
mov edx, ebp
call fcn.004deb00
test al, al
mov ebx, dword [esp + 0x3c]
je 0x4dea5e
mov eax, dword [esi + 0x6c]
mov edi, dword [esp + 0x40]
mov ecx, dword [eax + edi*4]
lea eax, [ecx + ebx]
mov cl, byte [eax + 4]
test cl, cl
jne 0x4dea53
mov cl, byte [esp + 0x48]
test cl, cl
je 0x4dea06
mov edx, dword [eax]
mov eax, dword [edx + 0x74]
mov cl, byte [eax + 0x60]
or cl, 4
jmp 0x4dea11
mov eax, dword [eax]
mov eax, dword [eax + 0x74]
mov cl, byte [eax + 0x60]
and cl, 0xfb
mov byte [eax + 0x60], cl
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + edi*4]
mov eax, dword [edx + ebx]
mov ecx, dword [eax + 0x74]
push edi
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00519ab0
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + edi*4]
mov ecx, dword [eax + ebx]
mov edx, dword [ecx + 0x74]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x74]
push edi
push edx
push ecx
mov ecx, dword [esi + 0x14]
call fcn.00519ad0
mov edx, dword [esi + 0x6c]
mov eax, dword [edx + edi*4]
mov byte [eax + ebx + 4], 1
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + edi*4]
mov byte [edx + ebx + 5], 1
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xc]
inc eax
add ebx, 0x20
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
jl 0x4de94f
xor ebx, ebx
cmp dword [esi + 0x78], ebx
mov dword [esp + 0x38], ebx
jle 0x4dead4
xor edi, edi
jmp 0x4dea90
mov eax, dword [esi + 0x6c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [eax + ebp*4]
lea eax, [ecx + edi]
cmp byte [eax + 4], 1
jne 0x4deac1
cmp byte [eax + 5], bl
jne 0x4deac1
mov edx, dword [eax]
mov eax, dword [edx + 0x74]
mov ecx, dword [esi + 0x14]
push ebp
push eax
call fcn.00518ff0
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx + ebp*4]
mov byte [edx + edi + 4], bl
mov eax, dword [esp + 0x38]
mov ecx, dword [esi + 0x78]
inc eax
add edi, 0x20
cmp eax, ecx
mov dword [esp + 0x38], eax
jl 0x4dea90
mov eax, dword [esp + 0x24]
pop edi
pop ebp
cmp eax, ebx
pop ebx
je 0x4deae8
push eax
call fcn.004452b0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14