joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d6f3
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029700
push 0x100180f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x1000d730
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dx, word [ecx]
cmp edx, 0x5a4d
je 0x1000d768
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
jmp 0x1000d8cc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x1000d7a0
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
jmp 0x1000d8cc
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax + 0x14]
test ecx, ecx
jne 0x1000d7ce
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
jmp 0x1000d8cc
mov edx, dword [ebp - 0x24]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x1000d7f3
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x1000d8a6
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
add ecx, eax
push ecx
call fcn.100181d0
add esp, 8
test eax, eax
jne 0x1000d8a1
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
cmp dword [eax + edx + 0xc], 0
je 0x1000d842
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0x10], 0
jne 0x1000d844
jmp 0x1000d8a6
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 0x30
jb 0x1000d871
mov edx, dword [ebp - 0x30]
cmp dword [edx + 4], 0x727444
je 0x1000d873
jmp 0x1000d8a6
mov eax, dword [ebp - 0x30]
cmp dword [eax + 8], 0
jne 0x1000d887
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ecx + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x1000d8cc
jmp 0x1000d7ea
mov dword [ebp - 4], 0xffffffff
jmp 0x1000d8bf
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000da40
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1000dab1
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1000dab1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000da9a
jmp 0x1000dab1
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x1000dc70
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x24], 0
mov ecx, 0x1000de24
sub ecx, 0x1000de03
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov edx, dword [ebp - 0x1c]
add edx, 0x20f
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x1000dce3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0x22c]
push edx
call fcn.100176d0
add esp, 0xc
push 0x40
push 0x101000
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000dd08
jmp 0x1000ddfd
cmp dword [ebp + 0x10], 0
jne 0x1000dd22
mov edx, 0x1000de1f
sub edx, 0x1000de03
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000dd43
jmp 0x1000ddfb
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x1000de03
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000dd67
jmp 0x1000ddf9
mov ecx, dword [ebp - 0x1c]
add ecx, 4
and ecx, 0xfffffffc
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx*4]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0xc]
push ecx
push 0x20c
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000dd9d
jmp 0x1000ddf7
lea edx, [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0x10000
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000ddc7
jmp 0x1000ddf5
cmp dword [ebp + 0x10], 0
je 0x1000ddd9
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], 1
cmp dword [ebp - 8], 0
je 0x1000ddf0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
jmp 0x1000ddff
jmp 0x1000dde0
jmp 0x1000dde0
jmp 0x1000dde0
jmp 0x1000dde0
jmp 0x1000dde0
mov esp, ebp
pop ebp
ret
Function at 0x1000e18a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
or al, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x34], 0
jne 0x1000e1a7
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x1000e1da
xor eax, eax
jmp 0x1000e252
cmp dword [ebp + 0x30], 0
je 0x1000e1f4
mov eax, dword [ebp + 0x30]
push eax
call fcn.100171d0
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x1000e1fb
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 0x30]
push edx
call fcn.1000de29
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1000dee6
add esp, 0x14
test eax, eax
jne 0x1000e221
xor eax, eax
jmp 0x1000e252
cmp dword [ebp + 0x2c], 0
je 0x1000e239
push 0x10
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x2c]
push eax
call fcn.100176d0
add esp, 0xc
mov ecx, dword [ebp + 0x1c]
and ecx, 4
test ecx, ecx
jne 0x1000e24d
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30

Function at 0x1000e258
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x1c]
or al, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x34], 0
jne 0x1000e275
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp + 0x34], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x34]
test eax, eax
jne 0x1000e2a8
xor eax, eax
jmp 0x1000e321
cmp dword [ebp + 0x30], 0
je 0x1000e2c3
mov eax, dword [ebp + 0x30]
push eax
call fcn.10018a3a
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x18], ecx
jmp 0x1000e2ca
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x30]
push eax
call fcn.1000de86
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000dee6
add esp, 0x14
test eax, eax
jne 0x1000e2f0
xor eax, eax
jmp 0x1000e321
cmp dword [ebp + 0x2c], 0
je 0x1000e308
push 0x10
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.100176d0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
and edx, 4
test edx, edx
jne 0x1000e31c
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x30
Function at 0x1000fbdc
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10036db4]
test eax, eax
je 0x1000fc68
push esi
push edi
push 2
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x10036db4]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x14
push dword [eax + 0x28]
call esi
mov edi, 0x102
cmp eax, edi
jne 0x1000fc5f
mov eax, dword [0x10036db4]
push 0
push 0
push 0x12
push dword [eax + 0x2c]
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov eax, dword [0x10036db4]
push 0x7d0
push dword [eax + 0x28]
call esi
cmp eax, edi
jne 0x1000fc5f
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10036db4]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
mov eax, dword [0x10036db4]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [0x10036db4], 0
pop edi
pop esi
leave
ret

Function at 0x10012dd2
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
push dword [ebp + 8]
call fcn.10013031
test eax, eax
je 0x10012e64
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 0x51c]
test eax, eax
jle 0x10012e2b
mov ecx, dword [ebx + 0x518]
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
cmp dword [ebp - 8], esi
jne 0x10012e20
cmp dword [ebp - 0x10], edx
je 0x10012e6b
inc dword [ebp - 4]
add ecx, 0x10
cmp dword [ebp - 4], eax
jl 0x10012e0a
mov ax, word [ebp + 0x14]
mov dword [ebp - 0x10], edx
mov word [ebp - 0x14], ax
mov ax, word [ebp + 0x10]
mov word [ebp - 0x12], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x514]
movsd dword es:[edi], dword [esi]
call fcn.1001390f
pop edi
pop esi
pop ebx
leave
ret 0x10
mov di, word [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp word [ebp - 0x12], di
jne 0x10012e87
call esi
sub eax, dword [ebp - 0xc]
cmp eax, 0x1b58
jbe 0x10012e64
mov word [ebp - 0x12], di
call esi
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
shl edi, 4
add edi, dword [ebx + 0x518]
mov dword [ebp - 0xc], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x10012e64
Function at 0x10012f0c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call fcn.10013031
test eax, eax
je 0x10012fc9
cmp dword [esi + 0x51c], edi
mov dword [ebp - 4], edi
jle 0x10012fc9
mov ebx, dword [ebp + 8]
xor eax, eax
jmp 0x10012f48
mov esi, dword [ebp - 8]
mov esi, dword [esi + 0x518]
mov edi, ebx
add esi, eax
mov ecx, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0xc], ecx
jne 0x10012f66
mov ecx, dword [ebx + 4]
cmp ecx, dword [ebp + 0x10]
je 0x10012f7c
inc dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
add eax, 0x10
cmp edx, dword [ecx + 0x51c]
jl 0x10012f45
jmp 0x10012fc9
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 8]
cmp eax, 0x1b58
jbe 0x10012fc2
call esi
mov esi, ebx
lea edi, [ebp - 0x1c]
mov dword [ebx + 8], eax
mov ecx, dword [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x1c]
shl edi, 4
add edi, dword [ecx + 0x518]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ax, word [ebx + 2]
push eax
push dword [ebx + 4]
push dword [ebx + 0xc]
call fcn.10013509
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x100133ce
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x12]
and dword [ebp - 4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dx, word [ebp + 0x10]
mov ebx, ecx
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
mov eax, dword [ebx + 0x530]
test eax, eax
jle 0x1001342a
mov esi, dword [ebx + 0x52c]
mov dword [ebp + 0x10], esi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0xc], ecx
jne 0x1001341e
mov esi, dword [ebp + 0xc]
cmp dword [ebp - 0x10], esi
jne 0x1001341e
cmp word [ebp - 0x12], dx
je 0x10013467
inc dword [ebp - 4]
add dword [ebp + 0x10], 0x10
cmp dword [ebp - 4], eax
jl 0x10013401
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x14], 1
mov word [ebp - 0x12], dx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x528]
movsd dword es:[edi], dword [esi]
call fcn.1001390f
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jb 0x1001349e
cmp word [ebp - 0x14], 8
ja 0x1001349e
inc word [ebp - 0x14]
call esi
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
shl edi, 4
add edi, dword [ebx + 0x52c]
mov dword [ebp - 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x1001345d
push 1
jmp 0x1001345f
Function at 0x100163d5
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov eax, dword [ebp + 8]
push edi
push 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov ebx, dword [eax + 8]
pop ecx
lea edi, [ebp - 0x4c]
mov eax, dword [eax + 4]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], ebx
mov dword [ebp - 4], eax
fild dword [ebp + 8]
movsb byte es:[edi], byte [esi]
fmul qword [str.UUUUUU]
xor edi, edi
call fcn.10018bc4
push 1
xor edx, edx
pop ecx
sub ecx, eax
push 0x48
mov eax, ecx
pop esi
div esi
lea eax, [ecx + eax*2 + 2]
mov ecx, dword [ebp + 0xc]
push eax
call fcn.100214d2
xor ecx, ecx
mov esi, eax
test ebx, ebx
jle 0x100164c4
mov eax, dword [ebp - 4]
mov al, byte [eax + edi]
movzx edx, al
mov ebx, edx
shr ebx, 2
mov bl, byte [ebp + ebx - 0x4c]
mov byte [esi + ecx], bl
inc ecx
inc edi
cmp edi, dword [ebp + 8]
jge 0x100164e1
mov eax, dword [ebp - 4]
and edx, 3
shl edx, 4
mov al, byte [eax + edi]
movzx ebx, al
mov dword [ebp - 8], ebx
shr ebx, 4
or ebx, edx
mov dl, byte [ebp + ebx - 0x4c]
mov byte [esi + ecx], dl
inc ecx
inc edi
cmp edi, dword [ebp + 8]
jge 0x100164f5
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
and edx, 0xf
push 0x48
mov al, byte [eax + edi]
inc edi
movzx eax, al
mov ebx, eax
and eax, 0x3f
shr ebx, 6
shl edx, 2
mov al, byte [ebp + eax - 0x4c]
or ebx, edx
mov dl, byte [ebp + ebx - 0x4c]
pop ebx
mov byte [esi + ecx], dl
inc ecx
xor edx, edx
mov byte [esi + ecx], al
inc ecx
mov eax, ecx
div ebx
test edx, edx
jne 0x100164bb
mov byte [esi + ecx], 0xd
inc ecx
mov byte [esi + ecx], 0xa
inc ecx
cmp edi, dword [ebp + 8]
jl 0x10016432
add ecx, esi
mov byte [ecx], 0x3d
and byte [ecx + 1], 0
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.10021521
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
and eax, 3
shl eax, 4
mov al, byte [ebp + eax - 0x4c]
mov byte [esi + ecx], al
inc ecx
mov byte [esi + ecx], 0x3d
jmp 0x100164ff
and eax, 0xf
mov al, byte [ebp + eax*4 - 0x4c]
mov byte [esi + ecx], al
lea ecx, [esi + ecx + 1]
jmp 0x100164c6
Function at 0x1001c4f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10032d80
cmp edx, dword [eax]
je 0x1001c517
add eax, 8
inc ecx
cmp eax, 0x10032e10
jl 0x1001c508
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10032d80]
jne 0x1001c645
mov eax, dword [0x10038d88]
cmp eax, 1
je 0x1001c61f
test eax, eax
jne 0x1001c548
cmp dword [0x10038d8c], 1
je 0x1001c61f
cmp edx, 0xfc
je 0x1001c645
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1001c57f
lea eax, [ebp - 0x1a4]
push 0x1002c140
push eax
call fcn.10017b20
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100171d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1001c5c2
lea eax, [ebp - 0x1a4]
push eax
call fcn.100171d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1002c13c
push edi
call fcn.100170d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x1002c120
push eax
call fcn.10017b20
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10017b30
lea eax, [ebp - 0xa0]
push 0x1002c11c
push eax
call fcn.10017b30
push dword [esi + 0x10032d84]
lea eax, [ebp - 0xa0]
push eax
call fcn.10017b30
push 0x12010
lea eax, [ebp - 0xa0]
push 0x1002c0f4
push eax
call fcn.1001d655
add esp, 0x2c
pop edi
jmp 0x1001c645
lea eax, [ebp + 8]
lea esi, [esi + 0x10032d84]
push 0
push eax
push dword [esi]
call fcn.100171d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10026ef5
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
mov esi, ecx
push eax
call fcn.10017a10
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 4]
call sub.WS2_32.dll_getsockname
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov esi, ecx
test esi, esi
je 0x10026f54
push dword [ebp - 0x12]
call sub.WS2_32.dll_ntohs
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x10]
movzx eax, ax
mov dword [ecx], eax
call sub.WS2_32.dll_inet_ntoa
mov ecx, dword [ebp + 8]
push eax
call fcn.10021281
mov eax, esi
pop esi
leave
ret 8

Function at 0x100270d8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WS2_32.dll_recv
ret 0xc

Function at 0x10027156
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WS2_32.dll_send
ret 0xc
Function at 0x4036a0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x40b211
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x40f384]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
mov eax, dword [0x40f384]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esi + 0x1048], ebx
mov dword [esi + 0x104c], ebx
mov dword [esi + 0x1050], ebx
push 0x410
push ebx
push esi
mov dword [esp + 0x13c], ebx
call sub.MSVCR80.dll_memset
push 0x410
lea eax, [esi + 0x410]
push ebx
push eax
call sub.MSVCR80.dll_memset
push 0x400
lea ecx, [esi + 0x820]
push ebx
push ecx
call sub.MSVCR80.dll_memset
push 0x410
lea edx, [esi + 0xc20]
push ebx
push edx
call sub.MSVCR80.dll_memset
push 0x110
lea eax, [esp + 0x48]
push ebx
push eax
mov byte [esi + 0x1030], bl
mov byte [esi + 0x1031], bl
mov dword [esi + 0x1034], ebx
mov byte [esi + 0x1032], bl
mov byte [esi + 0x1038], 1
mov byte [esi + 0x1054], bl
mov dword [esp + 0x4c], 0x114
call sub.MSVCR80.dll_memset
add esp, 0x3c
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x403799
cmp dword [esp + 0x14], 6
jb 0x403799
mov byte [esi + 0x1032], 1
call fcn.00403850
call fcn.004049b0
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.00409ed0
add esp, 0x128
ret