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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x4e23f0
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x80]
mov ecx, dword fs:[0]
mov dword [esi + 0x80], ecx
mov dword fs:[0], eax
mov eax, dword [edi]
mov ecx, dword [eax + 0xb0]
test ecx, ecx
je 0x4df01a
mov ebx, dword [eax + 0xb4]
test ebx, ebx
je 0x4df15f
setns al
mov dword [esi + 4], ecx
js 0x4df49b
movzx ecx, al
movzx eax, byte [0x636fbd]
mov dword [esi + 8], ecx
push ecx
push ebx
call fcn.00452e20
add esp, 8
mov ecx, dword [esi + 4]
mov edi, eax
test eax, eax
jne 0x4df164
push ebx
push dword [esi + 8]
jmp 0x4df4a6
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x4df192
mov dword [esi + 0x20], eax
movzx eax, byte [0x636fbd]
push 1
push 0x4b
call fcn.00452e20
add esp, 8
test eax, eax
je 0x4df4a2
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0x4b
mov dword [esi + 0x14], 0
mov dword [esi + 0x88], 0
lea eax, [esi + 0x48]
push 1
push 0
push ebx
push ecx
push edi
push eax
call fcn.004e1220
add esp, 0x18
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4df1b3
mov edx, dword [esi + 0x68]
shl eax, 4
mov ebx, 1
xor ecx, ecx
mov dword [esi + 8], 0
add eax, edx
mov dword [esi + 0x24], eax
jmp 0x4df0cf
mov dword [esi + 8], edx
mov ebx, dword [esi + 0x38]
mov edx, dword [esi + 0x18]
lea eax, [ebx + ecx]
push edi
push edx
push eax
mov edi, ecx
call fcn.005885b0
mov ecx, edi
add esp, 0xc
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x24]
add ecx, dword [esi + 4]
add edx, 0x10
cmp edx, eax
je 0x4df1c1
mov edi, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
cmp edi, ecx
mov edi, dword [edx + 8]
mov eax, dword [edx]
mov dword [esi + 0x18], eax
mov dword [esi + 4], edi
jne 0x4df112
mov dword [esi + 0x88], 3
push 1
push ecx
lea eax, [esi + 0x28]
push eax
call fcn.005a9ed0
add esp, 0xc
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0x30]
mov edi, dword [esi + 4]
mov byte [ebx + ecx], 0x20
inc ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x40], ecx
movsd xmm0, qword [esi + 0x28]
movsd qword [esi + 0x38], xmm0
mov edx, dword [esi + 0x3c]
mov eax, edx
sub eax, ecx
cmp eax, edi
jae 0x4df0a0
mov dword [esi + 0x88], 4
push edi
push ecx
lea eax, [esi + 0x38]
push eax
call fcn.005a9ed0
add esp, 0xc
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x40]
mov edi, dword [esi + 4]
mov dword [esi + 8], eax
jmp 0x4df0a3
mov edi, 1
push ebx
push ecx
push edi
call fcn.005885b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov edi, eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov edx, edi
mov ecx, ebx
push 1
call fcn.004df550
add esp, 4
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
mov eax, ebx
jmp 0x4df18a
mov ebx, 1
xor ecx, ecx
mov dword [esi + 8], 0
mov eax, dword [esi + 8]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x5c]
mov dword [esi + 0x30], ecx
test eax, eax
je 0x4df1f9
mov ecx, dword [esi + 0x58]
lea edx, [eax*4 + 0x13]
and edx, 0xfffffff0
lea eax, [eax + edx + 0x11]
sub ecx, edx
push 0x10
push eax
push ecx
call fcn.00452e30
add esp, 0xc
mov ebx, dword [esi + 0x70]
mov eax, dword [esi + 0x68]
test ebx, ebx
mov dword [esi + 4], eax
je 0x4df22c
mov eax, dword [esi + 4]
lea edi, [eax + 4]
jmp 0x4df216
add edi, 0x10
dec ebx
je 0x4df22c
mov eax, dword [edi]
test eax, eax
je 0x4df210
push 1
push eax
push dword [edi - 4]
call fcn.00452e30
add esp, 0xc
jmp 0x4df210
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4df244
shl eax, 4
push 4
push eax
push dword [esi + 4]
call fcn.00452e30
add esp, 0xc
mov eax, dword [esi + 0x20]
mov ecx, dword [eax + 0x154]
test ecx, ecx
je 0x4df258
add eax, 0x15c
jmp 0x4df274
mov ecx, dword [eax + 0x148]
test ecx, ecx
je 0x4df269
add eax, 0x150
jmp 0x4df274
mov ecx, dword [eax + 0xf4]
add eax, 0xfc
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov edx, dword [eax]
mov eax, edi
mov dword [esi + 0x24], edx
sub eax, ebx
cmp eax, edx
jae 0x4df2ab
mov dword [esi + 4], ecx
mov dword [esi + 0x88], 1
lea eax, [esi + 0xc]
push edx
push ebx
push eax
call fcn.005a9ed0
add esp, 0xc
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov dword [esi + 4], ebx
mov dword [esi + 8], eax
add eax, ebx
mov ebx, dword [esi + 0x24]
push ebx
push ecx
push eax
call fcn.005885b0
mov edx, dword [esi + 4]
add esp, 0xc
mov ecx, dword [esi + 0x18]
add edx, ebx
mov dword [esi + 0x88], 1
sub edi, edx
mov dword [esi + 0x14], edx
cmp edi, ecx
jae 0x4df2fb
lea eax, [esi + 0xc]
push ecx
push edx
push eax
call fcn.005a9ed0
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
jmp 0x4df301
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x1c]
mov dword [esi + 8], eax
add eax, edx
push ecx
push edi
push eax
mov edi, ecx
mov ebx, edx
call fcn.005885b0
add esp, 0xc
mov eax, dword [esi + 0x20]
add ebx, edi
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
add eax, 0xc8
push 0xa
push eax
call fcn.004c2a10
add esp, 8
test al, al
jne 0x4df352
mov eax, dword [esi + 0x20]
add eax, 0xd0
push 0xa
push eax
call fcn.004c2a10
add esp, 8
mov ecx, dword [esi + 0x1c]
test al, al
je 0x4df424
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 4]
sub eax, ecx
cmp eax, 1
ja 0x4df376
lea eax, [esi + 0xc]
push 2
push ecx
push eax
call fcn.005a9ed0
add esp, 0xc
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
jmp 0x4df379
mov eax, dword [esi + 8]
mov word [eax + ecx], 0x3c20
mov eax, dword [esi + 0x20]
add ecx, 2
mov dword [esi + 0x14], ecx
mov edi, dword [eax + 0xe0]
test edi, edi
je 0x4df39a
mov edx, dword [eax + 0xe4]
jmp 0x4df3a4
mov edx, 0xa
mov edi, 0x605a86
mov eax, dword [esi + 0x10]
mov dword [esi + 4], edx
mov ebx, eax
sub eax, ecx
cmp eax, edx
jae 0x4df3d4
mov dword [esi + 0x18], edi
lea eax, [esi + 0xc]
push edx
push ecx
push eax
call fcn.005a9ed0
add esp, 0xc
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 4]
mov edi, dword [esi + 0x18]
mov dword [esi + 8], eax
jmp 0x4df3d7
mov dword [esi + 8], ebx
mov ebx, dword [esi + 0xc]
lea eax, [ebx + ecx]
push edx
push edi
push eax
mov edi, ecx
call fcn.005885b0
add esp, 0xc
add edi, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp edi, ecx
mov dword [esi + 0x14], edi
jne 0x4df40a
lea eax, [esi + 0xc]
push ecx
push eax
call fcn.0041bfb0
add esp, 8
mov ebx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov byte [ebx + edi], 0x3e
mov ecx, dword [esi + 0x1c]
mov ebx, dword [esi + 0x14]
inc ebx
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
mov edi, dword [ebp + 8]
cmp eax, ebx
ja 0x4df431
jmp 0x4df470
mov ebx, dword [esi + 4]
mov eax, dword [esi + 0x10]
mov edi, dword [ebp + 8]
cmp eax, ebx
jbe 0x4df470
mov ecx, dword [esi + 0xc]
test ebx, ebx
je 0x4df456
push ebx
push 1
push eax
push ecx
call fcn.00452e50
add esp, 0x10
test eax, eax
jne 0x4df467
push ebx
push 1
call fcn.005b14d0
add esp, 8
ud2
push 1
push eax
push ecx
call fcn.00452e30
add esp, 0xc
mov eax, 1
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 0x14]
movsd xmm0, qword [esi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [esi + 0x2c]
movsd qword [edi], xmm0
test eax, eax
je 0x4df17c
push 1
push eax
push ecx
call fcn.00452e30
add esp, 0xc
jmp 0x4df17c
call fcn.00538200
ud2
push 0x4b
push 1
call fcn.005b14d0
add esp, 8
ud2