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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x70fa18
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x820ac4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, ecx
xor ebx, ebx
push 0x150
mov dword [esp + 0x1c], ebx
call fcn.005416ba
mov esi, eax
add esp, 4
mov dword [esp + 0x2c], esi
test esi, esi
mov dword [esp + 0x58], ebx
je 0x5e408e
mov eax, dword [0x77132c]
push eax
push ebx
push 0x753680
lea ecx, [esp + 0x34]
call fcn.005fc220
mov eax, dword [0x829274]
test eax, eax
mov byte [esp + 0x58], 1
mov dword [esp + 0x18], 1
jne 0x5e4040
mov eax, 0x7aff50
mov ecx, dword [0x77132c]
push ecx
push 0
push eax
lea ecx, [esp + 0x30]
call fcn.005fc220
lea edx, [esp + 0x28]
push edx
push 0x84e31c
push 0
push 0x823328
push 0x823330
lea eax, [esp + 0x38]
push eax
push 0x138b
mov ebx, 3
push ebp
mov ecx, esi
mov dword [esp + 0x78], 2
mov dword [esp + 0x38], ebx
call fcn.0040211f
jmp 0x5e4090
xor eax, eax
or esi, 0xffffffff
test bl, 2
mov dword [ebp + 0x1d8], eax
mov dword [esp + 0x58], 3
je 0x5e40c6
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffd
cmp eax, esi
mov dword [esp + 0x18], ebx
je 0x5e40c6
add eax, esi
mov dword [ecx], eax
jne 0x5e40c6
call fcn.005fb120
test bl, 1
mov dword [esp + 0x58], esi
je 0x5e40ec
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffe
cmp eax, esi
je 0x5e40ec
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e40ec
call fcn.005fb120
push 0x150
call fcn.005416ba
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
mov dword [esp + 0x58], 5
je 0x5e414a
mov ecx, dword [0x77132c]
push ecx
push 0
push 0x7536f0
lea ecx, [esp + 0x34]
call fcn.005fc220
lea edx, [esp + 0x28]
push edx
push 4
push 0x823328
push 0x823330
push esi
or ebx, 4
push ebp
mov ecx, edi
mov byte [esp + 0x70], 6
mov dword [esp + 0x30], ebx
call fcn.0040fc2f
jmp 0x5e414c
xor eax, eax
test bl, 4
mov dword [ebp + 0x1d4], eax
mov dword [esp + 0x58], esi
je 0x5e4178
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
and ebx, 0xfffffffb
cmp eax, esi
je 0x5e4178
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e4178
call fcn.005fb120
push 0x170
call fcn.005416ba
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
mov dword [esp + 0x58], 8
je 0x5e41dd
mov eax, dword [0x77132c]
push eax
push 0
push 0x766bac
lea ecx, [esp + 0x34]
call fcn.005fc220
lea ecx, [esp + 0x28]
push ecx
push 0x84e31c
push 0x8002820
push 0x823328
push 0x823330
push esi
or ebx, 8
push ebp
mov ecx, edi
mov byte [esp + 0x74], 9
mov dword [esp + 0x34], ebx
call fcn.005e2aa0
jmp 0x5e41df
xor eax, eax
test bl, 8
mov dword [ebp + 0x1d0], eax
mov dword [esp + 0x58], esi
je 0x5e4208
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, esi
je 0x5e4208
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e4208
call fcn.005fb120
mov edx, dword [0x77132c]
push edx
push 0
push 0x766a1c
lea ecx, [esp + 0x34]
call fcn.005fc220
mov ecx, dword [ebp + 0x1d0]
push esi
push 0
lea eax, [esp + 0x30]
push eax
push 0
mov dword [esp + 0x68], 0xb
call fcn.005c24c0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, esi
mov dword [esp + 0x58], esi
je 0x5e425a
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e425a
call fcn.005fb120
mov ecx, dword [0x77132c]
push ecx
push 0
push 0x766a10
lea ecx, [esp + 0x34]
call fcn.005fc220
mov ecx, dword [ebp + 0x1d0]
push esi
push 0
lea edx, [esp + 0x30]
push edx
push 1
mov dword [esp + 0x68], 0xc
call fcn.005c24c0
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, esi
mov dword [esp + 0x58], esi
je 0x5e42ac
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e42ac
call fcn.005fb120
push 0xc
call fcn.005416ba
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov dword [esp + 0x58], 0xd
mov esi, 0x10
je 0x5e42dc
push 1
push 1
push esi
push esi
mov ecx, eax
call fcn.004075fa
mov ebx, eax
jmp 0x5e42de
xor ebx, ebx
mov dword [esp + 0x58], 0xffffffff
mov byte [esp + 0x17], 1
xor edi, edi
lea ecx, [ecx]
mov eax, dword [0x77132c]
push eax
push 0
push 0x7669cc
lea ecx, [esp + 0x30]
call fcn.005fc220
mov eax, dword [edi + 0x826908]
test eax, eax
mov dword [esp + 0x58], 0xe
jne 0x5e431d
mov eax, 0x7aff50
mov ecx, dword [0x77132c]
push ecx
push 0
push eax
lea ecx, [esp + 0x34]
call fcn.005fc220
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x68], 0xf
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
call fcn.005f33b0
add esp, 0x10
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x58], 0x11
je 0x5e4379
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e4379
call fcn.005fb120
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x58], 0x12
je 0x5e4399
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e4399
call fcn.005fb120
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x5e43d7
cmp dword [eax + 0x14], 0
je 0x5e43d7
push 0x8232fc
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.005acbc0
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.0057d0a0
add edi, 4
cmp edi, 0xc
jb 0x5e42f0
jmp 0x5e43ed
lea ecx, [esp + 0x18]
mov byte [esp + 0x17], 0
mov dword [esp + 0x58], 0xffffffff
call fcn.0057d0a0
mov ecx, dword [ebp + 0x1d0]
push 1
push ebx
call fcn.005c10c0
mov eax, dword [0x82980c]
test eax, eax
jne 0x5e4409
mov eax, 0x7aff50
mov ecx, dword [0x77132c]
push ecx
push 0
push eax
lea ecx, [esp + 0x2c]
call fcn.005fc220
mov edx, dword [esp + 0x20]
cmp dword [edx - 8], 0
mov dword [esp + 0x58], 0x13
jne 0x5e443c
push 0x7bb780
lea ecx, [esp + 0x24]
call fcn.005fc350
mov edi, dword [ebp + 0x1a4]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x28], edi
jbe 0x5e4500
cmp byte [esp + 0x17], 0
je 0x5e447c
mov eax, dword [ebp + 0x1b8]
mov eax, dword [eax + ebx*4]
sub eax, 1
je 0x5e4478
sub eax, 1
je 0x5e4471
mov eax, 2
jmp 0x5e447f
mov eax, 1
jmp 0x5e447f
xor eax, eax
jmp 0x5e447f
or eax, 0xffffffff
mov ecx, dword [ebp + 0x1a8]
lea esi, [ebx*4]
push eax
add ecx, esi
push ecx
mov ecx, dword [ebp + 0x1d0]
push ebx
call fcn.005c2360
mov eax, dword [ebp + 0x1c4]
mov edi, dword [esp + 0x20]
add eax, esi
mov eax, dword [eax]
cdq
push edx
push eax
lea esi, [esp + 0x2c]
call fcn.005e2b30
add esp, 8
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push eax
push 1
push ebx
mov byte [esp + 0x68], 0x14
call fcn.005c31f0
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov byte [esp + 0x58], 0x13
je 0x5e44ef
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e44ef
call fcn.005fb120
add ebx, 1
cmp ebx, dword [esp + 0x28]
jb 0x5e4450
mov edi, dword [esp + 0x28]
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push 0
call fcn.005c0ea0
mov ecx, dword [ebp + 0x1d0]
push 0xffffffffffffffff
push 1
call fcn.005c0ea0
mov edx, dword [ebp]
mov eax, dword [edx + 0x160]
mov ecx, ebp
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x210]
mov esi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
add edi, 4
mov ecx, ebp
imul esi, edi
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x80]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call edx
mov edi, dword [eax + 4]
lea eax, [esp + 0x44]
push eax
call fcn.0058d350
mov eax, dword [eax + 4]
lea ecx, [edi + edi]
sub eax, ecx
sub eax, ebx
lea ecx, [eax + eax*8]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
cmp esi, eax
jge 0x5e4594
mov eax, esi
mov ebp, dword [ebp + 0x1d0]
mov edx, dword [ebp]
push 0
push eax
mov eax, dword [edx + 0x228]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebp
call eax
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
mov dword [esp + 0x58], 0xffffffff
je 0x5e45d3
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x5e45d3
call fcn.005fb120
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret