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

Disassembly:
sub esp, 0x30
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x2c], eax
xor al, al
mov cl, 0x65
mov dl, 0x61
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 0x1f], al
mov byte [esp + 0x22], al
mov byte [esp + 0x2a], al
mov byte [esp + 9], cl
mov byte [esp + 0xc], dl
mov byte [esp + 0x14], cl
mov byte [esp + 0x17], dl
mov byte [esp + 0x19], cl
mov byte [esp + 0x1e], cl
mov cl, 0x30
mov dl, 0x31
push 0x2b
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0xe], 0x43
mov byte [esp + 0xf], 0x53
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x12], 0x63
mov byte [esp + 0x13], 0x69
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x4e
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x5f
mov byte [esp + 0x1a], 0x4f
mov byte [esp + 0x1b], 0x70
mov byte [esp + 0x1d], 0x6e
mov byte [esp + 0x1e], 0x57
mov byte [esp + 0x20], 0x72
mov byte [esp + 0x22], 0x48
mov byte [esp + 0x23], 0x6f
mov byte [esp + 0x24], 0x75
mov byte [esp + 0x25], 0x73
mov byte [esp + 0x28], 1
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x36
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x2f], cl
mov byte [esp + 0x30], dl
mov byte [esp + 0x31], cl
call fcn.10001270
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1002e6c3
add esp, 0x30
ret
Function at 0x10023820
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x3c
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x38], eax
xor al, al
mov cl, 0x72
mov dl, 0x5f
push ebx
mov bl, 0x6e
mov byte [esp + 0x1a], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x28], cl
mov cl, 0x31
mov byte [esp + 0xd], dl
mov byte [esp + 0x13], dl
mov byte [esp + 0x18], dl
mov byte [esp + 0x21], dl
mov dl, 0x64
mov byte [esp + 5], al
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 9], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x30], al
mov byte [esp + 0x36], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x1c], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x2b], bl
mov bl, 0x32
mov byte [esp + 0x2f], cl
mov byte [esp + 0x34], cl
mov byte [esp + 0x39], cl
mov byte [esp + 0x24], dl
mov byte [esp + 0x2c], dl
mov dl, 0x30
lea ecx, [eax - 2]
cmp ecx, 9
mov byte [esp + 0x35], bl
mov byte [esp + 0x37], bl
mov byte [esp + 4], 5
mov byte [esp + 6], 9
mov byte [esp + 0xa], 0x44
mov byte [esp + 0xb], 0x5a
mov byte [esp + 0xc], 0x59
mov byte [esp + 0xe], 0x49
mov byte [esp + 0xf], 0x74
mov byte [esp + 0x10], 0x65
mov byte [esp + 0x11], 0x6d
mov byte [esp + 0x12], 0x73
mov byte [esp + 0x14], 0x48
mov byte [esp + 0x15], 0x52
mov byte [esp + 0x16], 0x45
mov byte [esp + 0x17], 0x46
mov byte [esp + 0x19], 0x54
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1d], 0x73
mov byte [esp + 0x1e], 0x66
mov byte [esp + 0x1f], 0x65
mov byte [esp + 0x22], 0x55
mov byte [esp + 0x25], 0x65
mov byte [esp + 0x27], 0x67
mov byte [esp + 0x29], 0x6f
mov byte [esp + 0x2a], 0x75
mov byte [esp + 0x2e], 2
mov byte [esp + 0x31], 0x36
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], dl
pop ebx
ja 0x1002399a
sub eax, 1
cmp eax, 0xa
jne 0x10023973
mov ecx, 0x38
mov byte [esp + 0x35], dl
push ecx
lea edx, [esp + 4]
push edx
call fcn.10001270
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1002e6c3
add esp, 0x3c
ret 4
mov ecx, 0x37
add al, dl
push ecx
lea edx, [esp + 4]
push edx
mov byte [esp + 0x3d], al
call fcn.10001270
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1002e6c3
add esp, 0x3c
ret 4
mov ecx, dword [esp + 0x38]
xor ecx, esp
xor eax, eax
call fcn.1002e6c3
add esp, 0x3c
ret 4
Function at 0x10023a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x1007a6b4]
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.1002e6c3
add esp, 0x20
ret

Function at 0x10023b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x1007a6b4]
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 0x10023c17
cmp cl, 4
jbe 0x10023c10
cmp cl, 6
jne 0x10023c17
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.1002e6c3
add esp, 0x2c
ret 4
Function at 0x10023c40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x1007a6b4]
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 0x10023d01
cmp cl, 4
jbe 0x10023cfa
cmp cl, 6
jne 0x10023d01
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.1002e6c3
add esp, 0x24
ret 4
Function at 0x10023d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x58
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x54], eax
xor al, al
cmp byte [esp + 0x5c], 2
mov dl, 0x5f
mov cl, 0x65
jne 0x10023e49
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 0x10023ecc
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.1002e6c3
add esp, 0x58
ret 4
Function at 0x10025330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x20], eax
xor al, al
mov dl, 0x47
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov cl, 0x5f
mov byte [esp + 0x18], al
mov byte [esp + 0x1b], al
mov byte [esp + 0x1d], al
mov byte [esp + 6], dl
mov byte [esp + 0xd], dl
mov byte [esp + 0xf], dl
mov dl, 0x74
push 0x1e
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0xf], 0x58
mov byte [esp + 0x10], 0x54
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x46
mov byte [esp + 0x13], 0x59
mov byte [esp + 0x14], 0x5a
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], dl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], dl
mov byte [esp + 0x21], 1
mov byte [esp + 0x22], 0x31
mov byte [esp + 0x24], 0x32
call fcn.10001270
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1002e6c3
add esp, 0x24
ret
Function at 0x1002d8d0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x12c
mov eax, dword [0x1007a6b4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x140]
call fcn.10024ca0
push eax
push str.__wndtschool_d.ini
push 0xff
lea eax, [esp + 0x44]
push 0xff
push eax
call fcn.1002ebd0
push 0xa0
xor esi, esi
push esi
push 0x1007e730
call fcn.1002ebf0
add esp, 0x20
lea ecx, [esp + 0x38]
push ecx
push 0xa0
push 0x1007e730
push str.dtcfg
push str.dtschool
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
push 6
mov dword [0x1007e794], 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
nop
push ebp
lea eax, [esi + 0x1007e730]
push 0
lea edx, [eax + 0x14]
push edx
push eax
mov eax, dword [esp + esi + 0x34]
push eax
call fcn.1002c710
mov ecx, dword [esi + 0x1007e76c]
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 0x1002d9d0
mov eax, dword [0x1007e798]
push 0
push eax
push 0xf1
push 0x400
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x1007e79c
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.1002e6c3
add esp, 0x12c
ret 4

Function at 0x1002e6c3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1007a6b4]
jne 0x1002e6cd
repz ret
jmp fcn.10031f6f
Function at 0x1003b0b7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10035579
xor ebx, ebx
cmp dword [0x10080048], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1003b18c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1003b0f7
xor eax, eax
jmp 0x1003b250
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1006f6a4
push edi
call esi
cmp eax, ebx
je 0x1003b0f0
push eax
call fcn.10035516
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10080048], eax
call esi
push eax
call fcn.10035516
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1008004c], eax
call esi
push eax
call fcn.10035516
mov dword [0x10080050], eax
lea eax, [ebp - 8]
push eax
call fcn.1002fa98
test eax, eax
pop ecx
pop ecx
je 0x1003b15a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002fd70
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1003b18c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10035516
cmp eax, ebx
pop ecx
mov dword [0x10080058], eax
je 0x1003b18c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10035516
pop ecx
mov dword [0x10080054], eax
mov eax, dword [0x10080054]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1003b205
cmp dword [0x10080058], esi
je 0x1003b205
push eax
call fcn.10035582
pop ecx
call eax
cmp eax, ebx
je 0x1003b1d2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x10080058]
call fcn.10035582
pop ecx
call eax
test eax, eax
je 0x1003b1d2
test byte [ebp - 0x18], 1
jne 0x1003b205
lea eax, [ebp - 0xc]
push eax
call fcn.1002facf
test eax, eax
pop ecx
je 0x1003b1ed
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1002fd70
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1003b1fc
or dword [ebp + 0x10], 0x200000
jmp 0x1003b236
or dword [ebp + 0x10], 0x40000
jmp 0x1003b236
mov eax, dword [0x1008004c]
cmp eax, esi
je 0x1003b236
push eax
call fcn.10035582
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1003b236
mov eax, dword [0x10080050]
cmp eax, esi
je 0x1003b236
push dword [ebp - 4]
push eax
call fcn.10035582
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 [0x10080048]
call fcn.10035582
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411040
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
lea edi, [ecx + 4]
mov dword [esp + 0x1c], ecx
mov dword [ecx], 0x40b0d0
xor edx, edx
xor eax, eax
mov ecx, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x41105a
mov byte [edi + 0x100], dl
mov byte [edi + 0x101], dl
mov byte [esp + 0x10], dl
xor esi, esi
mov ebx, edi
mov dword [esp + 0x14], 0x100
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x24]
mov cl, byte [ebx]
and eax, 0xff
xor edx, edx
mov dl, byte [eax + ebp]
mov ebp, ecx
and ebp, 0xff
add esi, edx
add ebp, esi
mov edx, ebp
and edx, 0x800000ff
jns 0x4110b2
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x18], dl
mov esi, dword [esp + 0x18]
and esi, 0xff
inc eax
mov dl, byte [esi + edi]
mov byte [ebx], dl
mov byte [esi + edi], cl
cdq
idiv dword [esp + 0x28]
mov eax, dword [esp + 0x14]
inc ebx
dec eax
mov dword [esp + 0x14], eax
mov byte [esp + 0x10], dl
jne 0x411080
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8

