joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100209d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x1007a200]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x400
mov dword [ebp - 0x818], ecx
lea ecx, [ebp - 0x804]
push ecx
mov dword [ebp - 0x814], eax
mov eax, dword [ebx]
push 0
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x81c], esi
mov dword [ebp - 0x810], edx
mov dword [ebp - 0x808], eax
mov dword [ebp - 0x80c], 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x10020b07
jmp 0x10020a46
mov esi, dword [ebp - 0x81c]
cmp word [esi], 0x5c
je 0x10020a69
lea edi, [ebp - 0x804]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10020a55
mov edx, dword [0x1006d824]
mov dword [edi], edx
mov eax, esi
jmp 0x10020a70
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10020a70
lea edi, [ebp - 0x804]
sub eax, esi
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x10020a86
mov edx, dword [ebp - 0x810]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x814]
push edx
mov dword [ebp - 0x808], eax
mov eax, dword [ebp - 0x818]
push eax
push ecx
lea edx, [ebp - 0x804]
push edx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x10020b19
mov eax, dword [ebp - 0x80c]
push 0x400
lea ecx, [ebp - 0x804]
inc eax
push ecx
push eax
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 0x80c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10020a40
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004738d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x808]
pop edi
xor ecx, ebp
mov dword [ebx], edx
mov eax, 1
pop esi
call fcn.1004738d
mov esp, ebp
pop ebp
ret
Function at 0x10021cf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, 0x1fc
or eax, 0xffffffff
push esi
lea esp, [esp]
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x1007b6a8]
dec ecx
inc edx
test ecx, ecx
jne 0x10021d00
not eax
pop esi
ret

Function at 0x10021d20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push 0x54
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
mov dword [esp + 0x14], 0
call fcn.10049f60
add esp, 0xc
test esi, esi
je 0x10021db5
test edi, edi
je 0x10021db5
mov eax, dword [ebp + 8]
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10021470
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.10021540
mov al, 1
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1004738d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
xor al, al
call fcn.1004738d
mov esp, ebp
pop ebp
ret

Function at 0x1002cd20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1002cd37
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1002cd68
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x1002cd64
cmp esi, eax
jae 0x1002cd68
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x1002cd54
cmp esi, eax
jb 0x1002cd6e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x1002d060
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x100675d4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
lea edi, [esp + 0x1c]
call fcn.100358b0
xor ebx, ebx
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x30], ebx
je 0x1002d205
push 7
push str.SYN.ACK
mov ecx, edi
call fcn.1001cc30
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x60], vtable.CMD5Checksum.0
call fcn.10049f60
add esp, 0xc
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], 0x67452301
mov dword [esp + 0xb4], 0xefcdab89
mov dword [esp + 0xb8], 0x98badcfe
mov dword [esp + 0xbc], 0x10325476
mov byte [esp + 0xcc], 1
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x1002d135
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.10035da0
mov byte [esp + 0xcc], 2
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.1002d4e0
mov byte [esp + 0xcc], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1002d180
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.10002be0
mov byte [esp + 0xcc], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002d1bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xcc], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002d1e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
lea ebx, [ebp + 4]
call fcn.1001f640
cmp dword [esp + 0x50], 0x10
jb 0x1002d205
mov edx, dword [esp + 0x3c]
push edx
call fcn.10047382
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x1002d219
mov eax, dword [esp + 0x20]
push eax
call fcn.10047382
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.1004738d
add esp, 0xbc
ret 4
Function at 0x1002d250
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x100675d4
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd4]
lea esi, [esp + 0x1c]
call fcn.10035ba0
xor ebx, ebx
mov dword [esp + 0xcc], ebx
cmp dword [esp + 0x30], ebx
je 0x1002d3f5
push 7
push str.SYN.ACK
mov ecx, esi
call fcn.1001cc30
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x60], vtable.CMD5Checksum.0
call fcn.10049f60
add esp, 0xc
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb0], 0x67452301
mov dword [esp + 0xb4], 0xefcdab89
mov dword [esp + 0xb8], 0x98badcfe
mov dword [esp + 0xbc], 0x10325476
mov byte [esp + 0xcc], 1
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x1002d325
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x30]
push ecx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x58]
call fcn.10035da0
mov byte [esp + 0xcc], 2
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
mov ecx, eax
call fcn.1002d4e0
mov byte [esp + 0xcc], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1002d370
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.10002be0
mov byte [esp + 0xcc], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002d3ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xcc], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1002d3d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x38]
push ecx
lea ebx, [ebp + 4]
call fcn.1001f640
cmp dword [esp + 0x50], 0x10
jb 0x1002d3f5
mov edx, dword [esp + 0x3c]
push edx
call fcn.10047382
add esp, 4
cmp dword [esp + 0x34], 0x10
jb 0x1002d409
mov eax, dword [esp + 0x20]
push eax
call fcn.10047382
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.1004738d
add esp, 0xbc
ret 4
Function at 0x1002e570
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10065c38
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
lea esi, [edi + edi + 2]
cmp esi, ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], edi
jge 0x1002e653
lea esp, [esp]
lea eax, [esi*8]
sub eax, esi
cmp dword [ebp + eax*4 - 4], 0x10
lea edx, [ebp + eax*4]
mov eax, dword [edx - 8]
mov dword [esp + 0x14], eax
jb 0x1002e5e0
mov ecx, dword [edx - 0x18]
jmp 0x1002e5e3
lea ecx, [edx - 0x18]
mov ebx, dword [edx + 0x14]
cmp ebx, eax
jae 0x1002e5ec
mov eax, ebx
cmp dword [edx + 0x18], 0x10
jb 0x1002e5f7
mov edx, dword [edx + 4]
jmp 0x1002e5fa
add edx, 4
call fcn.1002cc80
test eax, eax
jne 0x1002e616
mov eax, dword [esp + 0x14]
cmp ebx, eax
jb 0x1002e618
xor ecx, ecx
cmp ebx, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x1002e619
dec esi
push 0xffffffffffffffff
lea edx, [esi*8]
sub edx, esi
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.100023a0
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, dword [esp + 0x30]
jl 0x1002e5c0
mov ebx, dword [esp + 0x30]
cmp esi, ebx
jne 0x1002e67c
push 0xffffffffffffffff
lea edx, [ebx*8]
sub edx, ebx
lea ecx, [edi*8]
push 0
lea eax, [ebp + edx*4 - 0x1c]
sub ecx, edi
push eax
lea ecx, [ebp + ecx*4]
call fcn.100023a0
lea edi, [ebx - 1]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x58]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push edx
mov byte [ecx + 4], 0
call fcn.100023a0
mov eax, dword [esp + 0x34]
push eax
push ebp
mov ecx, edi
call fcn.1002e6e0
add esp, 0x24
cmp dword [esp + 0x4c], 0x10
jb 0x1002e6c9
mov ecx, dword [esp + 0x38]
push ecx
call fcn.10047382
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x1002f120
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x10067572
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
push 0x206
push eax
lea ecx, [esp + 0x1a]
mov dword [esp + 0x10], 0
push ecx
mov dword [esp + 0x18], esi
mov word [esp + 0x1c], ax
call fcn.10049f60
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], 0
add esp, 0xc
mov word [esi + 4], dx
push 1
push 0x2e
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x230], edx
push edx
mov dword [esp + 0x18], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1002f1c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x14]
call fcn.10002d50
push str.BaiduCommonI18Nconf.db
mov eax, 0x1a
mov edx, esi
call fcn.100095e0
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.1004738d
add esp, 0x220
ret
Function at 0x10031710
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x10066c99
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xbc]
lea eax, [esp + 0x20]
xor ebx, ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.100319b0
push 0x40
lea ecx, [esp + 0x54]
push ebx
mov dword [esp + 0xbc], ebx
push ecx
mov dword [esp + 0x48], vtable.CMD5Checksum.0
call fcn.10049f60
add esp, 0xc
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x98], 0x67452301
mov dword [esp + 0x9c], 0xefcdab89
mov dword [esp + 0xa0], 0x98badcfe
mov dword [esp + 0xa4], 0x10325476
mov byte [esp + 0xb4], 1
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100317d2
lea eax, [esp + 0x24]
mov edx, dword [esp + 0x34]
push edx
lea esi, [esp + 0x1c]
lea edi, [esp + 0x40]
call fcn.10035da0
mov byte [esp + 0xb4], 2
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.1002d4e0
mov byte [esp + 0xb4], 3
mov ecx, dword [eax]
mov eax, ecx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov byte [ebp + 4], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10031816
sub eax, esi
push eax
push ecx
mov ecx, ebp
call fcn.10002be0
mov byte [esp + 0xb4], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10031850
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb4], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10031878
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x38], 0x10
jb 0x1003188c
mov ecx, dword [esp + 0x24]
push ecx
call fcn.10047382
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.1004738d
add esp, 0xa4
ret 4
Function at 0x100318c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x10], eax
mov al, 0x2a
mov byte [esp + 4], al
mov byte [esp + 0xc], al
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, edx
and eax, 0xfffffff0
push esi
mov byte [esp + 8], 0x54
mov byte [esp + 9], 0x5a
mov byte [esp + 0xa], 0x8f
mov byte [esp + 0xb], 0x1a
mov byte [esp + 0xd], 0x3c
mov byte [esp + 0xe], 0x4e
mov byte [esp + 0xf], 0x72
mov byte [esp + 0x10], 0xa8
mov byte [esp + 0x11], 0x1b
mov byte [esp + 0x12], 0xa
mov byte [esp + 0x13], 0xbd
mov byte [esp + 0x15], 0x4c
mov byte [esp + 0x16], 0x56
mov byte [esp + 0x17], 0x15
mov esi, 0
jbe 0x10031985
push ebx
push edi
lea edi, [eax - 1]
shr edi, 4
inc edi
mov esi, edi
lea ecx, [ebp + 1]
shl esi, 4
xor eax, eax
jmp 0x10031950
movzx ebx, byte [esp + eax + 0x10]
xor byte [ecx + eax - 1], bl
movzx ebx, byte [esp + eax + 0x11]
xor byte [ecx + eax], bl
movzx ebx, byte [esp + eax + 0x12]
xor byte [ecx + eax + 1], bl
movzx ebx, byte [esp + eax + 0x13]
xor byte [ecx + eax + 2], bl
add eax, 4
cmp eax, 0x10
jb 0x10031950
add ecx, 0x10
sub edi, 1
jne 0x10031941
pop edi
pop ebx
cmp esi, edx
jae 0x1003199b
lea eax, [esp + 8]
lea ecx, [ecx]
mov cl, byte [eax]
xor byte [esi + ebp], cl
inc esi
inc eax
cmp esi, edx
jb 0x10031990
mov ecx, dword [esp + 0x18]
pop esi
pop ebp
xor ecx, esp
call fcn.1004738d
add esp, 0x14
ret
Function at 0x100356b0
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x100673e9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x10035855
push esi
call fcn.10035180
cmp dword [esi + 0x14], ebx
je 0x10035855
push 0x40
lea eax, [esp + 0x50]
push ebx
push eax
mov dword [esp + 0x44], vtable.CMD5Checksum.0
call fcn.10049f60
add esp, 0xc
mov dword [esp + 0x90], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
push 7
push str.SYN.ACK
mov ecx, esi
mov dword [esp + 0xb8], ebx
call fcn.1001cc30
cmp dword [esi + 0x18], 0x10
mov ecx, dword [esi + 0x14]
jb 0x10035783
mov eax, dword [esi + 4]
jmp 0x10035786
lea eax, [esi + 4]
push ecx
lea esi, [esp + 0x18]
lea edi, [esp + 0x3c]
call fcn.10035da0
mov byte [esp + 0xb0], 1
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.1002d4e0
mov byte [esp + 0xb0], 2
mov ecx, dword [eax]
mov eax, ecx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100357d0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.10002be0
mov byte [esp + 0xb0], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1003580c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10035834
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
lea ebx, [ebp + 4]
call fcn.1001f640
cmp dword [esp + 0x34], 0x10
jb 0x10035855
mov edx, dword [esp + 0x20]
push edx
call fcn.10047382
add esp, 4
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.1004738d
add esp, 0xa0
ret 4

