joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4aea40
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4aec12
xor ecx, ecx
xor edx, edx
mov ch, byte [eax]
mov dl, byte [eax + 2]
mov cl, byte [eax + 1]
push ebx
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 3]
push ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 6]
mov dword [eax], ecx
xor ecx, ecx
push esi
mov ch, byte [eax + 4]
push edi
mov cl, byte [eax + 5]
xor ebp, ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 7]
shl ecx, 8
or ecx, edx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
xor ecx, ecx
mov ch, byte [eax + 8]
lea edi, [edx + 0xc]
mov cl, byte [eax + 9]
mov word [eax + 8], cx
mov ecx, dword [eax]
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov cx, word [eax + 8]
mov word [edx + 8], cx
xor ecx, ecx
movzx si, byte [eax + 0xb]
mov ch, byte [eax + 0xa]
or ecx, esi
mov word [eax + 0xa], cx
mov word [edx + 0xa], cx
movzx si, byte [eax + 0xb]
xor ecx, ecx
mov ch, byte [eax + 0xa]
or ecx, esi
mov esi, dword [eax + 0xc]
mov word [eax + 0xa], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x11]
mov bp, word [eax + 0xa]
xor ecx, ecx
mov ch, byte [eax + 0x10]
add ebp, 0xc
or ecx, esi
mov word [eax + 0x10], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x11]
xor ecx, ecx
lea edi, [edx + ebp + 2]
mov ch, byte [eax + 0x10]
or ecx, esi
mov esi, dword [eax + 0x14]
mov word [eax + 0x10], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x19]
xor ecx, ecx
mov cx, word [eax + 0x10]
lea ebp, [ecx + ebp + 2]
xor ecx, ecx
mov ch, byte [eax + 0x18]
or ecx, esi
lea edi, [edx + ebp + 2]
mov word [eax + 0x18], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x19]
xor ecx, ecx
mov ch, byte [eax + 0x18]
or ecx, esi
mov esi, dword [eax + 0x1c]
mov word [eax + 0x18], cx
and ecx, 0xffff
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
movzx si, byte [eax + 0x21]
xor ecx, ecx
mov cx, word [eax + 0x18]
lea ebp, [ecx + ebp + 2]
xor ecx, ecx
mov ch, byte [eax + 0x20]
or ecx, esi
lea edi, [edx + ebp + 2]
mov word [eax + 0x20], cx
mov word [edx + ebp], cx
movzx si, byte [eax + 0x21]
xor ecx, ecx
mov ch, byte [eax + 0x20]
or ecx, esi
mov esi, dword [eax + 0x24]
mov word [eax + 0x20], cx
and ecx, 0xffff
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dl, byte [eax + 6]
xor ecx, ecx
mov ch, byte [eax + 4]
pop edi
mov cl, byte [eax + 5]
pop esi
shl ecx, 8
or ecx, edx
xor edx, edx
mov dl, byte [eax + 7]
pop ebp
shl ecx, 8
or ecx, edx
xor edx, edx
mov dh, byte [eax]
mov dword [eax + 4], ecx
mov dl, byte [eax + 1]
xor ecx, ecx
mov ch, byte [eax + 8]
pop ebx
mov cl, byte [eax + 9]
mov word [eax + 8], cx
xor ecx, ecx
mov cl, byte [eax + 2]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 3]
shl edx, 8
or edx, ecx
mov dword [eax], edx
ret
Function at 0x4b1830
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.004b1640
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.004b1770
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x4b18aa
add eax, 0x30
jmp 0x4b18ad
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x4b18bc
add eax, 0x30
jmp 0x4b18bf
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x4b1890
pop esi
add esp, 0x94
ret

Function at 0x4b18e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x4b196b
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x4b194f
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x4b1959
cmp ecx, 0x38
jle 0x4b1959
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0xb7bd34
test ecx, ecx
je 0x4b199f
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x4b198a
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x4b199f
mov dl, byte [eax + 0xb7bd34]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x4b1990
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.004b1830
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x4b1a04
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x4b19f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x4b25d0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x4b25f2
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x4b2606
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x4b261a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x4b27ad
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x4b277e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x4b267c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x4b26e6
mov eax, dword [esp + 0x14]
push eax
call fcn.004d4a67
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.004d497e
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x4b2793
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x4b2793
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x4b27b4
jmp 0x4b266c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.004d6597
add esp, 8
push 1
call fcn.004d69a4
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x4b7dd0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4b7e73
test eax, eax
jbe 0x4b7e73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4b7e73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4b7e1e
xor esi, esi
jmp 0x4b7e24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4b7e4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004218d0
add esi, eax
push esi
mov ebx, esi
call fcn.004218d0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4b7e30
pop ebp
test edi, edi
pop edi
jne 0x4b7e73
test ebx, ebx
je 0x4b7e73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d4880
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4b8215
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4b832d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b832d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e8a83
mov esi, eax
test esi, esi
je 0x4b832d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4b832d
mov ecx, esi
call fcn.004b80b0
cmp edi, eax
jge 0x4b832d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4b82b3
mov dword [esp + 0x34], 1
jmp 0x4b830e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4b832d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004b5630
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4c2010
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4c2059
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4c24d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fd1d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004c2080
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c2100
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c2100
lea ecx, [esi + 0xc]
call fcn.004e6f36
lea ecx, [esi + 0x10]
call fcn.004e6f36
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c3690
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c3690
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c3690
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e6fab
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e6fab
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c3880
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4c38e6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4c38e6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c38c7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e946e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4e94a6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004e7452
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004e742a
jmp 0x4e94b2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4eac31
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4eac73
call fcn.004f151d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4eac73
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4eac6a
xor eax, eax
jmp 0x4eac7b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004eac81
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f1a32
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4f1a60
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f1a7e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f1998
jmp 0x4f1a7e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f1a7e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f1998
test edi, edi
mov eax, edi
jne 0x4f1a68
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001000
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x244
push ebx
push ebp
mov ebp, dword [esp + 0x254]
push esi
push edi
xor ebx, ebx
push 0
push ebp
push ebx
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, eax
test ebx, ebx
je 0x10001082
lea eax, [esp + 0x10]
push 0x50
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x10001013
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x258]
push ecx
push edx
call fcn.100040e0
add esp, 8
test eax, eax
je 0x10001013
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x244
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x244
ret
Function at 0x100010a0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x10]
push esi
cmp ebx, 0x2e
push edi
jne 0x100010b8
mov ecx, 1
jmp 0x100010f7
cmp ebx, 0x26
je 0x100010cc
cmp ebx, 0x28
je 0x100010cc
cmp ebx, 0x25
je 0x100010cc
cmp ebx, 0x27
jne 0x100010d1
mov ecx, 1
cmp ebx, 0x24
je 0x100010e5
cmp ebx, 0x23
je 0x100010e5
cmp ebx, 0x21
je 0x100010e5
cmp ebx, 0x22
jne 0x100010ea
mov ecx, 1
cmp ebx, 0x60
jl 0x100010f7
cmp ebx, 0x69
jg 0x100010f7
sub ebx, 0x30
mov eax, dword [0x10015b78]
test eax, eax
je 0x10001167
cmp eax, 2
je 0x10001167
cmp eax, 1
je 0x10001167
cmp eax, 4
je 0x1000114a
cmp eax, 5
je 0x1000114a
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0
push ecx
push 0
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push ebx
call edi
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 2
push 0
push ebx
call esi
push eax
push ebx
call edi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [0x10015a28]
push 0
push ebx
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp ebx, 0x30
mov dword [esp + 0xd], 0
mov byte [esp + 0xc], bl
jl 0x1000117d
cmp ebx, 0x5a
jle 0x100011e9
cmp eax, 2
jne 0x100011e9
cmp ebx, 0x25
jl 0x100011d2
cmp ebx, 0x28
jg 0x100011d2
cmp ebx, 0x25
jne 0x1000119f
lea edx, [esp + 0xc]
mov edi, 0x1000e050
jmp 0x10001234
cmp ebx, 0x26
jne 0x100011b2
lea edx, [esp + 0xc]
mov edi, 0x1000e04c
jmp 0x10001234
cmp ebx, 0x27
jne 0x100011c2
lea edx, [esp + 0xc]
mov edi, 0x1000e048
jmp 0x10001234
cmp ebx, 0x28
jne 0x100011d2
lea edx, [esp + 0xc]
mov edi, 0x1000e044
jmp 0x10001234
cmp ebx, 0x2d
jne 0x100011e2
lea edx, [esp + 0xc]
mov edi, 0x1000e040
jmp 0x10001234
cmp ebx, 0x2e
jne 0x10001251
jmp 0x1000122b
cmp ebx, 0x2a
je 0x10001216
cmp ebx, 0x2d
je 0x1000121b
cmp ebx, 0x2e
je 0x10001216
mov edx, dword [0x10015a24]
push 0
push ebx
push 0x100
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret
cmp ebx, 0x2d
jne 0x10001226
lea edx, [esp + 0xc]
mov edi, 0x1000e040
jmp 0x10001234
cmp ebx, 0x2e
jne 0x10001251
lea edx, [esp + 0xc]
mov edi, 0x1000e03c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call sym.iauth.dll_setopcode
push 0
call sym.iauth.dll_sendcardinfo
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x10001910
Capabilities:
Set global application hook

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x10001962
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x10011510
push esi
call edi
push 0x10011510
push esi
call edi
push eax
mov eax, dword [0x10015a34]
push eax
push 0x100018d0
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ecx, dword [0x10011510]
pop edi
mov dword [0x10015a30], eax
mov dword [0x10015014], ecx
mov dword [0x10015018], 0
pop esi
ret
mov eax, dword [0x10015a30]
test eax, eax
je 0x1000198a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
test eax, eax
je 0x1000198a
push 0
push str.unhook
push str.unhook
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
ret

