joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443fb0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x44404b
cmp dword [esi + 0x40028], 0
je 0x44404b
lea ecx, [esp + 0x10]
xor edi, edi
push ecx
push 0x4004667f
push eax
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp dword [esp + 0x10], edi
jbe 0x444040
mov ebp, dword [sym.imp.WS2_32.dll_recv]
lea ebx, [esi + 0x28]
push 0
push 0x40000
push ebx
push dword [esi + 4]
call ebp
cmp eax, 0xffffffff
je 0x44401f
test eax, eax
je 0x444017
push eax
push ebx
lea ecx, [esi + 0x4002c]
add edi, eax
call fcn.00443920
cmp edi, dword [esp + 0x10]
jb 0x443ff2
jmp 0x444040
push 0xc0
push 0x51e4ac
push str.socket_receive_error_
push 0x51e4d4
call fcn.004431f0
add esp, 0x10
nop dword [eax + eax]
mov ecx, esi
call fcn.00444060
test eax, eax
jne 0x444040
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 0xc
push ebp
mov ebp, ecx
cmp dword [ebp + 0x40058], 0
je 0x44437c
cmp dword [ebp + 4], 0xffffffff
je 0x44437c
cmp dword [ebp + 0x40028], 0
je 0x44437c
push ebx
push esi
lea ecx, [esp + 0xc]
call fcn.00443b90
cmp dword [0x538bd0], 0
je 0x4442c6
mov esi, dword [esp + 0x20]
mov eax, dword [0x538bcc]
push esi
push dword [esp + 0x20]
inc eax
push 0x53aa34
mov dword [0x538bcc], eax
mov dword [0x53aa30], eax
call fcn.004b4730
add esp, 8
lea edx, [esi + 4]
mov ecx, 0x53aa30
call fcn.00443c10
add esp, 4
mov dword [esi + 0x53aa34], eax
lea ebx, [esi + 8]
mov dword [esp + 0x20], ebx
push 0x53aa30
push 0x53aa30
push ebx
call fcn.00450910
push ebx
mov dword [esp + 0x14], ebx
call fcn.004b0a0d
mov esi, eax
push ebx
push 0x53aa30
push esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
call fcn.004b4730
add esp, 0x10
jmp 0x4442d6
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
add ebx, 6
cmp ebx, 0xc8
jg 0x444371
mov esi, dword [sym.imp.WS2_32.dll_htons]
push edi
push 0xaa55
lea edi, [ebp + 0x28]
call esi
mov word [edi], ax
mov eax, dword [esp + 0x24]
push eax
push dword [esp + 0x24]
mov word [edi + 2], ax
add edi, 4
push edi
call fcn.004b4730
add esp, 0xc
push 0x55aa
call esi
mov ecx, dword [esp + 0x24]
xor esi, esi
mov word [edi + ecx], ax
test ebx, ebx
jle 0x44436a
lea edi, [ebp + 0x28]
nop word [eax + eax]
push 0
push ebx
push edi
push dword [ebp + 4]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x44434e
test eax, eax
je 0x444348
add esi, eax
cmp esi, ebx
jl 0x444330
jmp 0x44436a
push 0x14b
push str.APISocket.cpp
push str.socket_send_error_
push 0x51e580
call fcn.004431f0
add esp, 0x10
add dword [ebp + 0x40040], ebx
pop edi
lea ecx, [esp + 0xc]
call fcn.00443bb0
pop esi
pop ebx
pop ebp
add esp, 0xc
ret 8
Function at 0x44a240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x44a396
cmp byte [edi + 0x3d], 0
je 0x44a396
call fcn.00445620
mov edx, dword [edi]
mov esi, eax
push esi
mov ecx, edi
call dword [edx + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
call fcn.00446000
add esp, 8
test al, al
je 0x44a298
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [esp + 0x28]
call fcn.00448130
lea ebx, [edi + 0x40]
nop dword [eax + eax]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00448030
mov ecx, eax
call fcn.00447d20
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00444570
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00448030
mov ecx, eax
call fcn.00447d20
mov ecx, dword [edi + 0x38]
push eax
push ebx
call fcn.0044aba0
sub eax, 0
je 0x44a31a
sub eax, 1
je 0x44a31e
sub eax, 2
je 0x44a382
lea ecx, [esp + 0x20]
xor bl, bl
call fcn.004445d0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x3d], 0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00448030
mov ecx, eax
call fcn.00447d20
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x44a363
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00448030
mov ecx, eax
call fcn.00447d20
push eax
call fcn.004bc421
add esp, 0x10
cmp esi, eax
jne 0x44a306
cmp byte [edi + 0x3d], 0
je 0x44a382
test esi, esi
jne 0x44a2b0
push esi
push 8
lea ecx, [esp + 0x28]
call fcn.0044a0e0
jmp 0x44a2b0
lea ecx, [esp + 0x20]
mov bl, 1
call fcn.004445d0
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d7d0
Capabilities:
Create directory
Write file on windows

