joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bd20
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4fd860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, dword [esp + 0x1c]
mov edx, dword [edi]
mov eax, dword [edx - 0xc]
cmp eax, 0xc8
mov eax, dword [esp + 0x20]
jg 0x47bd70
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
jg 0x47bd70
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
push 0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0047b390
mov esi, eax
push 0
lea ecx, [esp + 0x2c]
push edi
push ecx
mov dword [esp + 0x2c], 0
call fcn.0047b390
push esi
push eax
mov byte [esp + 0x34], 1
call fcn.0047aff0
mov esi, eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x20
mov byte [esp + 0x14], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47bdc8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bdee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x47be10
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
push esi
jg 0x47be4c
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
push 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047b390
push eax
mov dword [esp + 0x1c], 0
call fcn.0047b0c0
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47be92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x47beb0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
push esi
jg 0x47beec
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
push 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047b390
push eax
mov dword [esp + 0x1c], 0
call fcn.0047b150
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bf32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x47bf50
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
push esi
jg 0x47bf91
mov eax, dword [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
push 0
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0047b390
mov edx, dword [esp + 0x24]
push edx
push eax
mov dword [esp + 0x20], 0
call fcn.0047b1e0
mov esi, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x14
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bfdc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret

Function at 0x47c0a0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4fd6b8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0xc8
push esi
jg 0x47c0dc
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
push 0
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047b390
push eax
mov dword [esp + 0x1c], 0
call fcn.0047b300
mov esi, eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c122
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret
Function at 0x47e040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x47e06f
mov ecx, dword [esp + 8]
push edi
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edi, dword [edx*4 + 0x510d48]
shr eax, 8
xor eax, edi
inc ecx
dec esi
jne 0x47e052
pop edi
not eax
pop esi
ret
Function at 0x47ee50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10008
call fcn.004d65a0
mov eax, dword [0x531d28]
push esi
push edi
mov edx, ecx
mov edx, dword [edx]
push edx
mov dword [esp + 0x10010], eax
xor eax, eax
push 0x10000
mov ecx, 0x4000
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea esi, [esp + 0x10]
mov eax, esi
push eax
push 0x502a56
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x47eed3
mov al, byte [esp + 8]
test al, al
je 0x47eed3
mov edi, dword [ebp + 0xc]
lea esp, [esp]
mov edx, dword [edi + 8]
push esi
push edx
mov ecx, edi
call fcn.004e3efd
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47eec1
sub eax, edx
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x47eeb0
mov ecx, dword [esp + 0x1000c]
call fcn.004d40be
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x47eef0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x531d28]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push 0x20
mov dword [esp + 0x1c], eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0x24], eax
push 0x502a56
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x47ef61
lea ecx, [esp]
push ecx
call fcn.004d4e85
mov edx, dword [esp + 0x34]
add esp, 4
mov dword [edx], eax
mov ecx, dword [esp + 0x20]
call fcn.004d40be
add esp, 0x24
ret 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword [eax], 0
call fcn.004d40be
add esp, 0x24
ret 0xc

Function at 0x47f010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1008
call fcn.004d65a0
mov eax, dword [0x531d28]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x100c], eax
xor eax, eax
mov ecx, 0x400
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0x10]
mov ecx, edi
call fcn.00401600
mov esi, dword [esi]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push esi
push 0x1000
lea eax, [esp + 0x10]
push eax
push 0x502a56
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x47f088
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f072
sub eax, edx
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00401880
mov ecx, dword [esp + 0x100c]
call fcn.004d40be
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47f460
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fdb77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x531d28]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x254], eax
mov dword [esp + 0xc], esi
call fcn.00401270
xor edi, edi
push 0x502a56
lea ecx, [esi + 0x30]
mov dword [esp + 0x268], edi
mov dword [esi + 0x20], 0xf
mov dword [esi + 0x24], 3
mov dword [esi + 0x28], 0x3f
mov dword [esi + 0x2c], 0x1e
call fcn.00401fd0
mov byte [esp + 0x264], 1
mov dword [esi + 0x34], edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x38], eax
lea ebx, [esi + 0x3c]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x50]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
push 0x200
lea eax, [esp + 0x54]
push eax
push 0
mov byte [esp + 0x270], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x50]
xor edi, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f533
sub eax, edx
test eax, eax
jle 0x47f56d
movsx ecx, byte [esp + edi + 0x50]
push ecx
call fcn.004d6f37
mov byte [esp + edi + 0x54], al
lea eax, [esp + 0x54]
add esp, 4
inc edi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f560
sub eax, edx
cmp edi, eax
jl 0x47f540
lea eax, [esp + 0x50]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f574
sub eax, edx
js 0x47f5be
nop
cmp byte [esp + eax + 0x50], 0x2e
jne 0x47f58c
mov byte [esp + eax + 0x50], 0
cmp byte [esp + eax + 0x50], 0x5c
je 0x47f598
dec eax
jns 0x47f580
jmp 0x47f5be
lea edi, [esp + eax + 0x50]
lea edx, [esp + 0x10]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47f5a4
mov edx, dword [str.Log]
mov al, byte [0x51121c]
mov dword [edi], edx
mov byte [edi + 4], al
lea ecx, [esp + 0x50]
push ecx
call fcn.004e2d40
lea eax, [esp + 0x54]
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47f5d2
sub eax, edx
push eax
lea edx, [esp + 0x54]
push edx
lea ecx, [esi + 0x38]
call fcn.00401880
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, ebx
call fcn.0047f1a0
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x254]
mov eax, esi
call fcn.004d40be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4805c0
Capabilities:
Hash data with md5

