joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6bac2350
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6bb07384
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6bb0739c]
sub esp, 4
test ebx, ebx
je 0x6bac23a5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6bac239e
test esi, esi
je 0x6bac239e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6bac2380
mov dword [esp], 0x6bb07384
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6bac2590
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x6bac25a0
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x6bac259d
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret
Function at 0x25814ba5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x25814bb4
pop dword [ebp - 8]
mov eax, 0xb8b59383
add eax, 0x6ccbb831
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x3b29a419
add dword [ebp - 0x18], 0x1328a132
mov dword [ebp - 0x14], 0xe424165a
add dword [ebp - 0x14], 0x4e0f35eb
mov dword [ebp - 0x10], 0x9ef33c25
sub dword [ebp - 0x10], 0x52a6f7f7
mov dword [ebp - 0xc], 0x3a2cec94
add dword [ebp - 0xc], 0xc5d3136c
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x5f38a1d3
sub dword [ebp - 0x18], 0xeac6387d
mov dword [ebp - 0x14], 0x8b2dd313
add dword [ebp - 0x14], 0xb63e8e62
mov dword [ebp - 0x10], 0xb61d9b42
add dword [ebp - 0x10], 0xad51d12a
mov dword [ebp - 0xc], 0xb256ec8b
sub dword [ebp - 0xc], 0xb256ec8b
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3c113
push 0
call eax
mov ecx, 0xa0b26e2d
add ecx, 0x5f4dd7ed
xor edi, edi
add edi, eax
mov ebx, 0x25829600
add ebx, dword [ebp - 8]
mov edx, 0x56fcd905
add edx, 0x70e4a41c
sub dword [ebp - 4], 0x563f7ce9
mov esi, dword [ebx]
xor dword [ebp - 4], ecx
add esi, edx
mov dword [edi], esi
add dword [ebp - 4], 0xc292b9d5
add edi, 4
add ebx, 4
loop 0x25814cc8
add eax, 0x2e384141
add eax, 0xd1c8c9fa
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xf409c62
sub ecx, 0xe9c09c62
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x407296
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x515de0
call fcn.004e6403
mov ebx, ecx
mov dword [ebp - 0x18], ebx
xor edx, edx
mov dword [ebp - 0x14], edx
push 2
pop esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0xc]
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x4072bf
mov ecx, dword [edi]
mov eax, dword [ebx]
push edx
push edx
push edx
push edx
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x407351
cmp dword [edi + 0x14], 0x10
jb 0x4072da
mov edi, dword [edi]
mov eax, dword [ebx]
push ecx
push edi
push dword [eax]
mov ecx, dword [ebp + 8]
call fcn.00407112
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
and esi, 0xfffffffd
mov dword [ebp - 0x14], esi
xor eax, eax
inc eax
mov dword [ebp - 4], eax
or esi, eax
mov dword [ebp - 0x14], esi
jmp 0x407346
mov eax, dword [ebp + 8]
call fcn.004e6361
ret 8
push str.neo::regedit::values::at__:_value_doesnt_exists
lea ecx, [ebp - 0x24]
call fcn.00403dfb
push 0x56d538
lea eax, [ebp - 0x24]
push eax
call fcn.004e95b3
int3
Function at 0x40756c
Capabilities:
Hash data with md5

Disassembly:
push 0xf0
mov eax, 0x515e8e
call fcn.004e63cc
mov edi, ecx
mov dword [ebp - 0x34], edi
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x30], eax
and dword [edi + 0x18], eax
and dword [edi + 0x14], eax
mov byte [edi], al
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
cmp byte [ebp + 0xc], al
je 0x4075d5
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.004267f9
and dword [ebp - 4], 0
xor eax, eax
inc eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], eax
call fcn.004066be
mov byte [ebp - 0x29], 1
test al, al
jne 0x4075d9
mov byte [ebp - 0x29], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
test al, 1
je 0x4075f6
and eax, 0xfffffffe
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00421c43
cmp byte [ebp - 0x29], 0
je 0x4076c2
xor eax, eax
mov word [ebp - 0x38], 1
cmp dword [esi + 0x14], 0x10
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x407616
mov esi, dword [esi]
sub esp, 0xc
lea ecx, [ebp - 0xfc]
push esi
call fcn.00421ad1
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xfc], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x100], eax
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0xfc]
push ecx
push dword [ebp - 0x38]
mov byte [ebp - 0x3f], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [eax + 4]
push 0
mov eax, dword [ebp + eax - 0xc4]
test eax, eax
sete byte [ebp - 0x40]
push dword [ebp - 0x40]
push eax
call fcn.00426852
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8c]
call fcn.0041ea65
lea ecx, [ebp - 0x8c]
call fcn.0041ebbf
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x34]
mov ecx, edi
push eax
push dword [ebp - 0x1c]
call fcn.0040782b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041e015
jmp 0x4076d6
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4076cd
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.0040782b
mov eax, edi
call fcn.004e6376
ret 8

