Function at 0x405390
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0x58
push 0xffffffffffffffff
push 0x4744b4
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4931b8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp + 0x44], ecx
xor esi, esi
mov dword [ebp + 0x50], esi
mov dword [ebp - 4], esi
mov byte [ebp + 0x57], 1
call fcn.00440f8f
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4053e9
push 0x80004005
call fcn.004014f0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp + 4], eax
xor ecx, ecx
push 4
mov word [ebp - 0x28], cx
push 0x479de0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040b780
mov ebx, dword [ebp + 0x78]
mov edi, dword [ebp + 0x60]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 2
mov dword [ebp + 0x50], 1
call fcn.0040b0d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x40544c
cmp eax, edi
je 0x405451
call fcn.00456648
cmp dword [esi + 4], ebx
je 0x40549f
xor ecx, ecx
push 4
mov word [ebp + 0x10], cx
push 0x479dec
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], 0
call fcn.0040b780
mov eax, 3
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp + 0x60]
mov dword [ebp - 4], eax
mov dword [ebp + 0x50], eax
call fcn.0040ddd0
mov ecx, dword [eax]
call fcn.00414cd0
test al, al
je 0x40549f
mov bl, 1
jmp 0x4054a1
xor bl, bl
test byte [ebp + 0x50], 2
je 0x4054d4
and dword [ebp + 0x50], 0xfffffffd
cmp dword [ebp + 0x24], 8
jb 0x4054bd
mov eax, dword [ebp + 0x10]
push eax
call fcn.00433e2f
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x20], 0
mov word [ebp + 0x10], cx
jmp 0x4054d9
mov edi, 7
test byte [ebp + 0x50], 1
mov esi, 8
mov dword [ebp - 4], 1
je 0x405500
and dword [ebp + 0x50], 0xfffffffe
cmp dword [ebp - 0x14], esi
jb 0x405500
mov edx, dword [ebp - 0x28]
push edx
call fcn.00433e2f
add esp, 4
test bl, bl
je 0x405592
push 4
xor eax, eax
push 0x479df8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040b780
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 4
call fcn.0040ddd0
mov ecx, dword [eax]
lea edx, [ebp + 0xc]
push edx
call fcn.00414d40
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], esi
jb 0x405550
mov eax, dword [eax + 4]
jmp 0x405553
add eax, 4
push eax
lea ecx, [ebp + 4]
call fcn.00409ae0
cmp dword [ebp + 0x24], esi
jb 0x40556d
mov eax, dword [ebp + 0x10]
push eax
call fcn.00433e2f
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x20], 0
mov word [ebp + 0x10], cx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], esi
jb 0x405592
mov edx, dword [ebp - 0x28]
push edx
call fcn.00433e2f
add esp, 4
mov eax, dword [ebp + 4]
push 0x479e04
push eax
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405751
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 6
call fcn.0040e0a0
push ecx
mov ecx, esp
mov dword [ebp], esp
push 0x479e08
mov byte [ebp - 4], 7
call fcn.0040be70
push ecx
mov ecx, esp
mov dword [ebp + 0x3c], esp
push str.http:__cdn.install.oibundles.com_bundles_Ask_ApnStub.exe
mov byte [ebp - 4], 8
call fcn.0040be70
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 7
call fcn.0040e110
lea ecx, [ebp + 0x3c]
push 0x479e64
push ecx
call fcn.0040c490
add esp, 8
push str.ApnStub.exe__tbADK
push eax
lea edx, [ebp + 0x38]
push edx
mov byte [ebp - 4], 9
call fcn.00409f70
add esp, 0xc
mov eax, dword [ebp + 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x4b]
call fcn.0041b430
mov edi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x38]
lea esi, [edi + 0x334]
push esi
push ecx
mov bl, 0xc
lea ecx, [ebp + 0x4b]
mov byte [ebp - 4], bl
call fcn.0041b580
mov edx, dword [esi]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi]
lea eax, [ebp + 0x40]
push eax
push ecx
mov dword [ebp + 0x40], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x405684
cmp dword [ebp + 0x40], 0xffffffff
jne 0x405688
mov byte [ebp + 0x57], 0
mov edx, dword [esi]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [edi + 0x338]
push eax
call esi
lea ecx, [ebp + 0x30]
push 0x479e7c
push ecx
call fcn.0040c490
add esp, 8
push str.ApnStub.exe
push eax
lea edx, [ebp + 0x2c]
push edx
mov byte [ebp - 4], 0xd
call fcn.00409f70
mov eax, dword [eax]
add esp, 0xc
push eax
call fcn.00458226
mov eax, dword [ebp + 0x2c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4056ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40570f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x4b]
mov byte [ebp - 4], 0xb
call fcn.0041b440
mov eax, dword [ebp + 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40573e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 6
call fcn.0040e0b0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 4]
push str.realplayer
push ecx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x4058ef
mov bl, 0xf
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], bl
call fcn.0040e0a0
push ecx
mov ecx, esp
mov dword [ebp], esp
push 0x479e94
mov byte [ebp - 4], 0x10
call fcn.0040be70
push ecx
mov ecx, esp
mov dword [ebp + 0x38], esp
push str.http:__cdn.install.oibundles.com_bundles_RealPlayer_check_offer_rp.dll
mov byte [ebp - 4], 0x11
call fcn.0040be70
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 0x10
call fcn.0040e110
lea edx, [ebp + 0x34]
push 0x479f04
push edx
call fcn.0040c490
add esp, 8
push 0x479ef0
push eax
lea eax, [ebp + 0x38]
push eax
mov byte [ebp - 4], 0x12
call fcn.00409f70
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov eax, dword [ebp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4057fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40581f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x405865
push str._checkRealPlayerEligible_8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405858
push str.R71PAK
push 0x12
call eax
test eax, eax
push esi
setne byte [ebp + 0x57]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x405869
push esi
mov byte [ebp + 0x57], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x405869
mov byte [ebp + 0x57], 0
lea ecx, [ebp + 0x34]
push 0x479f48
push ecx
call fcn.0040c490
add esp, 8
push str.check_offer_rp.dll
push eax
lea edx, [ebp + 0x38]
push edx
mov byte [ebp - 4], 0x13
call fcn.00409f70
mov eax, dword [eax]
add esp, 0xc
push eax
call fcn.00458226
mov eax, dword [ebp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4058dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], bl
call fcn.0040e0b0
mov dword [ebp - 4], 1
push str.conflictswith
sub esp, 0x20
lea edx, [ebp + 0x60]
mov dword [ebp], esp
mov ecx, esp
push edx
call fcn.0040da40
mov esi, dword [ebp + 0x44]
lea eax, [ebp + 0x28]
push eax
mov ecx, esi
call fcn.00403290
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x15
call fcn.00409480
mov ecx, dword [ebp + 0x28]
push 0x4796a9
push ecx
call fcn.0045677f
add esp, 8
test eax, eax
setne al
test al, al
je 0x405a13
xor ebx, ebx
cmp dword [esi + 0x354], ebx
jl 0x405a13
mov edi, 0x494a80
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00408340
lea esi, [eax + 0x10]
mov dword [ebp + 0x40], esi
push 0x4796aa
push esi
mov byte [ebp - 4], 0x16
call fcn.0045677f
add esp, 0xc
test eax, eax
setne al
test al, al
je 0x4059aa
lea ecx, [ebp + 0x40]
call fcn.00409480
mov esi, dword [ebp + 0x40]
test esi, esi
je 0x4059aa
mov eax, dword [ebp + 0x28]
cmp dword [eax - 0xc], 0
jl 0x4059aa
push esi
push eax
call fcn.00456b14
add esp, 8
test eax, eax
je 0x4059aa
sub eax, dword [ebp + 0x28]
cmp eax, 0xffffffff
jg 0x4059ef
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4059ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x44]
inc ebx
add edi, 0x498
cmp ebx, dword [ecx + 0x354]
jle 0x405950
jmp 0x405a13
lea eax, [esi - 0x10]
mov byte [ebp + 0x57], 0
mov byte [ebp - 4], 0x15
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405a13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
push 8
mov word [ebp - 0x28], cx
push 0x479f70
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.0040b780
or dword [ebp + 0x50], 4
mov ebx, dword [ebp + 0x78]
mov edi, dword [ebp + 0x60]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x17
call fcn.0040b0d0
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x405a60
cmp eax, edi
je 0x405a65
call fcn.00456648
cmp dword [esi + 4], ebx
je 0x405aba
xor ecx, ecx
push 8
mov word [ebp + 0x10], cx
push 0x479f84
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x24], 7
mov dword [ebp + 0x20], 0
call fcn.0040b780
mov ebx, dword [ebp + 0x50]
lea edx, [ebp + 0xc]
or ebx, 8
push edx
lea ecx, [ebp + 0x60]
mov dword [ebp - 4], 0x18
mov dword [ebp + 0x50], ebx
call fcn.0040ddd0
mov ecx, dword [eax]
call fcn.00414d00
test al, al
je 0x405abd
mov byte [ebp + 0x4b], 1
jmp 0x405ac1
mov ebx, dword [ebp + 0x50]
mov byte [ebp + 0x4b], 0
mov edi, 8
test bl, 8
je 0x405af6
and ebx, 0xfffffff7
cmp dword [ebp + 0x24], edi
jb 0x405adf
mov eax, dword [ebp + 0x10]
push eax
call fcn.00433e2f
add esp, 4
mov esi, 7
xor ecx, ecx
mov dword [ebp + 0x24], esi
mov dword [ebp + 0x20], 0
mov word [ebp + 0x10], cx
jmp 0x405afb
mov esi, 7
mov dword [ebp - 4], 0x15
test bl, 4
je 0x405b18
cmp dword [ebp - 0x14], edi
jb 0x405b18
mov edx, dword [ebp - 0x28]
push edx
call fcn.00433e2f
add esp, 4
cmp byte [ebp + 0x4b], 0
je 0x405fae
push edi
xor eax, eax
push str.criteria
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040b780
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x19
call fcn.0040ddd0
mov ecx, dword [eax]
lea edx, [ebp + 0x10]
push edx
call fcn.00415000
mov byte [ebp - 4], 0x1b
cmp dword [ebp - 0x14], edi
jb 0x405b70
mov eax, dword [ebp - 0x28]
push eax
call fcn.00433e2f
add esp, 4
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x1c]
xor ecx, ecx
xor edx, edx
sar eax, 2
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], dx
mov dword [ebp + 0x2c], ecx
cmp eax, ecx
jbe 0x405f87
mov ebx, dword [ebp + 0x44]
cmp dword [ebp + 0x2c], eax
jb 0x405b9f
call fcn.00456648
mov edx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [edx + ecx*4]
lea eax, [ebp - 0x4c]
push eax
call fcn.004151d0
push str.type
sub esp, 0x20
lea eax, [ebp - 0x4c]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040da40
lea ecx, [ebp + 0x50]
push ecx
mov ecx, ebx
call fcn.00403290
push 0x479fb8
sub esp, 0x20
lea edx, [ebp - 0x4c]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push edx
mov byte [ebp - 4], 0x1d
call fcn.0040da40
lea eax, [ebp + 0x4c]
push eax
mov ecx, ebx
call fcn.00403290
push str.name
sub esp, 0x20
lea edx, [ebp - 0x4c]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push edx
mov byte [ebp - 4], 0x1e
call fcn.0040da40
lea eax, [ebp + 0x44]
push eax
mov ecx, ebx
call fcn.00403290
push str.data
sub esp, 0x20
lea edx, [ebp - 0x4c]
mov dword [ebp + 0x3c], esp
mov ecx, esp
push edx
mov byte [ebp - 4], 0x1f
call fcn.0040da40
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.00403290
mov edi, eax
mov eax, dword [edi]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, esi
or eax, ecx
mov byte [ebp - 4], 0x20
jge 0x405c69
push esi
mov ecx, edi
call fcn.004082f0
mov eax, dword [edi]
lea ecx, [esi + 1]
push ecx
push eax
call fcn.004563a6
push eax
call fcn.004013d0
add esp, 0xc
test esi, esi
jl 0x406296
mov eax, dword [edi]
cmp esi, dword [eax - 8]
jg 0x406296
mov dword [eax - 0xc], esi
mov edx, dword [edi]
mov byte [esi + edx], 0
mov edi, dword [edi]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub edi, 0x10
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x405cc3
cmp eax, dword [edi]
jne 0x405cc3
mov esi, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x405cf7
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40625e
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
inc eax
push eax
add edi, 0x10
push edi
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.004560bc
add esp, 0x10
lea edi, [esi + 0x10]
mov dword [ebp + 0x3c], edi
mov eax, dword [ebp]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x22
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405d20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x50]
push 0x479fd8
push ecx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405d44
mov edx, dword [ebp + 0x4c]
push eax
push edx
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x405edd
mov eax, dword [ebp + 0x50]
push 0x479fe4
push eax
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405d68
mov ecx, dword [ebp + 0x4c]
push eax
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x405edd
mov edx, dword [ebp + 0x50]
push 0x479ffc
push edx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405d8c
push eax
mov eax, dword [ebp + 0x4c]
push eax
push SysReAllocStringLen
jmp 0x405edd
mov ecx, dword [ebp + 0x50]
push str.registry_currentuser_key
push ecx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405e29
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x4c]
push edx
push eax
lea ecx, [ebp + 8]
push SysReAllocStringLen
push ecx
call fcn.0040aea0
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x23
call fcn.00409480
test edi, edi
je 0x405e24
mov ecx, dword [ebp + 8]
cmp dword [ecx - 0xc], 0
jl 0x405e91
push edi
push ecx
call fcn.00456b14
add esp, 8
test eax, eax
je 0x405e24
mov ecx, dword [ebp + 8]
sub eax, ecx
cmp eax, 0xffffffff
jle 0x405e91
lea eax, [ecx - 0x10]
mov byte [ebp + 0x57], 0
mov byte [ebp - 4], 0x22
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ef2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405ef2
mov ecx, dword [ebp + 8]
jmp 0x405e91
mov ecx, dword [ebp + 0x50]
push str.registry_localmachine_key
push ecx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x405eba
mov edx, dword [ebp + 0x44]
mov eax, dword [ebp + 0x4c]
push edx
push eax
lea ecx, [ebp + 0x30]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
call fcn.0040aea0
add esp, 0x10
lea ecx, [ebp + 0x30]
mov byte [ebp - 4], 0x24
call fcn.00409480
test edi, edi
je 0x405e8e
mov ecx, dword [ebp + 0x30]
cmp dword [ecx - 0xc], 0
jl 0x405e91
push edi
push ecx
call fcn.00456b14
add esp, 8
test eax, eax
je 0x405e8e
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 0xffffffff
jg 0x405df7
jmp 0x405e91
mov ecx, dword [ebp + 0x30]
lea eax, [ecx - 0x10]
mov byte [ebp - 4], 0x22
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4061ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4061ac
mov ecx, dword [ebp + 0x50]
push 0x47a04c
push ecx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x40601d
mov edx, dword [ebp + 0x4c]
push eax
push edx
push SysReAllocStringLen
call fcn.004016c0
add esp, 0xc
cmp eax, 1
jne 0x4061ac
mov byte [ebp + 0x57], 0
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0x1f
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x44]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0x1e
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0x1d
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0x1c
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405f7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
call fcn.0040daf0
mov eax, dword [ebp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x405f99
push eax
call fcn.00433e2f
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x24], esi
call fcn.00433e2f
add esp, 4
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405fd1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 4]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405ff4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp + 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.0040daf0
mov al, byte [ebp + 0x57]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x58
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x50]
push 0x47a064
push eax
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x406090
lea ecx, [ebp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00402590
mov eax, dword [ebp + 0x4c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x50], esp
mov esi, esp
push eax
call fcn.00408340
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040ab90
add esp, 4
test al, al
je 0x4061ac
mov byte [ebp + 0x57], 0
lea ecx, [ebp + 0x3c]
call fcn.004088a0
lea ecx, [ebp + 0x44]
call fcn.004088a0
lea ecx, [ebp + 0x4c]
call fcn.004088a0
lea ecx, [ebp + 0x50]
call fcn.004088a0
jmp 0x405f7b
mov edx, dword [ebp + 0x50]
push 0x47a070
push edx
call fcn.004569bc
add esp, 8
test eax, eax
jne 0x4060f4
lea eax, [ebp + 0x34]
push 0x95
push eax
call fcn.0040f4c0
add esp, 8
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x406263
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 0xc], 0
jl 0x406263
push ecx
push eax
call fcn.00456b14
add esp, 8
test eax, eax
je 0x406263
sub eax, dword [ebp + 0x4c]
cmp eax, 0xffffffff
jle 0x406263
lea ecx, [ebp + 0x34]
jmp 0x4061a7
push str.browser
lea ecx, [ebp + 0x50]
call fcn.00407ef0
test eax, eax
jne 0x406151
lea ecx, [ebp + 0x38]
push 0x96
push ecx
call fcn.0040f4c0
add esp, 8
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x406274
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 0xc], 0
jl 0x406274
push ecx
push eax
call fcn.00456b14
add esp, 8
test eax, eax
je 0x406274
sub eax, dword [ebp + 0x4c]
cmp eax, 0xffffffff
jle 0x406274
lea ecx, [ebp + 0x38]
jmp 0x4061a7
push str.net_version
lea ecx, [ebp + 0x50]
call fcn.00407ef0
test eax, eax
jne 0x4061ac
lea edx, [ebp + 0x40]
push edx
call fcn.0040c630
add esp, 4
mov ecx, dword [ebp + 0x40]
test ecx, ecx
je 0x406285
mov eax, dword [ebp + 0x4c]
cmp dword [eax - 0xc], 0
jl 0x406285
push ecx
push eax
call fcn.00456b14
add esp, 8
test eax, eax
je 0x406285
sub eax, dword [ebp + 0x4c]
cmp eax, 0xffffffff
jle 0x406285
lea ecx, [ebp + 0x40]
call fcn.004088a0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x44]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4061ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x4c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406212
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406235
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1b
call fcn.0040daf0
mov eax, dword [ebp + 0x20]
sub eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x2c]
inc ecx
sar eax, 2
mov dword [ebp + 0x2c], ecx
cmp ecx, eax
jb 0x405b95
jmp 0x405f87
call fcn.00407930
lea ecx, [ebp + 0x34]
mov byte [ebp + 0x57], 0
call fcn.004088a0
jmp 0x40606b
lea ecx, [ebp + 0x38]
mov byte [ebp + 0x57], 0
call fcn.004088a0
jmp 0x40606b
lea ecx, [ebp + 0x40]
mov byte [ebp + 0x57], 0
call fcn.004088a0
jmp 0x40606b
push 0x80070057
call fcn.004014f0
int3