Disassembly:
mov edx, ecx
push esi
push edi
xor eax, eax
lea esi, [edx + 0x5c]
mov edi, esi
mov dword [edx + 0x18], eax
mov dword [edx + 0x14], eax
mov ecx, 0x10
mov dword [edx], 0x51122c
mov dword [edx + 4], 0x67452301
mov dword [edx + 8], 0xefcdab89
mov dword [edx + 0xc], 0x98badcfe
mov dword [edx + 0x10], 0x10325476
rep stosd dword es:[edi], eax
pop edi
mov byte [esi], 0x80
mov eax, edx
pop esi
ret

Function at 0x4806e0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xc
mov eax, dword [0x531d28]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x10], eax
push edi
xor ecx, ecx
lea eax, [esi + 0x16]
mov dl, byte [eax - 2]
mov byte [esp + ecx + 0xc], dl
mov dl, byte [eax - 1]
mov byte [esp + ecx + 0xd], dl
mov dl, byte [eax]
mov byte [esp + ecx + 0xe], dl
mov dl, byte [eax + 1]
mov byte [esp + ecx + 0xf], dl
add ecx, 4
add eax, 4
cmp ecx, 8
jb 0x4806f6
mov ecx, dword [esi + 0x14]
shr ecx, 3
and ecx, 0x3f
cmp ecx, 0x38
mov eax, 0x38
jb 0x480734
mov eax, 0x78
sub eax, ecx
push eax
lea ebp, [esi + 0x5c]
push ebp
mov ecx, esi
call fcn.00480610
push 8
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00480610
mov ecx, dword [esp + 0x1c]
inc ecx
lea eax, [esi + 6]
mov edi, 4
lea ecx, [ecx]
mov dl, byte [eax - 2]
mov byte [ecx - 1], dl
mov dl, byte [eax - 1]
mov byte [ecx], dl
mov dl, byte [eax]
mov byte [ecx + 1], dl
mov dl, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
dec edi
jne 0x480760
xor eax, eax
mov edi, esi
mov ecx, 0x27
rep stosd dword es:[edi], eax
mov edi, ebp
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov byte [ebp], 0x80
pop ebp
call fcn.004d40be
add esp, 0xc
ret 4
Function at 0x4815e9
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4fdca8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0xf0]
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.00401300
mov eax, dword [esi + 0x11c]
neg eax
sbb eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
je 0x481703
add esi, 0x110
push ebp
mov dword [esp + 0x18], esi
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
call fcn.004e4bf1
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 8]
lea ebp, [esi + 8]
inc ecx
mov eax, ecx
cmp eax, 0xa
mov dword [ebp], ecx
jbe 0x4816ac
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov ebx, dword [eax + 8]
push 0x130
push str.WorkNbms_barBasePlatformTestAliveMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push ebx
push str.TestAliveMgr_ThreadId__04x__ProcessExpireMgr.
push 0x20
call fcn.0047fc80
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
call dword [eax + 0x1c]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ebx, dword [esp + 0x20]
jmp 0x4816bb
mov ecx, dword [esi]
push 4
push 0
push 0
push 0xfffffffffffffffe
call fcn.00482170
cmp dword [ebp], 5
jbe 0x4816f5
mov ecx, dword [esi]
mov edi, dword [ecx + 8]
push 0x19
push str.WorkNbms_barBasePlatformTestAliveMgr.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
mov ecx, dword [esi]
call fcn.00481890
mov edx, dword [ebp]
push eax
push edx
push edi
push str.TestAliveMgr_ThreadId__04x__DoTestAlive_Found_TimeoutCount_d_CmdCount_d
push 8
call fcn.0047fc80
add esp, 0x14
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x481635
pop edi
pop ebp
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x482250
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x30]
push edi
mov dword [ebp - 0x10], esp
push eax
push ecx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
cmp eax, 0x102
mov dword [esi + 0x18], 3
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
jne 0x4822b3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x80
je 0x48233f
lea edi, [esi + 0x54]
mov ecx, edi
mov dword [ebp - 0x1c], ebx
call fcn.00401300
mov eax, dword [esi + 0x44]
xor edx, edx
cmp eax, ebx
mov eax, dword [edi]
sete dl
mov ecx, edi
mov ebx, edx
call dword [eax + 0x14]
mov edi, edi
test ebx, ebx
jne 0x4823fd
lea edi, [esi + 0x54]
mov ecx, edi
call fcn.00401300
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [esi + 0x38]
call fcn.00482080
mov eax, dword [esi + 0x44]
mov edx, dword [edi]
test eax, eax
sete bl
mov ecx, edi
mov dword [ebp - 0x18], ebx
call dword [edx + 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
cmp eax, 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x24], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ecx
mov dword [esi + 0x28], edx
jne 0x482353
test ebx, ebx
jne 0x48233f
mov ecx, esi
call fcn.00482120
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xfffffffe
jne 0x48236d
push 8
push 0
push esi
push 0xfffffffffffffffd
call fcn.004818b0
mov ecx, eax
call fcn.00482170
jmp 0x4823dd
cmp eax, 0xfffffffc
jne 0x48237c
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
jmp 0x4823dd
mov edx, dword [esi]
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call dword [edx + 0x10]
jmp 0x4823dd
test byte [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
je 0x4822e0
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4822e0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482800
Capabilities:
Create thread
Terminate thread

Disassembly:
mov eax, dword [esp + 4]
test al, 2
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
je 0x482815
mov dword [esi + 0xc], 0xffffffff
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x482550
push 0
push 0
mov dword [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
jne 0x48283d
pop esi
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
mov dword [esi + 0x2c], eax
call edi
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov dword [esi + 0x30], eax
je 0x4828c5
test eax, eax
je 0x4828c3
test byte [esi + 0x14], 4
jne 0x48287c
push esi
call fcn.004818b0
mov ecx, eax
call fcn.00480a00
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x10], 1
je 0x48288e
cmp dword [esi + 0x10], 2
jne 0x482894
push 0xa
call edi
jmp 0x482882
cmp dword [esi + 0x10], 3
jne 0x4828b9
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x2c]
push edx
call edi
mov eax, dword [esi + 0x30]
push eax
call edi
pop edi
xor eax, eax
pop esi
ret 4
pop edi
mov eax, 1
pop esi
ret 4
test ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4828d0
push ecx
call edi
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4828dd
mov ecx, dword [esi + 0x2c]
push ecx
call edi
mov edx, dword [esi + 4]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 4]
push eax
call edi
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x482900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fdda3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esi], 0x5115d4
mov dword [esi + 0xc], 0x14
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x200
mov dword [esp + 8], esi
mov dword [esi + 0x38], 0x5114e0
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], 0xa
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
call fcn.00401270
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 1
call fcn.00401270
mov dword [esi + 0x94], 0x5114d4
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], 0xa
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 3
call fcn.00401270
lea ecx, [esi + 0xd0]
mov byte [esp + 0x18], 4
call fcn.00401270
mov ecx, 0x534914
mov byte [esp + 0x18], 5
mov dword [esp + 0xc], 0x534914
call fcn.00401300
cmp dword [0x53490c], edi
mov byte [esp + 0x18], 6
jne 0x482a1a
push edi
mov dword [0x53490c], 1
call fcn.004818b0
mov ecx, eax
call fcn.00482800
inc dword [0x534910]
mov eax, dword [0x534914]
mov ecx, 0x534914
mov byte [esp + 0x18], 5
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x483010
Capabilities:
Terminate process

