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

Disassembly:
sub esp, 0x20
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x1c], eax
xor al, al
mov cl, 0x58
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], al
mov byte [esp + 6], cl
mov byte [esp + 8], cl
mov cl, 0x6e
mov dl, 0x64
push 0x1b
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0xf], 0x75
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x5f
mov byte [esp + 0x14], 0x57
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x69
mov byte [esp + 0x19], cl
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x5f
mov byte [esp + 0x1c], 0x43
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x20], 0x65
mov byte [esp + 0x21], 0x79
call fcn.10001270
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100248f3
add esp, 0x20
ret

Function at 0x1001cb80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x28], eax
mov cl, 0x6e
xor al, al
mov byte [esp + 0xf], cl
mov byte [esp + 0x17], cl
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1d], cl
mov cl, 0x31
mov dl, 0x67
mov byte [esp + 0x21], cl
mov byte [esp + 0x23], cl
mov cl, byte [esp + 0x30]
cmp cl, al
mov byte [esp], 5
mov byte [esp + 1], al
mov byte [esp + 2], 9
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 6], 0x5a
mov byte [esp + 7], 0x43
mov byte [esp + 8], 0x4d
mov byte [esp + 9], 0x5f
mov byte [esp + 0xa], 0x71
mov byte [esp + 0xb], 0x69
mov byte [esp + 0xc], 0x63
mov byte [esp + 0xd], 0x68
mov byte [esp + 0xe], 0x65
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x13], 0x68
mov byte [esp + 0x14], 0x69
mov byte [esp + 0x15], 0x79
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0x6a
mov byte [esp + 0x1a], 0x69
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1e], dl
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], 1
mov byte [esp + 0x22], al
mov byte [esp + 0x24], al
jbe 0x1001cc57
cmp cl, 4
jbe 0x1001cc50
cmp cl, 6
jne 0x1001cc57
add cl, 0x30
mov byte [esp + 0x23], cl
push 0x25
lea eax, [esp + 4]
push eax
call fcn.10001270
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100248f3
add esp, 0x2c
ret 4
Function at 0x1001cc80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x20], eax
mov cl, 0x65
xor al, al
mov byte [esp + 0xe], cl
mov byte [esp + 0x14], cl
mov cl, 0x6c
mov byte [esp + 0x18], cl
mov byte [esp + 0x19], cl
mov cl, byte [esp + 0x28]
cmp cl, al
mov dl, 0x69
mov byte [esp], 5
mov byte [esp + 1], al
mov byte [esp + 2], 9
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 6], 0x59
mov byte [esp + 7], 0x52
mov byte [esp + 8], 0x42
mov byte [esp + 9], 0x5f
mov byte [esp + 0xa], 0x51
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], 0x63
mov byte [esp + 0xd], 0x68
mov byte [esp + 0xf], 0x6e
mov byte [esp + 0x10], 0x67
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x12], 0x55
mov byte [esp + 0x13], 0x73
mov byte [esp + 0x15], 0x53
mov byte [esp + 0x16], 0x6b
mov byte [esp + 0x17], dl
mov byte [esp + 0x1a], al
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1c], 0x31
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], al
jbe 0x1001cd41
cmp cl, 4
jbe 0x1001cd3a
cmp cl, 6
jne 0x1001cd41
add cl, 0x30
mov byte [esp + 0x1e], cl
push 0x20
lea eax, [esp + 4]
push eax
call fcn.10001270
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.100248f3
add esp, 0x24
ret 4
Function at 0x1001cd60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x54], eax
xor al, al
cmp byte [esp + 0x5c], 2
mov dl, 0x5f
mov cl, 0x65
jne 0x1001ce89
mov byte [esp + 0x25], dl
mov byte [esp + 0x30], dl
mov dl, 0x30
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x20], al
mov byte [esp + 0x21], al
mov byte [esp + 0x27], cl
mov byte [esp + 0x2d], cl
mov cl, 0x31
mov byte [esp + 0x34], al
mov byte [esp + 0x37], dl
mov byte [esp + 0x38], dl
mov byte [esp + 0x3a], al
mov byte [esp + 0x41], al
mov byte [esp + 0x43], dl
mov byte [esp + 0x44], dl
mov dl, 0x32
mov byte [esp + 0x46], al
mov byte [esp + 0x4e], al
mov byte [esp + 0x50], al
mov byte [esp + 0x52], al
push 0x37
lea eax, [esp + 0x20]
mov byte [esp + 0x20], 5
mov byte [esp + 0x22], 9
mov byte [esp + 0x26], 0x59
mov byte [esp + 0x27], 0x52
mov byte [esp + 0x28], 0x42
mov byte [esp + 0x2a], 0x4e
mov byte [esp + 0x2c], 0x77
mov byte [esp + 0x2d], 0x51
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x63
mov byte [esp + 0x30], 0x68
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x67
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x74
mov byte [esp + 0x39], 3
mov byte [esp + 0x3a], cl
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3f], 0x36
mov byte [esp + 0x40], 0x35
mov byte [esp + 0x41], 0x35
mov byte [esp + 0x42], 0x33
mov byte [esp + 0x43], 0x36
mov byte [esp + 0x44], 0x34
mov byte [esp + 0x46], cl
mov byte [esp + 0x49], dl
mov byte [esp + 0x4b], 0x37
mov byte [esp + 0x4c], 0x37
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], 0x36
mov byte [esp + 0x4f], 0x33
mov byte [esp + 0x50], 0x34
mov byte [esp + 0x51], dl
mov byte [esp + 0x53], cl
mov byte [esp + 0x55], cl
push eax
jmp 0x1001cf0c
mov byte [esp + 0xe], cl
mov byte [esp + 0x12], cl
mov cl, 0x31
mov byte [esp + 0x17], cl
mov byte [esp + 0x19], cl
push 0x1b
lea ecx, [esp + 4]
mov byte [esp + 4], 5
mov byte [esp + 5], al
mov byte [esp + 6], 9
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 9], al
mov byte [esp + 0xa], 0x5a
mov byte [esp + 0xb], 0x43
mov byte [esp + 0xc], 0x4d
mov byte [esp + 0xd], dl
mov byte [esp + 0xe], 0x71
mov byte [esp + 0xf], 0x69
mov byte [esp + 0x10], 0x63
mov byte [esp + 0x11], 0x68
mov byte [esp + 0x13], 0x6e
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x61
mov byte [esp + 0x18], 0x74
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 1
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
push ecx
call fcn.10001270
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.100248f3
add esp, 0x58
ret 4
Function at 0x10023c90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x100644ac]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x140]
call fcn.1001dab0
push eax
push str.__wndtschool_d.ini
push 0xff
lea eax, [esp + 0x44]
push 0xff
push eax
call fcn.10025723
push 0x58
xor esi, esi
push esi
push 0x10067d20
call fcn.10024d90
add esp, 0x20
lea ecx, [esp + 0x38]
push ecx
push 0x58
push 0x10067d20
push str.dtcfg
push str.dtschool
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 6
mov dword [0x10067d5c], esi
call fcn.10001020
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x43a
push edi
mov ebp, eax
call ebx
push 0x43f
push edi
mov dword [esp + 0x18], eax
call ebx
push 0x442
push edi
mov dword [esp + 0x1c], eax
call ebx
push 0x447
push edi
mov dword [esp + 0x20], eax
call ebx
push 0x44a
push edi
mov dword [esp + 0x24], eax
call ebx
push 0x43b
push edi
mov dword [esp + 0x28], eax
call ebx
push 0x440
push edi
mov dword [esp + 0x2c], eax
call ebx
push 0x443
push edi
mov dword [esp + 0x30], eax
call ebx
push 0x448
push edi
mov dword [esp + 0x34], eax
call ebx
push 0x44b
push edi
mov dword [esp + 0x38], eax
call ebx
mov dword [esp + 0x34], eax
lea esp, [esp]
push ebp
lea eax, [esi + 0x10067d20]
push 0
lea edx, [eax + 0x14]
push edx
push eax
mov eax, dword [esp + esi + 0x34]
push eax
call fcn.10023740
mov ecx, dword [esi + 0x10067d48]
mov edx, dword [esp + esi + 0x10]
push 0
push ecx
push 0xf1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 4
cmp esi, 0x14
jb 0x10023d90
mov eax, dword [0x10067d60]
push 0
push eax
push 0xf1
push 0x400
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x10067d64
push 0x4ce
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100248f3
add esp, 0x12c
ret 4

