joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101701a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], 0
mov eax, 0x861110
call eax
mov edx, 0x861260
mov ecx, eax
call edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
jmp 0x101701dc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xcc
jge 0x10170308
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c3c0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x1c], eax
mov eax, 0x83cbe0
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x20]
jne 0x10170214
jmp 0x10170308
mov edx, dword [ebp - 0x1c]
push edx
mov eax, 0x835720
mov ecx, dword [ebp - 0xc]
call eax
mov dword [ebp - 0x28], eax
push 0x40
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x83c4b0
mov ecx, dword [ebp - 0xc]
call edx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov edx, 0x7da660
mov ecx, dword [ebp - 0x28]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10170303
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
mov edx, dword [ebp + 8]
movsx eax, word [edx]
cmp ecx, eax
jne 0x10170303
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 2]
cmp ecx, dword [eax + 2]
je 0x10170280
jmp 0x101701d3
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x17]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x17]
cmp eax, edx
je 0x10170297
jmp 0x101701d3
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x18]
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 0x18]
cmp ecx, eax
je 0x101702ae
jmp 0x101701d3
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x101702d7
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x16]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x16]
cmp eax, edx
jl 0x101702d5
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x16]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x101702fa
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x16]
cmp eax, 0xffffffff
je 0x101702fa
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x16]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x16]
cmp edx, ecx
je 0x101702fa
jmp 0x101701d3
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
jmp 0x101701d3
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10170315
mov eax, dword [ebp - 0x14]
jmp 0x10170318
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x10176be0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x40]
cmp eax, 0x3e8
jae 0x10176c01
jmp 0x10176ccb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
cmp dword [eax + 0x14], 0
je 0x10176c37
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x40], 0
jle 0x10176c37
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov edx, dword [eax + 0x14]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
add ecx, 4
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.10001110
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.10001140
jmp 0x10176c65
lea ecx, [ebp - 0xc]
call fcn.10026300
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0xc]
call fcn.10001350
movzx edx, al
test edx, edx
je 0x10176cbf
lea ecx, [ebp - 0xc]
call fcn.100012c0
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx + 0x14], 0
je 0x10176ca5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x10176ca5
jmp 0x10176c5d
mov edx, dword [ebp - 8]
cmp dword [edx + 0x40], 0
jle 0x10176cbd
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x40]
sub ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], ecx
jmp 0x10176c5d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov esp, ebp
pop ebp
ret
Function at 0x10178e60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10194460
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x101d8820]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
push eax
push 0xf8
mov ecx, 0x10205be4
call fcn.1011ae20
mov ecx, dword [0x101d9d10]
mov dword [ebp - 0x14], ecx
cvtsi2sd xmm0, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101c3940]
movsd qword [ebp - 0x38], xmm0
cvtsd2ss xmm0, qword [ebp - 0x38]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0xc], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x101c3438]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101c352c]
movss dword [edx + 0x14], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101c3690]
movss dword [eax + 0x18], xmm0
mov ecx, dword [0x101d9d10]
sub ecx, 0x1c
mov dword [ebp - 0x18], ecx
cvtsi2sd xmm0, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x101c3940]
movsd qword [ebp - 0x40], xmm0
cvtsd2ss xmm0, qword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x30], xmm0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x101c3624]
movss dword [ecx + 0x34], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x101c3340]
movss dword [edx + 0x38], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x101c335c]
movss dword [eax + 0x3c], xmm0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
cmp dword [0x81f6b6c], 8
jle 0x10178f8f
mov edx, dword [0x81f6b6c]
sub edx, 8
imul edx, edx, 0x17
cvtsi2ss xmm0, edx
mov eax, dword [ebp - 0x10]
addss xmm0, dword [eax + 0x34]
mov ecx, dword [ebp - 0x10]
movss dword [ecx + 0x34], xmm0
push 0x4c
call fcn.1006cbb8
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x10178fd6
push 0
push ecx
movss xmm0, dword [0x101c28f8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c28f8]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x1c]
call fcn.100adc60
mov dword [ebp - 0x20], eax
jmp 0x10178fdd
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + 0x40], ecx
push 0x4c
call fcn.1006cbb8
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x1017903a
push 0
push ecx
movss xmm0, dword [0x101c28f8]
movss dword [esp], xmm0
push ecx
movss xmm0, dword [0x101c28f8]
movss dword [esp], xmm0
push 0x1f
mov ecx, dword [ebp - 0x24]
call fcn.100adc60
mov dword [ebp - 0x28], eax
jmp 0x10179041
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x10179b00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x101d8820]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0x50], 0
je 0x10179b2f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
sub eax, dword [ecx + 0x50]
cmp eax, 0x1388
jae 0x10179b34
jmp 0x10179bf3
push 0x55
push 0x50
push 0xf2
lea ecx, [ebp - 0x5c]
call fcn.10010580
push 0xa
mov edx, dword [ebp - 0x60]
add edx, 4
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.1016dda0
add esp, 0xc
push 0xa
mov ecx, dword [ebp - 0x60]
add ecx, 0xf
push ecx
lea edx, [ebp - 0x4e]
push edx
call fcn.1016dda0
add esp, 0xc
mov eax, dword [0x101e0604]
mov ecx, dword [eax]
mov dword [ebp - 0x3a], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x36], edx
mov ax, word [eax + 8]
mov word [ebp - 0x32], ax
push 0x23
push 0x101e0590
lea ecx, [ebp - 0x2c]
push ecx
call fcn.1016dda0
add esp, 0xc
mov ecx, 0x10203f9c
call fcn.100dc630
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
movzx edx, byte [ebp - 0x5b]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.101667c0
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101c28f8]
movss dword [0x101e0b84], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006c530
mov esp, ebp
pop ebp
ret