Disassembly:
push esi
push 0
call fcn.004d54f0
mov esi, eax
mov eax, dword [0x534934]
add esp, 4
cmp esi, eax
jae 0x483035
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x534934], esi
mov eax, esi
pop esi
ret
Function at 0x483bf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fde88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00401300
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x38]
cmp ecx, dword [eax + 0x10]
jne 0x483c5c
mov ecx, dword [esi + 0x40]
cmp ecx, dword [eax + 0x18]
jne 0x483c5c
mov ecx, dword [esi + 0x3c]
cmp ecx, dword [eax + 0x14]
jne 0x483c5c
mov ecx, dword [esi + 0x44]
cmp ecx, dword [eax + 0x1c]
jne 0x483c5c
mov eax, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call dword [eax + 0x14]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 4
mov ecx, dword [eax + 4]
mov dword [esi + 0x2c], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x38], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x3c], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x40], edx
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x44], eax
mov edx, dword [edi]
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x483cb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fdea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
push 0x2001f
xor esi, esi
push esi
push ebx
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x483d70
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push esi
push edx
push edi
mov dword [ebp + 8], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
test edi, edi
je 0x483d24
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483d3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483d5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp + 8]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push ebx
push edi
mov dword [ebp + 8], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x483d98
mov edi, dword [ebp + 8]
jmp 0x483cf8
lea eax, [ebx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483db2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x483dcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10