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

Disassembly:
push 0xffffffffffffffff
push 0x4d07ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov eax, dword [0x504530]
push ebx
mov ebx, dword [esp + 0x94]
push ebp
mov ebp, dword [esp + 0x9c]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x1c]
add eax, edx
mov dword [ebx + 0x128], 0
cmp dword [ebp + 0x1c], eax
mov dword [esp + 0x40], eax
jae 0x46b6dd
push esi
push edi
push 0
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0x1c]
mov esi, ebp
call fcn.004469a0
test eax, eax
je 0x46b6db
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x14]
add ecx, eax
mov dword [esp + 0x40], ecx
mov edi, 0x4e5ed0
lea esi, [esp + 0x58]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b079
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
push esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call dword [eax + 0xc]
mov dword [esp + 0x98], 0
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
inc eax
cmp eax, esi
jl 0x46ada2
call fcn.004c5fe3
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
or edx, 0xffffffff
sub edx, eax
add esi, edx
cmp esi, 0x14
mov dword [esp + 0x14], esi
jb 0x46ae48
push str.sha1
push ecx
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x46ae48
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
add eax, 0x14
cmp eax, ecx
jbe 0x46ade1
call fcn.004c5fe3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
add ecx, eax
mov eax, dword [ecx]
lea esi, [ebx + 0x68]
mov edx, esi
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x10]
mov dword [edx + 0x10], ecx
mov edi, dword [ebp + 0x1c]
xor edx, edx
mov dword [esp + 0x64], edx
add edi, 0x14
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [ebp + 0x1c], edi
mov dword [esp + 0x70], edx
xor eax, eax
mov ecx, 5
lea edi, [esp + 0x64]
mov dword [esp + 0x74], edx
repe cmpsd dword [esi], dword es:[edi]
sete al
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebx + 0x64], ecx
jmp 0x46b047
cmp esi, 0x2c
jb 0x46af58
mov edx, dword [esp + 0x10]
push 0x4e7848
push edx
call fcn.004acb01
add esp, 8
test eax, eax
je 0x46ae81
mov eax, dword [esp + 0x10]
push str.bitprint
push eax
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x46af58
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add ecx, 0x14
cmp ecx, eax
jbe 0x46ae93
call fcn.004c5fe3
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
add edx, eax
mov ecx, dword [edx]
lea esi, [ebx + 0x68]
mov eax, esi
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [edx + 0x10]
mov dword [eax + 0x10], edx
mov edi, dword [ebp + 0x1c]
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
add edi, 0x14
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
xor edx, edx
mov dword [ebp + 0x1c], edi
mov dword [esp + 0x88], eax
mov ecx, 5
lea edi, [esp + 0x78]
repe cmpsd dword [esi], dword es:[edi]
mov eax, edx
sete al
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebx + 0x64], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add edx, 0x18
cmp edx, eax
jbe 0x46af12
call fcn.004c5fe3
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x1c]
mov esi, dword [ecx]
lea eax, [ebx + 0x80]
mov edx, eax
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov dword [edx + 8], esi
mov esi, dword [ecx + 0xc]
mov dword [edx + 0xc], esi
mov esi, dword [ecx + 0x10]
mov dword [edx + 0x10], esi
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x14], ecx
add dword [ebp + 0x1c], 0x18
call fcn.0049c260
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x7c], eax
jmp 0x46b047
cmp esi, 0x18
jb 0x46afd0
mov edx, dword [esp + 0x10]
push 0x4e782c
push edx
call fcn.004acb01
add esp, 8
test eax, eax
je 0x46af89
mov eax, dword [esp + 0x10]
push str.tree:tiger_
push eax
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x46afd0
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
add ecx, 0x18
cmp ecx, eax
jbe 0x46af9b
call fcn.004c5fe3
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x1c]
mov esi, dword [edx]
lea eax, [ebx + 0x80]
mov ecx, eax
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov esi, dword [edx + 0xc]
mov dword [ecx + 0xc], esi
mov esi, dword [edx + 0x10]
mov dword [ecx + 0x10], esi
mov edx, dword [edx + 0x14]
mov dword [ecx + 0x14], edx
jmp 0x46af42
cmp esi, 0x10
jb 0x46b005
mov eax, dword [esp + 0x10]
push str.ed2k
push eax
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x46b005
mov eax, dword [esp + 0xa0]
mov dword [eax + 0x98], 1
push 0x10
add eax, 0x9c
jmp 0x46b038
cmp esi, 0x14
jb 0x46b047
mov ecx, dword [esp + 0x10]
push str.btih
push ecx
call fcn.004acb01
add esp, 8
test eax, eax
jne 0x46b047
mov eax, dword [esp + 0xa0]
mov dword [eax + 0xac], 1
push 0x14
add eax, 0xb0
mov ebx, ebp
push eax
call fcn.0040f4d0
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b6c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x46b6c8
mov edi, 0x4e5eb0
lea esi, [esp + 0x58]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b0da
test eax, eax
jne 0x46b0a0
mov dword [ebx + 0x128], 1
jmp 0x46b6c8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
call dword [eax + 0xc]
lea ecx, [ebx + 0xc4]
push eax
mov dword [esp + 0x9c], 1
call fcn.00403e70
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x3c]
jmp 0x46b134
mov edi, 0x4e5ec4
lea esi, [esp + 0x58]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b1c1
mov ecx, dword [ebx + 0xd0]
test ecx, ecx
je 0x46b157
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
call dword [eax + 0xc]
lea ecx, [ebx + 0xc8]
push eax
mov dword [esp + 0x9c], 2
call fcn.00403e70
mov dword [esp + 0x98], 0xffffffff
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 0x46b6c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x46b6c8
cmp eax, 4
jbe 0x46b6c8
mov esi, ebp
mov dword [ebx + 0xd0], 1
call fcn.00414f90
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffffc
push ecx
lea edx, [esp + 0x54]
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], 0
mov eax, dword [ebp]
push edx
mov ecx, ebp
call dword [eax + 0xc]
lea ecx, [ebx + 0xc8]
push eax
mov dword [esp + 0x9c], 3
call fcn.00403e70
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x50]
jmp 0x46b134
mov edi, 0x4e5ea4
lea esi, [esp + 0x58]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b3b8
test eax, eax
jbe 0x46b3b8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, ebp
call dword [eax + 0xc]
mov dword [esp + 0x98], 4
mov eax, dword [esp + 0x1c]
push 0
push eax
call fcn.00490ee0
mov edi, eax
add esp, 8
test edi, edi
je 0x46b3a4
mov ecx, dword [str.xsi:noNamespaceSchemaLocation]
push ecx
push edi
call fcn.00401270
mov dword [esp + 0x18], eax
test eax, eax
mov eax, edi
je 0x46b318
lea esi, [esp + 0x34]
call fcn.00405400
lea ecx, [ebx + 0x100]
push eax
mov byte [esp + 0x9c], 5
call fcn.00403e70
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46b275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
lea esi, [esp + 0x4c]
call fcn.00405420
lea esi, [ebx + 0xfc]
push eax
mov ecx, esi
mov byte [esp + 0x9c], 6
call fcn.00403e70
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b2be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi + 0x20]
test eax, eax
je 0x46b39d
mov eax, dword [edi + 0x18]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x18], eax
je 0x46b39d
mov ecx, dword [ebx + 0x100]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x46b39d
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x46b39d
mov esi, dword [ebx + 0x104]
call fcn.0045d290
mov esi, dword [esp + 0x18]
call fcn.004011f0
mov dword [ebx + 0x104], eax
jmp 0x46b39d
lea esi, [esp + 0x24]
call fcn.00405400
mov byte [esp + 0x98], 7
mov eax, dword [eax]
push eax
push 0x533ec4
call fcn.00468aa0
mov dword [esp + 0x18], eax
mov byte [esp + 0x98], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46b360
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x46b39d
mov esi, dword [ebx + 0x104]
call fcn.0045d290
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x10]
lea ecx, [ebx + 0x100]
push eax
call fcn.00403e70
add esi, 0xc
lea ecx, [ebx + 0xfc]
push esi
call fcn.00403e70
mov dword [ebx + 0x104], edi
xor edi, edi
mov esi, edi
call fcn.0045d290
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x1c]
jmp 0x46b134
mov edi, 0x4e5ec0
lea esi, [esp + 0x58]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b422
cmp eax, 4
jne 0x46b3f7
mov esi, ebp
mov dword [ebx + 0xd0], 1
call fcn.00414f90
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], 0
jmp 0x46b6c8
cmp eax, 8
jne 0x46b6c8
mov eax, ebp
mov dword [ebx + 0xd0], 1
call fcn.004689a0
mov dword [ebx + 0xd8], eax
mov dword [ebx + 0xdc], edx
jmp 0x46b6c8
mov edi, 0x4e5eb4
lea esi, [esp + 0x58]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b47c
cmp eax, 1
jb 0x46b47c
mov eax, dword [ebp + 0x1c]
cmp eax, dword [ebp + 0x18]
jb 0x46b448
call fcn.004c5fe3
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov cl, byte [eax + ecx]
inc eax
mov dword [ebp + 0x1c], eax
movzx eax, cl
test eax, eax
mov dword [ebx + 0x60], eax
jge 0x46b466
mov dword [ebx + 0x60], 0
cmp dword [ebx + 0x60], 7
jle 0x46b6c8
mov dword [ebx + 0x60], 7
jmp 0x46b6c8
mov edi, 0x4e5e98
lea esi, [esp + 0x58]
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b4a7
cmp eax, 4
jb 0x46b4a7
mov esi, ebp
call fcn.00414f90
mov dword [ebx + 0xcc], eax
jmp 0x46b6c8
mov edi, 0x4e5eac
lea esi, [esp + 0x58]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b4d5
cmp eax, 2
jb 0x46b4d5
mov esi, ebp
call fcn.00414f20
movzx eax, ax
mov dword [ebx + 0xe0], eax
jmp 0x46b6c8
mov edi, str.PART
lea esi, [esp + 0x58]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b500
cmp eax, 4
jb 0x46b500
mov esi, ebp
call fcn.00414f90
mov dword [ebx + 0xe4], eax
jmp 0x46b6c8
mov edi, 0x4e4f38
lea esi, [esp + 0x58]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b629
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call dword [eax + 0xc]
mov dword [esp + 0x98], 8
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.00490ee0
mov edi, eax
add esp, 8
test edi, edi
je 0x46b615
mov esi, dword [esp + 0xa0]
push str.rating
lea ecx, [esp + 0x58]
push ecx
add esi, 0x108
xor ebx, ebx
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.00401310
mov eax, dword [eax]
push esi
push 0x4da2d4
push eax
call fcn.004acfb3
add esp, 0xc
lea ecx, [esp + 0x54]
call fcn.00403b90
mov eax, dword [esi]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 6
mov dword [esp + 0x44], 6
mov dword [esp + 0x28], ebx
lea eax, [esp + 0x18]
jl 0x46b5ae
lea eax, [esp + 0x44]
cmp dword [eax], 0
jg 0x46b5b7
lea eax, [esp + 0x28]
mov edx, dword [eax]
mov dword [esi], edx
lea esi, [esp + 0x30]
mov eax, edi
call fcn.00405420
mov esi, dword [esp + 0xa0]
add esi, 0x10c
push eax
mov ecx, esi
mov byte [esp + 0x9c], 9
call fcn.00403e50
lea ecx, [esp + 0x30]
mov byte [esp + 0x98], 8
call fcn.00403b90
push 0x4db0f0
mov ebx, 0x4e5ed8
call fcn.00478de0
mov eax, dword [edi]
add esp, 4
push 1
mov ecx, edi
call dword [eax]
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0x20]
jmp 0x46b134
mov edi, 0x4e5ea8
lea esi, [esp + 0x58]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b68a
test eax, eax
mov dword [ebx + 0xe8], 1
je 0x46b6c8
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, ebp
call dword [eax + 0xc]
push eax
lea ecx, [ebx + 0xec]
mov dword [esp + 0x9c], 0xa
call fcn.00403e50
lea ecx, [esp + 0x38]
mov dword [esp + 0x98], 0xffffffff
call fcn.00403b90
jmp 0x46b6c8
mov edi, str.BOGUS
lea esi, [esp + 0x58]
mov ecx, 6
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b6aa
mov dword [ebx + 0x110], 1
jmp 0x46b6c8
mov edi, str.COLLECT
lea esi, [esp + 0x58]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x46b6c8
mov dword [ebx + 0xf8], 1
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
cmp eax, ecx
mov dword [ebp + 0x1c], eax
jb 0x46ad35
pop edi
pop esi
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x46b704
mov eax, dword [ebx + 0x7c]
test eax, eax
jne 0x46b704
mov eax, dword [ebx + 0x98]
test eax, eax
jne 0x46b704
mov eax, dword [ebx + 0xac]
test eax, eax
jne 0x46b704
call fcn.004c5fe3
mov ecx, dword [esp + 0x88]
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x80]
pop ebx
call fcn.004ae38e
add esp, 0x8c
ret 8