Function at 0x10036480
Capabilities:
Hash data with md5

Disassembly:
push 0x40
lea eax, [esi + 0x14]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.10049f60
add esp, 0xc
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x5c], 0x67452301
mov dword [esi + 0x60], 0xefcdab89
mov dword [esi + 0x64], 0x98badcfe
mov dword [esi + 0x68], 0x10325476
mov eax, esi
ret
Function at 0x100372b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [edi + 0x18], 8
push ebp
lea ebp, [edi + 4]
jb 0x100372c5
mov eax, dword [ebp]
jmp 0x100372c7
mov eax, ebp
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x1003737a
mov eax, dword [edi + 0x14]
xor ecx, ecx
add eax, 4
mov edx, 2
mul edx
seto cl
push esi
neg ecx
or ecx, eax
push ecx
call fcn.10047377
add esp, 4
cmp dword [edi + 0x18], 8
mov esi, eax
jb 0x10037301
mov ebp, dword [ebp]
mov eax, dword [edi + 0x14]
push ebp
add eax, 3
push eax
push esi
call fcn.100622f0
mov ecx, dword [edi + 0x14]
xor eax, eax
mov dword [esi + ecx*2], eax
mov dword [esi + ecx*2 + 4], eax
lea ecx, [esi + ecx*2]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov word [esp + 0x34], ax
mov dword [esp + 0x2c], eax
add esp, 0xc
lea eax, [esp + 0xc]
mov edx, 0x414
push eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
mov word [esp + 0x20], dx
mov dword [esp + 0x2a], ebx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
push esi
sete bl
call fcn.10049ab1
add esp, 4
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x20
ret

