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

Disassembly:
push 0xffffffffffffffff
push 0x5a5138
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xf4]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
jbe 0x46b111
call fcn.00578ff3
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x46b11e
call fcn.00578ff3
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x78]
push eax
call fcn.0046a740
lea ebx, [esp + 0x30]
call fcn.004747c0
xor esi, esi
mov dword [esp + 0xe8], esi
mov edx, dword [esp + 0x30]
mov eax, dword [edx - 0xc]
cmp eax, esi
jle 0x46b16f
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x46b2aa
cmp ecx, eax
jg 0x46b2aa
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x46b16f
push 0x5c
mov edi, ebx
call fcn.00404400
lea edi, [esp + 0x2c]
call fcn.00474ab0
mov byte [esp + 0xe8], 1
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
cmp eax, esi
jle 0x46b1af
lea ecx, [eax - 1]
cmp ecx, esi
jl 0x46b2aa
cmp ecx, eax
jg 0x46b2aa
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x46b1af
push 0x5c
call fcn.00404400
mov ebp, dword [esp + 0xf0]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add ebp, 4
push edx
mov ecx, ebp
mov dword [esp + 0x54], ebp
call fcn.0046c150
mov eax, dword [ebp + 4]
mov dword [eax + 4], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], esi
mov dword [eax], eax
mov eax, dword [ebp + 4]
mov dword [eax + 8], eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ebx, 0x5c1df8
call fcn.00412480
add esp, 8
mov byte [esp + 0xe8], 2
mov eax, dword [eax]
lea edx, [esp + 0xa8]
push edx
mov edi, eax
call fcn.004d1580
mov byte [esp + 0xe8], 4
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
xor edi, edi
push str.Special
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
call fcn.004d1ab0
test eax, eax
je 0x46b482
cmp dword [esp + 0x38], edi
je 0x46b27c
mov esi, dword [esp + 0x3c]
cmp esi, edi
je 0x46b280
mov eax, dword [esi]
mov dword [esp + 0x44], eax
mov esi, dword [esp + 0x44]
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea edi, [esp + 0x1c]
call fcn.00469490
mov byte [esp + 0xe8], 6
jmp 0x46b2b8
push 0x80070057
call fcn.00404550
mov esi, dword [esp + 0x44]
test esi, esi
je 0x46b451
cmp esi, dword [esp + 0x40]
je 0x46b451
mov ecx, dword [esi]
mov eax, esi
add eax, 8
lea edi, [esp + 0x18]
mov dword [esp + 0x44], ecx
call fcn.004035d0
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], 0
jle 0x46b2b4
mov eax, edx
push 0x3d
push eax
call fcn.00578331
add esp, 8
test eax, eax
je 0x46b2b4
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x46b2b4
lea ecx, [esp + 0x48]
mov edx, edi
call fcn.00403560
mov ebx, eax
mov byte [esp + 0xe8], 7
call fcn.004192d0
mov edi, eax
call fcn.00419350
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46b37b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46b36e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46b36e
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x46b365
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x46b37b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00404050
mov byte [esp + 0xe8], 6
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b3a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 4]
lea ecx, [esp + 0x68]
push ecx
lea ebx, [esp + 0x20]
mov esi, ebp
call fcn.004204f0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x46b3c2
cmp eax, ebp
je 0x46b3c7
call fcn.00578ff3
cmp dword [esi + 4], edi
jne 0x46b2b4
mov ecx, dword [esp + 0x34]
add ecx, 1
lea esi, [esp + 0x4c]
lea edx, [esp + 0x18]
call fcn.00403540
mov byte [esp + 0xe8], 8
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push edx
mov ecx, eax
call fcn.0046bbf0
mov esi, eax
mov byte [esp + 0xec], 6
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b427
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x46b43b
mov esi, dword [esp + 0xf4]
lea ebx, [esp + 0x1c]
call fcn.0046a630
lea ecx, [esp + 0x1c]
mov edx, ebp
call fcn.0046be20
mov dword [eax], 1
jmp 0x46b2b4
lea esi, [esp + 0x1c]
call fcn.00469df0
mov byte [esp + 0xe8], 4
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 0x46b482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x50]
push edx
mov ebx, 0x5c1df8
call fcn.00412480
add esp, 8
mov byte [esp + 0xe8], 9
mov eax, dword [eax]
lea ecx, [esp + 0x70]
push ecx
mov edi, eax
call fcn.004d1580
mov byte [esp + 0xe8], 0xb
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b4d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
xor ebx, ebx
push str.Special
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.004d1ab0
test eax, eax
je 0x46b71a
cmp dword [esp + 0x1c], ebx
je 0x46b51d
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x28], eax
je 0x46b51d
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov edx, dword [0x5fcd20]
mov eax, dword [edx + 0xc]
mov ecx, 0x5fcd20
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea edi, [esp + 0x54]
call fcn.00469490
mov byte [esp + 0xe8], 0xd
mov eax, dword [esp + 0x28]
xor ebx, ebx
cmp eax, ebx
je 0x46b6e9
cmp eax, dword [esp + 0x24]
je 0x46b6e9
mov ecx, dword [eax]
add eax, 8
lea edi, [esp + 0x18]
mov dword [esp + 0x28], ecx
call fcn.004035d0
mov edx, dword [esp + 0x18]
cmp dword [edx - 0xc], ebx
jle 0x46b545
mov eax, edx
push 0x3d
push eax
call fcn.00578331
add esp, 8
cmp eax, ebx
je 0x46b545
sub eax, dword [esp + 0x18]
sar eax, 1
mov ebp, eax
cmp ebp, 0xffffffff
je 0x46b545
lea ecx, [esp + 0x34]
mov edx, edi
call fcn.00403560
mov ebx, eax
mov byte [esp + 0xe8], 0xe
call fcn.004192d0
mov edi, eax
call fcn.00419350
mov ecx, dword [eax]
mov esi, dword [esp + 0x54]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x46b609
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x46b5fc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x46b5fc
call fcn.00403ce0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x46b5f3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x54], ebx
jmp 0x46b609
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x58]
call fcn.00404050
mov byte [esp + 0xe8], 0xd
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x50]
mov ecx, dword [edi + 4]
lea edx, [esp + 0x38]
push edx
lea ebx, [esp + 0x58]
mov esi, edi
mov dword [esp + 0x70], ecx
call fcn.004204f0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x46b658
cmp eax, edi
je 0x46b65d
call fcn.00578ff3
mov eax, dword [esp + 0x6c]
cmp dword [esi + 4], eax
jne 0x46b545
lea ecx, [ebp + 1]
lea esi, [esp + 0x48]
lea edx, [esp + 0x18]
call fcn.00403540
mov byte [esp + 0xe8], 0xf
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
mov ecx, eax
call fcn.0046bbf0
mov esi, eax
mov byte [esp + 0xec], 0xd
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b6bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x46b6d1
mov esi, dword [esp + 0xf4]
lea ebx, [esp + 0x54]
call fcn.0046a630
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x54]
call fcn.0046be20
mov dword [eax], 1
jmp 0x46b545
lea esi, [esp + 0x54]
call fcn.00469df0
mov byte [esp + 0xe8], 0xb
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 0x46b71a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x70]
push ecx
mov byte [esp + 0xec], 4
call fcn.004d1650
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0xec], 1
call fcn.004d1650
mov byte [esp + 0xe8], bl
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b768
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xe8], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b793
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xd8
ret 8