Function at 0x4a8570
Capabilities:
Get geographical location

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push 7
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.0049d1f0
mov ebx, dword [esp + 0xfc]
mov eax, dword [ebx]
cmp eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
je 0x4a85d8
mov ecx, ebx
call fcn.004039f0
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [ebx], eax
je 0x4a85d8
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a85d1
push eax
call ebp
and eax, 0xff
cmp eax, 0xff
jne 0x4a85d8
mov ecx, ebx
call fcn.0049d350
lea ecx, [esp + 0x10]
call fcn.004039f0
push esi
push 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.0049d1f0
mov edi, dword [esp + 0xf8]
mov edx, dword [edi]
cmp edx, dword [esp + 0x10]
je 0x4a8637
mov ecx, edi
call fcn.004039f0
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [edi], eax
je 0x4a8637
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a8630
push eax
call ebp
and eax, 0xff
cmp eax, 0xff
jne 0x4a8637
mov ecx, edi
call fcn.0049d350
lea ecx, [esp + 0x10]
call fcn.004039f0
mov ecx, edi
call fcn.0049d350
mov eax, dword [edi]
cmp eax, esi
je 0x4a8652
add eax, 4
jmp 0x4a8654
xor eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 7
push eax
push 0x59
push 0x800
call ebp
mov ecx, ebx
call fcn.0049d350
mov eax, dword [ebx]
cmp eax, esi
je 0x4a8678
add eax, 4
jmp 0x4a867a
xor eax, eax
push 6
push eax
push 0x5a
push 0x800
call ebp
push esi
push 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
call fcn.0049d1f0
lea ecx, [esp + 0x14]
call fcn.0049d350
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4a86ac
add eax, 4
jmp 0x4a86ae
xor eax, eax
push 7
push eax
push 0x59
push 0x400
call ebp
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4a86e6
lea edi, [eax + 4]
cmp edi, esi
je 0x4a86d9
mov esi, 0x69e8f8
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a86f7
test dword [eax], 0xffffff00
je 0x4a86e6
cmp byte [edi], 0
jne 0x4a86f1
mov al, byte [0x69e8f8]
test al, al
jne 0x4a86fe
jmp 0x4a874a
cmp edi, 0x69e8f8
sete al
test al, al
jne 0x4a874a
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a872a
lea edi, [eax + 4]
test edi, edi
je 0x4a871d
mov esi, 0x69e8f4
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a873f
test dword [eax], 0xffffff00
je 0x4a872a
cmp byte [edi], 0
jne 0x4a8739
mov al, byte [0x69e8f4]
test al, al
jne 0x4a8817
jmp 0x4a874a
cmp edi, 0x69e8f4
sete al
test al, al
je 0x4a8817
mov edx, dword [esp + 0xf8]
mov ecx, dword [esp + 0x14]
cmp dword [edx], ecx
je 0x4a8796
mov esi, edx
mov ecx, esi
call fcn.004039f0
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esi], eax
je 0x4a8796
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a878f
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a8796
mov ecx, esi
call fcn.0049d350
push 0
push 7
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0049d1f0
mov edx, dword [ebx]
cmp edx, dword [esp + 0x10]
je 0x4a87ee
mov ecx, ebx
call fcn.004039f0
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [ebx], eax
je 0x4a87ee
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a87e7
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a87ee
mov ecx, ebx
call fcn.0049d350
lea ecx, [esp + 0x10]
call fcn.004039f0
mov ecx, ebx
call fcn.0049d350
mov eax, dword [ebx]
test eax, eax
je 0x4a8809
add eax, 4
jmp 0x4a880b
xor eax, eax
push 6
push eax
push 0x5a
push 0x400
call ebp
mov eax, dword [ebx]
test eax, eax
je 0x4a8889
mov ecx, dword [eax]
shr ecx, 8
test ecx, ecx
je 0x4a884e
test eax, eax
je 0x4a882f
lea ecx, [eax + 4]
jmp 0x4a8831
xor ecx, ecx
cmp byte [ecx], 0
je 0x4a884e
test eax, eax
je 0x4a883f
add eax, 4
jmp 0x4a8841
xor eax, eax
push eax
call fcn.00488582
add esp, 4
test eax, eax
jne 0x4a8889
mov eax, dword [ebx]
xor ebp, ebp
cmp eax, ebp
je 0x4a8889
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8889
cmp eax, ebp
je 0x4a8868
lea ecx, [eax + 4]
jmp 0x4a886a
xor ecx, ecx
cmp byte [ecx], 0
je 0x4a8889
cmp eax, ebp
je 0x4a8878
lea edi, [eax + 4]
jmp 0x4a887a
xor edi, edi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jbe 0x4a88f9
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
mov edi, 0x69e8f0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x69e8f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov edx, dword [ebx]
cmp edx, dword [esp + 0x10]
je 0x4a88f0
mov ecx, ebx
call fcn.004039f0
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov dword [ebx], eax
je 0x4a88f0
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a88e9
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a88f0
mov ecx, ebx
call fcn.0049d350
lea ecx, [esp + 0x10]
call fcn.004039f0
mov edx, dword [esp + 0xf8]
mov eax, dword [edx]
cmp eax, ebp
je 0x4a8953
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8936
cmp eax, ebp
je 0x4a8924
lea edi, [eax + 4]
mov esi, 0x69e8ec
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a899f
xor edi, edi
mov esi, 0x69e8ec
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a899f
cmp eax, ebp
je 0x4a8953
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8953
cmp eax, ebp
je 0x4a894c
lea ecx, [eax + 4]
jmp 0x4a894e
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a898e
mov cl, byte [0x69e8ec]
test cl, cl
je 0x4a89a6
cmp eax, ebp
je 0x4a8b09
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8ae8
cmp eax, ebp
je 0x4a8ad3
lea edi, [eax + 4]
mov esi, 0x69e8e8
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8be9
cmp eax, ebp
je 0x4a8997
lea ecx, [eax + 4]
jmp 0x4a8999
xor ecx, ecx
cmp ecx, 0x69e8ec
sete cl
test cl, cl
je 0x4a895d
mov eax, dword [ebx]
cmp eax, ebp
je 0x4a89f9
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a89dc
cmp eax, ebp
je 0x4a89ca
lea edi, [eax + 4]
mov esi, 0x69e8e4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8a3d
xor edi, edi
mov esi, 0x69e8e4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8a3d
cmp eax, ebp
je 0x4a89f9
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a89f9
cmp eax, ebp
je 0x4a89f2
lea ecx, [eax + 4]
jmp 0x4a89f4
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8a2c
mov cl, byte [0x69e8e4]
test cl, cl
je 0x4a8a44
cmp eax, ebp
je 0x4a8a8f
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8a72
cmp eax, ebp
je 0x4a8a60
lea edi, [eax + 4]
mov esi, 0x69e8e0
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8aae
cmp eax, ebp
je 0x4a8a35
lea ecx, [eax + 4]
jmp 0x4a8a37
xor ecx, ecx
cmp ecx, 0x69e8e4
sete cl
test cl, cl
je 0x4a8a03
xor eax, eax
mov edi, str.zh_CN
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.zh_CN
jmp 0x4a8daa
xor edi, edi
mov esi, 0x69e8e0
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8aae
cmp eax, ebp
je 0x4a8a8f
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8a8f
cmp eax, ebp
je 0x4a8a88
lea ecx, [eax + 4]
jmp 0x4a8a8a
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8a9e
mov al, byte [0x69e8e0]
test al, al
jne 0x4a8b8c
jmp 0x4a8ab9
cmp eax, ebp
je 0x4a8aa7
add eax, 4
jmp 0x4a8aa9
xor eax, eax
cmp eax, 0x69e8e0
sete al
test al, al
je 0x4a8b8c
or ecx, 0xffffffff
xor eax, eax
mov edi, str.zh_TW
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.zh_TW
jmp 0x4a8daa
xor edi, edi
mov esi, 0x69e8e8
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8be9
cmp eax, ebp
je 0x4a8b09
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8b09
cmp eax, ebp
je 0x4a8afe
lea ecx, [eax + 4]
jmp 0x4a8b00
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8bd8
mov cl, byte [0x69e8e8]
test cl, cl
jne 0x4a8bf4
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x699598
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x699598
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov esi, dword [esp + 0xf8]
mov edx, dword [esi]
cmp edx, dword [esp + 0x10]
je 0x4a8b83
mov ecx, esi
call fcn.004039f0
mov eax, dword [esp + 0x10]
cmp eax, ebp
mov dword [esi], eax
je 0x4a8b83
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a8b7c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a8b83
mov ecx, esi
call fcn.0049d350
lea ecx, [esp + 0x10]
call fcn.004039f0
mov al, byte [esp + 0x100]
test al, al
je 0x4a9674
push 1
push 4
lea edx, [esp + 0x18]
push edx
push str.ytHLocal::lang
push str.Preferences
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebp
call fcn.0043c9a0
lea ecx, [esp + 0x34]
call fcn.004ccff0
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4a9289
lea ecx, [eax + 4]
jmp 0x4a928b
cmp eax, ebp
je 0x4a8be1
lea ecx, [eax + 4]
jmp 0x4a8be3
xor ecx, ecx
cmp ecx, 0x69e8e8
sete cl
test cl, cl
jne 0x4a8b17
cmp eax, ebp
je 0x4a8c45
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8c28
cmp eax, ebp
je 0x4a8c16
lea edi, [eax + 4]
mov esi, 0x69e8bc
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8c65
xor edi, edi
mov esi, 0x69e8bc
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8c65
cmp eax, ebp
je 0x4a8c45
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8c45
cmp eax, ebp
je 0x4a8c3e
lea ecx, [eax + 4]
jmp 0x4a8c40
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8c54
mov cl, byte [0x69e8bc]
test cl, cl
jne 0x4a8c70
jmp 0x4a8b17
cmp eax, ebp
je 0x4a8c5d
lea ecx, [eax + 4]
jmp 0x4a8c5f
xor ecx, ecx
cmp ecx, 0x69e8bc
sete cl
test cl, cl
jne 0x4a8b17
cmp eax, ebp
je 0x4a8cc1
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8ca4
cmp eax, ebp
je 0x4a8c92
lea edi, [eax + 4]
mov esi, 0x69e8b8
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8d0d
xor edi, edi
mov esi, 0x69e8b8
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8d0d
cmp eax, ebp
je 0x4a8cc1
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8cc1
cmp eax, ebp
je 0x4a8cba
lea ecx, [eax + 4]
jmp 0x4a8cbc
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8cfc
mov cl, byte [0x69e8b8]
test cl, cl
je 0x4a8d14
cmp eax, ebp
je 0x4a8df8
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8ddb
cmp eax, ebp
je 0x4a8dc9
lea edi, [eax + 4]
mov esi, 0x69e8b4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8e44
cmp eax, ebp
je 0x4a8d05
lea ecx, [eax + 4]
jmp 0x4a8d07
xor ecx, ecx
cmp ecx, 0x69e8b8
sete cl
test cl, cl
je 0x4a8ccb
mov ecx, dword [ebx]
cmp ecx, ebp
je 0x4a8d67
lea edx, [ecx + 4]
cmp edx, ebp
je 0x4a8d4a
cmp ecx, ebp
je 0x4a8d38
lea edi, [ecx + 4]
mov esi, 0x69e8b0
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8d88
xor edi, edi
mov esi, 0x69e8b0
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8d88
cmp ecx, ebp
je 0x4a8d67
mov edx, dword [ecx]
shr edx, 8
cmp edx, ebp
je 0x4a8d67
cmp ecx, ebp
je 0x4a8d60
lea edx, [ecx + 4]
jmp 0x4a8d62
xor edx, edx
cmp byte [edx], 0
jne 0x4a8d77
mov cl, byte [0x69e8b0]
test cl, cl
jne 0x4a8ccb
jmp 0x4a8d93
cmp ecx, ebp
je 0x4a8d80
add ecx, 4
jmp 0x4a8d82
xor ecx, ecx
cmp ecx, 0x69e8b0
sete cl
test cl, cl
je 0x4a8ccb
xor eax, eax
mov edi, str.en_GB
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.en_GB
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov esi, dword [esp + 0xf8]
mov eax, dword [esi]
cmp eax, dword [esp + 0x10]
jmp 0x4a8b46
xor edi, edi
mov esi, 0x69e8b4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8e44
cmp eax, ebp
je 0x4a8df8
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8df8
cmp eax, ebp
je 0x4a8df1
lea ecx, [eax + 4]
jmp 0x4a8df3
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8e33
mov cl, byte [0x69e8b4]
test cl, cl
je 0x4a8e4b
cmp eax, ebp
je 0x4a913d
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a9120
cmp eax, ebp
je 0x4a910e
lea edi, [eax + 4]
mov esi, 0x69e8f4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a915c
cmp eax, ebp
je 0x4a8e3c
lea ecx, [eax + 4]
jmp 0x4a8e3e
xor ecx, ecx
cmp ecx, 0x69e8b4
sete cl
test cl, cl
je 0x4a8e02
mov eax, dword [ebx]
cmp eax, ebp
je 0x4a8ea8
lea ecx, [eax + 4]
cmp ecx, ebp
je 0x4a8e87
cmp eax, ebp
je 0x4a8e72
lea edi, [eax + 4]
mov esi, 0x69e8a4
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8f50
xor edi, edi
mov esi, 0x69e8a4
mov ecx, 3
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a8f50
cmp eax, ebp
je 0x4a8ea8
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a8ea8
cmp eax, ebp
je 0x4a8e9d
lea ecx, [eax + 4]
jmp 0x4a8e9f
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a8f40
mov al, byte [0x69e8a4]
test al, al
je 0x4a8f5b
or ecx, 0xffffffff
xor eax, eax
mov edi, str.pt_PT
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.pt_PT
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov edi, dword [esp + 0xf8]
mov esi, dword [edi]
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x4a90a2
cmp esi, ebp
je 0x4a9065
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a9063
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a9050
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x4a904b
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a9050
cmp eax, ebp
je 0x4a8f49
add eax, 4
jmp 0x4a8f4b
xor eax, eax
cmp eax, 0x69e8a4
sete al
test al, al
je 0x4a8eb5
or ecx, 0xffffffff
xor eax, eax
mov edi, str.pt_BR
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.pt_BR
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov edi, dword [esp + 0xf8]
mov esi, dword [edi]
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x4a9233
cmp esi, ebp
je 0x4a8fef
mov ecx, dword [esi]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a8fed
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a8fda
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a8fd5
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a8fda
mov eax, 0xff
cmp eax, ebp
jne 0x4a8fe9
mov eax, dword [edi]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
cmp eax, ebp
mov dword [edi], eax
je 0x4a8b8c
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a9020
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a922f
mov ecx, dword [esp + 0xf8]
jmp 0x4a922a
mov eax, 0xff
cmp eax, ebp
jne 0x4a8b8c
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00499410
add esp, 4
jmp 0x4a8b8c
mov eax, 0xff
cmp eax, ebp
jne 0x4a905f
mov ecx, dword [edi]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
cmp eax, ebp
mov dword [edi], eax
je 0x4a8b8c
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
jae 0x4a9092
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a909e
mov ecx, dword [esp + 0xf8]
call fcn.0049d350
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4a8b8c
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x4a8b8c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a90f4
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a90ef
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a90f4
mov eax, 0xff
cmp eax, ebp
jne 0x4a8b8c
mov eax, dword [esp + 0x10]
push eax
call fcn.00499410
add esp, 4
jmp 0x4a8b8c
xor edi, edi
mov esi, 0x69e8f4
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jmp 0x4a915c
cmp eax, ebp
je 0x4a913d
mov ecx, dword [eax]
shr ecx, 8
cmp ecx, ebp
je 0x4a913d
cmp eax, ebp
je 0x4a9136
lea ecx, [eax + 4]
jmp 0x4a9138
xor ecx, ecx
cmp byte [ecx], 0
jne 0x4a914c
mov al, byte [0x69e8f4]
test al, al
jne 0x4a8b8c
jmp 0x4a9167
cmp eax, ebp
je 0x4a9155
add eax, 4
jmp 0x4a9157
xor eax, eax
cmp eax, 0x69e8f4
sete al
test al, al
je 0x4a8b8c
or ecx, 0xffffffff
xor eax, eax
mov edi, 0x69e890
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x69e890
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebp
call fcn.0049d9d0
mov edi, dword [esp + 0xf8]
mov esi, dword [edi]
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x4a9233
cmp esi, ebp
je 0x4a91fb
mov ecx, dword [esi]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a91f9
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a91e6
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a91e1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a91e6
mov eax, 0xff
cmp eax, ebp
jne 0x4a91f5
mov eax, dword [edi]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
cmp eax, ebp
mov dword [edi], eax
je 0x4a8b8c
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a9228
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a922f
mov ecx, edi
call fcn.0049d350
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4a8b8c
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov esi, eax
jae 0x4a8b8c
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a9031
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x4a902c
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a9031
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4a9298
add eax, 4
jmp 0x4a929a
xor eax, eax
push 0xf003f
push ecx
push eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.004cd0a0
test eax, eax
je 0x4a92e6
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4a92c0
lea ecx, [eax + 4]
jmp 0x4a92c2
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x4a92cf
add eax, 4
jmp 0x4a92d1
xor eax, eax
push 0x20019
push ecx
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.004cd0a0
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], 4
call fcn.004cd430
lea ecx, [esp + 0x34]
call fcn.004cd270
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x34]
call fcn.004cd000
lea ecx, [esp + 0x20]
call fcn.004039f0
mov eax, dword [esp + 0x1c]
cmp eax, ebp
mov dword [esp + 0x20], ebp
je 0x4a9386
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
mov edi, eax
jae 0x4a9386
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a9375
mov eax, dword [edi]
and eax, 0xff
cmp eax, 0x80
jae 0x4a9370
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a9375
mov eax, 0xff
cmp eax, ebp
jne 0x4a9386
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00499410
add esp, 4
cmp esi, ebp
je 0x4a9674
cmp esi, 0x2c
jae 0x4a9674
mov dword [esp + 0x44], 0x6b6e10
mov dword [esp + 0x48], 0x69e8b8
mov dword [esp + 0x4c], 0x69e88c
mov dword [esp + 0x50], 0x69e888
mov dword [esp + 0x54], 0x69e884
mov dword [esp + 0x58], 0x69e880
mov dword [esp + 0x5c], str.zh_CN
mov dword [esp + 0x60], str.zh_TW
mov dword [esp + 0x64], 0x69e87c
mov dword [esp + 0x68], 0x69e878
mov dword [esp + 0x6c], 0x69e874
mov dword [esp + 0x70], str.pt_BR
mov dword [esp + 0x74], 0x69e870
mov dword [esp + 0x78], str.en_GB
mov dword [esp + 0x7c], 0x69e86c
mov dword [esp + 0x80], 0x69e868
mov dword [esp + 0x84], 0x699598
mov dword [esp + 0x88], 0x69e864
mov dword [esp + 0x8c], 0x69e860
mov dword [esp + 0x90], 0x69e8b0
mov dword [esp + 0x94], 0x69e85c
mov dword [esp + 0x98], 0x69e858
mov dword [esp + 0x9c], 0x69e854
mov dword [esp + 0xa0], 0x69e850
mov dword [esp + 0xa4], 0x69e8f8
mov dword [esp + 0xa8], 0x69e84c
mov dword [esp + 0xac], 0x69e848
mov dword [esp + 0xb0], 0x69e844
mov dword [esp + 0xb4], 0x69e840
mov dword [esp + 0xb8], 0x69e83c
mov dword [esp + 0xbc], 0x69e838
mov dword [esp + 0xc0], 0x69e834
mov dword [esp + 0xc4], 0x69e830
mov dword [esp + 0xc8], 0x69e82c
mov dword [esp + 0xcc], 0x69e828
mov dword [esp + 0xd0], 0x69e890
mov dword [esp + 0xd4], 0x69e824
mov dword [esp + 0xd8], 0x69e820
mov dword [esp + 0xdc], 0x66189c
mov dword [esp + 0xe0], 0x69e81c
mov dword [esp + 0xe4], str.pt_PT
mov dword [esp + 0xe8], 0x69e818
mov dword [esp + 0xec], 0x69e814
mov dword [esp + 0xf0], str.xx_bork
mov edx, dword [esp + esi*4 + 0x44]
xor eax, eax
cmp edx, ebp
mov dword [esp + 0x10], eax
je 0x4a9575
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0049d9d0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xf8]
mov esi, dword [edi]
cmp esi, eax
je 0x4a9619
cmp esi, ebp
je 0x4a95e1
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a95df
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a95cc
mov eax, dword [esi]
and eax, 0xff
cmp eax, 0x80
jae 0x4a95c7
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a95cc
mov eax, 0xff
cmp eax, ebp
jne 0x4a95db
mov ecx, dword [edi]
push ecx
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [edi], ebp
cmp eax, ebp
mov dword [edi], eax
je 0x4a9674
mov edx, dword [eax]
and edx, 0xff
cmp edx, 0x80
jae 0x4a960e
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
cmp eax, 0xff
jne 0x4a9615
mov ecx, edi
call fcn.0049d350
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4a9674
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov esi, eax
jae 0x4a9674
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a9663
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a965e
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a9663
mov eax, 0xff
cmp eax, ebp
jne 0x4a9674
mov eax, dword [esp + 0x10]
push eax
call fcn.00499410
add esp, 4
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x4a96d1
mov ecx, dword [esi]
and ecx, 0xff
cmp ecx, 0x80
jae 0x4a96d1
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4a96c0
mov edx, dword [esi]
and edx, 0xff
cmp edx, 0x80
jae 0x4a96bb
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4a96c0
mov eax, 0xff
cmp eax, ebp
jne 0x4a96d1
mov eax, dword [esp + 0x14]
push eax
call fcn.00499410
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe4
ret