Function at 0x100248f3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100644ac]
jne 0x100248fd
repz ret
jmp fcn.10027ccf
Function at 0x10030607
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1002a136
xor ebx, ebx
cmp dword [0x10069358], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x100306dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10030647
xor eax, eax
jmp 0x100307a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10030640
push eax
call fcn.1002a0d3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10069358], eax
call esi
push eax
call fcn.1002a0d3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1006935c], eax
call esi
push eax
call fcn.1002a0d3
mov dword [0x10069360], eax
lea eax, [ebp - 8]
push eax
call fcn.10025458
test eax, eax
pop ecx
pop ecx
je 0x100306aa
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100257cb
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x100306dc
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1002a0d3
cmp eax, ebx
pop ecx
mov dword [0x10069368], eax
je 0x100306dc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002a0d3
pop ecx
mov dword [0x10069364], eax
mov eax, dword [0x10069364]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10030755
cmp dword [0x10069368], esi
je 0x10030755
push eax
call fcn.1002a13f
pop ecx
call eax
cmp eax, ebx
je 0x10030722
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10069368]
call fcn.1002a13f
pop ecx
call eax
test eax, eax
je 0x10030722
test byte [ebp - 0x18], 1
jne 0x10030755
lea eax, [ebp - 0xc]
push eax
call fcn.1002548f
test eax, eax
pop ecx
je 0x1003073d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100257cb
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1003074c
or dword [ebp + 0x10], 0x200000
jmp 0x10030786
or dword [ebp + 0x10], 0x40000
jmp 0x10030786
mov eax, dword [0x1006935c]
cmp eax, esi
je 0x10030786
push eax
call fcn.1002a13f
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10030786
mov eax, dword [0x10069360]
cmp eax, esi
je 0x10030786
push dword [ebp - 4]
push eax
call fcn.1002a13f
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x10069358]
call fcn.1002a13f
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b30b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x70000]
push edi
or ebp, 0xffffffff
jmp 0x4b30d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b30d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b30c8
mov eax, 1
add ebx, ebx
jne 0x4b30eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b30fc
jne 0x4b311b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b311b
dec eax
add ebx, ebx
jne 0x4b3108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b30e0
add ebx, ebx
jne 0x4b3117
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b316d
xor ecx, ecx
sub eax, 3
jb 0x4b3133
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b31a2
sar eax, 1
mov ebp, eax
jmp 0x4b313e
add ebx, ebx
jne 0x4b313e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b310c
inc ecx
add ebx, ebx
jne 0x4b314c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b310c
add ebx, ebx
jne 0x4b3159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b314e
jne 0x4b316a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b314e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b318c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b317e
jmp 0x4b30ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b318c
add edi, ecx
jmp 0x4b30ce
pop esi
mov edi, esi
mov ecx, 0x370c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b31aa
cmp byte [edi], 0x4a
jne 0x4b31aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4b31af
lea edi, [esi + 0xaf000]
mov eax, dword [edi]
or eax, eax
je 0x4b3227
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb94cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb9620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b31dc
mov ecx, edi
jns 0x4b320b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb9624]
or eax, eax
je 0x4b3221
mov dword [ebx], eax
add ebx, 4
jmp 0x4b31f9
call dword [esi + 0xb9634]
mov ebp, dword [esi + 0xb9628]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4b325b
sub esp, 0xffffff80
jmp 0x418150
Function at 0x4094b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x469c4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0045e4b0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409532
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045c25d
mov eax, dword [eax]
push 0x49e1d0
push eax
call fcn.0044e6e4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045e73b
test bl, bl
je 0x409532
push 0x49e1d0
lea ecx, [esp + 0xc]
call fcn.0045eacb
push 0x4a1d4c
lea ecx, [esp + 0xc]
call fcn.0045eacb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40956e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045e73b
jmp 0x409639
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4095f2
lea edx, [esp + 0x7c]
push 0x4a1d48
push edx
call fcn.0044e6e4
add esp, 8
test eax, eax
je 0x4095f2
lea eax, [esp + 0x7c]
push 0x4a1d44
push eax
call fcn.0044e6e4
add esp, 8
test eax, eax
je 0x4095f2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409582
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0045e73b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409e30
Capabilities:
Query or enumerate registry value

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