Function at 0x10003c60
Capabilities:
Create thread

Disassembly:
sub esp, 0x100
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [0x10015014]
mov edi, dword [esp + 0x10c]
mov esi, eax
cmp ecx, esi
je 0x10003c87
mov dword [0x10015a34], edi
mov eax, dword [esp + 0x110]
sub eax, 0
je 0x10003d8f
dec eax
jne 0x10003d9d
cmp ecx, esi
jne 0x10003d41
call fcn.10003140
mov eax, dword [0x10015b78]
cmp eax, 5
je 0x10003cbf
call fcn.100033e0
mov eax, dword [0x10015b78]
test eax, eax
jne 0x10003ccd
call fcn.10003220
mov eax, dword [0x10015b78]
cmp eax, 1
jne 0x10003cdc
call fcn.10003300
mov eax, dword [0x10015b78]
cmp eax, 2
je 0x10003ce6
cmp eax, 3
jne 0x10003cf0
call fcn.100034c0
mov eax, dword [0x10015b78]
cmp eax, 2
je 0x10003d01
cmp eax, 1
je 0x10003d06
call fcn.10003060
jmp 0x10003d0b
call fcn.100038d0
call fcn.100039b0
cmp dword [0x10015b78], 4
jne 0x10003d19
call fcn.100037f0
cmp dword [0x10015b78], 5
jne 0x10003d2c
call fcn.10003a80
call fcn.10003b70
push 0
push 0
push 0
push 0x10001400
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 8]
push 0x100
push eax
push edi
mov dword [0x10015a4c], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [0x10015a30]
test eax, eax
je 0x10003d9d
cmp esi, dword [0x10011510]
jne 0x10003d9d
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
pop edi
mov eax, 1
pop esi
add esp, 0x100
ret 0xc
cmp esi, ecx
jne 0x10003d9d
mov dword [0x10015a18], 0
pop edi
mov eax, 1
pop esi
add esp, 0x100
ret 0xc
Function at 0x10007368
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000ed90
cmp edx, dword [eax]
je 0x1000738a
add eax, 8
inc ecx
cmp eax, 0x1000ee20
jl 0x1000737b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000ed90]
jne 0x100074b8
mov eax, dword [0x10013468]
cmp eax, 1
je 0x10007492
test eax, eax
jne 0x100073bb
cmp dword [0x1001346c], 1
je 0x10007492
cmp edx, 0xfc
je 0x100074b8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100073f2
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10009b20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10008f90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10007435
lea eax, [ebp - 0x1a4]
push eax
call fcn.10008f90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000c594
push edi
call fcn.10004440
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10009b20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10009b30
lea eax, [ebp - 0xa0]
push 0x1000c574
push eax
call fcn.10009b30
push dword [esi + 0x1000ed94]
lea eax, [ebp - 0xa0]
push eax
call fcn.10009b30
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000a73f
add esp, 0x2c
pop edi
jmp 0x100074b8
lea eax, [ebp + 8]
lea esi, [esi + 0x1000ed94]
push 0
push eax
push dword [esi]
call fcn.10008f90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x41086e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x410876
mov dword [ecx*4 + 0x456420], eax
inc ecx
cmp ecx, 0x100
jb 0x410871
mov edx, 0x800
jmp 0x4108c3
mov eax, dword [ecx*4 + 0x456020]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x456420]
inc ecx
mov dword [ecx*4 + 0x45641c], eax
cmp ecx, edx
jb 0x4108a2
mov dword [0x452c14], 0x4407c0
call fcn.00410a77
test eax, eax
pop esi
jne 0x4108e5
mov dword [0x452c14], 0x4406e0
ret
Function at 0x41e26c
Capabilities:
Hash data using crc32b

Disassembly:
xor ecx, ecx
mov eax, ecx
push 8
shl eax, 0x18
pop edx
test eax, eax
jns 0x41e283
add eax, eax
xor eax, 0x4c11db7
jmp 0x41e285
add eax, eax
dec edx
test edx, edx
jg 0x41e276
mov dword [ecx*4 + 0x452c18], eax
inc ecx
cmp ecx, 0x100
jb 0x41e26e
ret