Function at 0x419f70
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561f02
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x5c3484]
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, dword [ebp + 8]
mov dword [ebp - 0x264], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x268], 0
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a83f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x57b7a4
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.0040da50
test al, al
jne 0x419ffc
push 9
push 0x57b7a4
mov ecx, ebx
call fcn.0040ec60
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x268], 1
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.NetBridge.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.0041a9c0
mov edi, eax
cmp dword [edi], 0
jne 0x41a0c2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi], eax
test eax, eax
je 0x41a0c2
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 0x41a0c2
call eax
mov dword [edi + 0xc], eax
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a849
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x260], edi
mov dword [ebp - 4], 2
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a853
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
push 0x57affc
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 3
call fcn.0040da50
test al, al
jne 0x41a12d
push 0
push 0x57affc
lea ecx, [ebp - 0x23c]
call fcn.0040ec60
mov byte [ebp - 4], 4
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a85d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x248], eax
push 0x57b7d4
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 5
call fcn.0040da50
test al, al
jne 0x41a178
push 4
push 0x57b7d4
lea ecx, [ebp - 0x248]
call fcn.0040ec60
mov eax, dword [0x5c99a8]
test al, 1
jne 0x41a193
or eax, 1
mov dword [0x5c99a4], 0
mov dword [0x5c99a8], eax
mov byte [ebp - 0x231], 0
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 7
push eax
call fcn.00446141
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x231]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x270]
push eax
push 0x418be0
push 0x5c99a4
call fcn.00446b43
add esp, 0x10
test eax, eax
je 0x41a81f
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 9
push eax
call fcn.0044617b
add esp, 4
mov byte [ebp - 4], 6
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a867
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
push 0x5c99b0
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0xc
call fcn.0040da50
test al, al
jne 0x41a257
mov ecx, 0x5c99b0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a237
sub ecx, edx
sar ecx, 1
push ecx
push 0x5c99b0
lea ecx, [ebp - 0x24c]
call fcn.0040ec60
push 0x1c
mov byte [ebp - 4], 0xd
call fcn.0042b550
mov esi, eax
add esp, 4
mov dword [ebp - 0x238], esi
test esi, esi
je 0x41a2c0
mov dword [esi], vtable.CHttpTaskAdapterPost.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a871
mov eax, dword [ecx]
call dword [eax + 0xc]
push 0
push 0
add eax, 0x10
push 1
mov dword [esi + 0x14], eax
push 0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x10], eax
jmp 0x41a2c2
xor esi, esi
push dword [ebp - 0x264]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], 0
push esi
mov dword [ebp - 0x240], 0
call fcn.00418c70
mov byte [ebp - 4], 0xe
call fcn.0041a9c0
mov esi, dword [ebp - 0x24c]
or ebx, 0xffffffff
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x41a461
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x238], eax
test eax, eax
je 0x41a461
mov edx, dword [eax]
mov ecx, eax
push 0
push str.ungzip
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x238]
push 0
push str.gzip
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x41a461
push dword [ebp - 0x264]
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x25c], 0
push eax
mov dword [ebp - 0x258], 0
call fcn.00418d10
mov edx, dword [ebp - 0x244]
mov eax, dword [ebp - 0x25c]
mov dword [edx + 4], eax
mov ecx, dword [edx + 8]
mov eax, dword [ebp - 0x258]
mov dword [ebp - 0x238], ecx
mov dword [edx + 8], eax
test ecx, ecx
je 0x41a3b7
mov eax, ebx
lock xadd dword [ecx + 4], eax
jne 0x41a3b7
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x41a3b1
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x244]
mov ecx, dword [edx + 4]
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x244]
push dword [ebp - 0x23c]
push dword [ebp - 0x248]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x244]
push esi
push 2
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x41a461
mov eax, dword [ebp - 0x244]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x41a461
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41a461
mov eax, dword [ebp - 0x244]
cmp dword [eax + 0xc], 0
je 0x41a461
add eax, 0x14
lea ecx, [ebp - 0x260]
push eax
call fcn.004194b0
mov edi, dword [ebp - 0x240]
test edi, edi
je 0x41a44f
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x41a44f
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x41a44f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x260]
mov dword [ebp - 0x238], 1
jmp 0x41a496
mov ecx, dword [ebp - 0x240]
test ecx, ecx
je 0x41a48c
mov eax, ebx
lock xadd dword [ecx + 4], eax
jne 0x41a48c
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x240]
mov eax, ebx
lock xadd dword [ecx + 8], eax
jne 0x41a48c
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41a4b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x248]
mov eax, ebx
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a4d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, ebx
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a4f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x238], 0
je 0x41a708
push edi
call fcn.0048a490
mov esi, eax
add esp, 4
mov dword [ebp - 0x240], esi
test esi, esi
je 0x41a708
push 5
lea eax, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
push str.errno
push eax
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x220], 5
call fcn.004c1dd0
mov byte [ebp - 0x22b], 0
push 0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x10
push eax
push esi
call fcn.0048bba0
mov edx, dword [ebp - 0x21c]
add esp, 0x18
test eax, eax
mov byte [ebp - 4], 0xf
setne al
mov byte [ebp - 0x231], al
cmp edx, 0x10
jb 0x41a5b3
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a5a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a87b
push edx
push ecx
call fcn.0045f7ba
mov al, byte [ebp - 0x231]
add esp, 8
test al, al
jne 0x41a6ff
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x41a880
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
push 0x57affc
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 0x11
call fcn.0040da50
test al, al
jne 0x41a602
push 0
push 0x57affc
lea ecx, [ebp - 0x23c]
call fcn.0040ec60
push 4
lea eax, [ebp - 0x230]
mov dword [ebp - 0x21c], 0xf
push str.data
push eax
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x220], 4
call fcn.004c1dd0
mov byte [ebp - 0x22c], 0
push 0xfde9
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.0048bd00
add esp, 0x20
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x15
cmp edx, 0x10
jb 0x41a69c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a692
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a88a
push edx
push ecx
call fcn.0045f7ba
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov edx, dword [ebp - 0x23c]
mov eax, ebx
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a6d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x250]
cmp dword [eax - 0xc], 0
jne 0x41a72a
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xf
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a6ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.0048a1a0
add esp, 4
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41a7fb
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x41a7fb
mov edx, dword [ebp - 0x254]
lea ecx, [eax - 0x10]
mov dword [ebp - 0x238], ecx
mov edx, dword [edx]
sub edx, 0x10
mov dword [ebp - 0x248], edx
cmp ecx, edx
je 0x41a7be
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x250]
jl 0x41a7a9
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x41a7a9
push dword [ebp - 0x238]
call fcn.0040b500
mov dword [ebp - 0x238], eax
add esp, 4
mov eax, dword [ebp - 0x24c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a796
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x238]
add eax, 0x10
mov dword [ecx], eax
jmp 0x41a7b8
push dword [eax - 0xc]
mov ecx, dword [ebp - 0x254]
push eax
call fcn.0040ec60
mov eax, dword [ebp - 0x250]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0xf
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a7d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
call fcn.0048a1a0
add esp, 4
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41a7fb
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x254]
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.0045fbca
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0xa
push eax
call fcn.004461bd
add esp, 4
mov byte [ebp - 4], 8
test al, al
jne 0x41a88f
call fcn.00446c3a
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
push 0x80004005
call fcn.00408070
call fcn.004cad68
push 0x80004005
call fcn.00408070
call fcn.004cad68
sub esp, 8
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.00419050
call fcn.0041d670
int3