Function at 0x40b453
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5700c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x40b49f
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004e7ca0
add esp, 0xc
mov dword [ebp - 0x40], 0x3c
cmp dword [esi + 0x14], 8
jb 0x40b48b
mov esi, dword [esi]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], esi
push eax
mov dword [ebp - 0x24], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e5245
leave
ret
Function at 0x40c193
Capabilities:
Get common file path

Disassembly:
push 0x2b4
mov eax, 0x51734a
call fcn.004e63cc
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004e7ca0
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40c309
push ecx
push ecx
lea ecx, [ebp - 0x278]
call fcn.0042810b
mov dword [ebp - 4], ebx
push ecx
push 0x570c74
lea ecx, [ebp - 0x260]
call fcn.004267f9
xor eax, eax
inc eax
mov byte [ebp - 4], al
push ecx
push 0x570bc8
lea ecx, [ebp - 0x248]
call fcn.004267f9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x2c0]
call fcn.0042800e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x248]
push ecx
mov edx, eax
lea ecx, [ebp - 0x2a8]
call fcn.00405e0c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x260]
push ecx
mov edx, eax
lea ecx, [ebp - 0x290]
call fcn.00405e0c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
push ecx
mov edx, eax
lea ecx, [ebp - 0x230]
call fcn.00405e0c
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x290]
call fcn.00421c43
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2a8]
call fcn.00421c43
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c0]
call fcn.00421c43
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x248]
call fcn.00421c43
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x260]
call fcn.00421c43
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x278]
call fcn.00421c43
lea ecx, [ebp - 0x230]
call fcn.004066be
test al, al
je 0x40c2fa
lea ecx, [ebp - 0x230]
call fcn.00406799
test al, al
je 0x40c2fa
lea ecx, [ebp - 0x230]
call fcn.00406885
test al, al
movzx ebx, bl
push 1
pop eax
cmove ebx, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00421c43
mov al, bl
call fcn.004e6376
ret
Function at 0x40c884
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0x290
mov eax, 0x517694
call fcn.004e63cc
mov esi, ecx
mov dword [ebp - 0x220], esi
xor edi, edi
mov dword [ebp - 0x224], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], edi
push edi
push eax
call fcn.004e7ca0
add esp, 0xc
lea eax, [ebp - 0x218]
push edi
push 0x2a
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push ecx
push 0x570c74
lea ecx, [ebp - 0x254]
call fcn.004267f9
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
push ecx
push 0x570bc8
lea ecx, [ebp - 0x23c]
call fcn.004267f9
mov byte [ebp - 4], 2
lea eax, [ebp - 0x218]
push ecx
push eax
lea ecx, [ebp - 0x29c]
call fcn.0042800e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x23c]
push ecx
mov edx, eax
lea ecx, [ebp - 0x284]
call fcn.00405e0c
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x254]
push ecx
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.00405e0c
pop ecx
pop ecx
mov byte [ebp - 4], 5
mov edx, eax
mov ecx, esi
call fcn.00406604
mov dword [ebp - 0x21c], ebx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x26c]
call fcn.00421c43
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x284]
call fcn.00421c43
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.00421c43
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x23c]
call fcn.00421c43
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x254]
call fcn.00421c43
mov eax, esi
call fcn.004e6376
ret
Function at 0x41b693
Capabilities:
Create thread

Disassembly:
push 0x14
mov eax, 0x51ab95
call fcn.004e63cc
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov ecx, esi
push edi
call fcn.004193d3
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
push 8
call fcn.004e5464
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push ecx
push ebx
push eax
mov dword [eax], esi
xor esi, esi
push 0x4328e2
push ebx
inc esi
mov dword [eax + 4], edi
push ebx
mov dword [ebp - 0x18], esi
call fcn.004f1346
add esp, 0x1c
mov dword [ebp - 0x20], eax
test eax, eax
je 0x41b715
mov eax, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
and eax, 0xfffffffe
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x20]
call fcn.00408360
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
jne 0x41b710
call fcn.004e6376
ret
call fcn.004f4910
push 6
mov dword [ebp - 0x1c], ebx
call fcn.004d2ae8
int3

