joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005d2a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
dec eax
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x10], ecx
lea eax, [ebx + eax*2]
mov dword [ebp - 0x18], eax
cmp ebx, eax
mov eax, dword [ebp + 0x10]
jae 0x1005d45e
push esi
mov esi, dword [ebp + 0x14]
push edi
nop dword [eax]
test esi, esi
je 0x1005d2dc
cmp eax, esi
jae 0x1005d459
mov bl, byte [eax]
mov byte [ebp + 0xf], bl
test bl, bl
je 0x1005d459
movzx ecx, bl
mov edx, esi
shr ecx, 3
xor ebx, ebx
movsx ecx, byte [ecx + 0x100e9728]
test ecx, ecx
mov dword [ebp - 0xc], ecx
sete bl
add ebx, ecx
mov dword [ebp - 0x14], ebx
test esi, esi
jne 0x1005d30e
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [ebp + 0xf]
mov byte [ebp - 3], cl
cmp esi, edx
jae 0x1005d323
mov bh, byte [esi]
jmp 0x1005d325
xor bh, bh
lea esi, [eax + 2]
mov byte [ebp - 2], bh
cmp esi, edx
jae 0x1005d333
mov ch, byte [esi]
jmp 0x1005d335
xor ch, ch
lea esi, [eax + 3]
mov byte [ebp - 1], ch
cmp esi, edx
jae 0x1005d343
mov bl, byte [esi]
jmp 0x1005d345
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [ebp + 0xf], bl
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx*4 + 0x100e9748]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [ebp - 8], ebx
shl dword [ebp - 8], 6
and esi, 0xc0
or dword [ebp - 8], ecx
mov ecx, edx
shl dword [ebp - 8], 6
and ecx, 0x3f
or dword [ebp - 8], ecx
and edx, 0xc0
shl dword [ebp - 8], 6
mov ecx, edi
mov ebx, dword [ebp - 8]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [ebp - 0xc]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x100e9770]
shr ebx, cl
mov esi, ebx
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0xc]
cmp esi, dword [ebx*4 + 0x100e975c]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x100e9784]
mov ebx, dword [ebp - 0x14]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x1005d436
xor edx, edx
mov esi, 0xfffd
cmp byte [ebp + 0xf], dl
setne dl
xor ecx, ecx
cmp byte [ebp - 1], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 2], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [ebp - 3], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x1005d43c
add eax, ebx
test esi, esi
je 0x1005d456
mov ecx, dword [ebp - 0x10]
mov word [ecx], si
add ecx, 2
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
cmp ecx, dword [ebp - 0x18]
jb 0x1005d2d0
jmp 0x1005d459
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp + 8]
pop edi
pop esi
xor edx, edx
mov word [ecx], dx
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x1005d46c
mov dword [edx], eax
sub ecx, ebx
sar ecx, 1
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005ec80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x2f6c], 0
lea esi, [edi + 0x2f70]
je 0x1005ecfa
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1005ecb6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10069db0
push dword [ebp + 0x10]
mov ecx, esi
mov dword [esi], 0
push dword [ebp + 0xc]
call fcn.10069960
mov edx, dword [esi]
mov ecx, 0x1011a690
push dword [edi + 0x2f6c]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2f78]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.100a03a7
add esp, 0x10
pop edi
pop esi
pop ebp
ret
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10069960
pop edi
pop esi
pop ebp
ret
Function at 0x10063c20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1011a68c]
lea edx, [ebp - 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x1b98]
mov eax, dword [esi + 0xc4]
add esi, 0xc4
push edi
mov dword [ebp - 4], ecx
mov edi, 4
mov ebx, dword [esi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x100e91e0]
sub edi, 1
jne 0x10063c55
mov eax, dword [0x1011a68c]
not ebx
cmp dword [eax + 0x1bb8], ebx
jne 0x10063c8d
push edi
push dword [ebp + 8]
push 4
push ebx
call fcn.1005a340
add esp, 0x10
mov ecx, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ecx
jne 0x10063cb8
inc edi
test ecx, ecx
je 0x10063ca6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10063cab
mov eax, 8
cmp eax, edi
mov ecx, esi
cmovg edi, eax
push edi
call fcn.10069eb0
mov ecx, dword [esi]
mov eax, dword [esi + 8]
pop edi
mov dword [eax + ecx*4], ebx
inc dword [esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10066310
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1011a68c]
push esi
mov esi, dword [ebp + 8]
mov dword [eax + 0x2f20], 0
test esi, esi
je 0x10066367
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push edi
push eax
call fcn.10066370
push 0x100e986c
push esi
mov edi, eax
call fcn.1005cb00
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10066366
push esi
push dword [ebp + 8]
push 1
push edi
call fcn.100a03a7
push esi
call fcn.1009f49c
add esp, 0x14
pop edi
pop esi
pop ebp
ret
Function at 0x100688f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [0x1011a68c]
cmp byte [edi + 0x2f1d], 0
lea eax, [edi + 0x20]
jne 0x10068a0f
mov ecx, dword [eax]
push ebx
test ecx, ecx
je 0x10068a07
push esi
push 0x100e9868
push ecx
call fcn.1005cb00
mov esi, eax
add esp, 8
test esi, esi
je 0x10068a03
push esi
call fcn.100a8676
add esp, 4
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x100689fa
push 2
push 0
push esi
call fcn.100a016d
add esp, 0xc
test eax, eax
jne 0x100689fa
push esi
call fcn.100a8676
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
cmp ebx, 0xffffffff
je 0x100689fa
push 0
push dword [ebp - 8]
push esi
call fcn.100a016d
add esp, 0xc
test eax, eax
jne 0x100689fa
mov eax, dword [0x1011a68c]
test eax, eax
je 0x10068993
inc dword [eax + 0x36c]
push dword [0x1011a694]
push ebx
call dword [0x1010b158]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100689fa
push esi
push dword [ebp - 4]
push 1
push ebx
call fcn.1009fd20
add esp, 0x10
push esi
cmp eax, dword [ebp - 4]
je 0x100689e7
call fcn.1009f49c
add esp, 4
mov eax, dword [0x1011a68c]
test eax, eax
je 0x100689d5
dec dword [eax + 0x36c]
push dword [0x1011a694]
push ebx
call dword [0x1010b15c]
add esp, 8
jmp 0x10068a03
call fcn.1009f49c
push dword [ebp - 4]
push ebx
call fcn.1005e820
add esp, 0xc
jmp 0x100689c6
push esi
call fcn.1009f49c
add esp, 4
lea eax, [edi + 0x20]
pop esi
mov byte [edi + 0x2f1d], 1
pop ebx
movss xmm0, dword [edi + 0x2f20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10068a60
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2f20], xmm0
jb 0x10068a60
mov eax, dword [eax]
test eax, eax
je 0x10068a4f
push eax
call fcn.10066310
add esp, 4
mov dword [edi + 0x2f20], 0
pop edi
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x354], 1
mov dword [edi + 0x2f20], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x1006d0e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c4410
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1010b570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4c], ebx
jle 0x1006d13d
xor edi, edi
mov eax, dword [esi + 0x54]
mov ecx, dword [edi + eax]
test ecx, ecx
je 0x1006d134
cmp byte [edi + eax + 8], 0
je 0x1006d134
push ecx
call fcn.1005edb0
mov eax, dword [esi + 0x54]
add esp, 4
mov dword [edi + eax], 0
inc ebx
add edi, 0x78
cmp ebx, dword [esi + 0x4c]
jl 0x1006d110
xor edx, edx
cmp dword [esi + 0x34], edx
jle 0x1006d17d
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + edx*4]
mov eax, dword [esi + 0x54]
mov ebx, dword [edi + 0x34]
cmp ebx, eax
jb 0x1006d177
mov ecx, dword [esi + 0x4c]
shl ecx, 4
sub ecx, dword [esi + 0x4c]
lea eax, [eax + ecx*8]
cmp ebx, eax
jae 0x1006d177
mov dword [edi + 0x34], 0
xor ecx, ecx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + edx*4]
mov word [eax + 0x38], cx
inc edx
cmp edx, dword [esi + 0x34]
jl 0x1006d144
mov eax, dword [esi + 0x54]
test eax, eax
je 0x1006d1a2
push eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x48]
test eax, eax
je 0x1006d1c7
push eax
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x14]
mov dword [esi + 0x464], 0xffffffff
mov dword [esi + 0x460], 0xffffffff
test eax, eax
je 0x1006d1eb
push eax
call fcn.1005edb0
add esp, 4
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1006d1fb
push eax
call fcn.1005edb0
add esp, 4
xor ebx, ebx
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov byte [esi + 0x12], 0
cmp dword [esi + 0x34], ebx
jle 0x1006d27e
mov eax, dword [esi + 0x3c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1006d278
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.1006d3a0
mov eax, dword [edi + 0x28]
mov byte [ebp - 4], 1
test eax, eax
je 0x1006d240
push eax
call fcn.1005edb0
add esp, 4
mov eax, dword [edi + 0x1c]
mov byte [ebp - 4], 2
test eax, eax
je 0x1006d254
push eax
call fcn.1005edb0
add esp, 4
mov eax, dword [edi + 8]
mov byte [ebp - 4], 3
test eax, eax
je 0x1006d268
push eax
call fcn.1005edb0
add esp, 4
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.1005edb0
add esp, 4
inc ebx
cmp ebx, dword [esi + 0x34]
jl 0x1006d214
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x1006d2a3
push eax
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x3c], 0
mov byte [esi + 0x11], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10071980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100719a7
push eax
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 8], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100719cc
push eax
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0x20]
test eax, eax
je 0x100719f1
push eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov eax, dword [esi + 0x44]
test eax, eax
je 0x10071a32
push eax
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x44], 0
mov eax, dword [esi + 0x50]
test eax, eax
je 0x10071a57
push eax
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x50], 0
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x10071a7c
push eax
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.1005edb0
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1006d2c0
Function at 0x1007a470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1010b570]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1005c140
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1007a631
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1007a631
push ebx
push edi
push 0x38
call fcn.1005ed80
mov edi, eax
add esp, 4
mov dword [ebp - 0x20], edi
test edi, edi
je 0x1007a4d0
push 0x38
push 0
push edi
call fcn.1009bb30
add esp, 0xc
jmp 0x1007a4d2
xor edi, edi
or dword [esi + 4], 6
mov edx, dword [ebp + 8]
mov dword [esi + 0xbc], edi
mov dword [esi + 0xb4], str.imgui_impl_win32
mov dword [edi], edx
mov byte [edi + 0x25], 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x20], 9
mov dword [esi + 0xd8], edx
mov dword [esi + 0x2c], 9
mov dword [esi + 0x30], 0x25
mov dword [esi + 0x34], 0x27
mov dword [esi + 0x38], 0x26
mov dword [esi + 0x3c], 0x28
mov dword [esi + 0x40], 0x21
mov dword [esi + 0x44], 0x22
mov dword [esi + 0x48], 0x24
mov dword [esi + 0x4c], 0x23
mov dword [esi + 0x50], 0x2d
mov dword [esi + 0x54], 0x2e
mov dword [esi + 0x58], 8
mov dword [esi + 0x5c], 0x20
mov dword [esi + 0x60], 0xd
mov dword [esi + 0x64], 0x1b
mov dword [esi + 0x68], 0xd
mov dword [esi + 0x6c], 0x41
mov dword [esi + 0x70], 0x43
mov dword [esi + 0x74], 0x56
mov dword [esi + 0x78], 0x58
mov dword [esi + 0x7c], 0x59
mov dword [esi + 0x80], 0x5a
xor esi, esi
mov dword [ebp - 0x18], str.xinput1_4.dll
mov dword [ebp - 0x14], str.xinput1_3.dll
mov dword [ebp - 0x10], str.xinput9_1_0.dll
mov dword [ebp - 0xc], str.xinput1_2.dll
mov dword [ebp - 8], str.xinput1_1.dll
push dword [ebp + esi*4 - 0x18]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x1007a5ff
inc esi
cmp esi, 5
jl 0x1007a5d6
pop edi
pop ebx
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10099d54
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.XInputGetCapabilities
push ebx
mov dword [edi + 0x28], ebx
call esi
push str.XInputGetState
push ebx
mov dword [edi + 0x2c], eax
call esi
mov dword [edi + 0x30], eax
mov al, 1
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10099d54
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.10099d54
mov esp, ebp
pop ebp
ret
Function at 0x10096f50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10139b60]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10096f98
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10096fbd
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10096fde
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10096fde
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10096fd8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10096fde
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100970c0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010b570]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100971b8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100971b1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10097198
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10097198
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10097198
mov edx, dword [esi]
test edx, edx
jne 0x10097161
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x1011a6cc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100971b1
jmp 0x1009718c
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1009718c
shl eax, 3
push eax
push edx
push 0
push dword [0x1011a6cc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100971b1
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10097120
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100971fc
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x100971fc
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x100971f6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.100974b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x100971c4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10099d54
mov esp, ebp
pop ebp
ret

Function at 0x10097620
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10097670
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1009765f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10097658
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10097635
pop ebx
push dword [edi]
push 0
push dword [0x1011a6cc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x10097680
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10139b54]
test eax, eax
je 0x1009769c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100976f2
mov eax, dword [eax]
test eax, eax
jne 0x10097690
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x100976ef
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100976c5
mov ecx, dword [0x10139b54]
mov dword [eax], ecx
mov dword [0x10139b54], eax
pop edi
pop esi
test eax, eax
jne 0x100976f2
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x100b0515
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b038b

Function at 0x100be6c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100be6ed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100be6ed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401d40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
scasd eax, dword es:[edi]
lea esi, [edi + edi*8 - 1]
dec dword [ecx + 0x5d880c4d]
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx

Function at 0x401e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
xchg esp, eax
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00401a61
push eax
push esi
push dword [ebp + 8]
call fcn.00401a16
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
fsub dword [edi - 0x3a]
inc ebp
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x401eec
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00401a61
push eax
push esi
push dword [ebp + 8]
call fcn.00401a16
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00401a51
rcl dword [ebp - 0x627770d6], 0x7c
invalid

Function at 0x402730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xfffffc
je 0x40290f
cmp dword [ebp + 0xc], 1
je 0x40290f
cmp dword [ebp + 0xc], 8
jne 0x4028d7
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
stc
invalid
call [ebx - 0x6b45a80]
invalid
inc dword [eax]
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.00401a61
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00401a16
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
call fcn.00401a51
or eax, 0x805c80fa
movsd dword es:[edi], dword [esi]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
invalid

Function at 0x4028f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
or byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
Function at 0x402029
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
and dword [ebp - 4], 0
jmp 0x40203b
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jge 0x40207a
cmp dword [ebp - 4], 0xe37
jge 0x402060
push 0
push 0
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
movsx ebx, byte [eax]
call fcn.00401fe0
xor ebx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], bl
jmp 0x402034
pop ebx
mov esp, ebp
pop ebp
ret 8