joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aec30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push edi
test eax, eax
jg 0x100aec8d
jl 0x100aec45
test edx, edx
jae 0x100aec8d
push eax
push edx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Negative_value
mov ecx, eax
call fcn.100146d0
mov ecx, eax
call fcn.100a9950
mov edx, str._passed_to_VarintBE::EncodeInternal__which_requires_non_negative_argument
mov ecx, eax
call fcn.100146d0
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
jne 0x100aeccf
xor eax, eax
pop edi
pop esi
pop ebp
ret
lea esi, [ecx + 8]
mov edi, 1
mov cl, dl
and cl, 0x7f
shrd edx, eax, 7
mov byte [esi], cl
dec esi
sar eax, 7
mov ecx, edx
or ecx, eax
je 0x100aecc9
lea ebx, [ebx]
mov cl, dl
lea esi, [esi - 1]
or cl, 0x80
inc edi
shrd edx, eax, 7
mov byte [esi + 1], cl
sar eax, 7
mov ecx, edx
or ecx, eax
jne 0x100aecb0
mov eax, edi
pop edi
pop esi
pop ebp
ret
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3

Function at 0x100aecf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ecfe1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10001850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov byte [ebp - 4], 1
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100aee60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jne 0x100aef48
mov eax, dword [esi + 0x14]
cmp eax, dword [esi + 0x18]
jne 0x100aef48
mov eax, dword [esi + 0x20]
cmp eax, dword [esi + 0x24]
jne 0x100aef48
mov ecx, dword [esi + 4]
call fcn.100af110
mov ecx, eax
test ecx, ecx
jne 0x100aeedf
push dword [esi + 4]
mov edx, str.ERROR:
push ecx
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Error_finding_table_size_for_source_size
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
push eax
call fcn.100195d0
add esp, 4
call fcn.1009d630
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ecx - 1]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x2c], eax
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [esi + 8]
call fcn.100af770
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 0x14]
shr eax, 4
push eax
call fcn.100af770
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xffffffff
push eax
mov eax, dword [esi + 4]
lea ecx, [esi + 0x20]
shr eax, 4
push eax
call fcn.100af770
cmp byte [ebp + 8], 0
je 0x100aef3d
push dword [esi + 4]
mov ecx, esi
call fcn.100af410
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Init___called_twice_for_same_BlockHash_object
mov ecx, eax
call fcn.100146d0
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
je 0x100aeed4
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3
Function at 0x100af110
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov eax, 1
mov edx, esi
shr edx, 2
inc edx
cmp edx, eax
jbe 0x100af12a
add eax, eax
je 0x100af17b
cmp eax, edx
jb 0x100af122
lea ecx, [eax - 1]
test eax, ecx
je 0x100af1da
push eax
push ecx
push esi
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Internal_error:_CalcTableSize_dictionary_size_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._:_resulting_table_size
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._is_not_a_power_of_2
jmp 0x100af1bf
push eax
push ecx
push esi
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Internal_error:_CalcTableSize_dictionary_size_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._:_resulting_table_size
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._is_zero_or_negative
mov ecx, eax
call fcn.100146d0
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
je 0x100af23e
jmp 0x100af242
test esi, esi
je 0x100af240
lea ecx, [edx + edx]
cmp eax, ecx
jbe 0x100af240
push eax
push ecx
push esi
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Internal_error:_CalcTableSize_dictionary_size_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._:_resulting_table_size
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
mov edx, str._is_too_large
mov ecx, eax
call fcn.100146d0
push eax
call fcn.100195d0
add esp, 4
call fcn.1009d630
xor eax, eax
pop esi
ret
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3
Function at 0x100af260
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
push ebx
push esi
push edi
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jne 0x100af2a6
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.BlockHash::AddBlock___called_before_BlockHash::Init__
mov ecx, eax
call fcn.100146d0
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
je 0x100af3f0
jmp 0x100af3f7
mov esi, dword [edx + 0x34]
mov eax, dword [edx + 4]
inc esi
shr eax, 4
cmp esi, eax
jl 0x100af2f6
dec eax
mov edx, str.ERROR:
push eax
push ecx
push esi
push ecx
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.BlockHash::AddBlock___called_with_block_number
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str._that_is_past_last_block
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
jmp 0x100af28b
mov edi, dword [edx + 0x14]
cmp dword [edi + esi*4], 0xffffffff
lea eax, [edi + esi*4]
je 0x100af347
push dword [eax]
mov edx, str.ERROR:
push ecx
push esi
push ecx
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Internal_error_in_BlockHash::AddBlock__:_block_number_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str.__next_block_should_be__1_but_is
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
jmp 0x100af28b
mov ecx, dword [edx + 0x2c]
and ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ebx, dword [eax + ecx*4]
test ebx, ebx
jns 0x100af36a
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x20]
mov dword [eax + esi*4], esi
mov dword [edx + 0x34], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edx + 0x20]
mov eax, dword [eax + ebx*4]
cmp dword [edi + eax*4], 0xffffffff
je 0x100af3e4
push dword [edi + eax*4]
mov edx, str.ERROR:
push ecx
push eax
push ecx
push ebx
push ecx
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.Internal_error_in_BlockHash::AddBlock__:_first_matching_block_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str.__last_matching_block_
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str.__next_block_should_be__1_but_is
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
push eax
call fcn.100195d0
add esp, 4
call fcn.1009d630
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov dword [edi + eax*4], esi
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], esi
mov dword [edx + 0x34], esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3
Function at 0x100af410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp ecx, eax
jle 0x100af47c
push eax
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.BlockHash::AddAllBlocksThroughIndex___called_with_index
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str._higher_than_end_index
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.10011a20
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
je 0x100af506
jmp 0x100af50d
mov edx, dword [edi + 0x34]
shl edx, 4
cmp ecx, edx
jg 0x100af4d3
push edx
push ecx
push ecx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.BlockHash::AddAllBlocksThroughIndex___called_with_index
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, str.___last_index_added__
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
mov edx, 0x100fcbfc
mov ecx, eax
call fcn.100146d0
jmp 0x100af461
cmp eax, 0x10
jb 0x100af506
add eax, 0xfffffff0
cmp ecx, eax
jle 0x100af4e2
lea ecx, [eax + 1]
mov eax, dword [edi]
lea esi, [eax + 0x10]
lea ebx, [eax + ecx]
add esi, edx
cmp esi, ebx
jae 0x100af506
mov ecx, esi
call fcn.100a9f60
push eax
mov ecx, edi
call fcn.100af260
add esi, 0x10
cmp esi, ebx
jb 0x100af4f0
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3