Disassembly:
push 0xffffffffffffffff
push 0x469ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4a86d0]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x409fd8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409f06
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e73b
xor eax, eax
jmp 0x40a04f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045e878
push esi
lea ecx, [esp + 0xc]
call fcn.0045eb07
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40a02d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409e30
test eax, eax
jne 0x40a02d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00409e30
test eax, eax
jne 0x40a02d
lea eax, [esp + 0x14]
push 0x4a1d60
push eax
call fcn.0044f720
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a00c
lea ecx, [esp + 0x14]
push 0x4a1d5c
push ecx
call fcn.0044f6a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a00c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a00f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045e828
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409f1e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045e73b
xor eax, eax
jmp 0x40a04f
mov byte [esi], 0
push 0x4a1d58
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0045e73b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x41b270
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41b2de
cmp si, 0x69
ja 0x41b2de
add esi, 0xffd0
cmp si, 0x11
je 0x41b2ae
push 0x11
call edi
test ax, ax
jge 0x41b2ae
or esi, 0x2000
cmp si, 0x10
je 0x41b2c3
push 0x10
call edi
test ax, ax
jge 0x41b2c3
or esi, 0x4000
cmp si, 0x12
je 0x41b2d8
push 0x12
call edi
test ax, ax
jge 0x41b2d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41b2eb
mov esi, 0xbd
jmp 0x41b29f
cmp si, 0x6e
jne 0x41b2f8
mov esi, 0xbe
jmp 0x41b29f
cmp si, 0x6f
jne 0x41b299
mov esi, 0xbf
jmp 0x41b29f

Function at 0x41c990
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4b8dc8]
xor edx, edx
cmp eax, edx
jne 0x41c9b6
xor eax, eax
mov byte [eax + 0x4b8cc8], al
inc eax
cmp eax, 0x100
jl 0x41c99e
mov dword [0x4b8dc8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4b8cc8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ca47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41ca1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41c9e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41cac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41cb13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41cafa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423550
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4236e8
cmp ebp, ebx
jle 0x4236e8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4235ae
dec eax
or eax, 0xfffffff8
inc eax
je 0x4235b5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4235c4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4235cb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045e47c
add esp, 4
cmp eax, ebx
je 0x4235ec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0045e47c
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4236de
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4236c5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4236b1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4236a6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4236b4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4236b4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x423650
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x423641
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret