Function at 0x1000d6c0
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004ae82
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x10068224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x37c], eax
call fcn.1000eb40
push 0x208
mov edi, eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10026b00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000d7e0
lea eax, [ebp - 0x218]
push eax
call fcn.10014050
add esp, 4
test eax, eax
je 0x1000d7e0
cmp dword [edi], 0
jne 0x1000d7e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x1000d7e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpInit
push eax
call esi
push str.HttpUninit
push dword [edi]
mov dword [edi + 4], eax
call esi
push str.zlib_uncompress
push dword [edi]
mov dword [edi + 8], eax
call esi
push str.zlib_compress
push dword [edi]
mov dword [edi + 0x10], eax
call esi
push str.zlib_compressBound
push dword [edi]
mov dword [edi + 0x14], eax
call esi
mov dword [edi + 0x18], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x1000d7e0
call eax
mov dword [edi + 0xc], eax
call fcn.10018bc0
test eax, eax
je 0x1000d83e
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000d83e
call fcn.10018bc0
lea ecx, [ebp - 0xa8]
mov edi, eax
call fcn.10005e20
mov esi, eax
push str.get_script
push esi
mov dword [ebp - 4], 0
call fcn.10006b70
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], 0xffffffff
call fcn.10006ca0
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1000e40b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x378], eax
lea eax, [ebp - 0x370]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
mov dword [ebp - 0x38c], 0
call fcn.1000e480
mov byte [ebp - 4], 2
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1000e415
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x380], eax
push 0x1c
mov byte [ebp - 4], 3
call fcn.100199e7
mov esi, eax
add esp, 4
mov dword [ebp - 0x368], esi
test esi, esi
je 0x1000d917
mov dword [esi], vtable.CHttpTaskAdapterGet.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1000e41f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1000e429
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
push 0
push 1
add eax, 0x10
push 0
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
jmp 0x1000d919
xor esi, esi
push dword [ebp - 0x37c]
lea ecx, [ebp - 0x394]
mov dword [ebp - 0x394], 0
push esi
mov dword [ebp - 0x390], 0
call fcn.1000c270
mov eax, dword [ebp - 0x370]
mov byte [ebp - 4], 4
mov dword [ebp - 0x368], eax
call fcn.1000eb40
mov esi, dword [ebp - 0x394]
or ebx, 0xffffffff
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1000e16c
mov eax, dword [ecx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x1000e16c
mov edx, dword [edi]
mov ecx, edi
push 0
push str.ungzip
call dword [edx + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 0
push str.gzip
call dword [eax + 0x30]
test edi, edi
je 0x1000e16c
push dword [ebp - 0x37c]
lea ecx, [ebp - 0x388]
mov dword [ebp - 0x388], 0
push edi
mov dword [ebp - 0x384], 0
call fcn.1000c310
mov eax, dword [ebp - 0x388]
mov dword [esi + 4], eax
mov edi, dword [esi + 8]
mov eax, dword [ebp - 0x384]
mov dword [esi + 8], eax
test edi, edi
je 0x1000d9f8
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x1000d9f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x1000d9f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esi + 4]
push esi
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [esi + 4]
push dword [ebp - 0x368]
push 0
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x1000e16c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1000e16c
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000e16c
cmp dword [esi + 0xc], eax
je 0x1000e16c
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x380]
call fcn.1000c710
mov esi, dword [ebp - 0x390]
mov byte [ebp - 4], 3
test esi, esi
je 0x1000da7c
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000da7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000da7c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x380]
push edi
call fcn.1001cce0
mov esi, eax
add esp, 4
mov dword [ebp - 0x384], esi
test esi, esi
jne 0x1000db27
call fcn.10018bc0
test eax, eax
je 0x1000daf6
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000daf6
call fcn.10018bc0
lea ecx, [ebp - 0xa8]
mov ebx, eax
call fcn.10005e20
mov esi, eax
push str.json_error
push esi
mov byte [ebp - 4], 0xa
call fcn.10006b70
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call fcn.10006ca0
or ebx, 0xffffffff
push 7
push str.ex1c1
lea ecx, [ebp - 0x378]
call fcn.10004920
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e31e
mov ecx, dword [edi]
push edi
jmp 0x1000e319
mov dword [ebp - 0x390], esi
push 5
push str.errno
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007b80
push 0xffffffffffffffff
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xc
push eax
push esi
call fcn.1001d410
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov dword [ebp - 0x374], eax
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x1000dbbe
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dbae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e433
push edx
push ecx
call fcn.10019a17
mov eax, dword [ebp - 0x374]
add esp, 8
test eax, eax
je 0x1000dc6e
call fcn.10018bc0
test eax, eax
je 0x1000dc34
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000dc34
call fcn.10018bc0
lea ecx, [ebp - 0xa8]
mov ebx, eax
call fcn.10005e20
mov esi, eax
push str.error
push esi
mov byte [ebp - 4], 0xd
call fcn.10006b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x374]
call fcn.1000c7d0
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
call fcn.10006ca0
mov esi, dword [ebp - 0x384]
or ebx, 0xffffffff
push 7
push str.ex1c2
lea ecx, [ebp - 0x378]
call fcn.10004920
push esi
call fcn.1001cbb0
add esp, 4
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e31e
mov ecx, dword [edi]
push edi
jmp 0x1000e319
push 0
push 0x1004f1b0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10007b80
push 4
push str.data
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.10007b80
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x260]
push esi
push eax
call fcn.1001d450
add esp, 0x10
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x1000dcfa
mov eax, dword [eax]
lea ecx, [ebp - 0x360]
push 0xfde9
mov dword [ebp - 0x364], ecx
lea ecx, [ebp - 0x364]
push eax
call fcn.1000ebd0
mov eax, dword [ebp - 0x364]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x368], eax
call fcn.10003e90
mov ecx, eax
test ecx, ecx
je 0x1000e438
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x374], esi
mov edx, dword [ebp - 0x368]
mov byte [ebp - 4], 0x12
test edx, edx
je 0x1000de51
test edx, 0xffff0000
jne 0x1000de37
movzx eax, dx
push 0
push eax
mov dword [ebp - 0x36c], eax
call fcn.1000d480
add esp, 8
mov dword [ebp - 0x368], eax
test eax, eax
je 0x1000de66
mov ecx, dword [ebp - 0x36c]
shr ecx, 4
push 6
inc ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000de66
push dword [ebp - 0x36c]
push eax
push dword [ebp - 0x368]
call fcn.10004bd0
add esp, 0xc
mov dword [ebp - 0x368], eax
test eax, eax
je 0x1000de66
movzx edx, word [eax]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x36c], edx
jge 0x1000ddfa
push edx
lea ecx, [ebp - 0x374]
call fcn.100047e0
mov eax, dword [ebp - 0x368]
mov esi, dword [ebp - 0x374]
movzx edx, word [eax]
jmp 0x1000de00
mov eax, dword [ebp - 0x368]
movzx ecx, dx
add eax, 2
push ecx
push eax
push dword [ebp - 0x36c]
push esi
call fcn.100314b8
push eax
call fcn.10003b70
mov eax, dword [ebp - 0x36c]
add esp, 0x14
cmp eax, dword [esi - 8]
jg 0x1000e442
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x1000de66
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000de40
sub ecx, esi
sar ecx, 1
jmp 0x1000de53
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x374]
call fcn.10004920
mov esi, dword [ebp - 0x374]
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
cmp eax, ecx
je 0x1000de7f
push eax
call fcn.10029b60
add esp, 4
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x1000debd
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000deb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e44c
push edx
push ecx
call fcn.10019a17
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x1000df16
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e451
push edx
push ecx
call fcn.10019a17
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x17
cmp edx, 0x10
jb 0x1000df6f
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000df65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000e456
push edx
push ecx
call fcn.10019a17
add esp, 8
cmp dword [esi - 0xc], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
jne 0x1000e031
call fcn.10018bc0
test eax, eax
je 0x1000dff9
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000dff9
call fcn.10018bc0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x368], eax
call fcn.10005e20
mov ebx, eax
push str.service_no_script
push ebx
mov byte [ebp - 4], 0x18
call fcn.10006b70
mov eax, dword [ebp - 0x368]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push ebx
call dword [edx + 0x14]
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x17
call fcn.10006ca0
or ebx, 0xffffffff
push 7
push str.ex1c3
lea ecx, [ebp - 0x378]
call fcn.10004920
add esi, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e026
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x384]
jmp 0x1000dc47
mov ecx, esi
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000e042
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea ebx, [eax*4]
mov dword [ebp - 0x36c], eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.1000c090
add esp, 0x10
push 0
push 0
push ebx
push dword [ebp - 0x94]
push dword [ebp - 0x36c]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x1000e109
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1000e109
push 0
push 0
push 0
push 0
push dword [ebp - 0x36c]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
lea eax, [ebp - 0x90]
push 0x80
push eax
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.1000c090
add esp, 0x10
push 0
push 0
push ebx
push dword [ebp - 0x94]
push dword [ebp - 0x36c]
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x1000e45b
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 0x19
test edx, edx
jne 0x1000e123
xor ecx, ecx
jmp 0x1000e131
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e128
sub ecx, ebx
push ecx
mov ecx, dword [ebp - 0x37c]
push edx
call fcn.1000f5e0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x1000e157
push eax
call fcn.10029b60
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 0x38c], 1
or ebx, 0xffffffff
jmp 0x1000e00e
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x380]
call fcn.1000c710
mov esi, dword [ebp - 0x390]
mov byte [ebp - 4], 3
test esi, esi
je 0x1000e1a8
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x1000e1a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x1000e1a8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
call fcn.10018bc0
test eax, eax
je 0x1000e273
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000e273
call fcn.10018bc0
mov ebx, eax
lea eax, [ebp - 0x37c]
push eax
call fcn.10007470
mov ecx, eax
call fcn.10005190
mov esi, eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
call fcn.10005e20
mov edi, eax
push str.request_data_fail
push edi
mov byte [ebp - 4], 6
call fcn.10006b70
mov ecx, dword [esi]
mov esi, 0x1004fbac
test ecx, ecx
mov edx, esi
cmovne edx, ecx
push edx
push edi
call fcn.1000bde0
push str.__url:
push edi
call fcn.10006b70
mov eax, dword [ebp - 0x370]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.1000bde0
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
push edi
call dword [eax + 0x14]
lea ecx, [ebp - 0xa8]
call fcn.10006ca0
mov edx, dword [ebp - 0x37c]
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e273
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x380]
lea eax, [ebp - 0x360]
push 0xfde9
push esi
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x364], eax
call fcn.1000ebd0
push dword [ebp - 0x364]
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 7
call fcn.10003580
mov eax, dword [ebp - 0x364]
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x1000e2c8
push eax
call fcn.10029b60
add esp, 4
push dword [ebp - 0x368]
lea eax, [ebp - 0x378]
push str.ex1_s
push eax
call fcn.10008d90
mov edx, dword [ebp - 0x368]
add esp, 0xc
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e303
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e31e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x370]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000e33f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10018bc0
test eax, eax
je 0x1000e3a4
call fcn.10018bc0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1000e3a4
call fcn.10018bc0
lea ecx, [ebp - 0x2f8]
mov edi, eax
call fcn.10005e20
mov esi, eax
push str.get_script_ret
push esi
mov byte [ebp - 4], 0x1a
call fcn.10006b70
add esp, 8
mov ecx, esi
push dword [ebp - 0x38c]
call fcn.1000c7d0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x14]
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 1
call fcn.10006ca0
mov esi, dword [ebp - 0x38c]
test esi, esi
jne 0x1000e3c9
push esi
push esi
push 1
push dword [ebp - 0x378]
push str.getdata_f
call fcn.10007500
mov ecx, eax
call fcn.10015ed0
mov eax, dword [ebp - 0x378]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000e3eb
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.10019d88
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10003c10
push 0x80004005
call fcn.10003c10
push 0x80004005
call fcn.10003c10
push 0x80004005
call fcn.10003c10
call fcn.10029a79
push 0x80004005
call fcn.10003c10
push 0x80070057
call fcn.10003c10
call fcn.10029a79
call fcn.10029a79
call fcn.10029a79
push 0x80
lea eax, [ebp - 0x90]
push eax
push dword [ebp - 0x94]
call fcn.1000c190
add esp, 0xc
call fcn.1000d540
int3