Function at 0x100af5a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
shr eax, 4
cmp edx, eax
jb 0x100af5f0
push edx
push ecx
mov edx, str.ERROR:
mov ecx, 0x100eec88
call fcn.100146d0
mov edx, str.NextMatchingBlock_called_for_invalid_block_number
mov ecx, eax
call fcn.100146d0
add esp, 4
mov ecx, eax
call fcn.1004fe30
push eax
call fcn.100195d0
add esp, 4
cmp byte [0x100efdbc], 0
jne 0x100af602
or eax, 0xffffffff
pop ebp
ret 8
mov eax, dword [ecx + 0x14]
push dword [ebp + 0xc]
push dword [eax + edx*4]
call fcn.100af520
pop ebp
ret 8
mov ecx, 0x100eec88
call fcn.1002bf20
push 1
call fcn.100b82c3
int3
Function at 0x100d6d60
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x100d6e30
push 0xffffffffffffffff
push 0x100ed498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10001850]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x100025d0]
cmp eax, 0xffffffff
jne 0x100d6e69
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x100d6e76
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100d6edd
jmp 0x100d6eac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x100d6f1a
test edi, edi
jne 0x100d6f20
push 0x100d6a30
push 0x100efcdc
call fcn.100d66d0
mov eax, dword [0x100025d0]
add esp, 8
cmp eax, 0xffffffff
je 0x100d6edd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x100d6f06
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100d6f06
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x100d6f58
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100d6f49
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100d6f20
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x100d6ea0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x100d6fb7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100d6f9c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100d6fb7
jmp 0x100d6f90
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100d6f90
jmp 0x100d6fb7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100d6fb5
cmp esi, dword [eax + 8]
jne 0x100d6fb5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100d6fa5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100d6fcb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x100d6fcb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.100d6a60
cmp esi, ebx
jne 0x100d6f70
mov ebp, dword [esp + 0x14]
jmp 0x100d6ea0
Function at 0x100d6e30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x100d6e30
push 0xffffffffffffffff
push 0x100ed498
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10001850]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [0x100025d0]
cmp eax, 0xffffffff
jne 0x100d6e69
xor ebp, ebp
mov dword [esp + 0x14], ebp
jmp 0x100d6e76
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [esp + 0x2c], 0
test ebp, ebp
je 0x100d6edd
jmp 0x100d6eac
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebp + 0x14], 0
mov edi, dword [ebp + 0xc]
jne 0x100d6f1a
test edi, edi
jne 0x100d6f20
push 0x100d6a30
push 0x100efcdc
call fcn.100d66d0
mov eax, dword [0x100025d0]
add esp, 8
cmp eax, 0xffffffff
je 0x100d6edd
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x2c], 0xffffffff
test ebp, ebp
je 0x100d6f06
lea eax, [ebp + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x100d6f06
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax]
push ebp
push 0
call esi
push eax
call ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test edi, edi
je 0x100d6f58
mov edi, edi
mov eax, dword [edi + 4]
mov dword [ebp + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100d6f49
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi]
mov ecx, esi
push 0
mov eax, dword [esi]
call dword [eax]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call esi
push eax
call ebx
push edi
push 0
call esi
push eax
call ebx
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x100d6f20
mov ebx, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
mov dword [esp + 0x18], eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x100d6ea0
mov ebp, eax
mov edi, edi
cmp byte [esi + 0xd], 0
mov edi, esi
jne 0x100d6fb7
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x100d6f9c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x100d6fb7
jmp 0x100d6f90
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x100d6f90
jmp 0x100d6fb7
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100d6fb5
cmp esi, dword [eax + 8]
jne 0x100d6fb5
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100d6fa5
mov esi, eax
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100d6fcb
mov edx, dword [edi + 0x1c]
test edx, edx
je 0x100d6fcb
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push edi
lea eax, [esp + 0x24]
mov ecx, ebp
push eax
call fcn.100d6a60
cmp esi, ebx
jne 0x100d6f70
mov ebp, dword [esp + 0x14]
jmp 0x100d6ea0
Function at 0x433fc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f16bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004e2ab1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434042
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e045e
mov eax, dword [eax]
push 0x8b2d24
push eax
call fcn.004d0e94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e2d3c
test bl, bl
je 0x434042
push 0x8b2d24
lea ecx, [esp + 0xc]
call fcn.004e30cc
push 0x8b2d30
lea ecx, [esp + 0xc]
call fcn.004e30cc
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43407e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e2d3c
jmp 0x434149
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x434102
lea edx, [esp + 0x7c]
push 0x8b2d2c
push edx
call fcn.004d0e94
add esp, 8
test eax, eax
je 0x434102
lea eax, [esp + 0x7c]
push 0x8b2d28
push eax
call fcn.004d0e94
add esp, 8
test eax, eax
je 0x434102
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434092
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004e2d3c
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x434950
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4349b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4349c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f173b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8c4f00]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x434af8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x434a26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e2d3c
xor eax, eax
jmp 0x434b6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e2e79
push esi
lea ecx, [esp + 0xc]
call fcn.004e3108
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x434b4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00434950
test eax, eax
jne 0x434b4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00434950
test eax, eax
jne 0x434b4d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004d1fe0
mov esi, eax
add esp, 8
test esi, esi
jne 0x434b2c
lea ecx, [esp + 0x14]
push 0x8b2d3c
push ecx
call fcn.004d1f60
mov esi, eax
add esp, 8
test esi, esi
jne 0x434b2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x434b2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e2e29
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x434a3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e2d3c
xor eax, eax
jmp 0x434b6f
mov byte [esi], 0
push 0x8b2d38
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004e2d3c
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4452d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x44533e
cmp si, 0x69
ja 0x44533e
add esi, 0xffd0
cmp si, 0x11
je 0x44530e
push 0x11
call edi
test ax, ax
jge 0x44530e
or esi, 0x2000
cmp si, 0x10
je 0x445323
push 0x10
call edi
test ax, ax
jge 0x445323
or esi, 0x4000
cmp si, 0x12
je 0x445338
push 0x12
call edi
test ax, ax
jge 0x445338
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44534b
mov esi, 0xbd
jmp 0x4452ff
cmp si, 0x6e
jne 0x445358
mov esi, 0xbe
jmp 0x4452ff
cmp si, 0x6f
jne 0x4452f9
mov esi, 0xbf
jmp 0x4452ff

Function at 0x446c90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8d59e8]
xor edx, edx
cmp eax, edx
jne 0x446cb6
xor eax, eax
mov byte [eax + 0x8d58e8], al
inc eax
cmp eax, 0x100
jl 0x446c9e
mov dword [0x8d59e8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8d58e8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x446d47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x446d1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x446ce8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x446d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x446da3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x446d8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret