joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032d8
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
lea ecx, [ebp - 0x18]
mov ebx, eax
mov dword [ebp - 4], eax
call fcn.0040248c
cmp dword [ebp - 0x10], 0
jg 0x403309
push 0
lea ecx, [ebp - 0x18]
call fcn.00401112
movzx eax, word [esi + ebx*2 - 2]
mov edi, dword [ebp - 0x18]
cmp ax, 0x5c
je 0x40331d
cmp ax, 0x2f
jne 0x403328
xor eax, eax
mov word [edi + ebx*2 - 2], ax
dec ebx
mov dword [ebp - 4], ebx
mov esi, ebx
jmp 0x40334f
movzx eax, word [edi + esi*2]
cmp ax, 0x2f
je 0x403341
cmp ax, 0x5c
je 0x403341
dec esi
test esi, esi
jg 0x40332c
test esi, esi
je 0x403400
xor eax, eax
mov word [edi + esi*2], ax
push edi
call fcn.00401951
pop ecx
test eax, eax
je 0x40333d
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
test al, 0x10
jne 0x403386
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00402f9e
pop ecx
pop ecx
test eax, eax
je 0x403386
xor esi, esi
jmp 0x403425
push edi
call fcn.00401951
pop ecx
test eax, eax
jne 0x4033a0
push edi
push 0xc
push 1
call fcn.00407784
add esp, 0xc
jmp 0x40337f
cmp esi, ebx
jge 0x4033f4
mov eax, dword [ebp - 4]
sub eax, esi
inc eax
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi*2]
push eax
lea ebx, [edi + esi*2]
push ebx
call sub.MSVCRT.dll_memcpy
xor ecx, ecx
add esp, 0xc
cmp word [ebx], cx
je 0x4033d8
jmp 0x4033d7
movzx eax, word [edi + esi*2]
cmp ax, 0x5c
je 0x4033de
cmp ax, 0x2f
je 0x4033de
inc esi
cmp word [edi + esi*2], cx
jne 0x4033c7
xor eax, eax
push edi
mov word [edi + esi*2], ax
call fcn.00401951
pop ecx
test eax, eax
je 0x403391
cmp esi, dword [ebp - 4]
jl 0x4033a4
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
pop ecx
inc eax
jmp 0x403445
mov ecx, dword [ebp + 8]
cmp ebx, 2
jne 0x403430
mov ax, word [ecx]
or ax, 0x20
cmp ax, 0x61
jb 0x403430
cmp ax, 0x7a
ja 0x403430
cmp word [ecx + 2], 0x3a
jne 0x403430
xor esi, esi
inc esi
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
jmp 0x403445
push ecx
push 0xc
push 1
call fcn.00407784
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403f2b
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.004013fd
push 2
mov ecx, esi
call fcn.004021dd
mov edi, dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push eax
push 1
call edi
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
and dword [esi + 4], edx
test eax, eax
jbe 0x403f7f
lea ebx, [eax + 1]
push ebx
mov ecx, esi
call fcn.004021dd
push eax
push ebx
call edi
mov edi, dword [esi]
push edi
call fcn.004010fe
pop ecx
xor ecx, ecx
mov word [edi + eax*2], cx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
and dword [ebp + 8], 0
lea ecx, [eax + 0xf]
mov dword [ebp - 4], ecx
lea ebx, [eax + eax]
push dword [ebp - 4]
mov ecx, esi
call fcn.004021dd
push dword [ebp + 8]
add eax, ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esi]
push edi
call fcn.004010fe
xor ecx, ecx
add esp, 0x10
mov word [edi + eax*2], cx
push dword [esi]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403fd5
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xfff
jl 0x403f8f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x403fdc
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x41738c], esi
jle 0x404030
mov eax, dword [0x417390]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.004012df
lea eax, [ebp - 0xc]
push eax
call fcn.00403b1c
mov eax, dword [0x417390]
mov eax, dword [eax + esi*4]
pop ecx
push dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
inc esi
cmp esi, dword [0x41738c]
pop ecx
jl 0x403fed
pop esi
leave
ret
Function at 0x404ab2
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x34
cmp word [eax + 2], 0x3a
push ebx
jne 0x404c6c
movzx ecx, word [eax + 4]
cmp cx, 0x5c
je 0x404adb
cmp cx, 0x2f
jne 0x404c6c
mov ax, word [eax]
push 0x3a
mov word [ebp - 0x10], ax
pop eax
mov word [ebp - 0xe], ax
push 0x5c
pop eax
mov word [ebp - 0xc], ax
xor eax, eax
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
cmp eax, 3
je 0x404b0d
push dword [ebp + 8]
jmp 0x404c6d
lea eax, [ebp - 0x28]
push str.7ZSfx_03x.cmd
push eax
call fcn.00403f2b
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x404c34
push esi
push edi
lea ecx, [ebp - 0x1c]
call fcn.004013fd
push str.:Repeat_r_n
lea ecx, [ebp - 0x1c]
call fcn.00401311
mov edi, str.del__
push edi
lea ecx, [ebp - 0x1c]
call fcn.004024c5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013ce
mov esi, 0x4148c8
push esi
lea ecx, [ebp - 0x1c]
call fcn.004024c5
push str.if_exist__
lea ecx, [ebp - 0x1c]
call fcn.004024c5
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013ce
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x1c]
call fcn.004024c5
push edi
lea ecx, [ebp - 0x1c]
call fcn.004024c5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004013ce
push esi
lea ecx, [ebp - 0x1c]
call fcn.004024c5
mov esi, dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004026ef
mov eax, dword [eax]
add esp, 0xc
push ebx
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push dword [ebp - 0x34]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
cmp esi, ebx
pop esi
je 0x404c47
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jne 0x404c47
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push ebx
push ebx
push ebx
push dword [ebp - 0x28]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x404c72
push dword [ebp - 0x28]
call fcn.00402c04
push dword [ebp - 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x404c73
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ebx
leave
ret
Function at 0x40da18
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40da3e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40da3e
xor al, al
jmp 0x40da5e
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00412340
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x4119f1
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0xc]
xor eax, eax
and edx, 7
cmp ecx, 5
jae 0x411a0a
leave
ret
add dword [ebp + 0x10], 5
or dword [ebp + 0xc], 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [esi + ecx - 4]
push edi
mov dword [ebp - 4], ecx
lea edi, [eax + esi]
jmp 0x411a2d
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x411a32
inc edi
cmp edi, dword [ebp - 4]
jb 0x411a24
mov eax, edi
sub eax, esi
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jae 0x411b2a
mov ecx, eax
sub ecx, dword [ebp + 0xc]
cmp ecx, 3
jbe 0x411a89
xor edx, edx
mov cl, byte [edi + 4]
mov dword [ebp + 0xc], eax
test cl, cl
je 0x411a5d
cmp cl, 0xff
jne 0x411ab4
movzx esi, cl
movzx ecx, byte [edi + 3]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 2]
shl esi, 8
or esi, ecx
movzx ecx, byte [edi + 1]
shl esi, 8
or esi, ecx
cmp dword [ebp + 0x18], 0
je 0x411ac2
lea ebx, [esi + eax]
add ebx, dword [ebp + 0x10]
jmp 0x411ac9
dec ecx
shl edx, cl
and edx, 7
je 0x411a4e
movzx ecx, byte [edx + 0x414fc0]
mov ebx, edi
sub ebx, ecx
cmp byte [edx + 0x414fb8], 0
mov cl, byte [ebx + 4]
je 0x411ab1
test cl, cl
je 0x411ab1
cmp cl, 0xff
jne 0x411a4e
mov dword [ebp + 0xc], eax
and edx, 3
add edx, edx
or edx, 1
inc eax
jmp 0x411a1f
sub esi, eax
sub esi, dword [ebp + 0x10]
mov ebx, esi
test edx, edx
je 0x411afd
movzx esi, byte [edx + 0x414fc0]
push 0x18
shl esi, 3
pop ecx
sub ecx, esi
mov eax, ebx
shr eax, cl
test al, al
je 0x411ae8
cmp al, 0xff
jne 0x411afa
mov eax, dword [ebp - 8]
push 0x20
pop ecx
sub ecx, esi
xor esi, esi
inc esi
shl esi, cl
dec esi
xor esi, ebx
jmp 0x411a7b
mov eax, dword [ebp - 8]
mov esi, dword [ebp + 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 3], cl
mov ecx, ebx
shr ecx, 8
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x411a1f
mov esi, eax
sub esi, dword [ebp + 0xc]
push 3
lea ecx, [esi - 1]
shl edx, cl
pop edi
and edx, 7
cmp edi, esi
sbb ecx, ecx
not ecx
pop edi
and ecx, edx
mov edx, dword [ebp + 0x14]
pop esi
mov dword [edx], ecx
pop ebx
leave
ret
Function at 0x4025a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x4025e0
mov eax, 0x4792d5
push eax
push 3
mov ebx, 0x270
call fcn.00455db0
add esp, 0x28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402723
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x278
call fcn.00455e90
add esp, 0x10
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402631
mov eax, 0x4792d5
push eax
push 1
mov ebx, 0x244
call fcn.00455aa0
add esp, 0x10
call fcn.00401750
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402661
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x402675
mov eax, 0x4792d5
push eax
push 2
mov ebx, 0x23c
call fcn.00455ab0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402698
push ebx
call fcn.00450db4
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40270e
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40271e
push ebx
call fcn.00450db4
add esp, 4
jmp 0x402813
push dword [ebp + 8]
call fcn.00402433
and eax, 1
xor eax, 1
test eax, eax
je 0x40278d
call fcn.00401750
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402756
mov eax, 0x4792d5
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40276a
mov eax, 0x4792d5
push eax
push 2
mov ebx, 0x23c
call fcn.00455ab0
add esp, 0x1c
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40278d
push ebx
call fcn.00450db4
add esp, 4
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0xc], eax
push 5
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x402803
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x402813
push ebx
call fcn.00450db4
add esp, 4
push 0x4ebce5
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
mov esp, ebp
pop ebp
ret 4
Function at 0x406d8c
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
push 8
call fcn.00450dae
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00450dae
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x10], 0
push 0x10
call fcn.00450dae
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 0x20
push 2
mov ebx, 0xc8
call fcn.00455530
add esp, 0x1c
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
nop
nop
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push str.SeDebugPrivilege
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
nop
nop
nop
nop
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x406eb0
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0xc]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov eax, 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0xc]
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
nop
nop
nop
nop
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
jmp 0x406f47
push eax
mov ebx, dword [ebp - 8]
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x40fcce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
push dword [0x4ebd01]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40fd1d
mov eax, 0x47938d
jmp 0x40fddc
push dword [ebp + 8]
push dword [0x4ebd01]
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40fd47
mov eax, 0x47938d
jmp 0x40fddc
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LockResource]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40fd6b
mov eax, 0x47938d
jmp 0x40fddc
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x1bc
call fcn.00455ec0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40fd9e
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40fdb2
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40fdd7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00450dae
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x40fddc
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40fded
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4131cc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 1
push dword [ebp - 8]
push dword [ebp - 4]
push str.http:__www.45cc.net_
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41324b
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41325b
push ebx
call fcn.00450db4
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x41a8a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ebx, dword [0x4ebce9]
add ebx, 4
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00401bf1
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a90a
push ebx
call fcn.00450db4
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x41a9a6
mov ebx, dword [0x4ebce9]
add ebx, 4
mov dword [ebp - 4], ebx
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 8], eax
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.00455590
add esp, 0x10
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ebx, dword [ebp - 4]
push dword [ebx]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41a996
push ebx
call fcn.00450db4
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41a9a6
push ebx
call fcn.00450db4
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x420215
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
mov eax, 0
setne al
jmp 0x420244
mov esp, ebp
pop ebp
ret 4