Disassembly:
sub esp, 0xb8
lea ecx, [esp + 0xbc]
push esi
call fcn.00447fd0
mov ecx, eax
call fcn.0045dff0
test al, al
jne 0x44d88f
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push 0x51f228
call esi
push 0
push str.Object
call esi
push 0
push str.Item
call esi
push 0
push 0x51f23c
call esi
sub esp, 8
lea ecx, [esp + 0xc8]
push 2
call fcn.00447fd0
push eax
lea ecx, [esp + 0x18]
call fcn.0044e4d0
lea ecx, [esp + 8]
call fcn.004481b0
push 0x51f240
lea ecx, [esp + 0xc4]
call fcn.00447fd0
push eax
call fcn.004bcdc0
push 0
mov esi, eax
push 0
push esi
call fcn.004bccd9
add esp, 0x14
mov dword [esp + 4], 0
lea eax, [esp + 4]
push esi
push 1
push 4
push eax
call fcn.004bc421
push esi
call fcn.004bb151
add esp, 0x14
lea ecx, [esp + 8]
call fcn.00447950
lea ecx, [esp + 0xc0]
call fcn.004445d0
pop esi
add esp, 0xb8
ret 0x18
Function at 0x450910
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
movzx eax, cl
imul eax, eax, 0x9d
push edi
mov edi, 0x86d
mov dword [esp + 4], eax
xor eax, eax
test ecx, ecx
jle 0x450970
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
sub ebx, ecx
push esi
nop
lea esi, [eax + ecx]
mov ecx, eax
and ecx, 7
inc eax
mov dl, byte [ecx + 0x538fb0]
mov ecx, edi
xor dl, byte [ebx + esi]
sar ecx, 8
xor dl, cl
imul edi, edi, 0x87b
xor dl, byte [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov byte [esi], dl
cmp eax, ebp
jl 0x450940
pop esi
pop ebp
pop ebx
pop edi
pop ecx
ret 0xc

Function at 0x4509e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
mov eax, 1
mov dword [0x53909c], edx
nop
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x53909c], edx
inc eax
cmp eax, 0x270
jl 0x4509f0
mov dword [0x539098], 0x270
ret 8

Function at 0x450df0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
lea eax, [ecx + 8]
mov esi, 0x270
nop dword [eax]
mov edx, dword [eax - 4]
lea eax, [eax + 4]
xor edx, dword [eax - 4]
and edx, 0x7fffffff
xor edx, dword [eax - 8]
mov ecx, edx
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [eax + 0x62c]
xor ecx, edx
mov dword [eax + 0x9b8], ecx
sub esi, 1
jne 0x450e00
pop esi
ret

Function at 0x450e40
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, ecx
mov ecx, 0xe3
push esi
push edi
lea edi, [ebx + 0x9c4]
mov edx, dword [edi + 4]
lea edi, [edi + 4]
xor edx, dword [edi - 4]
and edx, 0x7fffffff
xor edx, dword [edi - 4]
mov eax, edx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr edx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, edx
mov dword [edi - 0x9c4], eax
sub ecx, 1
jne 0x450e50
lea esi, [ebx + 0xd50]
mov edi, 0x18c
mov ecx, dword [esi + 4]
lea esi, [esi + 4]
xor ecx, dword [esi - 4]
and ecx, 0x7fffffff
xor ecx, dword [esi - 4]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi - 0xd50]
xor eax, ecx
mov dword [esi - 0x9c4], eax
sub edi, 1
jne 0x450e92
mov ecx, dword [ebx + 0x1380]
xor ecx, dword [ebx + 4]
and ecx, 0x7fffffff
xor ecx, dword [ebx + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx + 0x9c0], eax
mov dword [ebx], edi
pop edi
pop esi
pop ebx
ret
Function at 0x451f50
Capabilities:
Get token membership

Disassembly:
sub esp, 0x18
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
xor esi, esi
mov dword [esp + 8], 0
lea eax, [esp + 4]
mov dword [esp + 4], esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea eax, [esp + 0x38]
mov dword [esp + 0x38], esi
push eax
mov word [esp + 0x40], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x451faf
lea eax, [esp + 8]
push eax
push dword [esp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x451fb7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 4]
test eax, eax
je 0x451fce
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov dword [esp + 4], 0
test esi, esi
jne 0x451fe6
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.004b0726
add esp, 0x18
ret
push 0x526fd8
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
call fcn.004b5154
int3

