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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x50]
mov esi, dword [ebp + 0x14]
and dword [edx], 0
mov dword [edx + 4], 4
and dword [edx + 8], 0
mov ecx, dword [eax]
mov dword [esp + 4], ecx
call fcn.00465bec
cmp ecx, 0x3b9aca00
jne 0x465fa7
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
jmp 0x465ff4
cmp dword [ebp + 0x18], 0x3b9aca00
mov ebx, ecx
jne 0x465fba
mov esi, edx
mov edx, ebx
mov edi, eax
jmp 0x465ff4
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0x38]
mov esi, edx
mov dword [ecx + 4], edx
lea edx, [esp + 8]
mov dword [ecx], eax
mov dword [ecx + 8], ebx
mov dword [edx], edi
mov edi, dword [ebp + 0x14]
mov dword [edx + 4], edi
mov edi, dword [ebp + 0x18]
mov dword [edx + 8], edi
mov edi, eax
call fcn.00457682
cmp al, 1
mov edx, dword [ebp + 0x18]
cmove esi, dword [ebp + 0x14]
cmove edi, dword [ebp + 0x10]
cmovne edx, ebx
mov ecx, dword [esp + 4]
xor eax, eax
inc eax
lock xadd dword [ecx + 0x2f8], eax
add ecx, 0x100
mov dword [esp], edx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
and dword [ebx + 0xc], 0
lea eax, [ebx + 4]
push edx
mov dword [esp + 0x24], esi
push esi
mov dword [esp + 0x2c], edi
push edi
push eax
mov dword [esp + 0x80], ecx
push ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00468134
add esp, 0x18
lea eax, [esp + 0x28]
mov al, byte [eax]
cmp al, 4
jne 0x466251
cmp dword [esp + 0x2c], 0
je 0x466374
mov eax, dword [esp + 4]
lea esi, [esp + 8]
add eax, 0x2e0
push eax
push esi
call fcn.00456ffc
pop eax
pop ecx
cmp dword [esi], 1
je 0x466419
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
inc dword [esp + 0x4c]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x60], cl
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
lea ecx, [edx + eax*8]
mov dword [esp + 0x6c], ecx
cmp edx, ecx
je 0x466278
mov ebx, edx
mov eax, dword [esp + 0x5c]
add edx, 8
mov edi, dword [ebx]
cmp dword [eax + 0xc], edi
jbe 0x466097
mov eax, dword [eax + 8]
cmp dword [eax + edi*8], 1
jne 0x466097
mov dword [esp + 0x20], eax
mov eax, dword [eax + edi*8 + 4]
mov dword [esp + 0x24], edx
add eax, 0x10
push eax
push esi
call fcn.00456ffc
pop eax
pop ecx
cmp dword [esp + 8], 1
je 0x4663ee
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
mov dword [esp], edi
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], cl
mov cl, byte [ebx + 5]
mov al, byte [ebx + 4]
mov dword [esp + 0x38], 1
mov byte [esp + 0x3c], cl
and dword [esp + 0x40], 0
xor ecx, ecx
mov byte [esp + 0x44], al
cmp ecx, 0x10
je 0x4661b1
mov eax, ecx
add ecx, 8
cmp byte [esp + eax + 0x3c], 0
je 0x46610b
mov eax, dword [esp + eax + 0x38]
mov dword [esp + 4], ecx
cmp eax, 1
ja 0x4663e1
imul ebx, eax, 0x2c
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov dword [edi + ebx + 0x24], eax
mov edx, dword [edi + ebx + 0x28]
mov eax, dword [edi + ebx + 0x2c]
and dword [edi + ebx + 0x28], 0
test edx, edx
je 0x46615c
lea ecx, [esp + 0x50]
push eax
call fcn.00459edd
pop eax
lea eax, [edi + ebx + 4]
lea ebx, [esp + 0x50]
imul ecx, dword [eax + 0x14], 0xc
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x18]
add ecx, edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
and dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
push esi
call fcn.0045a26d
pop ecx
test edx, edx
je 0x4661a5
mov eax, edx
mov edx, dword [edx]
mov edi, dword [eax + 4]
and dword [eax], 0
test edx, edx
je 0x466181
mov ecx, ebx
push edi
call fcn.00459edd
pop eax
jmp 0x466181
mov edi, dword [esp]
mov ecx, dword [esp + 4]
jmp 0x46610b
mov ebx, dword [esp + 0x30]
lea eax, [ebx + 4]
mov dword [esp + 4], eax
push eax
call fcn.0045b2b8
pop ecx
test al, al
je 0x4661d5
lea eax, [ebx + 0x30]
push eax
call fcn.0045b2b8
pop ecx
test al, al
jne 0x46623b
mov eax, dword [esp + 0x20]
mov eax, dword [eax + edi*8 + 4]
mov ecx, dword [eax + 8]
mov edi, dword [eax + 0xc]
mov dword [esp], ecx
push dword [esp + 4]
call fcn.0045b2b8
pop ecx
xor al, 1
add ebx, 0x30
mov byte [esp + 4], al
push ebx
call fcn.0045b2b8
pop ecx
mov cl, byte [esp + 4]
xor al, 1
mov dword [esp + 8], edi
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], al
push esi
push dword [esp + 4]
push dword [esp + 0x78]
lea eax, [esp + 0x44]
push eax
call fcn.0046550c
add esp, 0x10
cmp byte [esp + 0x38], 4
je 0x46623b
mov eax, dword [esp + 0x38]
cmp al, 4
jne 0x4663af
lea ecx, [esp + 0x30]
call fcn.004049a8
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
jmp 0x466097
lea ecx, [esp + 0x28]
mov byte [esp], al
call fcn.0044e984
cmp al, 0x23
jne 0x466287
movsd xmm0, qword [esp + 0x28]
lea eax, [esp + 8]
movsd qword [eax], xmm0
push eax
call fcn.0044efe1
pop eax
jmp 0x466281
lea ecx, [esp + 0x5c]
call fcn.004049a8
mov byte [esp], 4
jmp 0x466297
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x29]
mov dword [esp + 0x67], ecx
mov dword [esp + 0x64], eax
mov ebx, dword [ebp + 8]
mov eax, dword [0x4af884]
mov eax, dword [eax]
cmp eax, 4
jbe 0x46630d
mov eax, dword [esp + 0x58]
lea esi, [esp + 8]
lea ecx, [esp + 0x5c]
mov dword [esi], str.react:
mov dword [esi + 4], 2
and dword [esi + 0x10], 0
mov dword [ecx], eax
lea eax, [esp + 0x30]
mov dword [eax], ecx
mov dword [esi + 8], eax
mov dword [eax + 4], fcn.0043a4d0
mov dword [esi + 0xc], 1
push 0x491b44
call fcn.0044cf10
pop ecx
mov ecx, 0x491ad8
lea edx, [esp + 0x38]
mov dword [edx], ecx
push 0x11
pop edi
mov dword [edx + 4], edi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], edi
mov dword [edx + 0x10], eax
push edx
push 5
push esi
call fcn.00466fd5
add esp, 0xc
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
lea edx, [eax + esi*8]
shl esi, 3
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
test esi, esi
je 0x46634c
lea edi, [eax + 8]
mov dword [esp + 0xc], edi
mov ecx, dword [eax]
push dword [eax + 4]
call dword [ecx + 4]
add esp, 4
add esi, 0xfffffff8
mov eax, edi
jmp 0x46632f
lea eax, [esp + 8]
push eax
call fcn.0045a37e
pop eax
mov al, byte [esp]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x67]
mov byte [ebx], al
mov dword [ebx + 1], edx
mov dword [ebx + 4], ecx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp]
mov ebx, dword [ebp + 8]
cmp eax, 0x3b9aca00
jne 0x466397
mov ecx, dword [esp + 4]
lea edx, [esp + 0x50]
call fcn.00465bec
mov byte [esp], 4
jmp 0x46629a
test eax, eax
jne 0x466381
mov eax, dword [esp + 0x20]
mov byte [esp], 4
or dword [esp + 0x24], eax
je 0x46629a
jmp 0x466381
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 4], ecx
lea ecx, [esp + 0x30]
mov dword [ebx], eax
call fcn.004049a8
lea ecx, [esp + 0x5c]
call fcn.004049a8
lea esi, [esp + 0x50]
push esi
call fcn.0045a16f
pop eax
push esi
call fcn.0044992e
pop eax
jmp 0x46636a
push 0x491b1c
push 2
push eax
call fcn.0047c110
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], cl
push 0x491b0c
push 0x490fb8
lea eax, [esp + 0x40]
push eax
push 0x2b
push 0x490f6c
call fcn.0047c2b0
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
lea edx, [esp + 0x38]
mov dword [edx], eax
mov byte [edx + 4], cl
push 0x491afc
push 0x490f98
push edx
jmp 0x46640d