Function at 0x10013b30
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c68ca
mov eax, dword fs:[0]
push eax
sub esp, 0x678
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
xor eax, eax
mov dword [ebp - 0x654], eax
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x4a8], 7
mov word [ebp - 0x4bc], ax
mov ecx, dword [0x10109d28]
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x10013bea
push 0x10105db8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10109d28], 0
jne 0x10013bd9
push 4
call fcn.10075b85
mov esi, eax
add esp, 4
mov dword [ebp - 0x674], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10013bc7
mov ecx, esi
call fcn.1005ddd0
jmp 0x10013bc9
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x678], eax
mov dword [0x10109d28], esi
push 0x10105db8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10109d28]
lea eax, [ebp - 0x48c]
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 ebx, ebx
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov eax, 0x30c30c31
sub ecx, esi
mov dword [ebp - 0x658], esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x654], eax
je 0x10013ccc
mov edi, esi
nop dword [eax]
nop dword [eax + eax]
cmp dword [ebp - 0x478], 8
lea ecx, [ebp - 0x48c]
mov esi, edi
cmovae ecx, dword [ebp - 0x48c]
cmp dword [edi + 0x14], 8
jb 0x10013c5e
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0x47c]
jne 0x10013d1b
test edx, edx
je 0x10013c88
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10013d15
add ecx, 2
sub edx, 1
jne 0x10013c73
mov edx, dword [ebp - 0x658]
imul eax, ebx, 0xa8
add edx, 0x90
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x10013ca4
mov edx, dword [edx]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013cb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4bc]
call fcn.10010b00
cmp dword [ebp - 0x4a8], 8
lea eax, [ebp - 0x4bc]
lea ecx, [ebp - 0x65c]
cmovae eax, dword [ebp - 0x4bc]
push eax
call fcn.10003c90
lea eax, [ebp - 0x504]
mov byte [ebp - 4], 3
push eax
call fcn.1004b340
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x10013d0d
mov esi, dword [esi]
test esi, esi
jne 0x10013d2c
xor ecx, ecx
jmp 0x10013d40
mov eax, dword [ebp - 0x654]
inc ebx
add edi, 0xa8
cmp ebx, eax
jb 0x10013c40
jmp 0x10013ccc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013d31
sub ecx, edx
sar ecx, 1
mov eax, dword [ebp - 0x65c]
mov ebx, esi
sub ebx, eax
sar ebx, 1
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x654], edi
test ecx, ecx
js 0x10015460
test esi, esi
jne 0x10013d65
xor edx, edx
jmp 0x10013d77
push ecx
push esi
call fcn.100a0806
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x65c]
mov ecx, 0x7fffffff
mov dword [ebp - 0x658], edx
sub ecx, edx
cmp ecx, edi
jl 0x1001546a
add edi, edx
js 0x10015474
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x10013db7
push edi
lea ecx, [ebp - 0x65c]
call fcn.10004430
mov eax, dword [ebp - 0x65c]
mov edx, dword [ebp - 0x654]
cmp ebx, edx
ja 0x10013dc4
lea esi, [eax + ebx*2]
mov ecx, dword [ebp - 0x658]
lea eax, [eax + edx*2]
add ecx, ecx
push ecx
push esi
push ecx
push eax
call fcn.10004850
mov eax, dword [ebp - 0x65c]
add esp, 0x10
cmp edi, dword [eax - 8]
jg 0x10015460
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x65c]
mov byte [ebp - 4], 3
mov word [eax + edi*2], cx
mov edx, dword [ebp - 0x4f0]
cmp edx, 8
jb 0x10013e3d
mov ecx, dword [ebp - 0x504]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001547e
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
sub eax, 1
jne 0x10014136
push 0x70
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configexternalurlconfig.cpp
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], al
call fcn.100056d0
push 3
push 0x100d61c4
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 5
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100056d0
mov byte [ebp - 4], 6
call fcn.10057ca0
push 1
push 2
lea ecx, [ebp - 0xac]
mov ebx, eax
call fcn.10012ec0
push 0xffffffffffffffff
push 0x100d5fa4
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 7
call fcn.10011e40
push 0xffffffffffffffff
push 0x100d5fa8
lea ecx, [ebp - 0x42c]
mov edi, eax
call fcn.10011e40
push 0x64
mov esi, eax
lea eax, [ebp - 0x5b0]
push 0
push eax
call fcn.1009c500
add esp, 0xc
cmp esi, 0xffffffff
je 0x10014007
lea eax, [esi - 1]
cmp edi, eax
jae 0x10014007
mov eax, dword [ebp - 0x41c]
lea edx, [edi + 1]
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
cmp eax, edx
jb 0x10015483
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
add eax, edx
lea ecx, [ebp - 0x474]
push eax
call fcn.100056d0
cmp dword [ebp - 0x460], 0x10
mov eax, 1
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x474]
cmovae eax, dword [ebp - 0x474]
push eax
push 0x1d
lea eax, [ebp - 0x5b0]
push str.__4d___s_
push eax
call fcn.10007800
mov edx, dword [ebp - 0x460]
add esp, 0x10
cmp edx, 0x10
jb 0x10013fea
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fe0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015488
push edx
push ecx
call fcn.100757e2
add esp, 8
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
jmp 0x1001401d
push 0x1d
lea eax, [ebp - 0x5b0]
push str.__4d_
push eax
call fcn.10007800
add esp, 0xc
cmp dword [ebp - 0x430], 0x10
lea eax, [ebp - 0x444]
cmovae eax, dword [ebp - 0x444]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10009920
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10009920
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push str.CExternalUrlConfig_request_url:
push eax
call fcn.10009920
mov eax, dword [ebp - 0x65c]
mov ecx, 0x100d5f94
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xac]
push ecx
push eax
call fcn.10006cb0
mov eax, dword [ebx]
lea ecx, [ebp - 0xac]
add esp, 0x20
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10009a50
mov edx, dword [ebp - 0x430]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x100140dd
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100140d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001548d
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10014136
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001412c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015492
push edx
push ecx
call fcn.100757e2
add esp, 8
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 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 ebx, eax
test ebx, ebx
je 0x10014248
push 0
push 0x84000000
push 0
push 0
push dword [ebp - 0x65c]
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x10014241
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x658], 0
push 0x401
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1009c500
add esp, 0xc
lea eax, [ebp - 0x658]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call edi
test eax, eax
mov eax, dword [ebp - 0x658]
je 0x10014232
test eax, eax
je 0x1001423a
cmp eax, 0x401
jae 0x1001549c
lea ecx, [ebp - 0x414]
mov byte [ebp + eax - 0x414], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014210
sub ecx, edx
lea eax, [ebp - 0x414]
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.100046e0
mov eax, dword [ebp - 0x658]
test eax, eax
jne 0x100141b3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x44c], 0
jne 0x10014389
mov edx, dword [ebp - 0x448]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10014293
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014289
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015497
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x65c]
or eax, 0xffffffff
mov dword [ebp - 0x44c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100142d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014310
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014306
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154a1
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x4a8]
xor eax, eax
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 7
mov word [ebp - 0x48c], ax
cmp edx, 8
jb 0x1001436d
mov ecx, dword [ebp - 0x4bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014363
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154a6
push edx
push ecx
call fcn.100757e2
add esp, 8
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
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x100154ab
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x658], eax
push str.externalconfig
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 0xa
call fcn.10004090
test al, al
jne 0x100143d0
push 0xe
push str.externalconfig
lea ecx, [ebp - 0x658]
call fcn.100044d0
mov byte [ebp - 4], 0xb
call fcn.1000a590
mov esi, eax
lea eax, [ebp - 0x654]
push eax
call fcn.1004bd80
add esp, 4
mov edx, dword [esi]
mov ecx, esi
push eax
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 0xc
push eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x654]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014421
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x658]
mov eax, ebx
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014442
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
push 0x26
push 0x100d6a58
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.100056d0
lea eax, [ebp - 0x4a4]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.10005000
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, eax
cmp edx, 0x10
jb 0x100144ef
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100144e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154b5
push edx
push ecx
call fcn.100757e2
add esp, 8
test esi, esi
jne 0x1001460b
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10014535
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001452b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154ba
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x1001458e
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154bf
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x65c]
mov dword [ebp - 0x44c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100145c8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014310
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014306
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154c4
jmp 0x10014306
cmp dword [ebp - 0x490], 0x10
lea eax, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4a4]
push eax
call fcn.10063440
mov esi, eax
add esp, 4
mov dword [ebp - 0x684], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x10014750
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x1001467a
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154c9
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0xf
mov byte [ebp - 0x4a4], 0
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x100146d3
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100146c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154ce
push edx
push ecx
call fcn.100757e2
add esp, 8
mov edx, dword [ebp - 0x65c]
mov dword [ebp - 0x44c], 0
add edx, 0xfffffff0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001470d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014310
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014306
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100154d3
jmp 0x10014306
push str.config1
push esi
call fcn.10063380
mov edi, eax
add esp, 8
test edi, edi
jne 0x100147bd
push esi
call fcn.100632d0
add esp, 4
lea ecx, [ebp - 0x4a4]
call fcn.10003d60
lea ecx, [ebp - 0x45c]
call fcn.10003d60
mov edx, dword [ebp - 0x65c]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100147a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48c]
call fcn.10008bd0
lea ecx, [ebp - 0x4bc]
call fcn.10008bd0
jmp 0x1001436d
push 5
push str.times
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.100056d0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x10
push eax
push edi
call fcn.10063c40
add esp, 0xc
mov dword [ebp - 0x674], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003d60
push 7
push str.percent
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.100056d0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
push eax
push edi
call fcn.10063c40
add esp, 0xc
mov dword [ebp - 0x67c], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003d60
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100056d0
push 3
push 0x100d6c00
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.100056d0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x51c]
push edi
push eax
call fcn.10063c80
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003d60
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x16
call fcn.10003d60
call fcn.1004c430
mov dword [ebp - 0x654], eax
lea ecx, [ebp - 0x5cc]
mov dword [ebp - 0x5d0], ecx
test eax, eax
jne 0x1001492f
xor edx, edx
mov dword [ebp - 0x5d0], edx
jmp 0x10014a22
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014934
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea edi, [eax*4]
mov dword [ebp - 0x658], eax
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x5d0]
push edi
push eax
call fcn.100048f0
add esp, 0x10
push 0
push 0
push edi
push dword [ebp - 0x5d0]
mov edi, dword [ebp - 0x654]
push dword [ebp - 0x658]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x670], ecx
test eax, eax
jne 0x10014a14
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10014a0e
push 0
push 0
push 0
push 0
push dword [ebp - 0x658]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
lea eax, [ebp - 0x5cc]
push 0x80
push eax
lea eax, [ebp - 0x5d0]
push edi
push eax
call fcn.100048f0
add esp, 0x10
push 0
push 0
push edi
push dword [ebp - 0x5d0]
push dword [ebp - 0x658]
push dword [ebp - 0x654]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x10014a14
mov ecx, dword [ebp - 0x670]
test ecx, ecx
jne 0x100154d8
mov edx, dword [ebp - 0x5d0]
mov ecx, edx
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0xf
mov byte [ebp - 0x4d4], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014a46
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4d4]
call fcn.100056d0
mov eax, dword [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
cmp eax, ecx
je 0x10014a75
push eax
call fcn.1009ff2e
add esp, 4
mov dword [ebp - 0x4dc], 0
mov dword [ebp - 0x4d8], 0xf
mov byte [ebp - 0x4ec], 0
mov byte [ebp - 4], 0x1a
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x100154f7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x66c], eax
lea eax, [ebp - 0x4ec]
mov byte [ebp - 4], 0x1b
push eax
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x51c]
push eax
call fcn.100054e0
add esp, 0xc
test eax, eax
je 0x10014e24
mov dword [ebp - 0xc4], 0x100d6b40
mov dword [ebp - 0xb4], 0x100d6b48
mov dword [ebp - 0x5c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x660]
lea ecx, [ebp - 0xc4]
or eax, 2
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x660], eax
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.10012d10
mov eax, dword [ebp - 0xc4]
push 8
mov dword [ebp - 4], 0x1d
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc4], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xc8], eax
mov dword [ebp - 0xac], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10075b85
mov edi, eax
add esp, 4
test edi, edi
je 0x10014b7d
push 1
mov byte [ebp - 4], 0x1e
call fcn.10052f73
add esp, 4
mov dword [edi + 4], eax
jmp 0x10014b7f
xor edi, edi
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0xac], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
cmp dword [ebp - 0x4c0], 0x10
lea eax, [ebp - 0x4d4]
push dword [ebp - 0x4c4]
cmovae eax, dword [ebp - 0x4d4]
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x1f
push eax
call fcn.100127b0
push 0x100d60fc
push eax
call fcn.10012520
cmp dword [ebp - 0x4d8], 0x10
lea ecx, [ebp - 0x4ec]
push dword [ebp - 0x4dc]
cmovae ecx, dword [ebp - 0x4ec]
push ecx
push eax
call fcn.100127b0
add esp, 0x20
push dword [ebp - 0x67c]
push 0x100d60fc
push dword [ebp - 0x674]
push 0x100d60fc
push eax
call fcn.10012520
add esp, 8
mov ecx, eax
call fcn.10013450
push eax
call fcn.10012520
add esp, 8
mov ecx, eax
call fcn.10013450
mov eax, dword [ebp - 0x660]
mov ecx, dword [ebp - 0x70]
or eax, 8
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 0x654], eax
test cl, 2
jne 0x10014cfd
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x10014cfd
mov eax, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x74]
cmovb edx, dword [ebp - 0x74]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x10014d1d
test cl, 4
jne 0x10014d2a
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
test edx, edx
je 0x10014d2a
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
sub edx, ecx
mov eax, dword [ebp - 0x80]
add edx, dword [eax]
push edx
push ecx
lea ecx, [ebp - 0x444]
call fcn.100056d0
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100d6a00
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.100056d0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.100054e0
add esp, 0xc
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x474]
mov edi, eax
call fcn.10003d60
test edi, edi
je 0x10014dff
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x650]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x66c]
mov byte [ebp - 4], 0x24
call fcn.100093c0
mov eax, dword [ebp - 0x650]
lea ecx, [ebp - 0x64c]
cmp eax, ecx
je 0x10014dff
push eax
call fcn.1009ff2e
add esp, 4
lea ecx, [ebp - 0x42c]
call fcn.10003d60
lea ecx, [ebp - 0x444]
call fcn.10003d60
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1b
call fcn.100136f0
push str.external
lea ecx, [ebp - 0x654]
call fcn.10003c90
mov byte [ebp - 4], 0x25
call fcn.1000a590
lea ecx, [ebp - 0x66c]
push ecx
lea ecx, [ebp - 0x654]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x654]
mov eax, ebx
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014e73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x508], 0x10
lea eax, [ebp - 0x51c]
push 0xfde9
cmovae eax, dword [ebp - 0x51c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0x26
call fcn.10003c90
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x28
cmp eax, ecx
je 0x10014ec6
push eax
call fcn.1009ff2e
add esp, 4
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100056d0
push 7
push str.ext_off
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x29
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.100056d0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x54c]
push esi
push eax
call fcn.10063c80
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003d60
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x2d
call fcn.10003d60
push 0
push 0x100d5dc0
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
call fcn.100056d0
push 6
push str.ext_on
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 0x2e
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
call fcn.100056d0
lea eax, [ebp - 0x504]
mov byte [ebp - 4], 0x2f
push eax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x534]
push esi
push eax
call fcn.10063c80
add esp, 0x10
lea ecx, [ebp - 0x474]
call fcn.10003d60
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 0x32
call fcn.10003d60
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x10015501
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov byte [ebp - 4], 0x33
call fcn.10004380
mov ecx, eax
test ecx, ecx
je 0x1001550b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x664], eax
cmp dword [ebp - 0x53c], 0
mov byte [ebp - 4], 0x34
je 0x1001516c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100d6a00
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100056d0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x36
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x54c]
push eax
call fcn.100054e0
add esp, 0xc
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003d60
test edi, edi
je 0x10015158
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 0x37
call fcn.100093c0
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x35
cmp eax, ecx
je 0x1001511f
push eax
call fcn.1009ff2e
add esp, 4
push 0x100d6058
lea ecx, [ebp - 0x654]
call fcn.10003c90
mov byte [ebp - 4], 0x38
call fcn.1000a590
lea ecx, [ebp - 0x668]
push ecx
lea ecx, [ebp - 0x654]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
lea ecx, [ebp - 0x654]
call fcn.10003d40
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x34
call fcn.10003d60
jmp 0x100151f0
push 0x100d2904
lea ecx, [ebp - 0x660]
call fcn.10003c90
push 0x100d6058
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x39
call fcn.10003c90
mov byte [ebp - 4], 0x3a
call fcn.1000a590
lea ecx, [ebp - 0x660]
push ecx
lea ecx, [ebp - 0x654]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x654]
mov eax, ebx
mov byte [ebp - 4], 0x39
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100151cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x660]
mov eax, ebx
mov byte [ebp - 4], 0x34
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100151f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x524], 0
je 0x1001531c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100d6a00
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x3b
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100056d0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x3c
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x534]
push eax
call fcn.100054e0
add esp, 0xc
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003d60
test edi, edi
je 0x1001530c
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004a10
push dword [eax]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x3d
call fcn.100093c0
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x3b
cmp eax, ecx
je 0x100152d3
push eax
call fcn.1009ff2e
add esp, 4
push 0x100d607c
lea ecx, [ebp - 0x654]
call fcn.10003c90
mov byte [ebp - 4], 0x3e
call fcn.1000a590
lea ecx, [ebp - 0x664]
push ecx
lea ecx, [ebp - 0x654]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
lea ecx, [ebp - 0x654]
call fcn.10003d40
lea ecx, [ebp - 0x42c]
call fcn.10003d60
jmp 0x100153a0
push 0x100d2904
lea ecx, [ebp - 0x660]
call fcn.10003c90
push 0x100d607c
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x3f
call fcn.10003c90
mov byte [ebp - 4], 0x40
call fcn.1000a590
lea ecx, [ebp - 0x660]
push ecx
lea ecx, [ebp - 0x654]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov edx, dword [ebp - 0x654]
mov eax, ebx
mov byte [ebp - 4], 0x3f
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001537f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x660]
mov eax, ebx
mov byte [ebp - 4], 0x34
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100153a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x664]
mov eax, ebx
mov byte [ebp - 4], 0x33
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100153c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x668]
mov eax, ebx
mov byte [ebp - 4], 0x32
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100153e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x534]
call fcn.10003d60
lea ecx, [ebp - 0x54c]
call fcn.10003d60
mov edx, dword [ebp - 0x680]
mov eax, ebx
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10015419
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x66c]
mov eax, ebx
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001543a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4ec]
call fcn.10003d60
lea ecx, [ebp - 0x4d4]
call fcn.10003d60
lea ecx, [ebp - 0x51c]
call fcn.10003d60
jmp 0x10014764
push 0x80070057
call fcn.10003f10
push 0x80070057
call fcn.10003f10
push 0x80070057
call fcn.10003f10
call fcn.100a0325
call fcn.10010750
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.10075d0e
call fcn.100a0325
call fcn.100a0325
push 0x80004005
call fcn.10003f10
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
call fcn.100a0325
push 0x80
lea eax, [ebp - 0x5cc]
push eax
push dword [ebp - 0x5d0]
call fcn.100049f0
add esp, 0xc
call fcn.10004bf0
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
push 0x80004005
call fcn.10003f10
int3