Function at 0x452000
Capabilities:
Terminate process

Disassembly:
push edi
push ecx
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x452014
pop edi
ret
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
ret

Function at 0x452030
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x148
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x28], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4520ce
mov ebx, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00458870
mov ecx, eax
call fcn.00452100
lea ecx, [esp + 0x44]
nop dword [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4520b0
test dl, dl
je 0x4520ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4520b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x452090
xor eax, eax
jmp 0x4520b5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4520c2
mov ecx, dword [esp + 0x28]
call fcn.00452000
lea eax, [esp + 0x20]
push eax
push esi
call edi
test eax, eax
jne 0x452075
cmp esi, 0xffffffff
je 0x4520da
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0726
add esp, 0x148
ret
Function at 0x452140
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x13c
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push ebp
push esi
push edi
push 0
mov bl, dl
mov dword [esp + 0x1c], 0x128
push 2
mov byte [esp + 0x1f], bl
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
xor esi, esi
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4521d0
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop dword [eax]
mov eax, ebp
lea ecx, [esp + 0x3c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4521b6
test dl, dl
je 0x4521b2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4521b6
add ecx, 2
add eax, 2
test dl, dl
jne 0x452196
xor eax, eax
jmp 0x4521bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4521c0
inc esi
lea eax, [esp + 0x18]
push eax
push edi
call ebx
test eax, eax
jne 0x452190
mov bl, byte [esp + 0x17]
cmp edi, 0xffffffff
je 0x4521dc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x4521e8
cmp esi, 1
setl al
jmp 0x4521ee
cmp esi, 1
setle al
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b0726
add esp, 0x13c
ret
Function at 0x4532a0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x4c
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
push 0x20
mov edi, ecx
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov esi, eax
mov dword [0x538dd0], esi
test esi, esi
je 0x4534d1
push 0x38
push 0
push 0x538f20
call fcn.004b4360
add esp, 0xc
mov dword [0x538f40], 1
mov dword [0x538f38], 1
mov dword [0x538f28], 0x15
mov dword [0x538f54], 0
mov eax, dword [esi]
push 0x538be8
push 0x538f20
push 0x40
push edi
push 1
push 0
push esi
call dword [eax + 0x40]
test eax, eax
je 0x4534e4
mov eax, dword [0x538dd0]
push 0x538be8
push 0x538f20
push 0x20
mov ecx, dword [eax]
push edi
push 1
push 0
push eax
call dword [ecx + 0x40]
test eax, eax
je 0x4534e4
cmp eax, 0x8876086a
jg 0x45342e
je 0x4533f2
cmp eax, 0x8876017c
je 0x4533b6
cmp eax, 0x88760868
jne 0x453435
push 0x30
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00459350
mov ecx, eax
call fcn.00453540
push eax
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.004591f0
mov ecx, eax
call fcn.00453500
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
push 0x30
push str.D3DERR_OUTOFVIDEOMEMORY
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.00459790
mov ecx, eax
call fcn.00453500
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
push 0x30
push str.D3DERR_NOTAVAILABLE
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.00459630
mov ecx, eax
call fcn.00453500
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
cmp eax, 0x8876086c
je 0x453488
push 0x30
mov edx, eax
lea ecx, [esp + 0x14]
call fcn.00450f70
mov ecx, eax
call fcn.00447fd0
push eax
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.004598f0
mov ecx, eax
call fcn.00453500
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [esp + 0x10]
call fcn.004445d0
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
push 0x30
push dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00459570
mov ecx, eax
call fcn.00451de0
push eax
push dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x38]
call fcn.00459410
mov ecx, eax
call fcn.00453500
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
mov ecx, dword [esp + 0x4c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.004b0726
add esp, 0x4c
ret
Function at 0x4535e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x48
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, dword [0x538ecc]
mov bl, cl
push edi
lea ecx, [esi + 8]
call fcn.00444570
test eax, eax
je 0x4536c9
lea edi, [esi + 0xfc]
movzx esi, bl
mov ecx, edi
call fcn.00455e90
lea edx, [esi + 1]
cmp eax, edx
jb 0x4536c9
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
mov ecx, edi
call fcn.00455fa0
lea ecx, [eax + 0x18]
call fcn.00444570
test eax, eax
je 0x4536c9
push 5
push 0
push 0
push ecx
mov ecx, dword [0x538ecc]
lea eax, [esp + 0x1c]
push eax
add ecx, 0xfc
mov dword [esp + 0x20], esi
call fcn.00455fa0
add esp, 4
add eax, 0x18
push eax
push dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00459a50
mov ecx, eax
call fcn.004536e0
mov edx, dword [0x538ecc]
lea ecx, [esp + 0x44]
push eax
lea edx, [edx + 8]
call fcn.0044bca0
add esp, 4
lea ecx, [esp + 0x24]
mov edx, eax
call fcn.0044f9f0
add esp, 4
mov ecx, eax
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x14]
call fcn.004445d0
lea ecx, [esp + 0x34]
call fcn.004445d0
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0726
add esp, 0x48
ret

Function at 0x453720
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
push esi
push edi
push 4
push 0x3000
push 0x104
mov edi, ecx
mov esi, edx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebp, eax
test ebp, ebp
je 0x45376a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453747
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x453771
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret
push ebx
push 0
push 0
push ebp
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
test ebx, ebx
jne 0x4537b9
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x453791
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebp
ret
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x4537b1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x4537d3
sub esi, ecx
push 0x8000
lea eax, [esi + 1]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
call edi
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
ret
Function at 0x4544a0
Capabilities:
Resume thread

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xfa
call esi
mov eax, dword [0x538be4]
test eax, eax
je 0x4544b6
cmp dword [0x538e6c], 0
je 0x4544b6
push eax
push 1
push 0x1fffff
call edi
cmp eax, 0xffffffff
je 0x4544b6
push 0
push 1
lea ecx, [esp + 0x17]
push ecx
push 0x400000
push eax
call ebx
test eax, eax
jne 0x4544b6
push dword [0x538e6c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x454aa0
Capabilities:
Create process on windows

Disassembly:
cmp dword [0x538d9c], 2
jne 0x454af9
call fcn.00451010
test al, al
je 0x454af9
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 0xc8]
call fcn.00444570
test eax, eax
je 0x454af8
push 9
push 0
push 0
lea ecx, [esi + 0xc8]
mov dword [0x538f18], 1
mov dword [0x538d9c], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
ret

Function at 0x454b00
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp dword [0x538d80], 2
jne 0x454b59
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 8]
call fcn.00447fd0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454b20
sub eax, edx
je 0x454b58
push 5
push 0
push 0
lea ecx, [esi + 8]
mov dword [0x538efc], 1
mov dword [0x538d80], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ecx
ret