Function at 0x10179c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx + 0x24]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x80]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x58]
imul ecx, ecx, 0x3e8
cmp eax, ecx
jae 0x10179c42
jmp 0x10179ced
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x2c
push ecx
call fcn.1017a4f0
add esp, 8
test eax, eax
je 0x10179c91
mov dword [0x8793704], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
movss xmm0, dword [0x101c28f8]
movss dword [0x101e0b84], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
jmp 0x10179ced
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x80]
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x80], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x80], 0xa
jne 0x10179cbb
mov eax, dword [ebp - 4]
mov byte [eax + 0x55], 1
jmp 0x10179ced
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
movss xmm0, dword [0x101c28f8]
movss dword [0x101e0b84], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov esp, ebp
pop ebp
ret
Function at 0x1017ae00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x55]
test ecx, ecx
jne 0x1017ae14
jmp 0x1017ae75
push 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x98]
call fcn.100ae550
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x98]
call fcn.100ae5f0
movzx ecx, al
test ecx, ecx
je 0x1017ae4d
push 0x19
mov ecx, 0x10205be4
call fcn.1011aef0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0xd
mov edx, 0x791050
call edx
add esp, 4
test eax, eax
jne 0x1017ae6d
push 0x1b
mov eax, 0x791050
call eax
add esp, 4
test eax, eax
je 0x1017ae75
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1017cd20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0xe61f84]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_send]
pop ebp
ret
Function at 0x1018ac00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 4
jb 0x1018acd3
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101c24f8]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
shr ecx, 8
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 8]
movzx edx, byte [eax + edx]
xor edx, dword [ebp - 4]
and edx, 0xff
xor ecx, dword [edx*4 + 0x101c24f8]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
shl ecx, 1
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101c24f8]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, 1
imul eax, eax, 3
mov ecx, dword [ebp - 8]
movzx eax, byte [ecx + eax]
xor eax, dword [ebp - 4]
and eax, 0xff
xor edx, dword [eax*4 + 0x101c24f8]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp + 0x10], edx
jmp 0x1018ac15
cmp dword [ebp + 0x10], 0
je 0x1018ad15
mov eax, dword [ebp - 4]
shr eax, 8
mov ecx, 1
imul ecx, ecx, 0
mov edx, dword [ebp - 8]
movzx ecx, byte [edx + ecx]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x101c24f8]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
jmp 0x1018acd3
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407600
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5bb278]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 0x4f0053
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x2c]
mov eax, 0x5c2798
mov dword [ebp - 0x28], 0x540046
mov dword [ebp - 0x24], 0x410057
mov edx, 0x14
mov dword [ebp - 0x20], 0x450052
sub esi, eax
mov dword [ebp - 0x1c], 0x4d005c
mov dword [ebp - 0x18], 0x630069
mov dword [ebp - 0x14], 0x6f0072
mov dword [ebp - 0x10], 0x610047
mov dword [ebp - 0xc], 0x65006d
lea ecx, [edx + 0x7fffffea]
test ecx, ecx
je 0x407683
movzx ecx, word [esi + eax]
test cx, cx
je 0x407683
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x407665
lea ecx, [eax - 2]
test edx, edx
pop esi
cmovne ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x5c2798
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret

Function at 0x4076b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5bb278]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x80], 0x740068
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x80]
mov eax, 0x5c2d78
mov dword [ebp - 0x7c], 0x700074
push edi
mov dword [ebp - 0x78], 0x2f003a
mov edx, 0x3e
mov dword [ebp - 0x74], 0x74002f
sub esi, eax
mov dword [ebp - 0x70], 0x2e0067
mov dword [ebp - 0x6c], 0x610074
mov dword [ebp - 0x68], 0x6a006f
mov dword [ebp - 0x64], 0x6b0069
mov dword [ebp - 0x60], 0x2e0065
mov dword [ebp - 0x5c], 0x6f0063
mov dword [ebp - 0x58], 0x2e006d
mov dword [ebp - 0x54], 0x6e0063
mov dword [ebp - 0x50], 0x6c002f
mov dword [ebp - 0x4c], 0x67006f
mov dword [ebp - 0x48], 0x6e0069
mov dword [ebp - 0x44], 0x64002f
mov dword [ebp - 0x40], 0x730069
mov dword [ebp - 0x3c], 0x650070
mov dword [ebp - 0x38], 0x73006e
mov dword [ebp - 0x34], 0x3f0065
mov dword [ebp - 0x30], 0x680063
mov dword [ebp - 0x2c], 0x6e0061
mov dword [ebp - 0x28], 0x65006e
mov dword [ebp - 0x24], 0x3d006c
mov dword [ebp - 0x20], 0x640077
mov dword [ebp - 0x1c], 0x75005f
mov dword [ebp - 0x18], 0x69006e
mov dword [ebp - 0x14], 0x73006e
mov dword [ebp - 0x10], 0x610074
mov dword [ebp - 0xc], 0x6c006c
nop dword [eax]
lea ecx, [edx + 0x7fffffc0]
test ecx, ecx
je 0x4077ce
movzx ecx, word [esi + eax]
test cx, cx
je 0x4077ce
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4077b0
lea ecx, [eax - 2]
test edx, edx
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov eax, 0x5c2d78
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046975d
mov esp, ebp
pop ebp
ret
Function at 0x536c20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00536a96

Function at 0x544e2c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x40eb4f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonSize], eax
call fcn.0040b7a5
pop ecx
mov ecx, dword [sym.TestArrayUtils.exe_gMozillaPoisonSize]
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40eb87
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401e20
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x488d73
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.MessageLoop.0
mov dword [esi + 4], 1
lea edi, [esi + 0xc]
push 8
mov dword [edi], ebx
call fcn.00468a36
add esp, 4
cmp eax, ebx
je 0x401f88
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [edi]
mov dword [eax], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 2
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
push 8
mov dword [edi], ebx
call fcn.00468a36
add esp, 4
cmp eax, ebx
je 0x401f64
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 4
mov dword [esi + 0x6c], ebx
mov edx, dword [0x4c9a08]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp dword [esi + 4], 1
jne 0x401f1d
push 0x1c
call fcn.00468a36
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x401f16
push eax
call fcn.004034c0
mov dword [esi + 8], eax
jmp 0x401f4e
xor eax, eax
mov dword [esi + 8], eax
jmp 0x401f4e
push 0x10
call fcn.00468a36
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x401f49
push ebx
push ebx
push ebx
push ebx
mov dword [edi], vtable.MessagePumpDefault.0
mov byte [edi + 4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
jmp 0x401f4b
xor edi, edi
mov dword [esi + 8], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00468d1d
push 0x4b1c44
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0046be5d
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.00468d1d
push 0x4b1c44
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.0046be5d
int3
Function at 0x403ec0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48fc08
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4c9a14
mov byte [ebp - 0x10], bl
call fcn.004043a0
mov dword [ebp - 4], ebx
mov eax, dword [0x4c9908]
cmp eax, ebx
jne 0x403f52
push 0x18
call fcn.00468a36
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x403f4b
push ebx
push ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 1
push ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x403db0
push ebx
push ebx
mov dword [esi + 4], eax
call fcn.00469402
mov dword [esi], eax
add esp, 0x18
mov eax, esi
jmp 0x403f4d
xor eax, eax
mov dword [0x4c9908], eax
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [ebp - 0x10], bl
je 0x403f93
mov eax, dword [ebp - 0x14]
mov ecx, 0x80000000
mov edx, eax
lock xadd dword [edx], ecx
test ecx, 0x40000000
jne 0x403f93
cmp ecx, 0x80000000
jle 0x403f93
mov ecx, eax
lock bts dword [ecx], 0x1e
jb 0x403f93
call fcn.00406010
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404710
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4bf1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.00468da2
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x14]
push 0
lea edx, [edi + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push edx
mov byte [ecx], 0
call fcn.00406110
mov dword [esi], vtable.boost::lock_error.0
mov dword [ebp - 4], 1
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x4047a2
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4