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

Disassembly:
push 0xffffffffffffffff
push 0x5cccfc
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x680f10]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
push 0x5f0cec
lea ecx, [esp + 0x3c]
call fcn.0048cd50
mov esi, dword [esp + 0x88]
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov dword [esp + 0x84], 0
call fcn.004b7ac0
mov ebp, 0x10
cmp dword [esp + 0x54], ebp
mov edi, eax
mov ebx, 0x5f1558
mov dword [esp + 0x1c], edi
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x38], ebx
jb 0x46fd49
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004274fc
add esp, 4
test edi, edi
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x38], 0x5f13d0
je 0x470031
xor esi, esi
mov ecx, edi
mov dword [esp + 0x14], esi
call fcn.004b5810
test eax, 0xfffffffe
jbe 0x4700db
mov ebx, dword [esp + 0x1c]
lea edi, [esi + esi]
push edi
mov ecx, ebx
call fcn.004b5830
mov esi, eax
test esi, esi
je 0x470010
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp eax, 1
jne 0x470010
add edi, eax
push edi
mov ecx, ebx
call fcn.004b5830
mov edi, eax
test edi, edi
je 0x470010
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
cmp eax, 5
jne 0x470010
mov ecx, esi
call fcn.004b57f0
fnstcw word [esp + 0x88]
movzx eax, word [esp + 0x88]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
fldcw word [esp + 0x8c]
call fcn.004657c0
mov ebp, eax
test ebp, ebp
je 0x470010
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x90], esp
push 0x5ef30a
call fcn.00489f70
push 1
lea ecx, [esp + 0x38]
call fcn.004948b0
push str.SDRrAaP
lea ecx, [esp + 0x5c]
mov dword [esp + 0x84], 1
call fcn.0048cd50
lea edx, [esp + 0x58]
push edx
mov ecx, edi
mov byte [esp + 0x84], 2
call fcn.004b7a60
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.004b36e0
test esi, esi
je 0x46ff29
push 0x5f0cf8
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x46fea5
mov dword [esp + 0x2c], 1
push 0x5f0cfc
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x46fec6
mov dword [esp + 0x2c], 2
push 0x5f0d00
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x46fee7
mov dword [esp + 0x2c], 3
push 0x5f0d04
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x46ff08
mov dword [esp + 0x2c], 4
push 0x5f0d08
mov ecx, esi
call fcn.004b5800
push eax
call fcn.0048b250
add esp, 8
test al, al
je 0x46ff29
mov dword [esp + 0x2c], 5
push 0x5f0d0c
lea ecx, [esp + 0x5c]
call fcn.0048cd50
lea eax, [esp + 0x58]
push eax
mov ecx, edi
mov byte [esp + 0x84], 3
call fcn.004b7a30
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.004b36e0
test esi, esi
je 0x46ff98
mov ecx, esi
call fcn.004b57f0
fnstcw word [esp + 0x88]
movzx eax, word [esp + 0x88]
or eax, 0xc00
mov dword [esp + 0x20], eax
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
fldcw word [esp + 0x88]
push 0x5f0d10
lea ecx, [esp + 0x5c]
call fcn.0048cd50
lea edx, [esp + 0x58]
push edx
mov ecx, edi
mov byte [esp + 0x84], 4
call fcn.004b7a90
lea ecx, [esp + 0x58]
mov esi, eax
mov byte [esp + 0x80], 1
call fcn.004b36e0
test esi, esi
je 0x46fff0
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004b6450
push eax
lea ecx, [esp + 0x34]
call fcn.00413190
lea ecx, [esp + 0x28]
call fcn.00401650
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.00494930
lea ecx, [esp + 0x2c]
mov dword [esp + 0x80], 0xffffffff
call fcn.0048bf70
mov esi, dword [esp + 0x14]
add esi, 1
mov ecx, ebx
mov dword [esp + 0x14], esi
call fcn.004b5810
shr eax, 1
cmp esi, eax
jb 0x46fd86
jmp 0x4700db
push 0x5f0d14
lea ecx, [esp + 0x5c]
call fcn.0048cd50
lea edx, [esp + 0x58]
push edx
mov ecx, esi
mov dword [esp + 0x84], 5
call fcn.004b7ac0
cmp dword [esp + 0x74], ebp
mov edi, eax
mov dword [esp + 0x80], 0xffffffff
mov dword [esp + 0x58], ebx
jb 0x47007a
mov eax, dword [esp + 0x60]
push eax
call fcn.004274fc
add esp, 4
test edi, edi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
mov dword [esp + 0x58], 0x5f13d0
je 0x4700db
mov ecx, edi
xor ebp, ebp
call fcn.004b5810
test eax, eax
jbe 0x4700db
push ebp
mov ecx, edi
call fcn.004b5830
mov esi, eax
test esi, esi
je 0x4700cd
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
cmp eax, 5
jne 0x4700cd
mov ecx, dword [esp + 0x18]
push esi
call fcn.0046fcc0
mov ecx, edi
add ebp, 1
call fcn.004b5810
cmp ebp, eax
jb 0x4700a8
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4