joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1c66d90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, ecx
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x1d02190]
cmp eax, 0xffffffff
je 0x1c66dba
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1c66dbf
call fcn.01c66fa0
mov eax, dword [0x1d0a40c]
mov ecx, dword [0x1d04a8c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x1c66f59
mov edi, dword [0x1d0a408]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1c66f4d
mov ecx, dword [0x1d09804]
add ecx, 1
mov edx, 0x100
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, cl
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d09808], 0
je 0x1c66e3d
lea eax, [ecx + 1]
movzx ebx, al
lea eax, [ebx + ebx*2]
cmp dword [eax*4 + 0x1d09808], 0
je 0x1c66e3d
add ecx, 2
add edx, 0xfffffffe
jne 0x1c66e10
jmp 0x1c66e6d
lea ecx, [eax*4 + 0x1d09808]
mov dword [ecx], 1
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [eax + eax*2 + 0x1d0980c], ecx
mov dword [0x1d09804], ebx
mov dword [esi], ebx
mov eax, dword [eax + eax*2 + 0x1d09810]
mov dword [esi + 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [ebp - 0x14], 0xffffffff
mov ebx, dword [esi]
cmp ebx, 0xffffffff
jne 0x1c66ed6
push 0xffffffffffffffff
call fcn.01c4c780
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
call fcn.01c4c780
add esp, 4
lea edi, [ebp - 0x14]
mov ecx, edi
push ebx
push eax
push str.slot____kInvalidSlotValue
call fcn.01c4cb60
cmp dword [ebp - 0x14], 0
je 0x1c66ed4
lea ebx, [ebp - 0x18]
push edi
push 0x199
push str..._.._base_threading_thread_local_storage.cc
push ebx
call fcn.01c4ce10
add esp, 0x10
mov ecx, ebx
call fcn.01c4cde0
mov ecx, ebx
call fcn.01c4cdf0
mov ebx, dword [esi]
mov dword [ebp - 0x14], 0xffffffff
cmp ebx, 0x100
jl 0x1c66f39
push 0x100
call fcn.01c4c780
add esp, 4
mov edi, eax
push ebx
call fcn.01c4c780
add esp, 4
lea esi, [ebp - 0x14]
mov ecx, esi
push edi
push eax
push str.slot____kThreadLocalStorageSize
call fcn.01c4cb60
cmp dword [ebp - 0x14], 0
je 0x1c66f39
lea edi, [ebp - 0x18]
push esi
push 0x19a
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.01c4ce10
add esp, 0x10
mov ecx, edi
call fcn.01c4cde0
mov ecx, edi
call fcn.01c4cdf0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, edi
call fcn.01c63850
jmp 0x1c66df5
push 0x1d0a40c
call fcn.01cb3187
add esp, 4
cmp dword [0x1d0a40c], 0xffffffff
jne 0x1c66de0
push 4
call fcn.01cb30d6
add esp, 4
mov edi, eax
mov ecx, eax
call fcn.01c63840
mov dword [0x1d0a408], edi
push 0x1d0a40c
call fcn.01cb31fd
add esp, 4
jmp 0x1c66de0
Function at 0x1c66fa0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x80c
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x810], 0xffffffff
mov ecx, dword [0x1d02190]
mov dword [ebp - 0x810], ecx
cmp ecx, 0xffffffff
jne 0x1c67094
lea edi, [ebp - 0x810]
push edi
call fcn.01c8bcd0
add esp, 4
test al, al
jne 0x1c67013
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0xd3
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.01c4cd70
add esp, 0x10
mov ecx, esi
call fcn.01c4cde0
mov ecx, esi
call fcn.01c4cdf0
mov ecx, dword [ebp - 0x810]
cmp ecx, 0xffffffff
jne 0x1c67070
push edi
call fcn.01c8bcd0
add esp, 4
test al, al
je 0x1c67034
cmp dword [ebp - 0x810], 0xffffffff
jne 0x1c67060
lea esi, [ebp - 0x80c]
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0xdd
push str..._.._base_threading_thread_local_storage.cc
push esi
call fcn.01c4cd70
add esp, 0x10
mov ecx, esi
call fcn.01c4cde0
mov ecx, esi
call fcn.01c4cdf0
push 0xffffffffffffffff
call fcn.01c8bcf0
add esp, 4
mov ecx, dword [ebp - 0x810]
mov eax, 0xffffffff
lock cmpxchg dword [0x1d02190], ecx
je 0x1c67094
push ecx
call fcn.01c8bcf0
add esp, 4
mov ecx, dword [0x1d02190]
mov dword [ebp - 0x810], ecx
mov dword [ebp - 0x80c], 0xffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
and esi, 3
je 0x1c67106
push 0
call fcn.01c4c780
add esp, 4
mov edi, eax
push esi
call fcn.01c4c780
add esp, 4
lea esi, [ebp - 0x80c]
mov ecx, esi
push edi
push eax
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
call fcn.01c4cb60
cmp dword [ebp - 0x80c], 0
je 0x1c67106
lea edi, [ebp - 0x814]
push esi
push 0xef
push str..._.._base_threading_thread_local_storage.cc
push edi
call fcn.01c4ce10
add esp, 0x10
mov ecx, edi
call fcn.01c4cde0
mov ecx, edi
call fcn.01c4cdf0
lea edi, [ebp - 0x80c]
push 0x800
push 0
push edi
call fcn.01cb76e0
add esp, 0xc
lea eax, [ebp - 0x809]
push eax
push dword [ebp - 0x810]
call fcn.01c8bd00
add esp, 8
push 0x800
call fcn.01cb3133
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.01cb6be0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [ebp - 0x810]
call fcn.01c8bd00
add esp, 8
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.01cb3141
mov eax, esi
add esp, 0x80c
pop esi
pop edi
pop ebp
ret
Function at 0x1c6c140
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 0xc]
movzx ebx, byte [esi + 0xb]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
test bl, bl
mov dword [ebp - 0x10], ecx
lea edx, [eax + ecx]
mov dword [ebp - 0x18], ebx
lea edi, [esi + ebx]
cmovs edi, edx
cmovs esi, eax
sub edi, esi
cmp edi, 4
jb 0x1c6c1ad
mov edx, esi
mov eax, edi
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
mov ebx, ecx
shr ebx, 0x18
xor ebx, ecx
imul ecx, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, ecx
add edx, 4
add edi, 0xfffffffc
cmp edi, 3
ja 0x1c6c180
cmp edi, 1
jne 0x1c6c1b6
jmp 0x1c6c1d2
mov eax, edi
mov edx, esi
cmp edi, 1
je 0x1c6c1d2
cmp edi, 2
je 0x1c6c1c9
cmp edi, 3
jne 0x1c6c1dd
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
xor ecx, ecx
test edi, edi
je 0x1c6c348
mov ecx, eax
shr ecx, 0xd
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, eax
shr ebx, 0xf
xor ebx, eax
mov eax, edi
shr eax, 1
and eax, 0x55555555
mov ecx, edi
sub ecx, eax
mov eax, ecx
and eax, 0x33333333
shr ecx, 2
and ecx, 0x33333333
add ecx, eax
mov eax, ecx
shr eax, 4
add eax, ecx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x24], eax
cmp eax, 1
ja 0x1c6c246
mov eax, edx
lea edx, [edi - 1]
and edx, ebx
jmp 0x1c6c257
mov eax, edx
mov edx, ebx
cmp ebx, edi
jb 0x1c6c257
mov eax, ebx
xor edx, edx
div edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1c6c346
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x18]
test dl, dl
mov ecx, dword [ebp - 0x10]
cmovns ecx, edx
mov dword [ebp - 0x10], ecx
mov ebx, dword [eax]
test ebx, ebx
mov ecx, 0
je 0x1c6c348
mov eax, dword [ebp - 0x20]
add eax, 0xffffffff
mov dword [ebp - 0x18], eax
jmp 0x1c6c2b8
and eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jne 0x1c6c346
mov ebx, dword [ebx]
test ebx, ebx
je 0x1c6c346
mov eax, dword [ebx + 4]
cmp dword [ebp - 0x14], eax
jne 0x1c6c310
movzx eax, byte [ebx + 0x13]
mov ecx, eax
test al, al
jns 0x1c6c2cd
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 0x10]
jne 0x1c6c2ae
lea ecx, [ebx + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
js 0x1c6c328
cmp dword [ebp - 0x10], 0
je 0x1c6c342
cmp byte [esi], dl
jne 0x1c6c2ae
add eax, 0xffffffff
xor ecx, ecx
nop dword [eax]
cmp eax, ecx
je 0x1c6c342
movzx edx, byte [ebx + ecx + 9]
lea edi, [ecx + 1]
cmp dl, byte [esi + ecx + 1]
mov ecx, edi
je 0x1c6c2f0
jmp 0x1c6c2ae
cmp dword [ebp - 0x24], 1
jbe 0x1c6c2a0
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jb 0x1c6c2a3
xor edx, edx
div ecx
mov eax, edx
jmp 0x1c6c2a3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1c6c342
push eax
push esi
push ecx
call fcn.01cb5ccd
add esp, 0xc
test eax, eax
jne 0x1c6c2ae
mov ecx, ebx
jmp 0x1c6c348
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1c74450
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
test esi, esi
je 0x1c74532
mov byte [ebp - 0x11], 0xff
lea edi, [esi + 0x8b0]
add esi, 8
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0
mov edx, dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
push esi
mov ebx, edx
call edx
test al, al
jne 0x1c744d5
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
test ecx, ecx
jle 0x1c744af
pause
add eax, 0xffffffff
jne 0x1c744a1
mov eax, dword [ebp - 0x18]
add eax, ecx
jmp 0x1c744b2
mov eax, dword [ebp - 0x18]
mov edx, ebx
add ecx, ecx
cmp ecx, 0x40
mov ebx, 0x40
cmovge ecx, ebx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
cmp eax, 0x3e8
jl 0x1c7448f
mov ecx, esi
call fcn.01c76bc0
mov eax, dword [edi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1c74544
mov byte [ebp - 0x11], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1c744f5
mov edx, ecx
not edx
cmp dword [ebx + 4], edx
je 0x1c744f7
call fcn.01c56c20
xor ecx, ecx
bswap ecx
mov dword [eax], ecx
add word [eax + 0xc], 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
push dword [ebp + 8]
call fcn.01c74560
push ebx
push dword [0x1d0b694]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
push str..._.._base_allocator_partition_allocator_thread_cache.cc_361__Check_failed:_root
call fcn.01c4cf00
add esp, 4
jmp 0x1c7446e
lea eax, [ebp - 0x11]
mov ecx, edi
push eax
push 0xc10
push 2
push dword [ebp + 8]
call fcn.01c76d00
mov ebx, eax
jmp 0x1c74500
Function at 0x1c784b0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
push 0x2454
push 0
push esi
call fcn.01cb76e0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
lea eax, [esi + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x20
lea eax, [esi + 0x2148]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x100
lea eax, [esi + 0x48]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x800
lea eax, [esi + 0x1048]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x800
lea eax, [esi + 0x2348]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x80
lea eax, [esi + 0x2048]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x80
push edi
call fcn.01ccde34
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1c7859b
mov eax, dword [ebp - 0x40]
xor ebx, ebx
cmp eax, 4
ja 0x1c7859d
mov ecx, 0x1a
bt ecx, eax
jae 0x1c7859d
mov dword [esi + 0x2448], 0
mov byte [esi + 0x244c], 0
movzx ecx, word [ebp - 0x34]
mov word [esi], cx
mov dword [esi + 4], eax
mov dword [esi + 0x2450], 0xffffffff
mov bl, 1
jmp 0x1c7859d
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c785c0
Capabilities:
Create thread
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 0xc], 0
je 0x1c785e0
xor ebx, ebx
jmp 0x1c78749
mov esi, ecx
lea edi, [ecx + 0x5d530]
push str.MetalinkFile
push edi
call fcn.01cb7d3e
add esp, 8
test eax, eax
je 0x1c78611
mov word [eax], 0
add eax, 0x1a
push eax
call fcn.01ccacdc
add esp, 4
mov dword [esi + 0x2694], eax
mov eax, dword [esi + 0x62ce0]
cmp eax, dword [esi + 0x62cdc]
jne 0x1c786fd
lea eax, [esi + 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
push 0x2454
push 0
push eax
call fcn.01cb76e0
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
lea eax, [esi + 0x18]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0x20
lea eax, [esi + 0x2158]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x100
lea eax, [esi + 0x58]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x800
lea eax, [esi + 0x1058]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x800
lea eax, [esi + 0x2358]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x80
lea eax, [esi + 0x2058]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x80
push edi
call fcn.01ccde34
add esp, 4
lea ecx, [ebp - 0x4c]
push ecx
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1c785d9
mov eax, dword [ebp - 0x40]
cmp eax, 4
ja 0x1c785d9
mov ecx, 0x1a
bt ecx, eax
jae 0x1c785d9
mov dword [esi + 0x2458], 0
mov byte [esi + 0x245c], 0
movzx ecx, word [ebp - 0x34]
mov word [esi + 0x10], cx
mov dword [esi + 0x14], eax
mov dword [esi + 0x2460], 0xffffffff
sub esp, 0x10
movaps xmm0, xmmword [0x1ce0780]
movups xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2464], eax
mov bl, 1
test eax, eax
je 0x1c78749
mov dword [ebp - 0x4c], 0
mov dword [esi + 0x5d0f8], 8
lea eax, [ebp - 0x4c]
push eax
push 0
push esi
push 0x1c78770
push 0
push 0
call fcn.01cc1650
add esp, 0x18
mov dword [esi + 0xc], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1c7a080
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov esi, esp
mov edi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [esi + 0x28], eax
lea eax, [ecx + 0x61850]
xor ebx, ebx
mov dword [esi + 4], ecx
cmp word [ecx + 0x61850], 0
cmove eax, ebx
sub esp, 0x14
movaps xmm0, xmmword [0x1ce9e60]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 0x14], eax
test eax, eax
je 0x1c7a24a
mov dword [esi + 0xc], eax
mov ebx, dword [edi + 0x20]
lea edi, [ebx + 0x2348]
push edi
call fcn.01ccde34
add esp, 4
test eax, eax
cmove edi, eax
mov dword [esi + 8], ebx
add ebx, 0x2048
push ebx
call fcn.01ccde34
add esp, 4
test eax, eax
cmove ebx, eax
test edi, edi
jne 0x1c7a120
mov eax, dword [esi + 4]
lea edi, [eax + 0x60608]
push edi
call fcn.01ccde34
add esp, 4
test eax, eax
cmove edi, eax
mov dword [esi + 0x10], edi
test ebx, ebx
jne 0x1c7a13e
mov eax, dword [esi + 4]
lea ebx, [eax + 0x60708]
push ebx
call fcn.01ccde34
add esp, 4
test eax, eax
cmove ebx, eax
xor eax, eax
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], 1
setne al
add eax, eax
add eax, 1
mov dword [esi + 8], eax
push 0x1c79190
push dword [esi + 0xc]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
movzx ecx, word [eax]
add eax, 0x2148
push edx
mov edi, dword [esi + 4]
push dword [edi + 0x26d4]
push dword [esi + 8]
push ebx
mov ebx, edx
push dword [esi + 0x10]
push ecx
push eax
push dword [edx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0x18], eax
test eax, eax
je 0x1c7a248
add edi, 0x60808
push edi
call fcn.01ccde34
add esp, 4
test eax, eax
je 0x1c7a244
mov dword [esi + 0x18], 0xffffffff
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x14], 3
xor ecx, ecx
test edi, edi
je 0x1c7a229
push edi
call fcn.01ccde34
xor ecx, ecx
add esp, 4
cmp eax, 0x3ffffffe
jg 0x1c7a229
lea ebx, [eax + eax]
add ebx, 2
add eax, eax
add eax, 5
and eax, 0xfffffffc
call fcn.01cb35d0
mov dword [esi + 4], edi
mov edi, esp
and edi, 0xfffffff0
mov esp, edi
push ebx
push 0xff
push edi
call fcn.01cb76e0
add esp, 0xc
mov byte [edi], 0
push 0
push 0
push ebx
mov ebx, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push dword [esi + 4]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, edi
test eax, eax
cmove ecx, eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], 0x1ce053d
lea eax, [esi + 0x14]
push 0xc
push eax
push 0x26
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov bl, 1
jmp 0x1c7a24a
xor ebx, ebx
mov ecx, dword [esi + 0x28]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1c7a2f0
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x1d01324]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x26d8]
mov edi, dword [ecx + eax*4]
mov dword [edi + 0x28], 2
mov ecx, dword [edi + 0x20]
cmp dword [ecx + 4], 1
jne 0x1c7a340
cmp dword [edi], 0
je 0x1c7a383
mov dword [edi + 0x28], 0
mov ecx, esi
push 1
push eax
call fcn.01c7bad0
mov bl, 1
test al, al
je 0x1c7a39e
jmp 0x1c7a3a0
mov bl, 1
cmp dword [esi + 0x2480], 0
je 0x1c7a3a0
mov dword [ebp - 0x14], 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x2484]
push dword [esi + 0x2480]
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1c7a391
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1c7a3a0
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1c7a327
mov dword [edi + 0x18], ecx
mov bl, 1
jmp 0x1c7a3a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1c7a3a0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1c7a3c0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2494
call fcn.01cb35d0
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x26d8]
mov ebx, dword [eax + edi*4]
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x28], 3
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x1c7a551
lea edi, [esi + 0x5f5c0]
lea eax, [esi + 0x5d530]
cmp word [esi + 0x5f5c0], 0
cmove edi, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2494], xmm0
lea eax, [ebp - 0x2464]
push 0x2454
push 0
push eax
call fcn.01cb76e0
add esp, 0xc
mov dword [ebp - 0x24a0], 0x3c
lea eax, [ebp - 0x245c]
mov dword [ebp - 0x249c], eax
mov dword [ebp - 0x2498], 0x20
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x2490], eax
mov dword [ebp - 0x248c], 0x100
lea eax, [ebp - 0x241c]
mov dword [ebp - 0x2474], eax
mov dword [ebp - 0x2470], 0x800
lea eax, [ebp - 0x141c]
mov dword [ebp - 0x246c], eax
mov dword [ebp - 0x2468], 0x800
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x2484], eax
mov dword [ebp - 0x2480], 0x80
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x247c], eax
mov dword [ebp - 0x2478], 0x80
push edi
call fcn.01ccde34
add esp, 4
lea ecx, [ebp - 0x24a0]
push ecx
push 0x10000000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1c7a571
mov eax, dword [ebp - 0x2494]
cmp eax, 4
ja 0x1c7a571
mov ecx, 0x1a
bt ecx, eax
jae 0x1c7a571
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
movzx ecx, word [ebp - 0x2488]
mov word [ebp - 0x2464], cx
mov dword [ebp - 0x2460], eax
mov dword [ebp - 0x14], 0xffffffff
push ebx
push 0x80000002
push 0x80000000
lea eax, [ebp - 0x241c]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov dword [ebx + 0x1c], eax
test eax, eax
mov edi, dword [ebp + 8]
jne 0x1c7a564
jmp 0x1c7a574
push 0
push 0
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x1c7a574
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
jmp 0x1c7a58d
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 0x3e5
je 0x1c7a58d
mov ecx, esi
push edi
call fcn.01c7ba00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x2494
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x1c7acd0
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x26d8]
mov edi, dword [eax + ebx*4]
mov dword [edi + 0x28], 6
mov eax, dword [edi + 0x20]
cmp dword [eax + 4], 1
jne 0x1c7ad25
cmp dword [edi], 0
je 0x1c7ad66
mov dword [edi + 0x28], 4
mov ecx, esi
push 1
push ebx
call fcn.01c7bad0
test al, al
jne 0x1c7ad70
mov ecx, esi
push ebx
call fcn.01c7ba00
jmp 0x1c7ad70
cmp dword [esi + 0x2480], 0
je 0x1c7ad70
mov dword [ebp - 0x14], 0
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x2484]
push dword [esi + 0x2480]
push dword [edi + 0x1c]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x1c7ad86
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1c7ad70
mov eax, dword [edi + 4]
test eax, eax
je 0x1c7ad06
mov dword [edi + 0x18], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov al, 1
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
jmp 0x1c7ad7c
Function at 0x1c7adb0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x2494
call fcn.01cb35d0
mov esi, ecx
mov edi, dword [ebp + 8]
mov eax, dword [0x1d01324]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x26d8]
mov ebx, dword [eax + edi*4]
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 0x28], 7
mov eax, dword [ebx + 0x20]
cmp dword [eax + 4], 1
jne 0x1c7af41
lea edi, [esi + 0x5f5c0]
lea eax, [esi + 0x5d530]
cmp word [esi + 0x5f5c0], 0
cmove edi, eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x2494], xmm0
lea eax, [ebp - 0x2464]
push 0x2454
push 0
push eax
call fcn.01cb76e0
add esp, 0xc
mov dword [ebp - 0x24a0], 0x3c
lea eax, [ebp - 0x245c]
mov dword [ebp - 0x249c], eax
mov dword [ebp - 0x2498], 0x20
lea eax, [ebp - 0x31c]
mov dword [ebp - 0x2490], eax
mov dword [ebp - 0x248c], 0x100
lea eax, [ebp - 0x241c]
mov dword [ebp - 0x2474], eax
mov dword [ebp - 0x2470], 0x800
lea eax, [ebp - 0x141c]
mov dword [ebp - 0x246c], eax
mov dword [ebp - 0x2468], 0x800
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x2484], eax
mov dword [ebp - 0x2480], 0x80
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x247c], eax
mov dword [ebp - 0x2478], 0x80
push edi
call fcn.01ccde34
add esp, 4
lea ecx, [ebp - 0x24a0]
push ecx
push 0x10000000
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1c7af61
mov eax, dword [ebp - 0x2494]
cmp eax, 4
ja 0x1c7af61
mov ecx, 0x1a
bt ecx, eax
jae 0x1c7af61
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x18], 0
movzx ecx, word [ebp - 0x2488]
mov word [ebp - 0x2464], cx
mov dword [ebp - 0x2460], eax
mov dword [ebp - 0x14], 0xffffffff
push ebx
push 0x80000002
push 0x80000000
lea eax, [ebp - 0x241c]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.WININET.dll_FtpOpenFileW]
mov dword [ebx + 0x1c], eax
test eax, eax
mov edi, dword [ebp + 8]
jne 0x1c7af54
jmp 0x1c7af64
push 0
push 0
push 0
push dword [ebx + 0x1c]
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x1c7af64
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov bl, 1
jmp 0x1c7af7d
mov edi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov bl, 1
cmp eax, 0x3e5
je 0x1c7af7d
mov ecx, esi
push edi
call fcn.01c7ba00
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01cb3141
mov eax, ebx
add esp, 0x2494
pop esi
pop edi
pop ebx
pop ebp
ret 4