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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cec78
mov eax, dword fs:[0]
push eax
sub esp, 0x70c
mov eax, dword [0x1010f404]
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.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cef2
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x70c], edi
mov ecx, dword [0x10112d50]
mov dword [ebp - 4], 0
test ecx, ecx
jne 0x1001bb66
push 0x1010edb8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10112d50], 0
jne 0x1001bb55
push 4
call fcn.1007d4b8
mov esi, eax
add esp, 4
mov dword [ebp - 0x700], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x1001bb43
mov ecx, esi
call fcn.10064900
jmp 0x1001bb45
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x718], eax
mov dword [0x10112d50], esi
push 0x1010edb8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10112d50]
lea eax, [ebp - 0x694]
push eax
call fcn.10068520
mov byte [ebp - 4], 2
call fcn.1000ab10
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 0x1001bc72
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 0x1001bbde
mov esi, dword [ebx]
mov edx, dword [ebx + 0x10]
cmp edx, dword [ebp - 0x684]
jne 0x1001bc2c
test edx, edx
je 0x1001bc01
sub esi, ecx
nop
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x1001bc26
add ecx, 2
sub edx, 1
jne 0x1001bbf0
imul eax, dword [ebp - 0x6f8], 0xa8
mov edx, dword [ebp - 0x700]
add edx, 0x78
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x1001bc1e
mov edx, dword [edx]
test edx, edx
jne 0x1001bc47
xor ecx, ecx
jmp 0x1001bc5f
mov eax, dword [ebp - 0x6f8]
inc eax
add ebx, 0xa8
mov dword [ebp - 0x6f8], eax
cmp eax, dword [ebp - 0x708]
jb 0x1001bbc0
jmp 0x1001bc72
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001bc50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70c]
call fcn.100045a0
mov edi, dword [ebp - 0x70c]
lea eax, [ebp - 0x64c]
push eax
call fcn.10050a70
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 3
jb 0x1001bc8f
mov esi, dword [esi]
test esi, esi
jne 0x1001bc97
xor ecx, ecx
jmp 0x1001bcaf
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001bca0
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 0x1001cefc
test esi, esi
jne 0x1001bcda
xor edx, edx
mov dword [ebp - 0x6f8], edx
jmp 0x1001bcec
push ecx
push esi
call fcn.100a8086
add esp, 8
mov dword [ebp - 0x6f8], eax
mov edx, eax
mov ecx, 0x7fffffff
sub ecx, edx
cmp ecx, ebx
jl 0x1001cf06
add ebx, edx
js 0x1001cf10
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x1001bd2c
push ebx
lea ecx, [ebp - 0x70c]
call fcn.10004500
mov edi, dword [ebp - 0x70c]
mov edx, dword [ebp - 0x6f8]
mov eax, dword [ebp - 0x700]
mov ecx, dword [ebp - 0x708]
cmp eax, ecx
ja 0x1001bd3f
lea esi, [edi + eax*2]
lea eax, [edx + edx]
push eax
push esi
push eax
lea eax, [edi + ecx*2]
push eax
call fcn.10004920
add esp, 0x10
cmp ebx, dword [edi - 8]
jg 0x1001cefc
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 0x1001bda7
mov ecx, dword [ebp - 0x64c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bd9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf1a
push edx
push ecx
call fcn.1007d115
add esp, 8
call fcn.1005e780
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 0x1001bfed
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.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 5
call fcn.1005e780
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 0x1001be54
cmp ecx, dword [esi]
jne 0x1001be54
lock inc dword [eax]
jmp 0x1001be92
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 0x1001cf1f
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.10004920
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.1005e3a0
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 0x1001bee1
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.10008360
mov esi, eax
mov ecx, dword [ebp - 0x700]
mov edx, 0x100ddfb4
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.10006d80
mov ecx, dword [ebp - 0x708]
add esp, 8
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x2b4]
call fcn.10009f30
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 0x1001bf56
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 0x1001bf94
mov ecx, dword [ebp - 0x634]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bf8a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf24
push edx
push ecx
call fcn.1007d115
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 0x1001bfed
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001bfe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf29
push edx
push ecx
call fcn.1007d115
add esp, 8
push 0
push 0x100ddde0
lea ecx, [ebp - 0x67c]
mov dword [ebp - 0x66c], 0
mov dword [ebp - 0x668], 0xf
mov byte [ebp - 0x67c], 0
call fcn.100057a0
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 0x1001c0fd
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 0x1001c0f1
mov dword [ebp - 0x6f8], 0
push 0x401
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.100a3d80
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 0x1001c0e2
test eax, eax
je 0x1001c0ea
cmp eax, 0x401
jae 0x1001cf33
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 0x1001c0c0
sub ecx, edx
lea eax, [ebp - 0x61c]
push ecx
push eax
lea ecx, [ebp - 0x67c]
call fcn.100047b0
mov eax, dword [ebp - 0x6f8]
test eax, eax
jne 0x1001c063
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 0x1001c1c9
mov edx, dword [ebp - 0x668]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x1001c148
mov ecx, dword [ebp - 0x67c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c13e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf2e
push edx
push ecx
call fcn.1007d115
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 0x1001c1a7
mov ecx, dword [ebp - 0x694]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c19d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf38
push edx
push ecx
call fcn.1007d115
add esp, 8
xor eax, eax
mov dword [ebp - 0x684], 0
mov dword [ebp - 0x680], 7
mov word [ebp - 0x694], ax
jmp 0x1001ceba
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf3d
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.10004160
test al, al
jne 0x1001c210
push 0xa
push str.grapconfig
lea ecx, [ebp - 0x6f8]
call fcn.100045a0
mov byte [ebp - 4], 0xb
call fcn.1000ab10
mov esi, eax
lea eax, [ebp - 0x704]
push eax
call fcn.10052630
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 0x1001c25e
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 0x1001c27f
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 0x100deae8
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.100057a0
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.100050d0
mov edx, dword [ebp - 0x638]
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, eax
cmp edx, 0x10
jb 0x1001c32c
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c322
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf47
push edx
push ecx
call fcn.1007d115
add esp, 8
test esi, esi
jne 0x1001c3ce
mov edx, dword [ebp - 0x698]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1001c372
mov ecx, dword [ebp - 0x6ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c368
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf4c
push edx
push ecx
call fcn.1007d115
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 0x1001c148
mov ecx, dword [ebp - 0x67c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c13e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf51
jmp 0x1001c13e
cmp dword [ebp - 0x698], 0x10
lea eax, [ebp - 0x6ac]
cmovae eax, dword [ebp - 0x6ac]
push eax
call fcn.1006aab0
mov esi, eax
add esp, 4
mov dword [ebp - 0x700], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x1001c43c
mov edx, dword [ebp - 0x698]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1001c372
mov ecx, dword [ebp - 0x6ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c368
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf56
jmp 0x1001c368
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf5b
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.10004160
test al, al
jne 0x1001c483
push 8
push str.grap_url
lea ecx, [ebp - 0x6f8]
call fcn.100045a0
mov ecx, dword [ebp - 0x6fc]
lea eax, [ebp - 0x6f8]
push 0
push eax
push 0x100dec90
push esi
mov byte [ebp - 4], 0x11
call fcn.1001cfb0
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 0x1001c4ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x704]
test eax, eax
je 0x1001c5e2
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf65
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.10004160
test al, al
jne 0x1001c51d
push 9
push str.grap_chnl
lea ecx, [ebp - 0x6f8]
call fcn.100045a0
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.1001cfb0
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 0x1001c55c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf6f
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.10004160
test al, al
jne 0x1001c5a3
push 9
push str.grap_stat
lea ecx, [ebp - 0x6f8]
call fcn.100045a0
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.1001cfb0
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 0x1001c5e2
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.100a3d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x10113304]
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 0x100df0dc
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xffffffff
jne 0x1001c692
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 0x100df0dc
push str.three_end
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x1001c7d2
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf79
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.10004160
test al, al
jne 0x1001c6e1
push 8
push str.grap_url
lea ecx, [ebp - 0x6f8]
call fcn.100045a0
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.1001cfb0
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 0x1001c72c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x704]
test eax, eax
je 0x1001c7d2
push str.grap_chnl
lea ecx, [ebp - 0x6f8]
call fcn.10003d60
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.1001cfb0
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 0x1001c783
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.grap_stat
lea ecx, [ebp - 0x6f8]
call fcn.10003d60
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.1001cfb0
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 0x1001c7d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x100ddde0
lea ecx, [ebp - 0x664]
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
call fcn.100057a0
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.100057a0
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.1006b2f0
add esp, 0x10
mov edx, dword [ebp - 0x620]
mov byte [ebp - 4], 0x1d
cmp edx, 0x10
jb 0x1001c890
mov ecx, dword [ebp - 0x634]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c886
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf83
push edx
push ecx
call fcn.1007d115
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 0x1001c8e9
mov ecx, dword [ebp - 0x664]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c8df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf88
push edx
push ecx
call fcn.1007d115
add esp, 8
push 0
push 0x100ddde0
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.100057a0
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.100057a0
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.1006b2f0
add esp, 0x10
mov edx, dword [ebp - 0x6b0]
mov byte [ebp - 4], 0x22
cmp edx, 0x10
jb 0x1001c9c2
mov ecx, dword [ebp - 0x6c4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001c9b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf8d
push edx
push ecx
call fcn.1007d115
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 0x1001ca1b
mov ecx, dword [ebp - 0x64c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001ca11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001cf92
push edx
push ecx
call fcn.1007d115
add esp, 8
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x638], 0xf
mov byte [ebp - 0x64c], 0
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cf97
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x714], eax
mov byte [ebp - 4], 0x24
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001cfa1
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 0x1001cbd8
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
push 0x24
push 0x100defcc
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.100057a0
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.100055b0
add esp, 0xc
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x634]
mov ebx, eax
call fcn.10003e30
test ebx, ebx
je 0x1001cbc1
cmp dword [ebp - 0x650], 0x10
lea eax, [ebp - 0x664]
push 0
cmovae eax, dword [ebp - 0x664]
lea ecx, [ebp - 0x320]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x714]
mov byte [ebp - 4], 0x28
call fcn.100094e0
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x26
cmp eax, ecx
je 0x1001cb5b
push eax
call fcn.100a77ae
add esp, 4
push 0x100de088
lea ecx, [ebp - 0x6f8]
call fcn.10003d60
mov byte [ebp - 4], 0x29
call fcn.1000ab10
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 0x1001cbc4
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.10003e30
jmp 0x1001cc5c
or ebx, 0xffffffff
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x25
call fcn.10003e30
jmp 0x1001cc5c
push 0x100da924
lea ecx, [ebp - 0x6fc]
call fcn.10003d60
push 0x100de088
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x2a
call fcn.10003d60
mov byte [ebp - 4], 0x2b
call fcn.1000ab10
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 0x1001cc3b
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 0x1001cc5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x6cc], 0
je 0x1001cdb4
mov dword [ebp - 0x654], 0
mov dword [ebp - 0x650], 0xf
mov byte [ebp - 0x664], 0
push 0x24
push 0x100defcc
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.100057a0
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.100055b0
add esp, 0xc
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x634]
mov ebx, eax
call fcn.10003e30
test ebx, ebx
je 0x1001cda1
cmp dword [ebp - 0x650], 0x10
lea eax, [ebp - 0x664]
push 0
cmovae eax, dword [ebp - 0x664]
lea ecx, [ebp - 0x320]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x710]
mov byte [ebp - 4], 0x2e
call fcn.100094e0
mov eax, dword [ebp - 0x320]
lea ecx, [ebp - 0x31c]
mov byte [ebp - 4], 0x2c
cmp eax, ecx
je 0x1001cd3f
push eax
call fcn.100a77ae
add esp, 4
push 0x100de0ac
lea ecx, [ebp - 0x6f8]
call fcn.10003d60
mov byte [ebp - 4], 0x2f
call fcn.1000ab10
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 0x1001cda4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x664]
call fcn.10003e30
jmp 0x1001ce38
or ebx, 0xffffffff
lea ecx, [ebp - 0x664]
call fcn.10003e30
jmp 0x1001ce38
push 0x100da924
lea ecx, [ebp - 0x6fc]
call fcn.10003d60
push 0x100de0ac
lea ecx, [ebp - 0x6f8]
mov byte [ebp - 4], 0x30
call fcn.10003d60
mov byte [ebp - 4], 0x31
call fcn.1000ab10
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 0x1001ce17
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 0x1001ce38
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 0x1001ce59
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 0x1001ce7a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x6dc]
call fcn.10003e30
lea ecx, [ebp - 0x6f4]
call fcn.10003e30
push esi
call fcn.1006a940
add esp, 4
lea ecx, [ebp - 0x6ac]
call fcn.10003e30
lea ecx, [ebp - 0x67c]
call fcn.10003e30
lea ecx, [ebp - 0x694]
call fcn.10008cf0
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001ced6
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.1007d494
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10003fe0
push 0x80070057
call fcn.10003fe0
push 0x80070057
call fcn.10003fe0
push 0x80070057
call fcn.10003fe0
call fcn.100a7ba5
call fcn.100046d0
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.1007d63e
call fcn.100a7ba5
push 0x80004005
call fcn.10003fe0
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
int3