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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5ded31
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.0040572c
mov eax, dword [ebp - 0x5c]
push eax
push 0x5ded54
mov ecx, 0x5ded90
mov edx, 0x5dedc4
mov eax, dword [ebp + 8]
call fcn.0060a114
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x10], 0
jne 0x5de806
mov eax, dword [ebp - 0x10]
call fcn.005df200
mov byte [ebp - 0x37], 0
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x8c]
push eax
call fcn.004eb7d4
mov byte [ebp - 0x15], al
call fcn.004e7804
cmp byte [ebp - 0x15], 0
jne 0x5de849
cmp eax, 0x3e5
jne 0x5de849
cmp dword [ebp - 0x1c], 0
jle 0x5de849
cmp dword [ebp - 0x20], 0
jne 0x5de862
cmp byte [ebp - 0x15], 0
jne 0x5de866
cmp eax, 0x6f7
jne 0x5de866
cmp dword [ebp - 0x1c], 0
jle 0x5de866
cmp dword [ebp - 0x20], 0
je 0x5de866
mov byte [ebp - 0x15], 1
xor edx, edx
push ebp
push 0x5deced
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp - 0x15], 0
je 0x5dec6e
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jl 0x5decca
inc eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x24], 0
lea eax, [ebp - 8]
xor edx, edx
call fcn.00407cf0
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x20]
lea ebx, [edx + eax*4]
mov eax, dword [ebx]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x20], eax
adc dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x68]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x5c]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x28], eax
adc dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x70]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x30], eax
adc dword [ecx + 0x34], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x78]
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
add dword [ecx + 0x38], eax
adc dword [ecx + 0x3c], edx
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x44]
test eax, eax
jne 0x5de982
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x88], eax
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.005e0560
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.005de300
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0x44]
add eax, dword [ecx + 0x30]
adc edx, dword [ecx + 0x34]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x9c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
jmp 0x5dea97
cmp eax, 4
jne 0x5de9a5
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x44]
add eax, 0x38
call fcn.005c57f0
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.005de300
jmp 0x5dea97
lea edx, [ebp - 4]
mov eax, dword [ebp - 0x44]
add eax, 0x38
call fcn.005c57f0
mov eax, dword [ebx + 8]
push eax
call fcn.004e86bc
test eax, eax
je 0x5dea4b
xor edx, edx
push ebp
push 0x5dea34
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x5dea23
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, dword [ebx + 8]
mov dl, 1
mov eax, dword [0x5ca2d8]
call fcn.005cb368
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 8]
call fcn.00407f14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5dea2a
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x3c], edx
call fcn.00405854
ret
cmp dword [ebp - 8], 0
je 0x5dea62
mov edx, 0x5dee0c
mov eax, dword [ebp - 8]
call fcn.0041555c
test eax, eax
jne 0x5dea97
lea ecx, [ebp - 8]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 0x10]
call fcn.005e04c4
cmp dword [ebp - 8], 0
je 0x5dea8a
mov edx, 0x5dee0c
mov eax, dword [ebp - 8]
call fcn.0041555c
test eax, eax
jne 0x5dea97
lea eax, [ebp - 8]
mov edx, 0x5dedf0
call fcn.00407cf0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x9c]
mov dl, 1
mov eax, dword [0x5dc8d4]
call fcn.005e210c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x36]
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x20
push eax
call fcn.004eb4d8
mov eax, 0x1e
call fcn.00404368
mov dword [ebp - 0x2c], eax
xor eax, eax
push ebp
push 0x5deb58
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xf
lea eax, [ebp - 0x36]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
call fcn.004ebcf0
movzx eax, word [ebp - 0x36]
imul eax, eax, 0x15180
movzx edx, word [ebp - 0x34]
imul edx, edx, 0xe10
add eax, edx
movzx edx, word [ebp - 0x32]
imul edx, edx, 0x3c
add eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
call fcn.005c5af4
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
add eax, 0x18
call fcn.00407c9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5deb5f
mov eax, dword [ebp - 0x2c]
call fcn.00404384
ret
push 0x5ded90
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.0040572c
mov eax, dword [ebp - 0x6c]
push eax
push 0x5ded54
push 0
push 1
push 0x5dee2c
mov eax, 0x5dee2c
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0x11
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0x11
lea eax, [ebp - 0x7c]
push eax
push 1
mov ecx, 0x5dee6c
mov dl, 1
mov eax, dword [0x6062dc]
call fcn.0060a280
call fcn.0040632c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5decf4
cmp dword [ebp - 0x20], 0
je 0x5decec
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x20]
push eax
push 0
call fcn.004eb770
ret