Function at 0x41e24e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x41e275
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041e828
jmp 0x41e32a
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x41e297
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x41e299
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x41e31e
jg 0x41e2ae
test esi, esi
je 0x41e31e
test ecx, ecx
jl 0x41e2f7
jg 0x41e2b8
test eax, eax
je 0x41e2f7
cmp edi, ecx
jg 0x41e2cc
jl 0x41e2c2
cmp esi, eax
jae 0x41e2cc
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.004e7650
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x41e2fa
mov edx, dword [ebp + 8]
test edi, edi
jl 0x41e31e
jg 0x41e304
test esi, esi
je 0x41e31e
cmp dword [ebx + 0x4c], 0
je 0x41e31e
push dword [ebx + 0x4c]
push esi
push 1
push edx
call fcn.004f4fed
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e333
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 4], ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
test eax, eax
jg 0x41e35f
jl 0x41e356
test esi, esi
jne 0x41e35f
xor eax, eax
xor edx, edx
jmp 0x41e40e
cmp dword [ebx + 0x38], 0
je 0x41e374
push eax
push esi
push ecx
mov ecx, ebx
call fcn.0041e906
jmp 0x41e40e
mov eax, dword [ebx + 0x1c]
mov edi, esi
mov edx, dword [eax]
test edx, edx
je 0x41e386
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
jmp 0x41e388
xor eax, eax
test eax, eax
je 0x41e3af
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ecx
call fcn.004e7650
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [esp + 0x18], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 0x4c], 0
je 0x41e404
mov ecx, ebx
call fcn.004218e9
mov ecx, dword [esp + 0xc]
mov edx, 0xfff
cmp edi, edx
jbe 0x41e3ef
push dword [ebx + 0x4c]
push edx
push 1
push ecx
call fcn.004f6424
mov ecx, dword [esp + 0x1c]
mov edx, 0xfff
add ecx, eax
add esp, 0x10
sub edi, eax
mov dword [esp + 0xc], ecx
cmp eax, edx
jne 0x41e404
jmp 0x41e3c5
test edi, edi
je 0x41e404
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call fcn.004f6424
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub esi, edi
mov eax, esi
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e694
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5700c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
or esi, 0xffffffff
push edi
mov edi, ecx
cmp ebx, esi
jne 0x41e6ba
xor eax, eax
jmp 0x41e779
mov eax, dword [edi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x41e6e3
mov edx, dword [edi + 0x30]
mov eax, dword [edx]
add eax, ecx
cmp ecx, eax
jae 0x41e6e3
dec dword [edx]
mov eax, ebx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x41e779
cmp dword [edi + 0x4c], 0
je 0x41e777
mov ecx, edi
call fcn.004218e9
mov ecx, dword [edi + 0x38]
test ecx, ecx
jne 0x41e70d
movsx eax, bl
push dword [edi + 0x4c]
push eax
call fcn.004eb42b
pop ecx
pop ecx
cmp eax, esi
jmp 0x41e774
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [edi + 0x40]
push eax
call edx
test eax, eax
js 0x41e777
cmp eax, 1
jle 0x41e747
cmp eax, 3
jne 0x41e777
movsx eax, byte [ebp - 0x25]
jmp 0x41e6fe
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x41e76a
push dword [edi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call fcn.004f4fed
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x41e777
lea eax, [ebp - 0x25]
mov byte [edi + 0x3d], 1
cmp dword [ebp - 0x30], eax
cmovne esi, ebx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e5245
leave
ret 4

Function at 0x420c98
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b788
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5700c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
lea edi, [ebx + 4]
mov eax, dword [ebp + 8]
lea esi, [ebp + 0xc]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x18]
mov dword [ebx], eax
xor eax, eax
push 0xf
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
push 1
push 0x5450f8
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
mov byte [ecx], al
call fcn.0041f19e
xor eax, eax
mov dword [ebp - 4], eax
lea ecx, [ebx + 0x30]
push eax
push 0x544a3b
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], esi
mov byte [ecx], al
call fcn.0041f19e
or dword [ebp - 4], 0xffffffff
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x421971
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x5700c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x4219ce
cmp byte [esi + 0x3d], bl
je 0x4219ce
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4219a2
xor al, al
jmp 0x4219d0
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x4219df
sub eax, 1
je 0x4219e2
dec eax
sub eax, 1
jne 0x42199e
mov byte [esi + 0x3d], bl
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e5245
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4219ff
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004f4fed
add esp, 0x10
cmp edi, eax
jne 0x42199e
cmp byte [esi + 0x3d], bl
sete al
jmp 0x4219d0

