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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432d70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
lea ecx, [esp + 0x40]
call 0x4e80ca
mov edi, dword [ebp + 8]
lea eax, [esp + 0x70]
push eax
push 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x98], 0
push ecx
call dword [0x438074]
mov esi, dword [fcn.004380a4]
push 0
call esi
push eax
lea ecx, [esp + 0x44]
call 0x4e80c4
test edi, edi
jne 0x4beb55
xor eax, eax
jmp 0x4beb58
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call 0x4e80dc
mov ebx, eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x2c], ebx
call 0x4e80ca
lea ecx, [esp + 0x30]
call fcn.004be0e0
mov dword [esp + 0x30], 0x439698
lea ecx, [esp + 0x38]
call fcn.004be0e0
mov dword [esp + 0x38], 0x439670
push 0
mov byte [esp + 0x94], 3
call esi
push eax
lea ecx, [esp + 0x54]
call 0x4e80c4
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call dword [fcn.004380a0]
push eax
lea ecx, [esp + 0x3c]
call 0x4e803a
mov edi, dword [fcn.00438e0c]
push 0xf
call edi
push eax
call dword [fcn.004380a8]
push eax
lea ecx, [esp + 0x34]
call 0x4e803a
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x38]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esp + 0x58]
push eax
call 0x4e80dc
mov ecx, dword [esp + 0x74]
mov esi, eax
xor eax, eax
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x30]
neg eax
mov edx, dword [esp + 0x78]
sbb eax, eax
mov dword [esp + 0x6c], edx
and eax, ecx
mov ecx, dword [esp + 0x54]
push eax
lea eax, [esp + 0x64]
push eax
push ecx
call dword [fcn.00438e18]
mov edx, dword [esp + 0x54]
push 1
push 1
push edx
call dword [0x438078]
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], eax
call 0x4e8022
test esi, esi
je 0x4bec5b
mov esi, dword [esi + 4]
mov eax, dword [esp + 0x54]
push esi
push eax
call 0x4e80dc
push 0x10
call edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x74]
xor edi, edi
test eax, eax
jle 0x4bed41
mov ebx, dword [0x43807c]
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
jle 0x4bed30
mov ecx, dword [esp + 0x44]
push esi
push edi
push ecx
call dword [0x438078]
cmp eax, dword [esp + 0x10]
je 0x4bed12
xor edx, edx
mov ecx, eax
mov dl, ah
and eax, 0xff
shr ecx, 0x10
mov byte [esp + 0x18], dl
mov byte [esp + 0x14], cl
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
and ecx, 0xff
and edx, 0xff
add ecx, edx
add ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fmul qword [0x4397a8]
fstp qword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004bae30
mov ecx, dword [esp + 0x50]
add esp, 0xc
push eax
push esi
push edi
push ecx
jmp 0x4bed21
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4bed23
mov edx, dword [esp + 0x44]
push eax
push esi
push edi
push edx
call ebx
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jl 0x4bec90
mov ecx, dword [esp + 0x74]
inc edi
cmp edi, ecx
jl 0x4bec86
mov ebx, dword [esp + 0x2c]
test ebx, ebx
je 0x4bed48
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x44]
push ebx
push eax
call 0x4e80dc
mov edi, 0x43965c
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 4
call 0x4e8022
mov esi, 0x439314
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 5
call 0x4e8022
lea ecx, [esp + 0x50]
mov dword [esp + 0x30], esi
mov byte [esp + 0x90], 0
call 0x4e80b8
lea ecx, [esp + 0x40]
mov dword [esp + 0x90], 0xffffffff
call 0x4e80b8
mov ecx, dword [esp + 0x88]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8