Function at 0x411120
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
mov al, byte [ecx + 0x105]
mov dl, byte [ecx + 0x104]
mov byte [esp], al
mov eax, dword [esp + 0x18]
push edi
xor edi, edi
test eax, eax
mov byte [esp + 8], dl
jbe 0x411205
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
and eax, 0xff
and esi, 0xff
lea edx, [eax + 1]
and edx, 0x800000ff
jns 0x41116f
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov eax, dword [esp + 0x14]
and eax, 0xff
mov bl, byte [eax + ecx + 4]
mov byte [esp + 0x1c], bl
and ebx, 0xff
add ebx, esi
and ebx, 0x800000ff
jns 0x41119c
dec ebx
or ebx, 0xffffff00
inc ebx
mov byte [esp + 0x10], bl
mov bl, byte [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov byte [esp + 0x18], bl
and esi, 0xff
mov ebp, dword [esp + 0x18]
and ebp, 0xff
mov bl, byte [esi + ecx + 4]
mov byte [eax + ecx + 4], bl
mov bl, byte [esp + 0x18]
mov byte [esi + ecx + 4], bl
xor ebx, ebx
mov bl, byte [eax + ecx + 4]
add ebx, ebp
and ebx, 0x800000ff
jns 0x4111e4
dec ebx
or ebx, 0xffffff00
inc ebx
mov ebp, dword [esp + 0x24]
and ebx, 0xff
mov bl, byte [ebx + ecx + 4]
xor byte [edi + ebp], bl
mov ebx, dword [esp + 0x28]
inc edi
cmp edi, ebx
jb 0x41115c
pop esi
pop ebp
pop ebx
mov byte [ecx + 0x104], dl
mov dl, byte [esp + 4]
mov byte [ecx + 0x105], dl
mov eax, 1
pop edi
add esp, 0x10
ret 8
Function at 0x73ad78
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x73adb0
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x73ad9e
mov al, 1
jmp 0x73adfa
cmp dword [ebx + 0x54], ecx
jne 0x73ada7
mov al, 2
jmp 0x73adfa
cmp dword [ebx + 0x7c], ecx
jne 0x73adfa
mov al, 3
jmp 0x73adfa
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x73adc5
mov al, 4
jmp 0x73adfa
cmp ecx, 5
jne 0x73ade5
cmp ebx, 0
jne 0x73add3
mov al, 5
jmp 0x73adfa
cmp ebx, 1
jne 0x73addc
mov al, 6
jmp 0x73adfa
cmp ebx, 2
jne 0x73ade5
mov al, 7
jmp 0x73adfa
cmp ecx, 6
jne 0x73adf1
cmp ebx, 0
jne 0x73adf3
mov al, 8
jmp 0x73adfa
cmp ebx, 1
jne 0x73adfa
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x4090a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x467c9b
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.0045c776
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409122
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045a68d
mov eax, dword [eax]
push 0x4a01c0
push eax
call fcn.0044d4f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045ca01
test bl, bl
je 0x409122
push 0x4a01c0
lea ecx, [esp + 0xc]
call fcn.0045cd91
push 0x4a3d3c
lea ecx, [esp + 0xc]
call fcn.0045cd91
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 0x40915e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045ca01
jmp 0x409229
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 0x4091e2
lea edx, [esp + 0x7c]
push 0x4a3d38
push edx
call fcn.0044d4f4
add esp, 8
test eax, eax
je 0x4091e2
lea eax, [esp + 0x7c]
push 0x4a3d34
push eax
call fcn.0044d4f4
add esp, 8
test eax, eax
je 0x4091e2
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 0x409172
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.0045ca01
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 0x409a20
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 0x409a82
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