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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d152a
mov eax, dword fs:[0]
push eax
sub esp, 0x678
mov eax, dword [0x1011449c]
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 [0x10117de0]
mov dword [ebp - 4], eax
test ecx, ecx
jne 0x1001454a
push 0x10113db8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x10117de0], 0
jne 0x10014539
push 4
call fcn.100806a5
mov esi, eax
add esp, 4
mov dword [ebp - 0x674], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x10014527
mov ecx, esi
call fcn.10066190
jmp 0x10014529
xor esi, esi
mov byte [ebp - 4], 0
xchg dword [ebp - 0x678], eax
mov dword [0x10117de0], esi
push 0x10113db8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x10117de0]
lea eax, [ebp - 0x48c]
push eax
call fcn.10069830
mov byte [ebp - 4], 2
call fcn.1000aae0
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 0x1001462c
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 0x100145be
mov esi, dword [edi]
mov edx, dword [edi + 0x10]
cmp edx, dword [ebp - 0x47c]
jne 0x1001467b
test edx, edx
je 0x100145e8
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x10014675
add ecx, 2
sub edx, 1
jne 0x100145d3
mov edx, dword [ebp - 0x658]
imul eax, ebx, 0xa8
add edx, 0x90
add edx, eax
cmp dword [edx + 0x14], 8
jb 0x10014604
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 0x10014610
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x4bc]
call fcn.10011460
cmp dword [ebp - 0x4a8], 8
lea eax, [ebp - 0x4bc]
lea ecx, [ebp - 0x65c]
cmovae eax, dword [ebp - 0x4bc]
push eax
call fcn.10003e80
lea eax, [ebp - 0x504]
mov byte [ebp - 4], 3
push eax
call fcn.10051ed0
add esp, 4
mov esi, eax
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 4
jb 0x1001466d
mov esi, dword [esi]
test esi, esi
jne 0x1001468c
xor ecx, ecx
jmp 0x100146a0
mov eax, dword [ebp - 0x654]
inc ebx
add edi, 0xa8
cmp ebx, eax
jb 0x100145a0
jmp 0x1001462c
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10014691
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 0x10015dc0
test esi, esi
jne 0x100146c5
xor edx, edx
jmp 0x100146d7
push ecx
push esi
call fcn.100ab2e6
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 0x10015dca
add edi, edx
js 0x10015dd4
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, edi
or ecx, edx
jge 0x10014717
push edi
lea ecx, [ebp - 0x65c]
call fcn.10004620
mov eax, dword [ebp - 0x65c]
mov edx, dword [ebp - 0x654]
cmp ebx, edx
ja 0x10014724
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.10004a40
mov eax, dword [ebp - 0x65c]
add esp, 0x10
cmp edi, dword [eax - 8]
jg 0x10015dc0
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 0x1001479d
mov ecx, dword [ebp - 0x504]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014793
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015dde
push edx
push ecx
call fcn.10080302
add esp, 8
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10014a96
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.100058c0
push 3
push 0x100e21cc
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.100058c0
mov byte [ebp - 4], 6
call fcn.1005f9c0
push 1
push 2
lea ecx, [ebp - 0xac]
mov ebx, eax
call fcn.10013820
push 0xffffffffffffffff
push 0x100e1fc4
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 7
call fcn.100127a0
push 0xffffffffffffffff
push 0x100e1fc8
lea ecx, [ebp - 0x42c]
mov edi, eax
call fcn.100127a0
push 0x64
mov esi, eax
lea eax, [ebp - 0x5b0]
push 0
push eax
call fcn.100a6fe0
add esp, 0xc
cmp esi, 0xffffffff
je 0x10014967
lea eax, [esi - 1]
cmp edi, eax
jae 0x10014967
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 0x10015de3
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.100058c0
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.100079f0
mov edx, dword [ebp - 0x460]
add esp, 0x10
cmp edx, 0x10
jb 0x1001494a
mov ecx, dword [ebp - 0x474]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014940
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015de8
push edx
push ecx
call fcn.10080302
add esp, 8
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0xf
mov byte [ebp - 0x474], 0
jmp 0x1001497d
push 0x1d
lea eax, [ebp - 0x5b0]
push str.__4d_
push eax
call fcn.100079f0
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.10009b60
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10009b60
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 8
push str.CExternalUrlConfig_request_url:
push eax
call fcn.10009b60
mov eax, dword [ebp - 0x65c]
mov ecx, 0x100e1fb4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xac]
push ecx
push eax
call fcn.10006ea0
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.10009f10
mov edx, dword [ebp - 0x430]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x10014a3d
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014a33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015ded
push edx
push ecx
call fcn.10080302
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 0x10014a96
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014a8c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015df2
push edx
push ecx
call fcn.10080302
add esp, 8
push 0
push 0x100e1de0
lea ecx, [ebp - 0x45c]
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0xf
mov byte [ebp - 0x45c], 0
call fcn.100058c0
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 0x10014ba8
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 0x10014ba1
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.100a6fe0
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 0x10014b92
test eax, eax
je 0x10014b9a
cmp eax, 0x401
jae 0x10015dfc
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 0x10014b70
sub ecx, edx
lea eax, [ebp - 0x414]
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.100048d0
mov eax, dword [ebp - 0x658]
test eax, eax
jne 0x10014b13
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x44c], 0
jne 0x10014ce9
mov edx, dword [ebp - 0x448]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10014bf3
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014be9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015df7
push edx
push ecx
call fcn.10080302
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 0x10014c30
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014c70
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e01
push edx
push ecx
call fcn.10080302
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 0x10014ccd
mov ecx, dword [ebp - 0x4bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014cc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e06
push edx
push ecx
call fcn.10080302
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.10080681
mov esp, ebp
pop ebp
ret
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x10015e0b
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.10004280
test al, al
jne 0x10014d30
push 0xe
push str.externalconfig
lea ecx, [ebp - 0x658]
call fcn.100046c0
mov byte [ebp - 4], 0xb
call fcn.1000aae0
mov esi, eax
lea eax, [ebp - 0x654]
push eax
call fcn.10053a90
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 0x10014d81
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 0x10014da2
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 0x100e2af8
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.100058c0
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.100051f0
mov edx, dword [ebp - 0x418]
add esp, 0xc
mov byte [ebp - 4], 0xd
mov esi, eax
cmp edx, 0x10
jb 0x10014e4f
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014e45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e15
push edx
push ecx
call fcn.10080302
add esp, 8
test esi, esi
jne 0x10014f6b
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10014e95
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014e8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e1a
push edx
push ecx
call fcn.10080302
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 0x10014eee
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e1f
push edx
push ecx
call fcn.10080302
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 0x10014f28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014c70
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e24
jmp 0x10014c66
cmp dword [ebp - 0x490], 0x10
lea eax, [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x4a4]
push eax
call fcn.1006c210
mov esi, eax
add esp, 4
mov dword [ebp - 0x684], esi
mov byte [ebp - 4], 0xf
test esi, esi
jne 0x100150b0
mov edx, dword [ebp - 0x490]
mov byte [ebp - 4], 9
cmp edx, 0x10
jb 0x10014fda
mov ecx, dword [ebp - 0x4a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014fd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e29
push edx
push ecx
call fcn.10080302
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 0x10015033
mov ecx, dword [ebp - 0x45c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015029
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e2e
push edx
push ecx
call fcn.10080302
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 0x1001506d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x478]
cmp edx, 8
jb 0x10014c70
mov ecx, dword [ebp - 0x48c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014c66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10015e33
jmp 0x10014c66
push str.config1
push esi
call fcn.1006c150
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001511d
push esi
call fcn.1006c0a0
add esp, 4
lea ecx, [ebp - 0x4a4]
call fcn.10003f50
lea ecx, [ebp - 0x45c]
call fcn.10003f50
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 0x10015102
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x48c]
call fcn.10008e10
lea ecx, [ebp - 0x4bc]
call fcn.10008e10
jmp 0x10014ccd
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.100058c0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x10
push eax
push edi
call fcn.1006ca10
add esp, 0xc
mov dword [ebp - 0x674], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003f50
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.100058c0
push 0xffffffffffffffff
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 0x11
push eax
push edi
call fcn.1006ca10
add esp, 0xc
mov dword [ebp - 0x67c], eax
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0xf
call fcn.10003f50
push 0
push 0x100e1de0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100058c0
push 3
push 0x100e2ca0
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.100058c0
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.1006ca50
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003f50
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x16
call fcn.10003f50
call fcn.10054430
mov dword [ebp - 0x654], eax
lea ecx, [ebp - 0x5cc]
mov dword [ebp - 0x5d0], ecx
test eax, eax
jne 0x1001528f
xor edx, edx
mov dword [ebp - 0x5d0], edx
jmp 0x10015382
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10015294
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.10004ae0
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 0x10015374
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1001536e
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.10004ae0
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 0x10015374
mov ecx, dword [ebp - 0x670]
test ecx, ecx
jne 0x10015e38
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 0x100153a6
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x4d4]
call fcn.100058c0
mov eax, dword [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
cmp eax, ecx
je 0x100153d5
push eax
call fcn.100aaa0e
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.10004570
mov ecx, eax
test ecx, ecx
je 0x10015e57
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.100056d0
add esp, 0xc
test eax, eax
je 0x10015784
mov dword [ebp - 0xc4], 0x100e2be0
mov dword [ebp - 0xb4], 0x100e2be8
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.10013670
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.100806a5
mov edi, eax
add esp, 4
test edi, edi
je 0x100154dd
push 1
mov byte [ebp - 4], 0x1e
call fcn.1005aae3
add esp, 4
mov dword [edi + 4], eax
jmp 0x100154df
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.10013110
push 0x100e2128
push eax
call fcn.10012e80
cmp dword [ebp - 0x4d8], 0x10
lea ecx, [ebp - 0x4ec]
push dword [ebp - 0x4dc]
cmovae ecx, dword [ebp - 0x4ec]
push ecx
push eax
call fcn.10013110
add esp, 0x20
push dword [ebp - 0x67c]
push 0x100e2128
push dword [ebp - 0x674]
push 0x100e2128
push eax
call fcn.10012e80
add esp, 8
mov ecx, eax
call fcn.10013db0
push eax
call fcn.10012e80
add esp, 8
mov ecx, eax
call fcn.10013db0
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 0x1001565d
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
test edx, edx
je 0x1001565d
mov eax, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0x74]
cmovb edx, dword [ebp - 0x74]
mov ecx, dword [eax]
sub edx, ecx
jmp 0x1001567d
test cl, 4
jne 0x1001568a
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
test edx, edx
je 0x1001568a
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.100058c0
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e2aa0
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.100058c0
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.100056d0
add esp, 0xc
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x474]
mov edi, eax
call fcn.10003f50
test edi, edi
je 0x1001575f
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x650]
push eax
call fcn.10004c00
push dword [eax]
lea ecx, [ebp - 0x66c]
mov byte [ebp - 4], 0x24
call fcn.10009600
mov eax, dword [ebp - 0x650]
lea ecx, [ebp - 0x64c]
cmp eax, ecx
je 0x1001575f
push eax
call fcn.100aaa0e
add esp, 4
lea ecx, [ebp - 0x42c]
call fcn.10003f50
lea ecx, [ebp - 0x444]
call fcn.10003f50
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x1b
call fcn.10014050
push str.external
lea ecx, [ebp - 0x654]
call fcn.10003e80
mov byte [ebp - 4], 0x25
call fcn.1000aae0
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 0x100157d3
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.10004c00
push dword [eax]
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0x26
call fcn.10003e80
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x28
cmp eax, ecx
je 0x10015826
push eax
call fcn.100aaa0e
add esp, 4
push 0
push 0x100e1de0
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.100058c0
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.100058c0
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.1006ca50
add esp, 0x10
lea ecx, [ebp - 0x42c]
call fcn.10003f50
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0x2d
call fcn.10003f50
push 0
push 0x100e1de0
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x4f4], 0
mov dword [ebp - 0x4f0], 0xf
mov byte [ebp - 0x504], 0
call fcn.100058c0
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.100058c0
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.1006ca50
add esp, 0x10
lea ecx, [ebp - 0x474]
call fcn.10003f50
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 0x32
call fcn.10003f50
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x10015e61
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x668], eax
mov byte [ebp - 4], 0x33
call fcn.10004570
mov ecx, eax
test ecx, ecx
je 0x10015e6b
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 0x10015acc
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e2aa0
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.100058c0
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.100056d0
add esp, 0xc
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003f50
test edi, edi
je 0x10015ab8
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004c00
push dword [eax]
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 0x37
call fcn.10009600
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x35
cmp eax, ecx
je 0x10015a7f
push eax
call fcn.100aaa0e
add esp, 4
push 0x100e2078
lea ecx, [ebp - 0x654]
call fcn.10003e80
mov byte [ebp - 4], 0x38
call fcn.1000aae0
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.10003f30
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 0x34
call fcn.10003f50
jmp 0x10015b50
push 0x100de924
lea ecx, [ebp - 0x660]
call fcn.10003e80
push 0x100e2078
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x39
call fcn.10003e80
mov byte [ebp - 4], 0x3a
call fcn.1000aae0
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 0x10015b2f
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 0x10015b50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x524], 0
je 0x10015c7c
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
push 0x24
push 0x100e2aa0
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.100058c0
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.100056d0
add esp, 0xc
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x444]
mov edi, eax
call fcn.10003f50
test edi, edi
je 0x10015c6c
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
push 0
cmovae eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x118]
push eax
call fcn.10004c00
push dword [eax]
lea ecx, [ebp - 0x664]
mov byte [ebp - 4], 0x3d
call fcn.10009600
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 0x3b
cmp eax, ecx
je 0x10015c33
push eax
call fcn.100aaa0e
add esp, 4
push 0x100e209c
lea ecx, [ebp - 0x654]
call fcn.10003e80
mov byte [ebp - 4], 0x3e
call fcn.1000aae0
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.10003f30
lea ecx, [ebp - 0x42c]
call fcn.10003f50
jmp 0x10015d00
push 0x100de924
lea ecx, [ebp - 0x660]
call fcn.10003e80
push 0x100e209c
lea ecx, [ebp - 0x654]
mov byte [ebp - 4], 0x3f
call fcn.10003e80
mov byte [ebp - 4], 0x40
call fcn.1000aae0
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 0x10015cdf
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 0x10015d00
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 0x10015d21
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 0x10015d42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x534]
call fcn.10003f50
lea ecx, [ebp - 0x54c]
call fcn.10003f50
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 0x10015d79
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 0x10015d9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x4ec]
call fcn.10003f50
lea ecx, [ebp - 0x4d4]
call fcn.10003f50
lea ecx, [ebp - 0x51c]
call fcn.10003f50
jmp 0x100150c4
push 0x80070057
call fcn.10004100
push 0x80070057
call fcn.10004100
push 0x80070057
call fcn.10004100
call fcn.100aae05
call fcn.100110b0
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.1008082e
call fcn.100aae05
call fcn.100aae05
push 0x80004005
call fcn.10004100
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
push 0x80
lea eax, [ebp - 0x5cc]
push eax
push dword [ebp - 0x5d0]
call fcn.10004be0
add esp, 0xc
call fcn.10004de0
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
push 0x80004005
call fcn.10004100
int3