joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10133c00
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ebp, edx
push 0
push 0x14
mov dword [ebx], 0
call fcn.10104e20
mov esi, eax
add esp, 8
test esi, esi
jne 0x10133c28
lea eax, [esi + 7]
pop edi
pop esi
pop ebp
pop ebx
ret
cmp byte [0x1022109c], 0
mov edi, dword [esp + 0x14]
je 0x10133c71
mov eax, dword [0x1022118c]
test eax, eax
je 0x10133c4c
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x10133c71
lea eax, [esi + 4]
mov dword [esi + 8], ebp
push eax
push 0
push esi
push 0x10107d10
push 0
push 0
mov dword [esi + 0xc], edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10133c7e
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10133c96
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
pop edi
mov dword [ebx], esi
xor eax, eax
pop esi
pop ebp
pop ebx
ret
Function at 0x10140aa0
Capabilities:
Reference sql statements

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, edx
mov ebx, ecx
push edi
push str.sqlite_master
push edi
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push ebx
call fcn.10145720
add esp, 0x18
cmp dword [esp + 0xc], 0
jne 0x10140ada
push edi
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push ebx
call fcn.10145720
add esp, 0x10
pop edi
pop ebx
ret

Function at 0x10145830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebx, ecx
mov ebp, edx
mov ecx, dword [esp + 0x14]
push esi
push edi
mov dword [esp + 0x10], ebx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x101458cb
nop
mov edi, esi
xor edi, 1
cmp esi, 2
cmovge edi, esi
test ecx, ecx
je 0x10145883
mov edx, edi
mov eax, ecx
mov ecx, dword [ebx + 0x10]
add edx, edx
mov ebx, dword [ecx + edx*8]
sub ebx, dword [esp + 0x1c]
nop
movzx edx, byte [eax]
movzx ecx, byte [ebx + eax]
cmp edx, ecx
jne 0x101458a8
test edx, edx
jne 0x101458ba
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x10]
add edi, edi
push 0
mov edx, ebp
mov ecx, dword [eax + edi*8 + 0xc]
add ecx, 8
call fcn.10109ae0
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x1014592a
jmp 0x101458c1
movzx ecx, byte [ecx + 0x101dcce8]
movzx edx, byte [edx + 0x101dcce8]
sub edx, ecx
jne 0x101458bd
inc eax
jmp 0x10145870
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x10145850
mov edx, str.sqlite_master
sub edx, ebp
movzx ecx, byte [ebp]
movzx eax, byte [edx + ebp]
cmp ecx, eax
jne 0x101458f6
test ecx, ecx
jne 0x10145908
mov eax, dword [ebx + 0x10]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
test ecx, ecx
jne 0x1014590b
neg eax
sbb eax, eax
jmp 0x1014591a
movzx eax, byte [eax + 0x101dcce8]
movzx ecx, byte [ecx + 0x101dcce8]
sub ecx, eax
jne 0x10145928
inc ebp
jmp 0x101458d2
test eax, eax
je 0x10145928
mov edx, eax
call fcn.10108640
mov ecx, dword [esp + 0x1c]
test eax, eax
jne 0x10145928
mov ebp, str.sqlite_temp_master
jmp 0x10145843
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x10145c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov eax, ecx
mov dword [esp + 4], edx
push ebx
push edi
xor ebx, ebx
mov dword [esp + 0x10], eax
xor edi, edi
cmp dword [eax + 0x14], ebx
jle 0x10145d0a
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov eax, dword [eax + 0x10]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
shl esi, 4
add esi, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x10145cc9
mov esi, dword [esi]
mov eax, ebp
sub esi, ebp
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x10145cf5
test edx, edx
jne 0x10145d07
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
push 0
call fcn.10109ae0
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x10145ceb
mov eax, dword [esp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x10145c92
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
movzx ecx, byte [ecx + 0x101dcce8]
movzx edx, byte [edx + 0x101dcce8]
sub edx, ecx
jne 0x10145ce1
inc eax
jmp 0x10145cb6
pop edi
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x1019c080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
push 0x38
xorps xmm0, xmm0
lea eax, [esp + 0x4c]
mov ebp, edx
movlpd qword [esp + 0x2c], xmm0
mov ebx, ecx
mov dword [esp + 0x20], ebp
push 0
movups xmmword [esp + 0x40], xmm0
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], 0x13
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x48]
mov edx, ebp
mov ecx, ebx
push eax
push 1
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esp + 0xa0]
call fcn.1018c620
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x1019c25e
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
mov ecx, ebx
push dword [esp + 0x3c]
lea edx, [esp + 0x50]
mov dword [esp + 0x5c], eax
call fcn.10197b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x1019c25e
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10197c90
mov esi, eax
cmp esi, 0x64
jne 0x1019c25e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x78]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x7c]
xorps xmm0, xmm0
mov ecx, edi
movlpd qword [esp + 0x20], xmm0
add ebp, edi
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x28], xmm0
call fcn.10188870
lea esi, [edi + eax]
cmp esi, ebp
jae 0x1019c23e
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.10188870
add esi, eax
cmp esi, ebp
jae 0x1019c23a
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x1019c1e6
cmp ecx, 1
jne 0x1019c1a6
test edx, edx
je 0x1019c1e6
mov eax, dword [esp + 0x28]
add ecx, 0xfffffffe
adc edx, 0xffffffff
add eax, ecx
mov ecx, dword [esp + 0x70]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x74]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], eax
push edi
push ebx
push dword [esp + 0x98]
push dword [esp + 0x30]
call fcn.1019bfd0
xor dword [esp + 0x2c], eax
add esp, 0x18
xor dword [esp + 0x10], edx
jmp 0x1019c232
xorps xmm0, xmm0
or ecx, edx
movlpd qword [esp + 0x30], xmm0
mov ecx, esi
movlpd qword [esp + 0x28], xmm0
je 0x1019c208
lea edx, [esp + 0x30]
call fcn.10188870
add esi, eax
jmp 0x1019c232
lea edx, [esp + 0x20]
call fcn.10188870
add esi, eax
mov eax, dword [esp + 0x18]
cmp byte [eax + 0xef], 0
je 0x1019c22a
sub ebx, dword [esp + 0x20]
sbb edi, dword [esp + 0x24]
jmp 0x1019c232
add ebx, dword [esp + 0x20]
adc edi, dword [esp + 0x24]
cmp esi, ebp
jb 0x1019c171
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, ebx
call fcn.10197c90
mov esi, eax
cmp esi, 0x64
je 0x1019c134
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
jmp 0x1019c266
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
lea ecx, [esp + 0x48]
call fcn.101983f0
mov ecx, dword [esp + 0x8c]
mov edx, edi
pop edi
mov eax, ebp
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x101a6690
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, edx
mov dword [esp + 0x10], str.SELECT_parentnode_FROM__Q._q_parent_WHERE_nodeno_1
mov esi, ecx
mov dword [esp + 0x14], str.SELECT_nodeno_FROM__Q._q_rowid_WHERE_rowid_1
push edi
mov edi, dword [esi + ebx*4 + 0x18]
test edi, edi
jne 0x101a66cc
push dword [esi + 8]
push dword [esi + 4]
push dword [esp + ebx*4 + 0x1c]
push esi
call fcn.101a65b0
mov edi, eax
add esp, 0x10
mov dword [esi + ebx*4 + 0x18], edi
cmp dword [esi + 0x28], 0
jne 0x101a678c
mov ebp, dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push 1
push edi
call fcn.1012b130
push edi
call fcn.10129e80
add esp, 0x14
cmp eax, 0x65
jne 0x101a6723
mov ecx, str.__parent
test ebx, ebx
mov eax, str.__rowid
cmove eax, ecx
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
push dword [esp + 0x30]
push ebp
push ecx
push str.Mapping___lld_____lld__missing_from__s_table
push esi
call fcn.101a6630
add esp, 0x1c
jmp 0x101a677a
cmp eax, 0x64
jne 0x101a677a
push 0
push edi
call fcn.1012a7a0
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jne 0x101a6745
cmp edx, ecx
je 0x101a677a
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
test ebx, ebx
push ebp
push ecx
mov eax, str.__rowid
mov dword [esp + 0x20], str.__parent
cmove eax, dword [esp + 0x20]
push eax
push edx
push dword [esp + 0x2c]
push ebp
push ecx
push str.Found___lld_____lld__in__s_table__expected___lld_____lld_
push esi
call fcn.101a6630
add esp, 0x2c
push edi
call fcn.10128ed0
add esp, 4
cmp dword [esi + 0x28], 0
jne 0x101a678c
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x101a6f00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0x410
lea eax, [ebp - 0x414]
mov edi, edx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x101a6f73
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x101a6f84
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x101a6f73
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x414]
push esi
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x101a6f90
sub edx, esi
lea eax, [ebp - 0x414]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.10003cf0
mov eax, dword [ebp - 0x418]
pop esi
test eax, eax
je 0x101a6fc0
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop edi
call fcn.101b075c
mov esp, ebp
pop ebp
ret

