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

Disassembly:
sub esp, 0x34c
mov eax, dword [0x661374]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
mov ebp, dword [esp + 0x358]
lea eax, [esp + 0xd1]
push esi
push 0x40
push 0
mov ebx, dword [ebp + 0x18]
push eax
mov byte [esp + 0xe0], 0
call fcn.00594c60
push 0x40
lea eax, [esp + 0x235]
mov byte [esp + 0x234], 0
push 0
push eax
call fcn.00594c60
push 0x40
lea eax, [esp + 0x1dd]
mov byte [esp + 0x1dc], 0
push 0
push eax
call fcn.00594c60
push 0x40
lea eax, [esp + 0x161]
mov byte [esp + 0x160], 0
push 0
push eax
call fcn.00594c60
mov esi, dword [ebx + 0x6c]
lea eax, [esp + 0x299]
push 0x96
push 0
push eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x2a4], 0
call fcn.00594c60
mov eax, dword [ebp + 0xd40]
xorps xmm0, xmm0
test eax, eax
mov dword [esp + 0x64], 0
push 0xd
mov ecx, 0x5c88c0
mov dword [esp + 0x6c], 0
cmovne ecx, eax
mov dword [esp + 0x58], 0
push 0x5cb584
push ebp
mov dword [esp + 0x64], 0
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], 0
movups xmmword [esp + 0xfc], xmm0
movups xmmword [esp + 0x10c], xmm0
movups xmmword [esp + 0x160], xmm0
movups xmmword [esp + 0x170], xmm0
call fcn.0043b130
add esp, 0x48
test eax, eax
je 0x46b3a5
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.00593bac
add esp, 0x34c
ret
push edi
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.0042a660
lea eax, [esp + 0x4c]
push 0x19000
push eax
call fcn.0042a660
lea eax, [esp + 0x64]
push 0x19000
push eax
call fcn.0042a660
mov eax, dword [ebp + 0x614]
mov ecx, 0x5d2978
test eax, eax
cmovne ecx, eax
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x1e0]
push eax
lea eax, [esp + 0x248]
push eax
lea eax, [esp + 0xfc]
push eax
push 0x5d2980
push ecx
call fcn.00438980
add esp, 0x30
cmp byte [esp + 0xd8], 0
jne 0x46b42d
push 0x5d29a0
push ebp
call fcn.00434fc0
mov edi, 0x2b
jmp 0x46b488
cmp byte [esp + 0x228], 0
jne 0x46b455
xor ecx, ecx
nop dword [eax]
mov al, byte [esp + ecx + 0xd8]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x227], al
test al, al
jne 0x46b440
cmp byte [esp + 0x13c], 0
jne 0x46b5ac
push 0x2e
push esi
call fcn.00594b30
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b504
push 0x5d29c8
push ebp
call fcn.00434fc0
mov edi, 3
add esp, 8
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
call fcn.0042a630
lea eax, [esp + 0x68]
push eax
call fcn.0042a630
lea eax, [esp + 0x5c]
push eax
call fcn.0042a630
push dword [esp + 0x38]
call dword [0x65403c]
push dword [esp + 0x40]
call dword [0x65403c]
push dword [esp + 0x30]
call dword [0x65403c]
push dword [esp + 0x38]
call dword [0x65403c]
push dword [esp + 0x40]
call dword [0x65403c]
push ebx
call dword [0x65403c]
mov ecx, dword [esp + 0x37c]
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00593bac
add esp, 0x34c
ret
mov eax, dword [esp + 0x18]
mov esi, edi
sub esi, eax
cmp esi, 0x40
jbe 0x46b51b
push 0x5d2a00
jmp 0x46b47d
push esi
push eax
lea eax, [esp + 0x144]
push eax
call fcn.0059d8b0
lea eax, [esp + 0x148]
mov byte [esp + esi + 0x148], 0
push eax
push 0x5d2a28
push ebp
call fcn.00435090
add esp, 0x18
cmp byte [esp + 0x1c4], 0
jne 0x46b5ac
inc edi
push 0x2e
push edi
call fcn.00594b30
mov esi, eax
add esp, 8
test esi, esi
jne 0x46b56e
push 0x5d2a50
jmp 0x46b47d
sub esi, edi
cmp esi, 0x40
jbe 0x46b57f
push 0x5d2a88
jmp 0x46b47d
push esi
lea eax, [esp + 0x1c8]
push edi
push eax
call fcn.0059d8b0
lea eax, [esp + 0x1d0]
mov byte [esp + esi + 0x1d0], 0
push eax
push 0x5d2ab0
push ebp
call fcn.00435090
add esp, 0x18
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.004427e0
lea eax, [esp + 0xe8]
push 0x5d2ad8
push eax
call fcn.0043ab70
add esp, 0x18
test eax, eax
je 0x46b5f4
lea eax, [esp + 0x13c]
push 0x5d2adc
push eax
call fcn.0043ab70
add esp, 8
mov byte [esp + 0x13], 1
test eax, eax
jne 0x46b5f9
mov byte [esp + 0x13], 0
lea eax, [esp + 0x228]
push eax
push 0x5d290c
lea eax, [esp + 0x30c]
push 0x52
push eax
call fcn.00439670
push eax
lea eax, [esp + 0x318]
push eax
push ebp
call fcn.0043b130
add esp, 0x1c
test eax, eax
je 0x46b68a
push 0x3a
push eax
call fcn.00594b30
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x46b68a
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
je 0x46b656
cmp cl, 0x20
je 0x46b64e
cmp cl, 9
jne 0x46b656
mov cl, byte [ebx + 1]
inc ebx
test cl, cl
jne 0x46b644
mov esi, ebx
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x46b660
sub esi, ecx
je 0x46b779
nop
mov al, byte [esi + ebx - 1]
cmp al, 0x20
je 0x46b680
cmp al, 9
jne 0x46b779
sub esi, 1
jne 0x46b670
jmp 0x46b779
cmp byte [esp + 0x13], 0
je 0x46b73b
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x46b6b4
cmp ecx, 5
je 0x46b6b4
mov eax, dword [ebp + 0x208]
or eax, dword [ebp + 0x20c]
je 0x46b6b4
xor dl, dl
jmp 0x46b6b6
mov dl, 1
cmp ecx, 1
jne 0x46b6c8
cmp dword [ebp + 0x178], 0
je 0x46b6c8
mov eax, ecx
jmp 0x46b6ca
xor eax, eax
test dl, dl
jne 0x46b6ea
test eax, eax
jne 0x46b6ea
movups xmm0, xmmword [0x5d2920]
mov byte [esp + 0x190], al
movups xmmword [esp + 0x180], xmm0
jmp 0x46b70d
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.0046bc30
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46b48b
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x22c]
push eax
push 0x5d2934
lea eax, [esp + 0x278]
push 0x95
push eax
call fcn.00439670
add esp, 0x14
xor edi, edi
jmp 0x46b756
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x20c]
push eax
push ebp
call fcn.0046bc30
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x46b48b
lea ebx, [esp + 0x180]
mov esi, ebx
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x46b770
sub esi, ecx
lea eax, [esp + 0x3c]
push eax
call fcn.0059e33f
lea eax, [esp + 0x78]
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00447490
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x46b48b
lea eax, [esp + 0x74]
push eax
push 0x5d2ae0
lea eax, [esp + 0xac]
push 0x11
push eax
call fcn.005a5bbb
add esp, 0x10
test eax, eax
jne 0x46b7ca
lea edi, [eax + 0x1b]
jmp 0x46b48b
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x274]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0xb8]
push eax
push dword [esp + 0x30]
push ebp
call fcn.0046c020
mov edi, eax
add esp, 0x20
test edi, edi
jne 0x46b48b
cmp byte [esp + 0x26c], al
je 0x46b843
lea ecx, [esp + 0x26c]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b820
mov ax, word [0x5c92b8]
sub ecx, edx
mov word [esp + ecx + 0x26c], ax
mov al, byte [0x5c92ba]
mov byte [esp + ecx + 0x26e], al
movq xmm0, qword [esp + 0xa4]
lea eax, [esp + 0x44]
push eax
push dword [ebp + 0xca0]
movq qword [esp + 0xa0], xmm0
push ebp
mov byte [esp + 0xac], 0
call fcn.0046bca0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46b48b
lea edi, [eax + 0x1b]
lea eax, [esp + 0x44]
push eax
call fcn.0042a690
add esp, 4
test eax, eax
je 0x46b8a2
lea eax, [esp + 0x44]
push eax
call fcn.0042a690
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x46b8aa
mov dword [esp + 0x18], 0x5c88c0
push ebx
lea eax, [esp + 0x58]
push esi
push eax
call fcn.0042a690
add esp, 4
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0042a690
add esp, 4
push eax
push dword [esp + 0x28]
push dword [ebp + 0xc9c]
push dword [esp + 0x40]
push 0x5d2af0
call fcn.004395d0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x2c], esi
test esi, esi
je 0x46b48b
lea ecx, [esp + 0xd8]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b900
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.0043aa90
lea eax, [esp + 0xe4]
push eax
push 0x5d2b04
call fcn.004395d0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x46b48b
push ebx
lea eax, [esp + 0x140]
push eax
lea eax, [esp + 0x1cc]
push eax
lea eax, [esp + 0xa4]
push eax
push 0x5d2b10
call fcn.004395d0
add esp, 0x14
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46b48b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b972
sub ecx, edx
lea eax, [esp + 0x208]
push ecx
push esi
push eax
call fcn.00474950
add esp, 0xc
test eax, eax
jne 0x46b48b
push 0x41
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x210]
push 0x20
push eax
call fcn.004603d0
lea ecx, [esp + 0xe8]
add esp, 0x10
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b9c0
sub ecx, edx
lea eax, [esp + 0xd8]
push ecx
push eax
push eax
call fcn.0043aad0
lea eax, [esp + 0x18c]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0xf0]
push eax
push 0x5d2b1c
call fcn.004395d0
mov esi, eax
add esp, 0x20
mov dword [esp + 0x20], esi
test esi, esi
je 0x46b48b
mov ecx, dword [ebp + 0xd44]
lea eax, [esp + 0xd8]
test ecx, ecx
mov edx, 0x5c88c0
cmovne edx, ecx
push edx
push eax
push 0x5d2b38
call fcn.004395d0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x46b48b
lea ecx, [esp + 0x98]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46ba50
sub ecx, edx
mov edx, esi
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x46ba60
lea eax, [esp + 0xb8]
sub edx, esi
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push edx
push dword [esp + 0x34]
push 0x5d4450
call fcn.004746e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46b48b
lea ecx, [esp + 0x1c4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46baa0
lea eax, [esp + 0x11c]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x1cc]
push eax
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x5d4450
call fcn.004746e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46b48b
lea ecx, [esp + 0x13c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bae5
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
lea eax, [esp + 0x144]
push eax
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x5d4450
call fcn.004746e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46b48b
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bb25
lea eax, [esp + 0x11c]
sub ecx, edx
push eax
push ecx
push ebx
push 0x20
lea eax, [esp + 0xc8]
push eax
push 0x5d4450
call fcn.004746e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46b48b
mov esi, dword [esp + 0x20]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46bb62
lea eax, [esp + 0xb8]
sub ecx, edx
push eax
push ecx
push esi
push 0x20
lea eax, [esp + 0x12c]
push eax
push 0x5d4450
call fcn.004746e0
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x46b48b
push 0x41
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0xc0]
push 0x20
push eax
call fcn.004603d0
mov ebx, dword [esp + 0x24]
lea eax, [esp + 0x27c]
add esp, 0x10
test ebx, ebx
push eax
mov eax, 0x5c88c0
cmovne eax, ebx
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0042a690
add esp, 4
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xec]
push dword [esp + 0x4c]
push eax
push 0x5d2b40
call fcn.004395d0
mov esi, eax
add esp, 0x20
test esi, esi
je 0x46b48f
push dword [ebp + 0xd24]
call dword [0x65403c]
add esp, 4
mov dword [ebp + 0xd24], esi
mov byte [ebp + 0x97c], 1
jmp 0x46b48f