Function at 0x1001a000
Capabilities:
Create http request
Read .ini file
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7278
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x101063e4]
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 - 0x6fc], ecx
mov dword [ebp - 0x704], 0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b452
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x70c], edi
mov ecx, dword [0x10109d28]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x1001a0c6
push 0x10105db8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10109d28], 0
jne 0x1001a0b5
push 4
call fcn.10075b85
mov esi, eax
add esp, 4
mov dword [ebp - 0x700], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1001a0a3
mov ecx, esi
call fcn.1005ddd0
jmp 0x1001a0a5
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x718], eax
mov dword [0x10109d28], esi
push 0x10105db8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10109d28]
lea eax, [ebp - 0x694]
push eax
call fcn.10061170
mov byte [ebp - 4], 2
call fcn.1000a590
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x38]
xor ecx, ecx
mov dword [ebp - 0x6f8], ecx
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x30c30c31
sub ecx, ebx
mov dword [ebp - 0x700], ebx
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x708], eax
je 0x1001a1d2
xor eax, eax
nop word [eax + eax]
cmp dword [ebp - 0x680], 8
lea ecx, [ebp - 0x694]
mov esi, ebx
cmovae ecx, dword [ebp - 0x694]
cmp dword [ebx + 0x14], 8
jb 0x1001a13e
mov esi, dword [ebx]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebp - 0x684]
jne 0x1001a18c
test edx, edx
je 0x1001a161
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x1001a186
add ecx, 2
sub edx, 1
jne 0x1001a150
imul eax, dword [ebp - 0x6f8], 0xa8
mov edx, dword [ebp - 0x700]
add edx, 0x78
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x1001a17e
mov edx, dword [edx]
test edx, edx
jne 0x1001a1a7
xor ecx, ecx
jmp 0x1001a1bf
mov eax, dword [ebp - 0x6f8]
inc eax
add ebx, 0xa8
mov dword [ebp - 0x6f8], eax
cmp eax, dword [ebp - 0x708]
jb 0x1001a120
jmp 0x1001a1d2
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a1b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70c]
call fcn.100044d0
mov edi, dword [ebp - 0x70c]
lea eax, [ebp - 0x64c]
push eax
call fcn.1004b340
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x1001a1ef
mov esi, dword [esi]
test esi, esi
jne 0x1001a1f7
xor ecx, ecx
jmp 0x1001a20f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001a200
sub ecx, edx
sar ecx, 1
mov ebx, dword [edi - 0xc]
mov eax, esi
sub eax, edi
mov dword [ebp - 0x708], ebx
sar eax, 1
mov dword [ebp - 0x700], eax
test ecx, ecx
js 0x1001b45c
test esi, esi
jne 0x1001a23a
xor edx, edx
mov dword [ebp - 0x6f8], edx
jmp 0x1001a24c
push ecx
push esi
call fcn.100a0806
add esp, 8
mov dword [ebp - 0x6f8], eax
mov edx, eax
mov ecx, 0x7fffffff
sub ecx, edx
cmp ecx, ebx
jl 0x1001b466
add ebx, edx
js 0x1001b470
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x1001a28c
push ebx
lea ecx, [ebp - 0x70c]
call fcn.10004430
mov edi, dword [ebp - 0x70c]
mov edx, dword [ebp - 0x6f8]
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x708]
cmp eax, ecx
ja 0x1001a29f
lea esi, [edi + eax*2]
lea eax, [edx + edx]
push eax
push esi
push eax
lea eax, [edi + ecx*2]
push eax
call fcn.10004850
add esp, 0x10
cmp ebx, dword [edi - 8]
jg 0x1001b45c
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
mov edx, dword [ebp - 0x638]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x1001a307
mov ecx, dword [ebp - 0x64c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a2fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b47a
push edx
push ecx
call fcn.100757e2
add esp, 8
call fcn.10057ca0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
mov ebx, 0xffffffff
sub eax, 1
jne 0x1001a54d
push 0x6c
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configgrapurlconfig.cpp
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0xf
mov byte [ebp - 0x64c], 0
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 4
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
call fcn.100056d0
mov byte [ebp - 4], 5
call fcn.10057ca0
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
mov dword [ebp - 0x708], eax
mov edx, dword [ecx]
call dword [edx + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x1001a3b4
cmp ecx, dword [esi]
jne 0x1001a3b4
lock inc dword [eax]
jmp 0x1001a3f2
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x700], edx
test edx, edx
je 0x1001b47f
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
inc eax
lea ecx, [eax + eax]
push ecx
lea eax, [esi + 0x10]
push eax
push ecx
lea eax, [edx + 0x10]
push eax
call fcn.10004850
mov esi, dword [ebp - 0x700]
add esp, 0x10
add esi, 0x10
mov dword [ebp - 0x700], esi
push esi
push str.QuerySwitch_url:_s
lea eax, [ebp - 0x6f8]
mov byte [ebp - 4], 7
push 1
push eax
call fcn.10057a70
add esp, 0x10
mov dword [ebp - 0x700], eax
mov dword [ebp - 0x704], 1
add esi, 0xfffffff0
mov byte [ebp - 4], 6
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001a441
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x1c
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x634]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10008240
mov esi, eax
mov ecx, dword [ebp - 0x700]
mov edx, 0x100d5f94
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10006cb0
mov ecx, dword [ebp - 0x708]
add esp, 8
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b4]
call fcn.10009a50
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a4b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x620]
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x1001a4f4
mov ecx, dword [ebp - 0x634]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a4ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b484
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x638]
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1001a54d
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a543
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b489
push edx
push ecx
call fcn.100757e2
add esp, 8
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x67c]
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x668], 0xf
mov byte [ebp - 0x67c], 0
call fcn.100056d0
push 0
push 0
push 0
push 1
push 0
mov byte [ebp - 4], 9
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x704], eax
test eax, eax
je 0x1001a65d
push 0
push 0x84000000
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x1001a651
mov dword [ebp - 0x6f8], 0
push 0x401
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.1009c500
add esp, 0xc
lea eax, [ebp - 0x6f8]
push eax
push 0x400
lea eax, [ebp - 0x61c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
mov eax, dword [ebp - 0x6f8]
je 0x1001a642
test eax, eax
je 0x1001a64a
cmp eax, 0x401
jae 0x1001b493
lea ecx, [ebp - 0x61c]
mov byte [ebp + eax - 0x61c], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a620
sub ecx, edx
lea eax, [ebp - 0x61c]
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.100046e0
mov eax, dword [ebp - 0x6f8]
test eax, eax
jne 0x1001a5c3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x704]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x66c], 0
jne 0x1001a729
mov edx, dword [ebp - 0x668]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1001a6a8
mov ecx, dword [ebp - 0x67c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a69e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b48e
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x680]
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x668], 0xf
mov byte [ebp - 0x67c], 0
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x1001a707
mov ecx, dword [ebp - 0x694]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a6fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b498
push edx
push ecx
call fcn.100757e2
add esp, 8
xor eax, eax
mov dword [ebp - 0x684], 0
mov dword [ebp - 0x680], 7
mov word [ebp - 0x694], ax
jmp 0x1001b41a
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b49d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6f8], eax
push str.grapconfig
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0xa
call fcn.10004090
test al, al
jne 0x1001a770
push 0xa
push str.grapconfig
lea ecx, [ebp - 0x6f8]
call fcn.100044d0
mov byte [ebp - 4], 0xb
call fcn.1000a590
mov esi, eax
lea eax, [ebp - 0x704]
push eax
call fcn.1004bd80
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [ebp - 0x6f8]
mov byte [ebp - 4], 0xc
push eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x704]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a7be
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001a7df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x69c], 0
mov dword [ebp - 0x698], 0xf
mov byte [ebp - 0x6ac], 0
push 0x26
push 0x100d6a58
lea ecx, [ebp - 0x64c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0xf
mov byte [ebp - 0x64c], 0
call fcn.100056d0
lea eax, [ebp - 0x6ac]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x67c]
push eax
call fcn.10005000
mov edx, dword [ebp - 0x638]
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, eax
cmp edx, 0x10
jb 0x1001a88c
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4a7
push edx
push ecx
call fcn.100757e2
add esp, 8
test esi, esi
jne 0x1001a92e
mov edx, dword [ebp - 0x698]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1001a8d2
mov ecx, dword [ebp - 0x6ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a8c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4ac
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x668]
mov dword [ebp - 0x69c], 0
mov dword [ebp - 0x698], 0xf
mov byte [ebp - 0x6ac], 0
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1001a6a8
mov ecx, dword [ebp - 0x67c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a69e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4b1
jmp 0x1001a69e
cmp dword [ebp - 0x698], 0x10
lea eax, [ebp - 0x6ac]
cmovae eax, dword [ebp - 0x6ac]
push eax
call fcn.10063440
mov esi, eax
add esp, 4
mov dword [ebp - 0x700], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x1001a99c
mov edx, dword [ebp - 0x698]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1001a8d2
mov ecx, dword [ebp - 0x6ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001a8c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4b6
jmp 0x1001a8c8
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b4bb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6f8], eax
push str.grap_url
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x10
call fcn.10004090
test al, al
jne 0x1001a9e3
push 8
push str.grap_url
lea ecx, [ebp - 0x6f8]
call fcn.100044d0
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 0
push eax
push 0x100d6c00
push esi
mov byte [ebp - 4], 0x11
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov ecx, ebx
mov dword [ebp - 0x704], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001aa2e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x704]
test eax, eax
je 0x1001ab42
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b4c5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6f8], eax
push str.grap_chnl
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x12
call fcn.10004090
test al, al
jne 0x1001aa7d
push 9
push str.grap_chnl
lea ecx, [ebp - 0x6f8]
call fcn.100044d0
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 1
push eax
push str.chnl
push esi
mov byte [ebp - 4], 0x13
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001aabc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b4cf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6f8], eax
push str.grap_stat
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x14
call fcn.10004090
test al, al
jne 0x1001ab03
push 9
push str.grap_stat
lea ecx, [ebp - 0x6f8]
call fcn.100044d0
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 1
push eax
push str.stat
push esi
mov byte [ebp - 4], 0x15
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ab42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1009c500
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10109e38]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.ComputerZ.set
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push 0x100d72e4
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xffffffff
jne 0x1001abf2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.config.ini
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
push 0xffffffffffffffff
push 0x100d72e4
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1001ad32
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b4d9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6f8], eax
push str.grap_url
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x16
call fcn.10004090
test al, al
jne 0x1001ac41
push 8
push str.grap_url
lea ecx, [ebp - 0x6f8]
call fcn.100044d0
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 0
push eax
push str.turl
push esi
mov byte [ebp - 4], 0x17
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov ecx, ebx
mov dword [ebp - 0x704], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1001ac8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x704]
test eax, eax
je 0x1001ad32
push str.grap_chnl
lea ecx, [ebp - 0x6f8]
call fcn.10003c90
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 1
push eax
push str.tchnl
push esi
mov byte [ebp - 4], 0x18
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ace3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.grap_stat
lea ecx, [ebp - 0x6f8]
call fcn.10003c90
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 1
push eax
push str.stat
push esi
mov byte [ebp - 4], 0x19
call fcn.1001b510
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ad32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x664]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
call fcn.100056d0
push 8
push str.grap_off
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
call fcn.100056d0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x6f4]
push esi
push eax
call fcn.10063c80
add esp, 0x10
mov edx, dword [ebp - 0x620]
mov byte [ebp - 4], 0x1d
cmp edx, 0x10
jb 0x1001adf0
mov ecx, dword [ebp - 0x634]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ade6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4e3
push edx
push ecx
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
mov edx, dword [ebp - 0x650]
mov byte [ebp - 4], 0x1e
cmp edx, 0x10
jb 0x1001ae49
mov ecx, dword [ebp - 0x664]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ae3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4e8
push edx
push ecx
call fcn.100757e2
add esp, 8
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0xf
mov byte [ebp - 0x64c], 0
call fcn.100056d0
push 7
push str.grap_on
lea ecx, [ebp - 0x6c4]
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b0], 0xf
mov byte [ebp - 0x6c4], 0
call fcn.100056d0
lea eax, [ebp - 0x64c]
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x6c4]
push eax
lea eax, [ebp - 0x6dc]
push esi
push eax
call fcn.10063c80
add esp, 0x10
mov edx, dword [ebp - 0x6b0]
mov byte [ebp - 4], 0x22
cmp edx, 0x10
jb 0x1001af22
mov ecx, dword [ebp - 0x6c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001af18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4ed
push edx
push ecx
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x6b4], 0
mov dword [ebp - 0x6b0], 0xf
mov byte [ebp - 0x6c4], 0
mov edx, dword [ebp - 0x638]
mov byte [ebp - 4], 0x23
cmp edx, 0x10
jb 0x1001af7b
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001af71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4f2
push edx
push ecx
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0xf
mov byte [ebp - 0x64c], 0
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b4f7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x714], eax
mov byte [ebp - 4], 0x24
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001b501
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x710], eax
cmp dword [ebp - 0x6e4], 0
mov byte [ebp - 4], 0x25
je 0x1001b138
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
push 0x24
push 0x100d71d4
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
call fcn.100056d0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 0x27
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x6f4]
push eax
call fcn.100054e0
add esp, 0xc
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x634]
mov ebx, eax
call fcn.10003d60
test ebx, ebx
je 0x1001b121
cmp dword [ebp - 0x650], 0x10
lea eax, [ebp - 0x664]
push 0
cmovae eax, dword [ebp - 0x664]
lea ecx, [ebp - 0x320]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x714]
mov byte [ebp - 4], 0x28
call fcn.100093c0
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x26
cmp eax, ecx
je 0x1001b0bb
push eax
call fcn.1009ff2e
add esp, 4
push 0x100d6068
lea ecx, [ebp - 0x6f8]
call fcn.10003c90
mov byte [ebp - 4], 0x29
call fcn.1000a590
lea ecx, [ebp - 0x714]
push ecx
lea ecx, [ebp - 0x6f8]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x6f8]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b124
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x25
call fcn.10003d60
jmp 0x1001b1bc
or ebx, 0xffffffff
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x25
call fcn.10003d60
jmp 0x1001b1bc
push 0x100d2904
lea ecx, [ebp - 0x6fc]
call fcn.10003c90
push 0x100d6068
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x2a
call fcn.10003c90
mov byte [ebp - 4], 0x2b
call fcn.1000a590
lea ecx, [ebp - 0x6fc]
push ecx
lea ecx, [ebp - 0x6f8]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0x2a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b19b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6fc]
mov eax, ebx
mov byte [ebp - 4], 0x25
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b1bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x6cc], 0
je 0x1001b314
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
push 0x24
push 0x100d71d4
lea ecx, [ebp - 0x634]
mov byte [ebp - 4], 0x2c
mov dword [ebp - 0x624], 0
mov dword [ebp - 0x620], 0xf
mov byte [ebp - 0x634], 0
call fcn.100056d0
lea eax, [ebp - 0x664]
mov byte [ebp - 4], 0x2d
push eax
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x6dc]
push eax
call fcn.100054e0
add esp, 0xc
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x634]
mov ebx, eax
call fcn.10003d60
test ebx, ebx
je 0x1001b301
cmp dword [ebp - 0x650], 0x10
lea eax, [ebp - 0x664]
push 0
cmovae eax, dword [ebp - 0x664]
lea ecx, [ebp - 0x320]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x710]
mov byte [ebp - 4], 0x2e
call fcn.100093c0
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x2c
cmp eax, ecx
je 0x1001b29f
push eax
call fcn.1009ff2e
add esp, 4
push 0x100d608c
lea ecx, [ebp - 0x6f8]
call fcn.10003c90
mov byte [ebp - 4], 0x2f
call fcn.1000a590
lea ecx, [ebp - 0x710]
push ecx
lea ecx, [ebp - 0x6f8]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x6f8]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x2c
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b304
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x664]
call fcn.10003d60
jmp 0x1001b398
or ebx, 0xffffffff
lea ecx, [ebp - 0x664]
call fcn.10003d60
jmp 0x1001b398
push 0x100d2904
lea ecx, [ebp - 0x6fc]
call fcn.10003c90
push 0x100d608c
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x30
call fcn.10003c90
mov byte [ebp - 4], 0x31
call fcn.1000a590
lea ecx, [ebp - 0x6fc]
push ecx
lea ecx, [ebp - 0x6f8]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x6f8]
mov eax, ebx
mov byte [ebp - 4], 0x30
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b377
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6fc]
mov eax, ebx
mov byte [ebp - 4], 0x25
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b398
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x710]
mov eax, ebx
mov byte [ebp - 4], 0x24
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b3b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x714]
mov eax, ebx
mov byte [ebp - 4], 0x23
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b3da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x6dc]
call fcn.10003d60
lea ecx, [ebp - 0x6f4]
call fcn.10003d60
push esi
call fcn.100632d0
add esp, 4
lea ecx, [ebp - 0x6ac]
call fcn.10003d60
lea ecx, [ebp - 0x67c]
call fcn.10003d60
lea ecx, [ebp - 0x694]
call fcn.10008bd0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001b436
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
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.10075b61
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003f10
push 0x80070057
call fcn.10003f10
push 0x80070057
call fcn.10003f10
push 0x80070057
call fcn.10003f10
call fcn.100a0325
call fcn.10004600
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.10075d0e
call fcn.100a0325
push 0x80004005
call fcn.10003f10
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
int3