Function at 0x454b60
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x2c
mov eax, dword [0x529034]
xor eax, esp
mov dword [esp + 0x28], eax
cmp dword [0x538d84], 2
jne 0x454c0b
push 9
push 0
push 0
push dword [esp + 0xc]
mov dword [0x538f00], 1
push ecx
lea ecx, [esp + 0x18]
mov dword [0x538d84], 1
call fcn.0045ad70
mov ecx, eax
call fcn.00443620
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 2
jne 0x454c03
push 0x40
push dword [esp + 4]
push ecx
lea ecx, [esp + 0x10]
call fcn.0045aec0
mov ecx, eax
call fcn.00454450
push eax
push dword [esp + 8]
push ecx
lea ecx, [esp + 0x20]
call fcn.0045ade0
mov ecx, eax
call fcn.00451da0
push eax
push dword [0x538ef0]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004b0726
add esp, 0x2c
ret
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.004b0726
add esp, 0x2c
ret

Function at 0x454c20
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp dword [0x538d8c], 2
jne 0x454c79
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 0x20]
call fcn.00447fd0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454c40
sub eax, edx
je 0x454c78
push 5
push 0
push 0
lea ecx, [esi + 0x20]
mov dword [0x538f08], 1
mov dword [0x538d8c], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ecx
ret

Function at 0x454c80
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp dword [0x538d90], 2
jne 0x454cd9
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 0x38]
call fcn.00447fd0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454ca0
sub eax, edx
je 0x454cd8
push 5
push 0
push 0
lea ecx, [esi + 0x38]
mov dword [0x538f0c], 1
mov dword [0x538d90], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ecx
ret
Function at 0x454ce0
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp dword [0x538d94], 2
jne 0x454d39
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 0x50]
call fcn.00447fd0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454d00
sub eax, edx
je 0x454d38
push 5
push 0
push 0
lea ecx, [esi + 0x50]
mov dword [0x538f10], 1
mov dword [0x538d94], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ecx
ret

Function at 0x454d40
Capabilities:
Create process on windows

Disassembly:
push ecx
cmp dword [0x538d98], 2
jne 0x454d99
push esi
mov esi, dword [0x538ecc]
lea ecx, [esi + 0x68]
call fcn.00447fd0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454d60
sub eax, edx
je 0x454d98
push 5
push 0
push 0
lea ecx, [esi + 0x68]
mov dword [0x538f14], 1
mov dword [0x538d98], 1
call fcn.00447fd0
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop esi
pop ecx
ret