Function at 0x428ae3
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x51cb57
call fcn.004e63cc
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push 0x10
call fcn.004e5464
mov ecx, dword [ebp + 8]
lea ebx, [edi + 4]
mov edx, eax
xor esi, esi
mov eax, dword [ebp + 0xc]
inc esi
push ebx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], esi
mov eax, dword [eax]
mov dword [edx], eax
mov eax, dword [ecx]
mov dword [edx + 8], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0xc], eax
xor eax, eax
push eax
push edx
push 0x43249b
push eax
push eax
call fcn.004f1346
add esp, 0x1c
mov dword [edi], eax
test eax, eax
je 0x428b5b
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], esi
and esi, 0xfffffffe
mov dword [ebp - 0x18], esi
or dword [ebp - 4], 0xffffffff
mov eax, edi
call fcn.004e6376
ret 8
and dword [ebx], 0
push 6
call fcn.004d2ae8
int3
Function at 0x428b66
Capabilities:
Create thread

Disassembly:
push 0x18
mov eax, 0x51cbd1
call fcn.004e63cc
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
push 0x48
call fcn.004e5464
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov ecx, edi
push esi
mov dword [ebp - 0x24], edi
call fcn.0041c36a
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [edi + 0x38], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edi + 0x40], eax
mov eax, dword [ecx + 4]
mov dword [edi + 0x44], eax
xor ecx, ecx
mov byte [ebp - 4], cl
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ebx
lea eax, [esi + 4]
push eax
push ecx
push edi
push 0x432508
push ecx
push ecx
call fcn.004f1346
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x428c03
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ebx
and ebx, 0xfffffffe
mov dword [ebp - 0x18], ebx
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004e6376
ret 0xc
and dword [esi + 4], 0
push 6
call fcn.004d2ae8
int3

Function at 0x438e80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
push 0x11
call edi
push 8
pop ecx
test ax, ax
push 1
cmovs esi, ecx
call edi
test ax, ax
jns 0x438ea3
or esi, 1
push 2
call edi
test ax, ax
jns 0x438eaf
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x438ebb
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x438ec7
or esi, 0x20
pop edi
mov eax, esi
pop esi
ret
Function at 0x43a3f6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5700c4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0x49c], ebx
jle 0x43a443
mov eax, dword [esi + 0x498]
lea edx, [ebp - 5]
mov byte [ebp - 5], 0
push edx
push dword [ebp + 0x10]
mov ecx, dword [eax + ebx*4]
push dword [ebp + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax]
cmp byte [ebp - 5], 0
jne 0x43a4a1
inc ebx
cmp ebx, dword [esi + 0x49c]
jl 0x43a418
sub edi, 0x100
je 0x43a50f
sub edi, 4
je 0x43a4a5
dec edi
sub edi, 1
jne 0x43a4fc
push dword [ebp + 0xc]
and dword [ebp - 0xc], edi
call fcn.004f79c8
pop ecx
mov ecx, dword [esi + 0x104]
lea edx, [ebp - 0xc]
push reloc.WS2_32.dll_select
mov word [ebp - 0xc], ax
push edx
mov eax, dword [ecx]
push 0x43f186
call dword [eax + pe_nt_image_headers32]
mov esi, eax
test esi, esi
je 0x43a4fc
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x11c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x43a4fe
cmp dword [esi + 0x108], 0
je 0x43a4fc
xor eax, eax
lea edi, [ebp - 0x2c]
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x18], ax
mov eax, dword [esi + 0x11c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x120]
mov dword [ebp - 0x2c], 6
mov dword [ebp - 0x1c], eax
call fcn.00438e80
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x134]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e5245
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x43a4fc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x43a568
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x43a568
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43a568
mov ecx, dword [esi + 0x108]
push str.RichEditUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004e7dfa
pop ecx
pop ecx
test eax, eax
je 0x43a568
mov eax, dword [esi + 0x108]
cmp byte [eax + 0x6a1], 0
jne 0x43a4fc
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x43a5b0
mov eax, dword [ecx]
call dword [eax + 0xf4]
test al, al
je 0x43a5b0
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
call dword [eax + 0x100]
test al, al
je 0x43a5b0
mov ecx, dword [esi + 0x108]
push str.WkeWebkitUI
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.004e7dfa
pop ecx
pop ecx
test eax, eax
jne 0x43a4fc
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.0043da53
jmp 0x43a4a1