Function at 0x101a9d20
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d2f64
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10003bb0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.10003bb0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.10003bb0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.10003bb0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x70]
mov word [esi + 0x60], 0x101
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
call fcn.10003bb0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x101ab240
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d35c1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1022101c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.DL::RCSimpleDownloadHandler.0
mov dword [edi + 4], vtable.DL::RCSimpleDownloadHandler.1.0
mov dword [ebp - 4], 7
mov dword [edi + 0x98], 0
mov byte [ebp - 4], 6
or ebx, 0xffffffff
mov esi, dword [edi + 0xf8]
test esi, esi
je 0x101ab2be
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x101ab2be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x101ab2be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x101ab2d9
lock xadd dword [ecx + 8], ebx
dec ebx
jne 0x101ab2d9
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, dword [edi + 0xe4]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test eax, eax
je 0x101ab30a
push eax
call ebx
push 0x18
push dword [edi + 0xe4]
call fcn.101b079d
add esp, 8
mov dword [edi + 0xe4], 0
mov byte [ebp - 4], 3
lea esi, [edi + 0xc0]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
mov eax, dword [esi]
test eax, eax
je 0x101ab32e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 8]
call fcn.10003b10
mov byte [ebp - 4], 2
mov eax, dword [edi + 0xac]
test eax, eax
je 0x101ab365
push eax
call ebx
push 0x18
push dword [edi + 0xac]
call fcn.101b079d
add esp, 8
mov dword [edi + 0xac], 0
mov byte [ebp - 4], 1
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x101ab3e0
mov edx, dword [edi + 0xa4]
push ecx
call fcn.101ae170
mov eax, dword [edi + 0xa8]
add esp, 4
mov ecx, dword [edi + 0xa0]
sub eax, ecx
sar eax, 3
lea edx, [eax*8]
cmp edx, 0x1000
jb 0x101ab3b8
mov esi, dword [ecx - 4]
add edx, 0x23
sub ecx, esi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x101ab45f
mov ecx, esi
push edx
push ecx
call fcn.101b079d
add esp, 8
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0xa8], 0
mov byte [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x70]
call fcn.10003b10
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x48]
call fcn.10003b10
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x30]
call fcn.10003b10
mov byte [ebp - 4], 9
lea ecx, [esi + 0x18]
call fcn.10003b10
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10003b10
mov dword [ebp - 4], 0xe
mov dword [edi + 4], vtable.RC::RCRefCounted.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.DL::ISimpleDownloadHandler.0
mov dword [ebp - 4], 0xffffffff
mov dword [edi], vtable.RC::IRefCount.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x101ad4f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d3a88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1022101c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.100918e0
test al, al
jne 0x101ad550
mov eax, 1
jmp 0x101ad6cd
push 0x10000
call fcn.101b0f90
mov ebx, eax
mov dword [ebp - 0x30], 0
add esp, 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x18], 0
test eax, eax
je 0x101ad6a6
test ebx, ebx
je 0x101ad6a6
cmp dword [eax], 0xffffffff
je 0x101ad6a6
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x101ad6a6
mov esi, dword [ebp - 0x1c]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x101ad69c
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push edx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.101a9820
test al, al
je 0x101ad68f
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x101ad642
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x101ad631
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x101ad69c
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
jmp 0x101ad64c
add ebx, eax
cmp ebx, 0x8000
je 0x101ad65c
cmp dword [ebp - 0x24], 0xf
ja 0x101ad685
mov ecx, dword [ebp - 0x28]
sub ecx, eax
mov dword [ebp - 0x28], ecx
jne 0x101ad5e0
mov ebx, dword [ebp - 0x1c]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x101ad67e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x101ad666
mov esi, 4
jmp 0x101ad6b7
mov esi, 5
jmp 0x101ad6b7
mov ebx, dword [ebp - 0x1c]
mov esi, 3
jmp 0x101ad6b7
mov eax, dword [ebp - 0x2c]
mov esi, 3
mov ebx, dword [ebp - 0x1c]
jmp 0x101ad6b1
mov ebx, dword [ebp - 0x1c]
mov esi, 2
jmp 0x101ad6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x101ad6cb
push ebx
call fcn.101b0f8b
add esp, 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 - 0x14]
xor ecx, ebp
call fcn.101b075c
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101ad6f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d3ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1022101c]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x40], 0
call fcn.10005840
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 1
push 0x101e345a
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.10018c90
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
mov ecx, dword [ebp - 0x38]
push 0x80400000
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x2c]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.101a84b0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.10003bd0
test bl, bl
jne 0x101ad7b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x101ad872
mov ebx, dword [ebp - 0x38]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.100451a0
test al, al
jne 0x101ad7e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x101ad872
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x101ad85f
cmp eax, 0xce
je 0x101ad85f
cmp eax, 0x12e
jne 0x101ad893
mov ecx, 0x400
mov dword [ebp - 0x30], ecx
test esi, esi
jne 0x101ad827
push 0x800
call fcn.101b0f90
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp - 0x30]
add ecx, ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.10045210
test al, al
je 0x101ad893
push esi
call fcn.10003f00
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.10003cf0
mov ebx, dword [ebp - 0x34]
jmp 0x101ad883
cmp dword [ebp + 0x14], 0
ja 0x101ad86b
cmp dword [ebp + 0x10], 0
jbe 0x101ad897
cmp eax, 0xce
je 0x101ad897
mov ebx, dword [ebp - 0x34]
cmp dword [ebx + 4], 0
je 0x101ad893
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x101ad753
xor bl, bl
jmp 0x101ad8a3
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x101ad8b4
push esi
call fcn.101b0f8b
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10003b10
mov al, bl
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.101b075c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4d5104]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, edx
mov dword [ebp - 0x10], esi
mov ebx, edi
mov edx, ecx
shr ebx, 2
test ebx, ebx
je 0x401fa8
mov ecx, eax
and ecx, 3
mov ecx, dword [esi + ecx*4]
xor dword [edx + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x401f98
and edi, 3
mov dword [ebp - 0xc], edi
je 0x401fe4
mov ecx, dword [ebp - 0xc]
lea edx, [edx + ebx*4]
mov dword [ebp - 8], 0
lea edi, [ebp - 8]
mov esi, edx
rep movsb byte es:[edi], byte [esi]
and ebx, reloc.WS2_32.dll_closesocket
jns 0x401fd1
dec ebx
or ebx, 0xfffffffc
inc ebx
mov eax, dword [ebp - 0x10]
lea esi, [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edi, edx
mov eax, dword [eax + ebx*4]
xor dword [ebp - 8], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a8e74
mov esp, ebp
pop ebp
ret
Function at 0x406590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab66b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4d5104]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
push 8
mov dword [edi], 0x4bf36c
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
test esi, esi
je 0x4065f7
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00481740
add esp, 4
mov dword [esi + 4], eax
jmp 0x4065f9
xor esi, esi
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
lea ecx, [edi + 8]
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [ebp - 4], 1
lea edx, [edi + 0x38]
mov dword [edi], 0x4bf324
mov dword [edx], 0x4bf30c
mov dword [ebp - 0x18], edx
mov dword [edx + 8], 0x4bf3ac
mov byte [ebp - 4], 2
mov eax, dword [edx]
mov dword [ebp - 0x10], 1
mov eax, dword [eax + 4]
mov dword [edx + eax], 0x4bf3a8
mov eax, dword [edx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edx - 4], eax
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
push ecx
push edi
call fcn.00407d20
mov dword [ebp - 4], 1
lea esi, [edi + 0x88]
mov dword [esi], 0x4bf31c
mov dword [ebp - 0x18], esi
mov dword [esi + 0x18], 0x4bf3ac
mov byte [ebp - 4], 4
mov eax, dword [esi]
mov dword [ebp - 0x10], 3
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x4bf318
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
push edi
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00407d20
mov eax, dword [esi]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esi + eax], 0x4bf318
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ecx + esi - 4], eax
mov eax, dword [edi + 0xc]
mov dword [eax], edx
mov eax, dword [edi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [eax], edx
mov eax, dword [edi + 0x2c]
mov dword [eax], ecx
mov eax, dword [edi + 0x10]
mov dword [eax], edx
mov eax, dword [edi + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x30]
mov dword [eax], ecx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8