Function at 0x10037500
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x10067398
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1007a200]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor eax, eax
mov word [esp + 0x10], ax
push 0x1a
mov eax, 0x100707c8
lea esi, [esp + 0x10]
mov edi, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
call fcn.10002d50
mov dword [esp + 0x34], 0
cmp dword [edi + 0x18], 8
jb 0x1003756c
mov edi, dword [edi + 4]
jmp 0x1003756f
add edi, 4
push edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x10037580
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10037580
sub ecx, esi
sar ecx, 1
push eax
mov eax, ecx
lea edx, [esp + 0x10]
call fcn.100095e0
mov eax, dword [esp + 0x10]
mov esi, 8
cmp dword [esp + 0x24], esi
jae 0x100375ae
lea eax, [esp + 0x10]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebx], eax
test eax, eax
je 0x100375e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x100375e6
cmp dword [esp + 0x24], esi
jb 0x100375df
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10047382
add esp, 4
mov eax, 1
jmp 0x100375fb
cmp dword [esp + 0x24], esi
jb 0x100375f9
mov edx, dword [esp + 0x10]
push edx
call fcn.10047382
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1004738d
add esp, 0x2c
ret
Function at 0x100376d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10067368
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x1007a200]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.100024e0
mov eax, 0x1006d824
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10037730
sub eax, edx
sar eax, 1
push 0x1006d824
lea edx, [esp + 0x10]
call fcn.100095e0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.100024e0
cmp dword [esp + 0x24], 8
jb 0x1003777b
mov edx, dword [esp + 0x10]
push edx
call fcn.10047382
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret