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

Disassembly:
push 0xffffffffffffffff
push 0x49379a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b30f0]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc8]
xor ebx, ebx
push ebx
push eax
lea eax, [esp + 0x8c]
call fcn.00401600
mov ecx, dword [esp + 0xc4]
lea esi, [esp + 0x24]
call fcn.004613b0
mov dword [esp + 0xbc], ebx
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor ebp, ebp
sar eax, 2
cmp eax, ebx
jbe 0x46109a
jmp 0x460da4
xor ebx, ebx
cmp ebp, eax
jb 0x460dad
call fcn.0046fc99
mov ecx, dword [esp + 0x30]
fldz
mov eax, dword [ecx + ebp*4]
fstp qword [esp + 0x54]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x64]
xor ecx, ecx
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], ecx
call fcn.0046f2f7
add esp, 8
cmp eax, ebx
jne 0x460e45
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
movzx eax, word [esp + 0x78]
add ecx, 0x76c
mov word [esp + 0x3c], cx
movzx ecx, word [esp + 0x6c]
inc edx
mov word [esp + 0x3e], dx
mov dx, word [esp + 0x68]
mov word [esp + 0x40], ax
movzx eax, word [esp + 0x64]
mov word [esp + 0x42], cx
movzx ecx, word [esp + 0x60]
mov word [esp + 0x44], dx
xor edx, edx
lea edi, [esp + 0x54]
lea esi, [esp + 0x3c]
mov word [esp + 0x46], ax
mov word [esp + 0x48], cx
mov word [esp + 0x4a], dx
call fcn.00403760
mov dword [esp + 0x5c], ebx
test eax, eax
jne 0x460e4d
mov dword [esp + 0x5c], 1
lea ebx, [esp + 0x54]
lea eax, [esp + 0x84]
call fcn.0045f8c0
test eax, eax
jne 0x460e7a
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x460da2
jmp 0x46109a
lea eax, [esp + 0x1c]
push eax
call fcn.00461c60
mov byte [esp + 0xbc], 1
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
sar ecx, 2
cmp ebp, ecx
jb 0x460ea0
call fcn.0046fc99
mov edx, dword [esp + 0x30]
lea esi, [ebp*4]
mov eax, dword [esi + edx]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x20]
call fcn.00462420
mov byte [esp + 0xbc], 2
mov edx, dword [0x4b6a0c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b6a0c
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xbc], 4
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
sar ecx, 2
cmp ebp, ecx
jb 0x460ef7
call fcn.0046fc99
mov edx, dword [esp + 0x30]
mov eax, dword [esi + edx]
push eax
push 0x49a300
lea edi, [esp + 0x20]
call fcn.00403e50
mov edi, dword [esp + 0xcc]
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
add esp, 8
push eax
push 0
push 0
push ecx
call dword [0x496354]
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
cmp ebp, edx
jb 0x460f3d
call fcn.0046fc99
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0xc8]
push edi
lea ecx, [esp + 0x28]
mov dword [esi + eax], ebp
call fcn.004611d0
mov ecx, dword [esp + 0xcc]
push ecx
push ebp
push edi
call fcn.004612c0
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.0040adf0
mov byte [esp + 0xbc], 6
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov esi, eax
cmp ecx, eax
jbe 0x460f99
call fcn.0046fc99
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x3c]
mov ebx, ecx
cmp ecx, eax
jbe 0x460fa8
call fcn.0046fc99
mov ecx, dword [esp + 0x3c]
push esi
push edi
push ebx
push ecx
lea esi, [esp + 0xa0]
call fcn.00460030
lea edx, [esp + 0x17]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.0040a510
mov byte [esp + 0xbc], 8
lea ecx, [esp + 0x60]
push ecx
mov edx, esi
push edx
push ebp
lea eax, [esp + 0x28]
push eax
call fcn.00461ce0
mov byte [esp + 0xbc], 0xa
lea esi, [esp + 0x60]
call fcn.0040a7d0
mov byte [esp + 0xbc], 6
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0046f1b2
add esp, 4
mov byte [esp + 0xbc], 0x10
lea esi, [esp + 0x90]
call fcn.0040b0e0
mov byte [esp + 0xbc], 4
mov edx, dword [esp + 0x90]
push edx
call fcn.0046f1b2
add esp, 4
mov byte [esp + 0xbc], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461060
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x3c]
push ecx
call fcn.0040ec60
mov byte [esp + 0xbc], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46109a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [esp + 0x24]
push ecx
call fcn.004364d0
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 0xc