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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d02ba
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x10111404]
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 [0x10114d50]
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x1001481a
push 0x10110db8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10114d50], 0
jne 0x10014809
push 4
call fcn.1007f3e5
mov esi, eax
add esp, 4
mov dword [ebp - 0x674], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x100147f7
mov ecx, esi
call fcn.10066830
jmp 0x100147f9
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x678], eax
mov dword [0x10114d50], esi
push 0x10110db8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10114d50]
lea eax, [ebp - 0x48c]
push eax
call fcn.1006a450
mov byte [ebp - 4], 2
call fcn.1000ab10
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 0x100148fc
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 0x1001488e
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0x47c]
jne 0x1001494b
test edx, edx
je 0x100148b8
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10014945
add ecx, 2
sub edx, 1
jne 0x100148a3
mov edx, dword [ebp - 0x658]
imul eax, ebx, 0xa8
add edx, 0x90
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x100148d4
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 0x100148e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4bc]
call fcn.10011730
cmp dword [ebp - 0x4a8], 8
lea eax, [ebp - 0x4bc]
lea ecx, [ebp - 0x65c]
cmovae eax, dword [ebp - 0x4bc]
push eax
call fcn.10003d60
lea eax, [ebp - 0x504]
mov byte [ebp - 4], 3
push eax
call fcn.10052790
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x1001493d
mov esi, dword [esi]
test esi, esi
jne 0x1001495c
xor ecx, ecx
jmp 0x10014970
mov eax, dword [ebp - 0x654]
inc ebx
add edi, 0xa8
cmp ebx, eax
jb 0x10014870
jmp 0x100148fc
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014961
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 0x10016090
test esi, esi
jne 0x10014995
xor edx, edx
jmp 0x100149a7
push ecx
push esi
call fcn.100aa026
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 0x1001609a
add edi, edx
js 0x100160a4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x100149e7
push edi
lea ecx, [ebp - 0x65c]
call fcn.10004500
mov eax, dword [ebp - 0x65c]
mov edx, dword [ebp - 0x654]
cmp ebx, edx
ja 0x100149f4
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.10004920
mov eax, dword [ebp - 0x65c]
add esp, 0x10
cmp edi, dword [eax - 8]
jg 0x10016090
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 0x10014a6d
mov ecx, dword [ebp - 0x504]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014a63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160ae
push edx
push ecx
call fcn.1007f042
add esp, 8
call fcn.10060490
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10014d66
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.100057a0
push 3
push 0x100e01bc
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.100057a0
mov byte [ebp - 4], 6
call fcn.10060490
push 1
push 2
lea ecx, [ebp - 0xac]
mov ebx, eax
call fcn.10013af0
push 0xffffffffffffffff
push 0x100dffc4
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 7
call fcn.10012a70
push 0xffffffffffffffff
push 0x100dffc8
lea ecx, [ebp - 0x42c]
mov edi, eax
call fcn.10012a70
push 0x64
mov esi, eax
lea eax, [ebp - 0x5b0]
push 0
push eax
call fcn.100a5d20
add esp, 0xc
cmp esi, 0xffffffff
je 0x10014c37
lea eax, [esi - 1]
cmp edi, eax
jae 0x10014c37
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 0x100160b3
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.100057a0
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.100078d0
mov edx, dword [ebp - 0x460]
add esp, 0x10
cmp edx, 0x10
jb 0x10014c1a
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014c10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160b8
push edx
push ecx
call fcn.1007f042
add esp, 8
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
jmp 0x10014c4d
push 0x1d
lea eax, [ebp - 0x5b0]
push str.__4d_
push eax
call fcn.100078d0
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.10009a40
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10009a40
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push str.CExternalUrlConfig_request_url:
push eax
call fcn.10009a40
mov eax, dword [ebp - 0x65c]
mov ecx, 0x100dffb4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xac]
push ecx
push eax
call fcn.10006d80
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.10009f30
mov edx, dword [ebp - 0x430]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10014d0d
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014d03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160bd
push edx
push ecx
call fcn.1007f042
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 0x10014d66
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014d5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160c2
push edx
push ecx
call fcn.1007f042
add esp, 8
push 0
push 0x100dfde0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 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 ebx, eax
test ebx, ebx
je 0x10014e78
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 0x10014e71
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.100a5d20
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 0x10014e62
test eax, eax
je 0x10014e6a
cmp eax, 0x401
jae 0x100160cc
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 0x10014e40
sub ecx, edx
lea eax, [ebp - 0x414]
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.100047b0
mov eax, dword [ebp - 0x658]
test eax, eax
jne 0x10014de3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x44c], 0
jne 0x10014fb9
mov edx, dword [ebp - 0x448]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10014ec3
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014eb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160c7
push edx
push ecx
call fcn.1007f042
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 0x10014f00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014f40
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160d1
push edx
push ecx
call fcn.1007f042
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 0x10014f9d
mov ecx, dword [ebp - 0x4bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014f93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160d6
push edx
push ecx
call fcn.1007f042
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.1007f3c1
mov esp, ebp
pop ebp
ret
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x100160db
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.10004160
test al, al
jne 0x10015000
push 0xe
push str.externalconfig
lea ecx, [ebp - 0x658]
call fcn.100045a0
mov byte [ebp - 4], 0xb
call fcn.1000ab10
mov esi, eax
lea eax, [ebp - 0x654]
push eax
call fcn.10054350
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 0x10015051
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 0x10015072
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 0x100e0ae8
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.100057a0
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.100050d0
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, eax
cmp edx, 0x10
jb 0x1001511f
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015115
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160e5
push edx
push ecx
call fcn.1007f042
add esp, 8
test esi, esi
jne 0x1001523b
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10015165
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001515b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160ea
push edx
push ecx
call fcn.1007f042
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 0x100151be
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100151b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160ef
push edx
push ecx
call fcn.1007f042
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 0x100151f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014f40
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160f4
jmp 0x10014f36
cmp dword [ebp - 0x490], 0x10
lea eax, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4a4]
push eax
call fcn.1006c9e0
mov esi, eax
add esp, 4
mov dword [ebp - 0x684], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x10015380
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x100152aa
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100152a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160f9
push edx
push ecx
call fcn.1007f042
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 0x10015303
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100152f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100160fe
push edx
push ecx
call fcn.1007f042
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 0x1001533d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014f40
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014f36
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016103
jmp 0x10014f36
push str.config1
push esi
call fcn.1006c920
mov edi, eax
add esp, 8
test edi, edi
jne 0x100153ed
push esi
call fcn.1006c870
add esp, 4
lea ecx, [ebp - 0x4a4]
call fcn.10003e30
lea ecx, [ebp - 0x45c]
call fcn.10003e30
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 0x100153d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48c]
call fcn.10008cf0
lea ecx, [ebp - 0x4bc]
call fcn.10008cf0
jmp 0x10014f9d
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.100057a0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x10
push eax
push edi
call fcn.1006d1e0
add esp, 0xc
mov dword [ebp - 0x674], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003e30
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.100057a0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
push eax
push edi
call fcn.1006d1e0
add esp, 0xc
mov dword [ebp - 0x67c], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003e30
push 0
push 0x100dfde0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100057a0
push 3
push 0x100e0c90
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.100057a0
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.1006d220
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003e30
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x16
call fcn.10003e30
call fcn.10054a00
mov dword [ebp - 0x654], eax
lea ecx, [ebp - 0x5cc]
mov dword [ebp - 0x5d0], ecx
test eax, eax
jne 0x1001555f
xor edx, edx
mov dword [ebp - 0x5d0], edx
jmp 0x10015652
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015564
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.100049c0
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 0x10015644
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001563e
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.100049c0
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 0x10015644
mov ecx, dword [ebp - 0x670]
test ecx, ecx
jne 0x10016108
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 0x10015676
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4d4]
call fcn.100057a0
mov eax, dword [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
cmp eax, ecx
je 0x100156a5
push eax
call fcn.100a974e
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.10004450
mov ecx, eax
test ecx, ecx
je 0x10016127
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.100055b0
add esp, 0xc
test eax, eax
je 0x10015a54
mov dword [ebp - 0xc4], 0x100e0bd0
mov dword [ebp - 0xb4], 0x100e0bd8
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.10013940
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.1007f3e5
mov edi, eax
add esp, 4
test edi, edi
je 0x100157ad
push 1
mov byte [ebp - 4], 0x1e
call fcn.1005b5b3
add esp, 4
mov dword [edi + 4], eax
jmp 0x100157af
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.100133e0
push 0x100e011c
push eax
call fcn.10013150
cmp dword [ebp - 0x4d8], 0x10
lea ecx, [ebp - 0x4ec]
push dword [ebp - 0x4dc]
cmovae ecx, dword [ebp - 0x4ec]
push ecx
push eax
call fcn.100133e0
add esp, 0x20
push dword [ebp - 0x67c]
push 0x100e011c
push dword [ebp - 0x674]
push 0x100e011c
push eax
call fcn.10013150
add esp, 8
mov ecx, eax
call fcn.10014080
push eax
call fcn.10013150
add esp, 8
mov ecx, eax
call fcn.10014080
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 0x1001592d
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x1001592d
mov eax, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x74]
cmovb edx, dword [ebp - 0x74]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x1001594d
test cl, 4
jne 0x1001595a
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
test edx, edx
je 0x1001595a
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.100057a0
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e0a90
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.100057a0
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.100055b0
add esp, 0xc
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x474]
mov edi, eax
call fcn.10003e30
test edi, edi
je 0x10015a2f
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x650]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x66c]
mov byte [ebp - 4], 0x24
call fcn.100094e0
mov eax, dword [ebp - 0x650]
lea ecx, [ebp - 0x64c]
cmp eax, ecx
je 0x10015a2f
push eax
call fcn.100a974e
add esp, 4
lea ecx, [ebp - 0x42c]
call fcn.10003e30
lea ecx, [ebp - 0x444]
call fcn.10003e30
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1b
call fcn.10014320
push str.external
lea ecx, [ebp - 0x654]
call fcn.10003d60
mov byte [ebp - 4], 0x25
call fcn.1000ab10
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 0x10015aa3
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.10004ae0
push dword [eax]
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0x26
call fcn.10003d60
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x28
cmp eax, ecx
je 0x10015af6
push eax
call fcn.100a974e
add esp, 4
push 0
push 0x100dfde0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100057a0
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.100057a0
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.1006d220
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003e30
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x2d
call fcn.10003e30
push 0
push 0x100dfde0
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
call fcn.100057a0
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.100057a0
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.1006d220
add esp, 0x10
lea ecx, [ebp - 0x474]
call fcn.10003e30
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 0x32
call fcn.10003e30
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x10016131
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov byte [ebp - 4], 0x33
call fcn.10004450
mov ecx, eax
test ecx, ecx
je 0x1001613b
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 0x10015d9c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e0a90
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.100057a0
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.100055b0
add esp, 0xc
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003e30
test edi, edi
je 0x10015d88
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 0x37
call fcn.100094e0
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x35
cmp eax, ecx
je 0x10015d4f
push eax
call fcn.100a974e
add esp, 4
push 0x100e0078
lea ecx, [ebp - 0x654]
call fcn.10003d60
mov byte [ebp - 4], 0x38
call fcn.1000ab10
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.10003e10
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x34
call fcn.10003e30
jmp 0x10015e20
push 0x100dc924
lea ecx, [ebp - 0x660]
call fcn.10003d60
push 0x100e0078
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x39
call fcn.10003d60
mov byte [ebp - 4], 0x3a
call fcn.1000ab10
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 0x10015dff
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 0x10015e20
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x524], 0
je 0x10015f4c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e0a90
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.100057a0
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.100055b0
add esp, 0xc
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003e30
test edi, edi
je 0x10015f3c
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004ae0
push dword [eax]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x3d
call fcn.100094e0
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x3b
cmp eax, ecx
je 0x10015f03
push eax
call fcn.100a974e
add esp, 4
push 0x100e009c
lea ecx, [ebp - 0x654]
call fcn.10003d60
mov byte [ebp - 4], 0x3e
call fcn.1000ab10
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.10003e10
lea ecx, [ebp - 0x42c]
call fcn.10003e30
jmp 0x10015fd0
push 0x100dc924
lea ecx, [ebp - 0x660]
call fcn.10003d60
push 0x100e009c
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x3f
call fcn.10003d60
mov byte [ebp - 4], 0x40
call fcn.1000ab10
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 0x10015faf
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 0x10015fd0
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 0x10015ff1
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 0x10016012
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x534]
call fcn.10003e30
lea ecx, [ebp - 0x54c]
call fcn.10003e30
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 0x10016049
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 0x1001606a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4ec]
call fcn.10003e30
lea ecx, [ebp - 0x4d4]
call fcn.10003e30
lea ecx, [ebp - 0x51c]
call fcn.10003e30
jmp 0x10015394
push 0x80070057
call fcn.10003fe0
push 0x80070057
call fcn.10003fe0
push 0x80070057
call fcn.10003fe0
call fcn.100a9b45
call fcn.10011380
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.1007f56e
call fcn.100a9b45
call fcn.100a9b45
push 0x80004005
call fcn.10003fe0
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
call fcn.100a9b45
push 0x80
lea eax, [ebp - 0x5cc]
push eax
push dword [ebp - 0x5d0]
call fcn.10004ac0
add esp, 0xc
call fcn.10004cc0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
push 0x80004005
call fcn.10003fe0
int3