Function at 0x409350
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f02b9
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x6b7e40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x228], eax
push 0
push 0x63bfdc
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00402090
or ebx, 0xffffffff
mov edi, edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x2c8], xmm0
call fcn.004369b0
push 0x6c1ea4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [0x6c1e9a]
mov esi, 1
mov byte [ebp - 0x239], al
test esi, esi
jle 0x4093ef
push 0x6c1ea4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
dec esi
test esi, esi
jg 0x4093df
cmp byte [ebp - 0x239], 0
je 0x409404
mov dword [ebp - 0x220], 2
jmp 0x409483
push 0x63bfdc
lea ecx, [ebp - 0x25c]
call fcn.004021e0
push 1
push 0
push 0
push 0
push ecx
mov ecx, esp
push 0x63bfdc
mov byte [ebp - 4], 1
call fcn.004021e0
mov ecx, dword [ebp - 0x24c]
lea edx, [ebp - 0x2c8]
mov eax, dword [ecx]
push edx
push dword [ebp - 0x228]
lea edx, [ebp - 0x25c]
push edx
lea edx, [ebp + 8]
push edx
call dword [eax + 0x24]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x25c]
mov esi, eax
add edx, 0xfffffff0
mov dword [ebp - 0x220], esi
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40947b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4095a9
push 0x63bfdc
lea ecx, [ebp - 0x268]
call fcn.004021e0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x298]
push eax
mov byte [ebp - 4], 2
call fcn.004075a0
mov dword [ebp - 0x234], eax
xor ecx, ecx
call fcn.004051a0
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x268]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x22c], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x4094f3
cmp ecx, dword [esi - 0x10]
jne 0x4094f3
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40952c
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a30c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x22c]
push 0
push 0
push dword [ebp - 0x234]
lea eax, [edi + 0x10]
push 0x368
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x224]
push 1
call fcn.004055a0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x268]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40957d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x298]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409975
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x409975
mov ecx, dword [ebp - 0x24c]
push dword [ebp - 0x228]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
je 0x4096d3
push 0x63bfdc
lea ecx, [ebp - 0x270]
call fcn.004021e0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x288]
push eax
mov byte [ebp - 4], 6
call fcn.004075a0
mov dword [ebp - 0x234], eax
xor ecx, ecx
call fcn.004051a0
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0x270]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x224], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40963a
cmp ecx, dword [esi - 0x10]
jne 0x40963a
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x409673
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a30c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x224]
push 0
push 0
push dword [ebp - 0x234]
lea eax, [edi + 0x10]
push 0x371
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x22c]
push 1
call fcn.004055a0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4096c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x288]
jmp 0x40994f
mov dword [ebp - 0x22c], 0
lea ecx, [ecx]
mov ecx, dword [ebp - 0x24c]
push 0
mov eax, dword [ecx]
lea edx, [ebp - 0x218]
push edx
push dword [ebp - 0x228]
lea edx, [ebp - 0x22c]
push edx
push 0x200
call dword [eax + 0x2c]
mov esi, eax
mov dword [ebp - 0x220], esi
test esi, esi
jne 0x4098b6
cmp dword [ebp - 0x22c], eax
je 0x409968
call fcn.004a4516
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40a311
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0xe
test eax, 0xffff0000
jne 0x409773
movzx esi, ax
push esi
call fcn.004a4198
test eax, eax
je 0x40977f
push esi
push eax
lea ecx, [ebp - 0x220]
call fcn.00401d60
jmp 0x40977f
push eax
lea ecx, [ebp - 0x220]
call fcn.00404410
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x290]
push edi
push eax
mov byte [ebp - 4], 0xf
call fcn.004066f0
add esp, 0xc
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
mov edi, dword [edi]
lea esi, [eax - 0x10]
sub edi, 0x10
cmp esi, edi
je 0x409861
cmp dword [edi + 0xc], 0
jl 0x40984e
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x40984e
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x4097e3
cmp ecx, dword [esi]
jne 0x4097e3
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40982b
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x224], edx
test edx, edx
je 0x40a30c
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
add esi, 0x10
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edx + 0x10]
push eax
call fcn.005bc17a
mov esi, dword [ebp - 0x224]
add esp, 0x10
mov eax, ebx
lea ecx, [edi + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x409841
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x240]
lea eax, [esi + 0x10]
mov dword [edi], eax
jmp 0x409867
push dword [eax - 0xc]
mov edi, dword [ebp - 0x240]
push eax
mov ecx, edi
call fcn.00402090
jmp 0x409867
mov edi, dword [ebp - 0x240]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x290]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40988a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4096e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4096e0
push 0x63bfdc
lea ecx, [ebp - 0x278]
call fcn.004021e0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x27c]
push eax
mov byte [ebp - 4], 0xa
call fcn.004075a0
mov edi, eax
xor ecx, ecx
call fcn.004051a0
mov ebx, eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x278]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
push edi
push 0x380
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
push 1
mov ecx, ebx
mov dword [esi], eax
call fcn.004055a0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x278]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409945
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409968
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24c]
push 0
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, dword [ebp - 0x220]
test esi, esi
je 0x40a3b9
cmp esi, 2
jne 0x409d37
cmp byte [0x6c1e7b], 0
jne 0x40a38e
cmp byte [ebp + 0x14], 0
je 0x40a609
push ecx
mov ecx, esp
push str._none_
call fcn.004021e0
lea edx, [esi + 1]
lea ecx, [ebp - 0x2b8]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x11
push dword [eax]
push ecx
mov ecx, dword [ebp - 0x228]
push esp
call fcn.004075a0
mov edx, esi
lea ecx, [ebp - 0x2b0]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x12
push dword [eax]
mov edx, esi
push 1
lea ecx, [ebp - 0x2a8]
call fcn.00405500
add esp, 4
mov byte [ebp - 4], 0x13
push dword [eax]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2a0]
mov dword [esi], eax
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x14
push dword [eax]
push ecx
mov ecx, esp
push str._s_s_s_s
call fcn.004021e0
lea eax, [ebp - 0x264]
push 0xd9fa
push eax
call fcn.00419e80
add esp, 0x1c
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2a0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409a73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409a96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x2b0]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409ab9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x2b8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409adc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
call fcn.004051a0
push 0xd9fa
push 0x39
push 0
mov edi, eax
mov eax, dword [ebp - 0x264]
push 7
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x26c]
mov dword [esi], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xor ecx, ecx
mov byte [ebp - 4], 0x1a
call fcn.004051a0
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x63bfdc
mov esi, eax
call fcn.004021e0
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x284]
push 0x63c594
push eax
mov byte [ebp - 4], 0x1b
call fcn.00404060
add esp, 0xc
mov byte [ebp - 4], 0x1c
mov edx, dword [esi]
push 0xd9fa
push 0x39
push eax
push 0x3a8
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
push 1
mov ecx, esi
mov byte [ebp - 4], 0x1d
call dword [edx + 8]
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x284]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409ba2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409bc5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409be8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x63bfdc
lea ecx, [ebp - 0x258]
call fcn.004021e0
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x28c]
push eax
mov byte [ebp - 4], 0x1e
call fcn.004075a0
push eax
lea eax, [ebp - 0x2a4]
push str.Internet_Connection_Failure_reported_to_user:
push eax
mov byte [ebp - 4], 0x1f
call fcn.00404060
add esp, 0xc
mov edi, eax
xor ecx, ecx
call fcn.004051a0
mov ebx, eax
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x258]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
push edi
push 0x3ab
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
push 1
mov ecx, ebx
mov dword [esi], eax
call fcn.004055a0
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x258]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409c90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov edx, dword [ebp - 0x2a4]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409cb3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x28c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409cd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x2b4]
push eax
call fcn.004075a0
mov byte [ebp - 4], 0x24
mov ecx, dword [eax]
sub esp, 0x14
mov edx, 0x105
call fcn.0041d330
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2b4]
add edx, 0xfffffff0
mov esi, eax
add esp, 0x14
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409d23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 2
je 0x40a31b
mov edi, dword [ebp - 0x240]
jmp 0x4093b0
cmp byte [ebp + 0x14], 0
je 0x40a609
mov edi, dword [ebp - 0x228]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x409d66
push esi
push ecx
mov ecx, esp
push str.Error__d_getting_data
call fcn.004021e0
push edi
call fcn.0043ce70
add esp, 0xc
push ecx
mov ecx, esp
push str._none_
call fcn.004021e0
mov edx, 3
lea ecx, [ebp - 0x2bc]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x26
push dword [eax]
push ecx
push esp
mov ecx, edi
call fcn.004075a0
mov edx, 2
lea ecx, [ebp - 0x29c]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x27
push dword [eax]
mov edx, esi
push 1
lea ecx, [ebp - 0x2ac]
call fcn.00405500
add esp, 4
mov byte [ebp - 4], 0x28
push dword [eax]
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x224], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x409df6
cmp ecx, dword [esi - 0x10]
jne 0x409df6
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x409e2f
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a30c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x224]
lea eax, [edi + 0x10]
mov dword [ecx], eax
xor edx, edx
lea ecx, [ebp - 0x294]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x29
push dword [eax]
push ecx
mov ecx, esp
push str._s_s_s_s
call fcn.004021e0
lea eax, [ebp - 0x244]
push 0xd9fa
push eax
call fcn.00419e80
add esp, 0x1c
mov byte [ebp - 4], 0x2b
mov edx, dword [ebp - 0x294]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409e94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x2ac]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409eb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409eda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x2bc]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x409efd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
call fcn.004051a0
mov esi, dword [ebp - 0x244]
push 0xd9fa
push 0x39
push 0
push 7
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x234], eax
mov eax, dword [ecx]
mov dword [ebp - 0x224], esp
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x409f4b
cmp ecx, dword [esi - 0x10]
jne 0x409f4b
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x409f84
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a30c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x224]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x260]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
xor ecx, ecx
mov byte [ebp - 4], 0x2f
call fcn.004051a0
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x63bfdc
mov esi, eax
call fcn.004021e0
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x280]
push 0x63c594
push eax
mov byte [ebp - 4], 0x30
call fcn.00404060
add esp, 0xc
mov byte [ebp - 4], 0x31
mov edx, dword [esi]
push 0xd9fa
push 0x39
push eax
push 0x3c8
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
push 1
mov ecx, esi
mov byte [ebp - 4], 0x32
call dword [edx + 8]
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x280]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a028
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x260]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a04b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a06e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.004a4516
mov ecx, eax
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x40a311
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x238]
push eax
mov byte [ebp - 4], 0x33
call fcn.004075a0
mov esi, eax
push 0
mov edx, 0x2852
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0x34
call fcn.00419a90
add esp, 4
mov byte [ebp - 4], 0x35
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
call fcn.00404520
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x274]
add edx, 0xfffffff0
add esp, 0xc
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a0fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a120
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x63bfdc
lea ecx, [ebp - 0x230]
call fcn.004021e0
push 0x63e0a8
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x254]
push eax
mov byte [ebp - 4], 0x36
call fcn.004067b0
add esp, 0xc
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x250]
push eax
mov byte [ebp - 4], 0x37
call fcn.004066f0
add esp, 0xc
mov dword [ebp - 0x234], eax
xor ecx, ecx
call fcn.004051a0
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 0x3b
mov esi, dword [ebp - 0x230]
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x224], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40a1b1
cmp ecx, dword [esi - 0x10]
jne 0x40a1b1
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40a1ea
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a30c
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.005bc17a
add esp, 0x10
mov ecx, dword [ebp - 0x224]
push 0x2852
push 0
push dword [ebp - 0x234]
lea eax, [edi + 0x10]
push 0x3cd
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
mov dword [ecx], eax
mov ecx, dword [ebp - 0x21c]
push 1
call fcn.004055a0
mov byte [ebp - 4], 0x3a
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a23e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x39
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a261
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a284
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
mov edx, 0x2859
lea ecx, [ebp - 0x248]
call fcn.00419a90
mov byte [ebp - 4], 0x3c
mov ecx, dword [eax]
sub esp, 0x10
mov edx, 0x105
call fcn.0041d330
mov byte [ebp - 4], 0x33
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
mov esi, eax
add esp, 0x14
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a2d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
cmp esi, 2
je 0x40a5f7
mov edi, dword [ebp - 0x240]
test ecx, ecx
jg 0x4093b0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4093b0
call fcn.00401f40
push 0x80004005
call fcn.00402040
push str.User_chose_to_terminate_application_after_internet_connection_failure.
lea ecx, [ebp - 0x230]
call fcn.004021e0
push ecx
mov ecx, esp
push 0x63bfdc
mov byte [ebp - 4], 0x25
call fcn.004021e0
push 0
lea eax, [ebp - 0x230]
push eax
push 0x3af
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40a382
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00405320
push 0
call fcn.005be8c1
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40a3af
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, 2
jmp 0x40a62c
push ecx
mov ecx, esp
push str._none_
call fcn.004021e0
mov edx, 3
lea ecx, [ebp - 0x21c]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x3d
push dword [eax]
push ecx
mov ecx, dword [ebp - 0x228]
push esp
call fcn.004075a0
mov edx, 2
lea ecx, [ebp - 0x250]
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x3e
push dword [eax]
xor edx, edx
push 1
lea ecx, [ebp - 0x254]
call fcn.00405500
add esp, 4
mov byte [ebp - 4], 0x3f
push dword [eax]
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
add eax, 0x10
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x248]
mov dword [esi], eax
call fcn.00405450
add esp, 4
mov byte [ebp - 4], 0x40
push dword [eax]
push ecx
mov ecx, esp
push str._s_s_s_s
call fcn.004021e0
lea eax, [ebp - 0x244]
push 0xd9fb
push eax
call fcn.00419e80
add esp, 0x1c
mov byte [ebp - 4], 0x42
mov edx, dword [ebp - 0x248]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a48e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x43
mov edx, dword [ebp - 0x254]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a4b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x44
mov edx, dword [ebp - 0x250]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a4d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x45
mov edx, dword [ebp - 0x21c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a4f7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, 1
call fcn.004051a0
push 0xd9fb
push 0x3a
push 2
push 7
push ecx
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
mov esi, esp
push ecx
mov edi, eax
call fcn.004046f0
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x230]
mov dword [esi], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xc]
xor ecx, ecx
mov byte [ebp - 4], 0x46
call fcn.004051a0
push ecx
mov ecx, esp
mov dword [ebp - 0x274], esp
push 0x63bfdc
mov esi, eax
call fcn.004021e0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x238]
push 0x63c594
push eax
mov byte [ebp - 4], 0x47
call fcn.00404060
add esp, 0xc
mov byte [ebp - 4], 0x48
mov edx, dword [esi]
push 0xd9fb
push 0x3a
push eax
push 0x3e0
push str.C:_amintegration_tools_setupishield_sldim_baseFileDownloader.cpp
push 0
push 1
mov ecx, esi
mov byte [ebp - 4], 0x49
call dword [edx + 8]
mov byte [ebp - 4], 0x46
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a5bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x45
mov edx, dword [ebp - 0x230]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a5e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40a603
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40a62a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005bc16b
mov esp, ebp
pop ebp
ret 0x10