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

Disassembly:
push 0xffffffffffffffff
push 0x46f6a2
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x490018]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x44]
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 4]
call fcn.00462290
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov edi, dword [eax + 4]
lea esi, [ebx + 0x3c]
cmp edi, ebp
je 0x46337b
cmp dword [esi + 4], ebp
je 0x46336f
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
mov dword [esi + 4], edi
call eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00461cd0
mov esi, dword [esi + 4]
cmp esi, ebp
je 0x463398
lea eax, [esi - 8]
jmp 0x46339a
xor eax, eax
mov edi, dword [eax + 0x18]
sub edi, dword [eax + 0x14]
mov dword [esp + 0x18], ebp
sar edi, 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], ebp
cmp edi, ebp
jbe 0x46355c
lea ebp, [ebx + 0x44]
mov ecx, dword [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
lea edx, [ebx + 0x3c]
call fcn.00461d90
mov dword [esp + 0x3c], 1
mov esi, dword [eax + 4]
test esi, esi
je 0x463402
cmp dword [ebp + 4], 0
je 0x4633f5
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0xc]
mov ecx, ebp
mov dword [ebp + 4], esi
call edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004491f0
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
test al, 0x20
jne 0x463435
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
test al, 0x40
je 0x463540
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
mov esi, dword [ebx + 0x34]
shr eax, 3
not eax
and eax, 4
or eax, 2
test esi, esi
je 0x46346c
cmp dword [ebx + 0x78], 0
jne 0x46345f
mov dword [ebx + 0x78], 1
mov edi, dword [esp + 0x44]
push eax
push edi
call fcn.0045b320
jmp 0x463470
mov edi, dword [esp + 0x44]
mov ecx, ebp
call fcn.004499c0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x46348f
push edx
push eax
push 0
push 0
push 1
call fcn.0045b200
mov esi, eax
jmp 0x463494
mov esi, 1
mov eax, esi
not eax
test al, 1
jne 0x463566
push edi
mov ecx, ebx
call fcn.00462fe0
mov esi, eax
mov ecx, esi
not ecx
mov dword [esp + 0x20], esi
test cl, 1
jne 0x4635b4
mov esi, dword [ebx + 0x34]
test esi, esi
je 0x4634cf
push 0
push 0
push 1
push 2
call fcn.0045b0d0
mov ecx, ebp
call fcn.004499c0
mov ecx, ebp
mov esi, eax
mov edi, edx
call fcn.004499c0
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4634f7
push edi
push esi
push edx
push eax
push 1
call fcn.0045b200
mov edi, eax
jmp 0x4634fc
mov edi, 1
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
mov ecx, dword [ebx + 0x34]
shr eax, 3
not eax
and eax, 4
or eax, 2
test ecx, ecx
je 0x46352c
cmp dword [ebx + 0x78], 0
je 0x46352c
mov edx, dword [esp + 0x44]
push eax
push edx
mov eax, ecx
call fcn.0045b290
mov eax, edi
not eax
test al, 1
jne 0x46361c
inc dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
inc eax
mov dword [esp + 0x44], eax
cmp eax, edi
jb 0x4633ba
cmp dword [esp + 0x18], 0
jne 0x463639
mov eax, 0x2000900
jmp 0x46363e
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
mov ecx, dword [ebx + 0x34]
shr eax, 3
not eax
and eax, 4
or eax, 2
test ecx, ecx
je 0x463594
cmp dword [ebx + 0x78], 0
je 0x463594
push eax
push edi
mov edi, esi
mov eax, ecx
call fcn.0045b290
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4635ad
mov edx, dword [ebx + 0x2c]
mov edx, dword [edx]
mov eax, dword [eax + 0x30]
push edx
push eax
call ecx
add esp, 8
mov eax, esi
jmp 0x46363e
push 0x1d
xor edx, edx
mov ecx, ebp
call fcn.00423940
mov ecx, dword [ebx + 0x34]
shr eax, 3
not eax
and eax, 4
or eax, 2
test ecx, ecx
je 0x4635e6
cmp dword [ebx + 0x78], 0
je 0x4635e6
push eax
push edi
mov edi, esi
mov eax, ecx
call fcn.0045b290
mov edi, dword [esp + 0x44]
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4635ff
mov edx, dword [ebx + 0x2c]
mov edx, dword [edx]
mov eax, dword [eax + 0x30]
push edx
push eax
call ecx
add esp, 8
mov ebx, dword [ebx + 0x34]
test ebx, ebx
je 0x463618
push 0
push 0
push esi
push 2
mov esi, ebx
call fcn.0045b0d0
mov esi, dword [esp + 0x20]
mov eax, esi
jmp 0x46363e
mov eax, dword [ebx + 0x20]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x463635
mov edx, dword [ebx + 0x2c]
mov edx, dword [edx]
mov eax, dword [eax + 0x30]
push edx
push eax
call ecx
add esp, 8
mov eax, edi
jmp 0x46363e
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4