Function at 0x41d910
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x58e66b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0xe4]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x603db4], 9
mov ebp, dword [esp + 0xf4]
mov ecx, dword [ebp + 0x81b0]
lea edi, [ebp + 0x134]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], ecx
jne 0x41da65
cmp ebx, 1
jne 0x41da28
xor ebx, ebx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
mov dword [esp + 0xec], ebx
lea esi, [esp + 0x70]
mov ecx, edi
call fcn.0041d750
cmp dword [esp + 0x88], 0x10
mov eax, dword [esp + 0x74]
jae 0x41d9ba
lea eax, [esp + 0x74]
push eax
mov eax, 1
call fcn.0040ef20
push eax
mov eax, dword [ebp + 4]
push str.OnDealProxyServer
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_op_s__http.res_s
mov esi, 0x602250
call fcn.00409e30
add esp, 0x18
mov dword [esp + 0xec], 0xffffffff
cmp dword [esp + 0x88], 0x10
jb 0x41da0a
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], 0
mov edx, 1
jmp 0x41da95
cmp dword [ecx + 0x18], 0x10
jb 0x41da33
mov eax, dword [ecx + 4]
jmp 0x41da36
lea eax, [ecx + 4]
push eax
mov eax, ebx
call fcn.0040ef20
mov edx, dword [ebp + 4]
push eax
push str.OnDealProxyServer
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._u__u___s_op_s__http.req_s
mov esi, 0x602250
call fcn.00409e30
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov edx, 1
cmp ebx, 3
jne 0x41da8b
cmp dword [ebp + 0x18], 0xffffffff
jne 0x41da7c
xor eax, eax
jmp 0x41e7e0
mov dword [edi + 0x8028], 2
jmp 0x41e7d8
cmp ebx, edx
jne 0x41e7aa
xor ebx, ebx
mov dword [ebp + 0x819c], edx
mov dword [edi + 0x8028], 2
mov dword [edi + 0x8020], ebx
mov eax, dword [ebp + 0x8194]
cmp eax, ebx
mov ecx, dword [ebp + 0x8190]
jl 0x41db43
jg 0x41dac5
cmp ecx, ebx
jbe 0x41db43
cmp dword [ebp + 0x8198], ebx
je 0x41db0b
mov eax, dword [edi + 0x801c]
cmp eax, 7
jb 0x41daf4
push 7
lea eax, [eax + edi + 0x15]
push 0x5d2a90
push eax
call fcn.004b7c02
add esp, 0xc
test eax, eax
jne 0x41e77b
mov dword [ebp + 0x8190], ebx
mov dword [ebp + 0x8194], ebx
mov dword [ebp + 0x8198], ebx
jmp 0x41e77b
mov esi, dword [edi + 0x801c]
xor edx, edx
cmp edx, eax
jg 0x41db32
jl 0x41db1d
cmp esi, ecx
ja 0x41db32
sub ecx, esi
sbb eax, edx
mov dword [ebp + 0x8190], ecx
mov dword [ebp + 0x8194], eax
jmp 0x41e77b
mov dword [ebp + 0x8190], ebx
mov dword [ebp + 0x8194], ebx
jmp 0x41e77b
cmp dword [edi + 0x801c], 0xc
jb 0x41e77b
mov al, byte [edi + 0x1c]
lea esi, [edi + 0x1c]
cmp al, 0x48
je 0x41db62
cmp al, 0x68
jne 0x41e77b
mov al, byte [edi + 0x1d]
cmp al, 0x54
je 0x41db71
cmp al, 0x74
jne 0x41e77b
mov al, byte [edi + 0x1e]
cmp al, 0x54
je 0x41db80
cmp al, 0x74
jne 0x41e77b
mov al, byte [edi + 0x1f]
cmp al, 0x50
je 0x41db8f
cmp al, 0x70
jne 0x41e77b
mov dword [esp + 0xc0], 0xf
mov dword [esp + 0xbc], ebx
mov byte [esp + 0xac], 0
mov dword [esp + 0xec], 1
mov ecx, dword [edi + 0x801c]
push ecx
push esi
lea eax, [esp + 0xb0]
call fcn.004034e0
push 2
push 0x5d2c30
lea edx, [esp + 0xb0]
push edx
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
je 0x41ddee
mov dword [esp + 0xa4], 0xf
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], 0
mov byte [esp + 0xec], 2
push eax
push esi
lea eax, [esp + 0x94]
call fcn.004034e0
cmp dword [esp + 0xa4], 0x10
mov edx, dword [esp + 0x90]
jae 0x41dc2f
lea edx, [esp + 0x90]
call fcn.0041d8e0
cmp eax, 0xc8
mov dword [esp + 0x44], eax
jl 0x41dc46
cmp eax, 0x18f
jle 0x41dc8b
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 4]
push eax
push str.__d__error__d
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
xor eax, eax
cmp byte [ebp + 0x81a5], al
mov ebx, 0x604408
setne al
lea eax, [eax + eax + 2]
push eax
call fcn.00446ca0
add esp, 0x20
xor ebx, ebx
push 3
push 0x5d61f4
lea ecx, [esp + 0x94]
push ecx
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
je 0x41ddd1
push 0
push ecx
mov edx, esp
mov dword [esp + 0x4c], esp
push edx
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0xf4], 3
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0xf8], 4
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push ecx
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0xfc], 5
push ecx
mov edx, esp
mov dword [esp + 0x64], esp
push edx
mov ecx, 0x5d2b98
call fcn.00402fe0
mov byte [esp + 0x100], 6
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Unauthorized
push 0x193
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x12c], 2
call fcn.00416450
add esp, 0x40
mov byte [esp + 0xec], 7
mov edx, str.error
lea edi, [esp + 0x18]
call fcn.00403250
mov edi, dword [esp + 0x1c]
mov ecx, dword [edi + 0x801c]
push ecx
push 0
push esi
call fcn.004add60
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0x7fff
push edx
push esi
call fcn.004a5b40
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 0xc]
add esp, 0xc
mov dword [edi + 0x801c], ecx
mov byte [esp + 0xec], 2
lea edx, [esp + 0x18]
push edx
call fcn.00403090
mov byte [esp + 0xec], 1
lea ecx, [esp + 0x8c]
call fcn.00403ce0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.00403ce0
jmp 0x41e779
cmp dword [edi + 0x801c], 0x11
jae 0x41de0a
mov byte [esp + 0xec], 1
lea ecx, [esp + 0x8c]
call fcn.00403ce0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.00403ce0
jmp 0x41e77b
push 4
push str._r_n_r_n
lea eax, [esp + 0xb0]
push eax
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
je 0x41ddda
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
mov byte [esp + 0xec], 8
push eax
push esi
lea eax, [esp + 0x5c]
call fcn.004034e0
mov edx, dword [esp + 0x6c]
mov esi, dword [esp + 0x58]
cmp edx, 0x10
jb 0x41deeb
mov ecx, esi
mov dword [esp + 0x18], ecx
cmp esi, ebx
je 0x41de88
mov eax, esi
cmp edx, 0x10
jae 0x41de6f
lea eax, [esp + 0x58]
cmp eax, ecx
ja 0x41de88
mov eax, esi
cmp edx, 0x10
jae 0x41de7e
lea eax, [esp + 0x58]
mov ebx, dword [esp + 0x68]
add eax, ebx
cmp ecx, eax
jbe 0x41de99
call fcn.004a35f3
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov eax, esi
cmp edx, 0x10
jae 0x41dea4
lea eax, [esp + 0x58]
lea edi, [ebx + eax]
test edi, edi
je 0x41decb
mov eax, esi
cmp edx, 0x10
jae 0x41deb6
lea eax, [esp + 0x58]
cmp eax, edi
ja 0x41decb
mov eax, esi
cmp edx, 0x10
jae 0x41dec5
lea eax, [esp + 0x58]
add eax, ebx
cmp edi, eax
jbe 0x41dedc
call fcn.004a35f3
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x58]
cmp edx, 0x10
jae 0x41def8
lea esi, [esp + 0x58]
jmp 0x41defc
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ecx
jmp 0x41de64
test ecx, ecx
je 0x41df1c
mov eax, ecx
cmp edx, 0x10
jae 0x41df07
lea eax, [esp + 0x58]
cmp eax, esi
ja 0x41df1c
mov eax, ecx
cmp edx, 0x10
jae 0x41df16
lea eax, [esp + 0x58]
add eax, ebx
cmp esi, eax
jbe 0x41df29
call fcn.004a35f3
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x58]
mov eax, edi
lea ebx, [esp + 0x54]
sub eax, esi
cmp ebx, 0xfffffffc
je 0x41df65
cmp edx, 0x10
jae 0x41df3f
lea ecx, [esp + 0x58]
mov ebx, dword [esp + 0x18]
add eax, ebx
mov ebx, dword [esp + 0x68]
add ecx, ebx
cmp eax, ecx
ja 0x41df60
mov ecx, dword [esp + 0x58]
cmp edx, 0x10
jae 0x41df5c
lea ecx, [esp + 0x58]
cmp eax, ecx
jae 0x41df65
call fcn.004a35f3
cmp esi, edi
je 0x41df84
mov ebx, dword [esp + 0x18]
sub ebx, esi
nop
movsx ecx, byte [esi]
push ecx
call fcn.004a5a65
mov byte [esi + ebx], al
inc esi
add esp, 4
cmp esi, edi
jne 0x41df70
push 0x11
push str._r_ncontent_length:
lea edx, [esp + 0x5c]
push edx
xor eax, eax
call fcn.00403780
mov esi, eax
cmp esi, 0xffffffff
je 0x41e120
push 2
push 0x5d2c30
lea eax, [esp + 0x5c]
add esi, 0x11
push eax
mov eax, esi
call fcn.00403780
mov ebx, 0xf
xor edi, edi
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
mov byte [esp + 0xec], 9
lea edx, [esp + 0x54]
cmp eax, 0xffffffff
je 0x41e023
sub eax, esi
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00403620
mov byte [esp + 0xec], 0xa
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xd0]
call fcn.004022b0
mov byte [esp + 0xec], 9
cmp dword [esp + 0x40], 0x10
jb 0x41e065
mov edx, dword [esp + 0x2c]
push edx
jmp 0x41e05d
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00403620
mov byte [esp + 0xec], 0xb
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0xd0]
call fcn.004022b0
mov byte [esp + 0xec], 9
cmp dword [esp + 0x40], 0x10
jb 0x41e065
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a3142
add esp, 4
cmp dword [esp + 0xdc], 0x10
mov eax, dword [esp + 0xc8]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jae 0x41e08a
lea eax, [esp + 0xc8]
push eax
call fcn.004a3641
mov dword [ebp + 0x8194], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x8194]
mov dword [ebp + 0x8190], eax
mov eax, dword [edx + 0x801c]
sub eax, dword [esp + 0x6c]
mov edx, dword [ebp + 0x8190]
xor esi, esi
add esp, 4
sub eax, 4
cmp esi, ecx
jg 0x41e0da
jl 0x41e0c8
cmp eax, edx
ja 0x41e0da
sub edx, eax
sbb ecx, esi
mov dword [ebp + 0x8190], edx
mov dword [ebp + 0x8194], ecx
jmp 0x41e0e6
mov dword [ebp + 0x8190], edi
mov dword [ebp + 0x8194], edi
mov byte [esp + 0xec], 8
cmp dword [esp + 0xdc], 0x10
jb 0x41e108
mov eax, dword [esp + 0xc8]
push eax
call fcn.004a3142
add esp, 4
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], edi
mov byte [esp + 0xc8], 0
jmp 0x41e192
push 0x1c
push str._r_ntransfer_encoding:_chunked
lea ecx, [esp + 0x5c]
push ecx
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
je 0x41e18d
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x801c]
push 7
lea eax, [edx + eax + 0x15]
push 0x5d2a90
push eax
call fcn.004b7c02
xor edi, edi
add esp, 0xc
lea ebx, [edi + 0xf]
test eax, eax
jne 0x41e16d
mov dword [ebp + 0x8190], edi
mov dword [ebp + 0x8194], edi
jmp 0x41e192
mov dword [ebp + 0x8198], 1
mov dword [ebp + 0x8190], 0xffffffff
mov dword [ebp + 0x8194], SysReAllocString
jmp 0x41e192
xor edi, edi
lea ebx, [edi + 0xf]
push 0x15
push str._r_nconnection:_close_r_n
lea ecx, [esp + 0x5c]
push ecx
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
je 0x41e1b0
mov dword [ebp + 0x8188], edi
push 9
push str.location:
lea edx, [esp + 0x5c]
push edx
xor eax, eax
call fcn.00403780
cmp eax, 0xffffffff
jne 0x41e209
mov byte [esp + 0xec], 2
lea ecx, [esp + 0x54]
call fcn.00403ce0
mov byte [esp + 0xec], 1
lea ecx, [esp + 0x8c]
call fcn.00403ce0
mov dword [esp + 0xec], 0xffffffff
lea ecx, [esp + 0xa8]
call fcn.00403ce0
jmp 0x41e775
lea esi, [eax + 9]
mov eax, dword [0x5ff398]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ff398
mov dword [esp + 0x14], edi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0xec], 0xd
mov eax, dword [0x5ff398]
mov edx, dword [eax + 0xc]
mov ecx, 0x5ff398
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xec], 0xf
push 2
push 0x5d2c30
lea eax, [esp + 0x5c]
push eax
mov eax, esi
call fcn.00403780
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], edi
mov byte [esp + 0x74], 0
mov byte [esp + 0xec], 0x10
lea edx, [esp + 0x54]
cmp eax, 0xffffffff
jne 0x41e2bb
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00403620
mov byte [esp + 0xec], 0x11
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
call fcn.004022b0
mov byte [esp + 0xec], 0x10
cmp dword [esp + 0x40], 0x10
jb 0x41e2fb
mov edx, dword [esp + 0x2c]
push edx
jmp 0x41e2f3
sub eax, esi
push eax
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00403620
mov byte [esp + 0xec], 0x12
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x7c]
call fcn.004022b0
mov byte [esp + 0xec], 0x10
cmp dword [esp + 0x40], 0x10
jb 0x41e2fb
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004a3142
add esp, 4
cmp dword [esp + 0x88], 0x10
mov byte [esp + 0x2c], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], ebx
jb 0x41e320
mov eax, dword [esp + 0x74]
mov edx, eax
cmp eax, edi
jne 0x41e324
xor eax, eax
jmp 0x41e339
lea edx, [esp + 0x74]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41e330
sub eax, esi
mov edi, eax
push edx
lea eax, [esp + 0x24]
call fcn.004033b0
lea ebx, [esp + 0x20]
call fcn.00406560
mov edi, eax
call fcn.00406480
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call fcn.004154c0
mov esi, dword [esp + 0x20]
add esp, 8
cmp dword [0x603db4], 9
jne 0x41e3b6
mov ecx, dword [ebp + 0x817c]
mov eax, dword [esp + 0x24]
mov edx, dword [eax + 0x10064]
mov eax, dword [eax + 0x10060]
push ecx
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [ebp + 0x2c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov eax, esi
push eax
push ecx
push str.OnDealProxyServer:_strLocation__s___strHost_s__nPort_d__proxy_host_s__leak_d__softmgr_d__PreIsLocation_d
mov esi, 0x602250
call fcn.00409e30
mov esi, dword [esp + 0x38]
add esp, 0x20
mov dword [ebp + 0x817c], 1
cmp dword [esi - 0xc], 0
je 0x41e5f7
xor ecx, ecx
lea eax, [ebp + 0x2c]
test eax, eax
setne cl
test ecx, ecx
jne 0x41e3e2
push 0x80004005
call fcn.00401e70
push eax
push esi
call fcn.004a4b4f
add esp, 8
test eax, eax
je 0x41e5f7
push 0x6029f0
mov dword [esp + 0x54], 0x6029f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0xec], 0x13
mov eax, dword [0x6041e4]
mov ecx, dword [0x6041e0]
mov edx, eax
sub edx, ecx
sar edx, 2
test edx, edx
jbe 0x41e502
mov ebx, eax
cmp ecx, eax
jbe 0x41e43f
call fcn.004a35f3
mov eax, dword [0x6041e4]
mov ecx, dword [0x6041e0]
mov edi, ecx
cmp ecx, eax
jbe 0x41e455
call fcn.004a35f3
mov eax, dword [0x6041e4]
mov ecx, dword [0x6041e0]
mov edx, dword [0x6041d4]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edi
cmp edi, ebx
je 0x41e48e
mov eax, dword [edi]
push esi
push eax
call fcn.004a47ba
add esp, 8
test eax, eax
sete al
test al, al
jne 0x41e483
add edi, 4
cmp edi, ebx
jne 0x41e467
mov eax, dword [0x6041e4]
mov ecx, dword [0x6041e0]
mov ebx, eax
cmp ecx, eax
jbe 0x41e499
call fcn.004a35f3
mov eax, dword [0x6041d4]
test eax, eax
je 0x41e4a8
cmp eax, dword [esp + 0x48]
je 0x41e4ad
call fcn.004a35f3
cmp ebx, edi
jne 0x41e502
mov ecx, esi
call fcn.0043f320
mov ecx, dword [0x6041e4]
mov eax, dword [0x6041e0]
mov dword [esp + 0x14], ecx
cmp eax, ecx
jbe 0x41e4db
call fcn.004a35f3
mov ecx, dword [0x6041e4]
mov eax, dword [0x6041e0]
mov edi, dword [0x6041d4]
mov ebx, eax
cmp eax, ecx
jbe 0x41e4ec
call fcn.004a35f3
mov eax, dword [esp + 0x14]
mov ecx, dword [0x6041d4]
push eax
push edi
push ebx
push ecx
call fcn.0041f3b0
add esp, 0x10
mov byte [esp + 0xec], 0x10
push 0x6029f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x10060], 0
je 0x41e5aa
lea edx, [esp + 0x14]
push edx
call fcn.004030f0
mov byte [esp + 0xec], 0x14
push esi
push str.http:___s
lea edi, [esp + 0x1c]
call fcn.00402e20
mov ebx, edi
add esp, 8
mov edi, 0x60427c
call fcn.0040a8f0
mov eax, dword [ebp + 4]
push eax
push 0x12e
push esi
push str.Leak_patch___s___d_0_______d_
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add ebp, 8
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
push 2
mov ebx, 0x604408
mov dword [eax + 0xc], edx
call fcn.00446ca0
add esp, 0x24
mov byte [esp + 0xec], 0x10
lea eax, [esp + 0x14]
push eax
call fcn.00403090
jmp 0x41e654
cmp dword [eax + 0x10064], 0
je 0x41e5f7
lea ecx, [esp + 0x14]
push ecx
call fcn.004030f0
mov byte [esp + 0xec], 0x15
push esi
push str.http:___s
lea edi, [esp + 0x1c]
call fcn.00402e20
mov ebx, edi
add esp, 8
mov edi, 0x604294
call fcn.0040a8f0
mov edx, dword [ebp + 4]
push edx
push 0x12e
push esi
push str.Soft_manager___s___d_0_______d_
jmp 0x41e565
mov ecx, dword [esp + 0x44]
lea edx, [ecx - 0x12c]
cmp edx, 0x63
ja 0x41e654
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], 0
je 0x41e654
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 4]
push ecx
mov ecx, dword [ebp + 8]
push eax
push str.__d__redirect__d__s
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
xor eax, eax
cmp byte [ebp + 0x81a5], al
mov ebx, 0x604408
setne al
lea eax, [eax + eax + 2]
push eax
call fcn.00446ca0
add esp, 0x24
mov ebx, 0xf
mov byte [esp + 0xec], bl
mov edi, 0x10
cmp dword [esp + 0x88], edi
jb 0x41e67b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004a3142
add esp, 4
xor ebp, ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov byte [esp + 0x74], 0
mov byte [esp + 0xec], 0xd
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e6b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xec], 8
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e6dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xec], 2
cmp dword [esp + 0x6c], edi
jb 0x41e6f7
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004a3142
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebp
mov byte [esp + 0x58], 0
mov byte [esp + 0xec], 1
cmp dword [esp + 0xa4], edi
jb 0x41e725
mov edx, dword [esp + 0x90]
push edx
call fcn.004a3142
add esp, 4
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebp
mov byte [esp + 0x90], 0
mov dword [esp + 0xec], 0xffffffff
cmp dword [esp + 0xc0], edi
jb 0x41e75f
mov eax, dword [esp + 0xac]
push eax
call fcn.004a3142
add esp, 4
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebp
mov byte [esp + 0xac], 0
mov edi, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [edi + 0x801c]
mov eax, dword [esp + 0x24]
add dword [eax + 0x100a0], ecx
adc dword [eax + 0x100a4], ebx
mov edx, dword [edi + 0x801c]
add dword [eax + 0x10098], edx
mov edx, 1
adc dword [eax + 0x1009c], ebx
jmp 0x41e7de
cmp ebx, 2
jne 0x41e7de
xor eax, eax
cmp dword [ecx + 0x50], eax
je 0x41e7cc
mov esi, dword [ecx + 0x20]
cmp esi, dword [ecx + 0x1c]
jbe 0x41e7cc
mov dword [edi + 0x8020], eax
mov dword [edi + 0x8028], edx
jmp 0x41e7de
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x50], eax
mov dword [edi + 0x8028], edx
mov dword [edi + 0x8020], edx
mov eax, edx
mov ecx, dword [esp + 0xe4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.004a314d
add esp, 0xdc
ret