Function at 0x42024a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 5
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
nop
nop
nop
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
mov eax, 0
setne al
jmp 0x420279
mov esp, ebp
pop ebp
ret 4

Function at 0x42027f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [0x4ebdfd], 0
jle 0x4202b7
cmp dword [0x4ebde9], 0
jle 0x4202b7
mov eax, 1
jmp 0x4202b9
xor eax, eax
test eax, eax
je 0x420362
push 1
push dword [0x4ebdfd]
call fcn.00420368
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x420349
push 0x4ebdf9
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
lea eax, [ebp - 8]
push eax
call fcn.004074a7
push eax
push dword [0x4ebde9]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
nop
nop
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420335
push dword [0x4ebde9]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [0x4ebde9], 0
mov dword [0x4ebdfd], 0
push 0x4ebdf9
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
jmp 0x420362
cmp dword [ebp - 4], 0
jne 0x420362
push 0x4ebe91
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4212aa
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x200
push 1
mov ebx, 0x184
call fcn.00455550
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4212ef
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.0040c739
push eax
push 0x200
push 0xd
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
nop
nop
nop
nop
mov eax, dword [ebp - 4]
test eax, eax
je 0x421330
push eax
mov ebx, eax
call fcn.0040106a
inc eax
push eax
call fcn.00450dae
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x421335
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x421346
push ebx
call fcn.00450db4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4