Function at 0x46c690
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d159b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x75d454]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], 0
mov eax, dword [0x4d9590]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call fcn.0046c110
mov ebx, dword [ebp + 8]
mov eax, dword [0x4d9590]
mov dword [ebx], eax
mov ecx, ebx
mov dword [ebp - 0x40], 1
call fcn.0046c110
mov edi, dword [0x4d955c]
push 0
push 0x4da0cc
call edi
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [0x75e884]
mov byte [ebp - 4], 2
test eax, eax
jne 0x46c738
push 0x230
call fcn.004c3b7c
add esp, 4
mov dword [ebp - 0x50], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00465630
mov byte [ebp - 4], 2
mov dword [0x75e884], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00463cd0
push eax
lea ecx, [ebp - 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
push ecx
push str.qstrCountryCode:
mov ecx, eax
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9628]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call dword [0x4d9580]
push 0
push 0x4da0cc
call edi
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [0x75e884]
mov byte [ebp - 4], 5
test eax, eax
jne 0x46c7dd
push 0x230
call fcn.004c3b7c
add esp, 4
mov dword [ebp - 0x50], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00465630
mov byte [ebp - 4], 5
mov dword [0x75e884], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.00484d10
push eax
lea ecx, [ebp - 0x18]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
push ecx
push str.qstrStateCode:
mov ecx, eax
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9628]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call dword [0x4d9580]
push 0
push 0x4da0cc
call edi
add esp, 8
mov dword [ebp - 0x38], eax
mov eax, dword [0x75e884]
mov byte [ebp - 4], 8
test eax, eax
jne 0x46c882
push 0x230
call fcn.004c3b7c
add esp, 4
mov dword [ebp - 0x50], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00465630
mov byte [ebp - 4], 8
mov dword [0x75e884], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0046c470
push eax
lea ecx, [ebp - 0x38]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push ecx
push str.qstrCityCode:
mov ecx, eax
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9628]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call dword [0x4d9580]
push 0
push 0x4da0cc
call edi
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [0x75e884]
mov byte [ebp - 4], 0xb
test eax, eax
jne 0x46c927
push 0x230
call fcn.004c3b7c
add esp, 4
mov dword [ebp - 0x50], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00465630
mov byte [ebp - 4], 0xb
mov dword [0x75e884], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0046c490
push eax
lea ecx, [ebp - 0x20]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
push 0
push 0x4da0cc
call edi
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [0x75e884]
mov byte [ebp - 4], 0xd
test eax, eax
jne 0x46c987
push 0x230
call fcn.004c3b7c
add esp, 4
mov dword [ebp - 0x50], eax
push 0
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00465630
mov byte [ebp - 4], 0xd
mov dword [0x75e884], eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
call fcn.0046c4b0
push eax
lea ecx, [ebp - 0x1c]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
mov ecx, dword [ebp + 0x10]
dec ecx
cmp ecx, 4
ja case.default.0x46c9b2
jmp dword [ecx*4 + 0x46d300]
lea edi, [esi + 0x70]
push edi
lea ecx, [ebp - 0x10]
call fcn.004666b0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call dword [0x4d9570]
push eax
mov ecx, esi
call dword [0x4d9764]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
call dword [0x4d9580]
mov esi, dword [0x4d955c]
push 0
push 0x4da0cc
call esi
mov dword [ebp - 0x30], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x10
call esi
add esp, 0x10
mov dword [ebp + 0x14], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
xor esi, esi
call dword [0x4d9570]
test eax, eax
je 0x46cab8
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x46ca59
test ecx, ecx
je 0x46ca59
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00483510
push esi
lea ecx, [ebp - 0x10]
call dword [0x4d9574]
mov edi, dword [eax]
test edi, edi
je 0x46caaa
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00484900
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
push 0
push 0
push dword [ebp + 0xc]
lea ecx, [ebp + 0x14]
call dword [0x4d95dc]
cmp eax, 0xffffffff
je 0x46caaa
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
push eax
mov ecx, ebx
call fcn.0047dc00
lea ecx, [ebp - 0x10]
inc esi
call dword [0x4d9570]
cmp esi, eax
jb 0x46ca40
lea ecx, [ebp + 0x14]
call dword [0x4d9548]
lea ecx, [ebp - 0x30]
jmp 0x46d1a6
lea eax, [esi + 0x74]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
push 0
push 0x4da0cc
call edi
mov dword [ebp + 0x14], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x12
call edi
add esp, 0x10
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x13
xor edi, edi
call dword [0x4d9570]
test eax, eax
je 0x46cbef
nop dword [eax + eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x46cb29
test ecx, ecx
je 0x46cb29
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00483510
push edi
lea ecx, [ebp - 0x10]
call dword [0x4d9574]
mov esi, dword [eax]
test esi, esi
je 0x46cbdd
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46cb60
lea eax, [ebp - 0x3c]
push eax
call fcn.0044b960
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x3c]
call dword [0x4d9548]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0
je 0x46cb9c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x46cb9c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [0x4d9554]
add esp, 8
test al, al
jne 0x46cb9c
lea eax, [ebp - 0x14]
push eax
push str.random
call fcn.00460eb0
add esp, 8
test al, al
je 0x46cbdd
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00484900
push eax
lea ecx, [ebp - 0x24]
call dword [0x4d9550]
lea ecx, [ebp - 0x34]
call dword [0x4d9548]
push 0
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
call dword [0x4d95dc]
cmp eax, 0xffffffff
je 0x46cbdd
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], esi
push eax
mov ecx, ebx
call fcn.0047dc00
lea ecx, [ebp - 0x10]
inc edi
call dword [0x4d9570]
cmp edi, eax
jb 0x46cb10
lea ecx, [ebp - 0x24]
jmp 0x46d19d
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
push 0
push 0x4da0cc
call edi
mov dword [ebp - 0x24], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x14
call edi
mov dword [ebp + 0x14], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x15
call edi
add esp, 0x18
mov dword [ebp - 0x34], eax
xor edi, edi
mov byte [ebp - 4], 0x16
xor esi, esi
mov dword [ebp - 0x28], edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], esi
call dword [0x4d9570]
test eax, eax
je 0x46cdb3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x46cc70
test ecx, ecx
je 0x46cc70
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00483510
push esi
lea ecx, [ebp - 0x10]
call dword [0x4d9574]
mov esi, dword [eax]
test esi, esi
je 0x46cd9b
mov edi, dword [esi + 8]
test edi, edi
je 0x46cccc
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0044b960
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x44]
call dword [0x4d9548]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x46cccc
lea eax, [ebp - 0x48]
push eax
call fcn.0044b960
push eax
lea ecx, [ebp - 0x24]
call dword [0x4d9550]
lea ecx, [ebp - 0x48]
call dword [0x4d9548]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
je 0x46cd0c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x46cd0c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [0x4d9554]
add esp, 8
test al, al
jne 0x46cd0c
lea eax, [ebp - 0x14]
push eax
push str.random
call fcn.00460eb0
add esp, 8
test al, al
je 0x46cd98
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp - 0x28]
inc edi
mov dword [ebp - 0x28], edi
cmp dword [eax + 4], 0
je 0x46cd4f
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
je 0x46cd4f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [0x4d9554]
add esp, 8
test al, al
jne 0x46cd4f
lea eax, [ebp - 0x18]
push eax
push str.random
call fcn.00460eb0
add esp, 8
test al, al
je 0x46cd9b
inc dword [ebp - 0x2c]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.00484900
push eax
lea ecx, [ebp - 0x34]
call dword [0x4d9550]
lea ecx, [ebp - 0x4c]
call dword [0x4d9548]
push 0
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call dword [0x4d95dc]
cmp eax, 0xffffffff
je 0x46cd9b
inc dword [ebp - 0x30]
lea eax, [ebp - 0x50]
push eax
mov ecx, ebx
mov dword [ebp - 0x50], esi
call fcn.0047dc00
jmp 0x46cd9b
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x10]
inc esi
mov dword [ebp - 0x3c], esi
call dword [0x4d9570]
cmp esi, eax
jb 0x46cc57
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov esi, dword [0x4d9540]
mov ecx, eax
call esi
push edi
push str.nCountrySize
mov ecx, eax
mov byte [ebp - 4], 0x17
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9764]
mov edi, dword [0x4d9580]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x16
call edi
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call esi
push dword [ebp - 0x2c]
mov ecx, eax
mov byte [ebp - 4], 0x18
push str.nStateSize
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9764]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x16
call edi
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call esi
push dword [ebp - 0x30]
mov ecx, eax
mov byte [ebp - 4], 0x19
push str.nCitySize
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9764]
lea ecx, [ebp - 0x50]
call edi
lea ecx, [ebp - 0x34]
call dword [0x4d9548]
lea ecx, [ebp + 0x14]
call dword [0x4d9548]
lea ecx, [ebp - 0x24]
jmp 0x46d1a6
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x46cec8
cmp eax, 2
jne 0x46ce9c
lea eax, [esi + 0xb8]
jmp 0x46cece
cmp eax, 3
jne 0x46cea9
lea eax, [esi + 0xbc]
jmp 0x46cece
cmp eax, 4
jne 0x46ceb6
lea eax, [esi + 0xc0]
jmp 0x46cece
cmp eax, 6
jne 0x46cec3
lea eax, [esi + 0xc4]
jmp 0x46cece
cmp eax, 0xb
jne 0x46ced7
lea eax, [esi + 0xb4]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
lea ecx, [ebp - 0x10]
call dword [0x4d9570]
test eax, eax
jne 0x46cf0b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x46ceff
push str.random
lea ecx, [ebp - 0x14]
call dword [0x4d9690]
test al, al
je 0x46cf0b
lea eax, [esi + 0x7c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
push 0
push 0x4da0cc
call edi
mov dword [ebp + 0x14], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x1a
call edi
add esp, 0x10
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
xor edi, edi
call dword [0x4d9570]
test eax, eax
je 0x46d19a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x46cf5a
test ecx, ecx
je 0x46cf5a
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00483510
push edi
lea ecx, [ebp - 0x10]
call dword [0x4d9574]
mov esi, dword [eax]
test esi, esi
je 0x46d009
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0044b960
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x50]
call dword [0x4d9548]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0
je 0x46cfc8
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [0x4d9554]
add esp, 8
test al, al
jne 0x46cfc8
lea eax, [ebp - 0x20]
push eax
push str.random
call fcn.00460eb0
add esp, 8
test al, al
jne 0x46cfc8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
jne 0x46d009
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00484900
push eax
lea ecx, [ebp - 0x34]
call dword [0x4d9550]
lea ecx, [ebp - 0x4c]
call dword [0x4d9548]
push 0
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call dword [0x4d95dc]
cmp eax, 0xffffffff
je 0x46d009
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
mov ecx, ebx
call fcn.0047dc00
lea ecx, [ebp - 0x10]
inc edi
call dword [0x4d9570]
cmp edi, eax
jb 0x46cf41
jmp 0x46d19a
mov eax, dword [ebp + 0x14]
cmp eax, 1
jne 0x46d030
lea eax, [esi + 0xc8]
jmp 0x46d062
cmp eax, 2
jne 0x46d03d
lea eax, [esi + 0xcc]
jmp 0x46d062
cmp eax, 3
jne 0x46d04a
lea eax, [esi + 0xd0]
jmp 0x46d062
cmp eax, 4
jne 0x46d057
lea eax, [esi + 0xd4]
jmp 0x46d062
cmp eax, 6
jne 0x46d06b
lea eax, [esi + 0xd8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
lea ecx, [ebp - 0x10]
call dword [0x4d9570]
test eax, eax
jne 0x46d087
lea eax, [esi + 0x80]
push eax
lea ecx, [ebp - 0x10]
call fcn.004666b0
push 0
push 0x4da0cc
call edi
mov dword [ebp + 0x14], eax
push 0
push 0x4da0cc
mov byte [ebp - 4], 0x1c
call edi
add esp, 0x10
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1d
xor edi, edi
call dword [0x4d9570]
test eax, eax
je 0x46d19a
nop dword [eax]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
cmp ecx, 1
je 0x46d0d9
test ecx, ecx
je 0x46d0d9
push dword [eax + 4]
lea ecx, [ebp - 0x10]
call fcn.00483510
push edi
lea ecx, [ebp - 0x10]
call dword [0x4d9574]
mov esi, dword [eax]
test esi, esi
je 0x46d188
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.0044b960
push eax
lea ecx, [ebp + 0x14]
call dword [0x4d9550]
lea ecx, [ebp - 0x50]
call dword [0x4d9548]
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 0
je 0x46d147
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x14]
push eax
call dword [0x4d9554]
add esp, 8
test al, al
jne 0x46d147
lea eax, [ebp - 0x1c]
push eax
push str.random
call fcn.00460eb0
add esp, 8
test al, al
jne 0x46d147
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x46d188
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00484900
push eax
lea ecx, [ebp - 0x34]
call dword [0x4d9550]
lea ecx, [ebp - 0x4c]
call dword [0x4d9548]
push 0
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
call dword [0x4d95dc]
cmp eax, 0xffffffff
je 0x46d188
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
mov ecx, ebx
call fcn.0047dc00
lea ecx, [ebp - 0x10]
inc edi
call dword [0x4d9570]
cmp edi, eax
jb 0x46d0c0
lea ecx, [ebp - 0x34]
call dword [0x4d9548]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xd
call dword [0x4d9548]
lea eax, [ebp + 0x14]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
push dword [ebp + 0xc]
mov ecx, eax
mov byte [ebp - 4], 0x1e
push str.Search_Key:
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9628]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xd
call dword [0x4d9580]
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
push dword [ebp + 0x10]
mov ecx, eax
mov byte [ebp - 4], 0x1f
push str.Search_enumValue:
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9764]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xd
call dword [0x4d9580]
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x64]
call dword [0x4d953c]
mov ecx, eax
call dword [0x4d9540]
mov esi, eax
mov ecx, ebx
mov byte [ebp - 4], 0x20
call dword [0x4d9570]
push 0x4dc8c4
push eax
push str.Search_result_size:
mov ecx, esi
call dword [0x4d9588]
mov ecx, eax
call dword [0x4d9764]
mov ecx, eax
call dword [0x4d9588]
lea ecx, [ebp + 0xc]
call dword [0x4d9580]
lea ecx, [ebp - 0x1c]
call dword [0x4d9548]
lea ecx, [ebp - 0x20]
call dword [0x4d9548]
lea ecx, [ebp - 0x38]
call dword [0x4d9548]
lea ecx, [ebp - 0x18]
call dword [0x4d9548]
lea ecx, [ebp - 0x14]
call dword [0x4d9548]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0x21
mov ecx, dword [eax]
test ecx, ecx
je 0x46d2e0
cmp ecx, 0xffffffff
je 0x46d2ea
or ecx, 0xffffffff
lock xadd dword [eax], ecx
setne al
test al, al
jne 0x46d2ea
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4d9568]
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10