Function at 0x405cd0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4e4
mov eax, dword [0x45a7c0]
push ebx
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4e4], eax
xor eax, eax
cmp ebx, eax
push esi
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], 0x64
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], eax
je 0x407115
mov al, byte [ebx]
test al, al
je 0x407115
cmp al, 0x20
je 0x40710c
cmp al, 9
je 0x40710c
mov ecx, 5
mov edi, str.lowid
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x405d69
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0
inc eax
mov dword [esp + 0xc], eax
add ebx, 5
jmp 0x40710d
mov ecx, 3
mov edi, str.highid
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x405d95
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 1
inc eax
mov dword [esp + 0xc], eax
add ebx, 6
jmp 0x40710d
mov ecx, dword [ebx]
mov eax, str.zlib
cmp ecx, dword [eax]
jne 0x405db9
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 3
inc eax
mov dword [esp + 0xc], eax
add ebx, 4
jmp 0x40710d
mov ecx, 3
mov edi, str.nozlib
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x405de5
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 5
inc eax
mov dword [esp + 0xc], eax
add ebx, 6
jmp 0x40710d
mov cx, word [ebx]
mov eax, 0x42fea0
cmp cx, word [eax]
jne 0x405e0b
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 4
inc eax
mov dword [esp + 0xc], eax
add ebx, 2
jmp 0x40710d
mov eax, dword [ebx]
mov edx, str.soft
cmp eax, dword [edx]
jne 0x405e2f
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 6
inc eax
mov dword [esp + 0xc], eax
add ebx, 4
jmp 0x40710d
mov ecx, 7
mov edi, str.getsrc2
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405e5a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x17
inc eax
mov dword [esp + 0xc], eax
add ebx, 7
jmp 0x40710d
mov ecx, 7
mov edi, str.auxport
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x405e85
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 9
inc eax
mov dword [esp + 0xc], eax
add ebx, 7
jmp 0x40710d
mov ecx, 5
mov edi, str.black
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405eb0
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x14
inc eax
mov dword [esp + 0xc], eax
add ebx, 5
jmp 0x40710d
mov ecx, 2
mov edi, str.setblack
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x405edb
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x15
inc eax
mov dword [esp + 0xc], eax
add ebx, 8
jmp 0x40710d
mov ecx, 5
mov edi, str.emule
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405f06
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 7
inc eax
mov dword [esp + 0xc], eax
add ebx, 5
jmp 0x40710d
mov ecx, 2
mov edi, str.notemule
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x405f31
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 8
inc eax
mov dword [esp + 0xc], eax
add ebx, 8
jmp 0x40710d
mov ecx, 2
mov edi, str.bademule
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x405f5c
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x1c
inc eax
mov dword [esp + 0xc], eax
add ebx, 8
jmp 0x40710d
mov ecx, 7
mov edi, str.unicode
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x405f87
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xc
inc eax
mov dword [esp + 0xc], eax
add ebx, 7
jmp 0x40710d
mov ecx, 9
mov edi, str.nounicode
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x405fb2
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xd
inc eax
mov dword [esp + 0xc], eax
add ebx, 9
jmp 0x40710d
mov ecx, dword [ebx]
mov eax, str.mldk
cmp ecx, dword [eax]
jne 0x405fd6
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xa
inc eax
mov dword [esp + 0xc], eax
add ebx, 4
jmp 0x40710d
mov ecx, 5
mov edi, str.cp949
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406001
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x16
inc eax
mov dword [esp + 0xc], eax
add ebx, 5
jmp 0x40710d
mov ecx, dword [ebx]
mov eax, str.show
cmp ecx, dword [eax]
jne 0x406018
or dword [ebp + 0xc], 1
add ebx, 4
jmp 0x40710d
mov ecx, 7
mov edi, str.badhash
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406043
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x2c
inc eax
mov dword [esp + 0xc], eax
add ebx, 7
jmp 0x40710d
mov ecx, 9
mov edi, str.filterlog
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40606e
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x37
inc eax
mov dword [esp + 0xc], eax
add ebx, 9
jmp 0x40710d
mov ecx, 5
mov edi, str.kadenabled
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x40609a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xb
inc eax
mov dword [esp + 0xc], eax
add ebx, 0xa
jmp 0x40710d
mov ecx, 9
mov edi, str.nopublish
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4060c5
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xe
inc eax
mov dword [esp + 0xc], eax
add ebx, 9
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.publishes_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406104
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x33
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.publishes__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406143
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x34
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.searches__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406182
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x35
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.nbclones__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4061c1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x42
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.lastrecv__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406200
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x48
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0x42fd9c
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x40623f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x36
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
mov ecx, 7
mov edi, str.publish
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40626a
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0xf
inc eax
mov dword [esp + 0xc], eax
add ebx, 7
jmp 0x40710d
mov ecx, 3
mov edi, str.flowid
mov esi, ebx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x406296
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x12
inc eax
mov dword [esp + 0xc], eax
add ebx, 6
jmp 0x40710d
mov ecx, 2
mov edi, str.noflowid
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x4062c1
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x13
inc eax
mov dword [esp + 0xc], eax
add ebx, 8
jmp 0x40710d
mov ecx, 5
mov edi, str.opeer
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4062ec
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x45
inc eax
mov dword [esp + 0xc], eax
add ebx, 5
jmp 0x40710d
mov ecx, 5
mov edi, str.total
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40633a
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x170]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x4b
inc eax
mov dword [esp + 0xc], eax
xor eax, eax
mov ecx, 0x5e
lea edi, [esp + 0x170]
rep stosd dword es:[edi], eax
or dword [esp + 0x18], 0x400
add ebx, 5
jmp 0x40710d
mov ecx, 2
mov edi, str.notopeer
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x406365
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x46
inc eax
mov dword [esp + 0xc], eax
add ebx, 8
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.delai_slot__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4063b1
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 0x38
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
or ecx, 0x40
mov dword [esp + 0x18], ecx
add ebx, eax
jmp 0x40710d
mov ecx, 5
mov edi, str.delai_slot
mov esi, ebx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
jne 0x4063d1
or dword [esp + 0x18], 0x40
add ebx, 0xa
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x3ec]
push edx
push str.mod_version_s_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406416
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x3e8]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3a
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
mov ecx, 0xb
mov edi, str.mod_version
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406438
or dword [esp + 0x18], 0x80
add ebx, 0xb
jmp 0x40710d
mov ecx, 2
mov edi, str.extended
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x40645a
or dword [esp + 0x18], 0x800
add ebx, 8
jmp 0x40710d
mov ecx, 5
mov edi, str.modversion
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
jne 0x40647d
or dword [esp + 0x18], 0x80
add ebx, 0xa
jmp 0x40710d
mov ecx, 9
mov edi, str.listfiles
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x40649f
or dword [esp + 0x18], 0x100
add ebx, 9
jmp 0x40710d
mov ecx, 7
mov edi, str.nofakes
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4064c1
or dword [esp + 0x18], 0x200
add ebx, 7
jmp 0x40710d
mov ecx, dword [ebx]
mov eax, str.xmit
cmp ecx, dword [eax]
jne 0x4064d9
or dword [esp + 0x18], 1
add ebx, 4
jmp 0x40710d
mov ecx, 5
mov edi, str.flush
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4064f8
or dword [esp + 0x18], 2
add ebx, 5
jmp 0x40710d
mov ecx, 5
mov edi, str.dhash
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x406517
or dword [esp + 0x18], 8
add ebx, 5
jmp 0x40710d
mov ecx, 7
mov edi, str.suphash
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406539
or dword [esp + 0x18], 0x1000
add ebx, 7
jmp 0x40710d
mov ecx, 9
mov edi, str.nodisplay
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x406558
or dword [esp + 0x18], 4
add ebx, 9
jmp 0x40710d
mov ecx, 9
mov edi, str.sharescnt
mov esi, ebx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x406597
mov eax, dword [esp + 0x2c]
add ebx, 9
test eax, eax
jne 0x40710d
mov eax, dword [0x465dc0]
mov dword [esp + 0x44], eax
inc eax
push 4
push eax
call fcn.0042351e
add esp, 8
mov dword [esp + 0x2c], eax
jmp 0x40710d
mov ecx, 5
mov edi, 0x42fcbc
mov esi, ebx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4065fd
add ebx, 5
mov dword [esp + 0x10], eax
push ebx
call fcn.00410780
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, 0xffffffff
je 0x4065cc
mov byte [esp + ecx + 0x160], al
add ebx, 2
inc ecx
cmp ecx, 0x10
mov dword [esp + 0x10], ecx
jl 0x4065b0
jne 0x40710d
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x160]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x43
inc eax
mov dword [esp + 0xc], eax
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
push str._d._d._d._d_n
push ebx
mov dword [esp + 0x2c], 3
call fcn.00422fc4
add esp, 0x1c
cmp eax, 4
jl 0x406705
mov al, byte [esp + 0x58]
mov cl, byte [esp + 0x4c]
mov dl, byte [esp + 0x50]
mov byte [esp + 0x1e], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x1d], dl
mov byte [esp + 0x1c], cl
mov cl, byte [esp + 0x54]
add ebx, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x27], cl
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x5c]
push eax
push str.__d._d._d._d_n
or esi, 0xffffffff
push ebx
mov dword [esp + 0x54], esi
call fcn.00422fc4
add esp, 0x1c
cmp eax, 4
jl 0x4066b4
mov cl, byte [esp + 0x4c]
mov dl, byte [esp + 0x50]
mov al, byte [esp + 0x58]
mov byte [esp + 0x20], cl
mov cl, byte [esp + 0x54]
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
mov byte [esp + 0x23], cl
mov esi, dword [esp + 0x20]
jmp 0x4066f2
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
push str.__d_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4066fc
mov eax, dword [esp + 0x34]
test eax, eax
jge 0x4066dd
xor eax, eax
jmp 0x4066e7
cmp eax, 0x20
jle 0x4066eb
mov eax, 0x20
mov dword [esp + 0x34], eax
mov esi, dword [eax*4 + 0x466940]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], esi
add ebx, eax
and dword [esp + 0x1c], esi
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x38]
push edx
push str.finder__d_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406771
mov eax, dword [esp + 0x34]
test eax, eax
jl 0x406768
cmp eax, 0x20
jg 0x406768
mov ecx, dword [eax*4 + 0x466940]
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x49
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [0x481c04]
test eax, eax
jne 0x406768
push 4
push 0x4021
call fcn.0042351e
add esp, 8
mov dword [0x481c04], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
push str.limit_d_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406797
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x44]
push edx
push str.count_d_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4067bd
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2ec]
push ecx
push str.nick_s_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406802
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x2e8]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 0x39
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.version_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406841
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 0x26
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.shash_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406890
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 0x44
inc eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
or ecx, 0x1000
mov dword [esp + 0x18], ecx
add ebx, eax
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.ID_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4068cf
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 2
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.eversion_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x40690e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], edx
mov dword [esp + eax*8 + 0x60], 0x27
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2b]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x54]
push eax
push str.emversion_u._u_c_n
push ebx
call fcn.00422fc4
add esp, 0x18
cmp eax, 3
jl 0x40696c
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x5c]
movsx edx, byte [esp + 0x27]
shl ecx, 7
add ecx, esi
lea ecx, [edx + ecx*8 - 0x61]
shl ecx, 7
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x28
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.emversion_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x40698f
mov ecx, dword [esp + 0x14]
jmp 0x40694e
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.eversion__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4069ce
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x29
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.rrate__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406a0d
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x47
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.edversion_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406a4c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x2a
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.edversion__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406a8b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x2b
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.compat_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406aca
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x1a
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.compat__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406b09
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x1b
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
mov ecx, 7
mov edi, str.usharesshares
mov esi, ebx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x4070f6
mov ecx, 7
mov edi, str.sharesushares
mov esi, ebx
xor eax, eax
repe cmpsw word [esi], word es:[edi]
je 0x4070f6
mov ecx, 3
mov edi, str.usharesxcut
mov esi, ebx
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
je 0x4070e0
mov ecx, 3
mov edi, str.xcutushares
mov esi, ebx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x4070e0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.xcut_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406ba2
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3b
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.xcut__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406be1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3c
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0x42fb50
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406c20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3d
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.ushares_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406c5f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3e
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.ushares__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406c9e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x3f
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0x42fb20
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406cdd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x40
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.fakes__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406d1c
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x1d
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.incomp__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406d5b
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x1e
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.incomp_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406d9a
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x1f
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.suspect__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406dd9
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x20
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.suspect_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406e18
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x25
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0x42fad0
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406e57
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x23
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.fakes_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406e96
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x24
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.repub__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406ed5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x21
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push str.repub_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406f14
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esp + eax*8 + 0x64], ecx
mov dword [esp + eax*8 + 0x60], 0x22
inc eax
mov dword [esp + 0xc], eax
add ebx, dword [esp + 0x10]
jmp 0x40710d
mov esi, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + esi*8 + 0x69]
push eax
lea edi, [esp + esi*8 + 0x6c]
push edi
push str.country_c_c_n
push ebx
call fcn.00422fc4
add esp, 0x14
cmp eax, 2
jl 0x406f50
add ebx, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x18
inc esi
mov dword [esp + 0xc], esi
jmp 0x40710d
lea eax, [esp + 0x10]
push eax
lea eax, [esp + esi*8 + 0x69]
push eax
push edi
push str.country__c_c_n
push ebx
call fcn.00422fc4
add esp, 0x14
cmp eax, 2
jl 0x406f84
add ebx, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x19
inc esi
mov dword [esp + 0xc], esi
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.port_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406fbf
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x10
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.sport_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x406ffa
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x11
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.sources_asked_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x407035
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x2f
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.sources_asked__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x407070
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x30
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.sources_given_u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x4070a8
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x31
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push str.sources_given__u_n
push ebx
call fcn.00422fc4
add esp, 0x10
cmp eax, 1
jl 0x407115
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [esp + esi*8 + 0x60], 0x32
inc esi
mov dword [esp + 0xc], esi
add ebx, eax
jmp 0x40710d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x41
inc eax
mov dword [esp + 0xc], eax
add ebx, 0xc
jmp 0x40710d
mov eax, dword [esp + 0xc]
mov dword [esp + eax*8 + 0x60], 0x41
inc eax
mov dword [esp + 0xc], eax
add ebx, 0xe
jmp 0x40710d
inc ebx
test ebx, ebx
jne 0x405d24
push 0x45b740
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
call fcn.00422e61
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
add esp, 4
and eax, 1
mov dword [esp + 0x48], eax
je 0x40714e
test byte [esp + 0x18], 4
jne 0x40714e
push str.__num__________ID_____________IP:port____country_versions_rcv____xmt____shares___sources___times__searches_lowid_flags___nickname_n
call fcn.0040ce60
add esp, 4
cmp dword [esp + 0x38], 0xffffffff
jne 0x4072e8
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, 0x4021
div ecx
mov esi, dword [edx*4 + 0x469b00]
test esi, esi
je 0x407203
mov ebx, dword [esp + 0x28]
lea esp, [esp]
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0xd8]
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 0x18]
inc ecx
cmp edx, eax
mov dword [esp + 0x30], ecx
jne 0x4071f9
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x64]
push ecx
push esi
call fcn.00401370
add esp, 0xc
test eax, eax
je 0x4071f9
mov ecx, dword [esi + 0x130]
mov eax, dword [esp + 0x48]
add ebx, ecx
test eax, eax
je 0x4071d9
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push edx
push eax
push esi
call fcn.00404c40
add esp, 0xc
cmp eax, 0xffffffff
je 0x4071e8
test byte [ebp + 0xc], 2
je 0x4071e8
push esi
call fcn.004052e0
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
je 0x4071ff
test edi, edi
mov esi, edi
jne 0x407180
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x2c]
push 0x45b740
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
push str.count_d__u___lu_shares_n
call fcn.0040ce60
mov ecx, dword [esp + 0x28]
add esp, 0x10
test ch, 4
je 0x407265
mov eax, dword [esp + 0x20]
and ecx, 0xfffffffb
push ecx
push eax
mov dword [esp + 0x1a4], eax
mov dword [esp + 0x264], eax
mov dword [esp + 0x2e0], eax
lea eax, [esp + 0x178]
push eax
call fcn.00404c40
add esp, 0xc
test ebx, ebx
je 0x4072ad
push str.shares_cnt_:_number_of_clients_n
xor edi, edi
call fcn.0040ce60
mov eax, dword [esp + 0x48]
add esp, 4
xor esi, esi
test eax, eax
jl 0x4072a4
mov eax, dword [ebx + esi*4]
test eax, eax
je 0x40729b
add edi, eax
push edi
push eax
push esi
push str._d:_u____u__n
call fcn.0040ce60
add esp, 0x10
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jle 0x407282
push ebx
call fcn.00422e9a
add esp, 4
mov eax, dword [0x481c04]
test eax, eax
je 0x4072d5
push eax
call fcn.00401c30
mov ecx, dword [0x481c04]
push ecx
call fcn.00422e9a
add esp, 8
mov dword [0x481c04], 0
mov ecx, dword [esp + 0x4ec]
call fcn.004233fe
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x45a040]
cmp esi, 0x45a040
je 0x407203
mov ebx, dword [esp + 0x2c]
mov edi, edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0xd8]
mov edx, dword [esp + 0x38]
mov edi, dword [esi]
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
and ecx, edx
cmp ecx, eax
jne 0x40739f
mov edx, dword [esp + 0xc]
push edx
lea eax, [esp + 0x64]
push eax
push esi
call fcn.00401370
add esp, 0xc
test eax, eax
je 0x40739f
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x130]
add edx, eax
test ebx, ebx
mov dword [esp + 0x28], edx
je 0x40735b
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jbe 0x407358
mov eax, ecx
inc dword [ebx + eax*4]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x40737b
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
call fcn.00404c40
add esp, 0xc
cmp eax, 0xffffffff
je 0x40738a
test byte [ebp + 0xc], 2
je 0x40738a
push esi
call fcn.004052e0
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x3c], eax
je 0x407207
cmp edi, 0x45a040
mov esi, edi
jne 0x407300
jmp 0x407207