joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b2d
Capabilities:
Send icmp echo request

Disassembly:
push 0xffffffffffffffff
push 0x419a16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
push eax
call sub.WS2_32.dll_htonl
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], bl
lea ebp, [esi + 4]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebp
lea ecx, [esp + 0x40]
push str.__s_:_ping_starting_..._r_n
push ecx
stosb byte es:[edi], al
call fcn.00406c3a
mov edx, dword [0x422520]
add esp, 0xc
mov dword [esp + 0x14], edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x448], ebx
call fcn.0041570b
add esi, 0x448
lea ecx, [esp + 0x14]
push esi
push ecx
call fcn.00401500
add esp, 8
call sub.ICMP.dll_IcmpCreateFile
mov edi, eax
mov dword [esp + 0x10], ebx
push 0x1388
lea edx, [esp + 0x24]
push 0x1c
lea eax, [esp + 0x20]
push edx
push eax
push ebx
push ebx
push ebp
mov byte [esp + 0x34], 0xff
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov dword [esp + 0x38], ebx
call sub.WS2_32.dll_inet_addr
push eax
push edi
call sub.ICMP.dll_IcmpSendEcho
cmp dword [esp + 0x24], ebx
jne 0x401c21
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x401ba3
push edi
call sub.ICMP.dll_IcmpCloseHandle
lea ecx, [esp + 0x14]
mov dword [esp + 0x444], 0xffffffff
call fcn.00415612
mov al, 1
mov ecx, dword [esp + 0x43c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x438
ret
push edi
call sub.ICMP.dll_IcmpCloseHandle
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x3c]
push ebp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x40]
push str.__s_:_host_no_response_r_n
push ecx
call fcn.00406c3a
mov edx, dword [0x422520]
add esp, 0xc
mov dword [esp + 0x10], edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x448], 1
call fcn.0041570b
lea ecx, [esp + 0x10]
push esi
push ecx
call fcn.00401500
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x444], bl
call fcn.00415612
lea ecx, [esp + 0x14]
mov dword [esp + 0x444], 0xffffffff
call fcn.00415612
xor al, al
jmp 0x401c08
Function at 0x401ca0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Get socket status
Set socket configuration

Disassembly:
push 0xffffffffffffffff
push 0x419a2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
lea esi, [ecx + 4]
push edi
push esi
mov word [esp + 0x18], 2
call sub.WS2_32.dll_inet_addr
mov dword [esp + 0x18], eax
mov ax, word [0x421158]
push eax
call sub.WS2_32.dll_htons
mov word [esp + 0x16], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
lea edx, [esp + 0x24]
rep stosd dword es:[edi], eax
mov ecx, dword [0x421158]
stosw word es:[edi], ax
push ecx
push esi
push str.__s_:_connecting_port__d_..._n
push edx
stosb byte es:[edi], al
call fcn.00406c3a
add esp, 0x10
lea ecx, [esp + 8]
push 0x424078
call fcn.0041563c
lea eax, [esp + 0x24]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x234], 0
call fcn.0041570b
lea ecx, [esp + 0x10]
lea edx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x18], 0xff0000
call fcn.00401500
add esp, 8
mov edi, 1
push 6
push edi
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
je 0x401dfd
lea eax, [esp + 0xc]
mov dword [esp + 0xc], edi
push eax
push 0x8004667e
push esi
call sub.WS2_32.dll_ioctlsocket
lea ecx, [esp + 0x14]
push 0x10
push ecx
push esi
call sub.WS2_32.dll_connect
push 0x423840
lea edx, [esp + 0x128]
push 0
push edx
lea eax, [esi + 1]
push 0
push eax
mov dword [esp + 0x13c], esi
mov dword [esp + 0x138], edi
call sub.WS2_32.dll_select
test eax, eax
mov dword [esp + 0xc], eax
je 0x401dfd
cmp eax, 0xffffffff
je 0x401dfd
push 2
push esi
call sub.WS2_32.dll_shutdown
push esi
call sub.WS2_32.dll_closesocket
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00415612
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
add esp, 0x22c
ret
lea ecx, [esp + 8]
mov dword [esp + 0x230], 0xffffffff
call fcn.00415612
mov ecx, dword [esp + 0x228]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x22c
ret
Function at 0x40b5f1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4232e0
cmp edx, dword [eax]
je 0x40b613
add eax, 8
inc ecx
cmp eax, 0x423370
jl 0x40b604
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4232e0]
jne 0x40b741
mov eax, dword [0x426090]
cmp eax, 1
je 0x40b71b
test eax, eax
jne 0x40b644
cmp dword [0x422864], 1
je 0x40b71b
cmp edx, 0xfc
je 0x40b741
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b67b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040bcb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040abe0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b6be
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040abe0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x41d488
push edi
call fcn.00406980
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040bcb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040bcc0
lea eax, [ebp - 0xa0]
push 0x41d468
push eax
call fcn.0040bcc0
push dword [esi + 0x4232e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040bcc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040cff6
add esp, 0x2c
pop edi
jmp 0x40b741
lea eax, [ebp + 8]
lea esi, [esi + 0x4232e4]
push 0
push eax
push dword [esi]
call fcn.0040abe0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x410940
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00407b80
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x410a0b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x410a0b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4109be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4109c9
or bh, 8
and edi, 0x8000000
je 0x4109e4
mov eax, dword [0x42783c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x410a0b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410de0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x410e0b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x410e2f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x410e4a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41455c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41459e
call fcn.0041894e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41459e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x414595
xor eax, eax
jmp 0x4145a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004145ac
pop edi
pop esi
pop ebx
ret 4

Function at 0x418f76
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x418fa4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x418fc2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00418edc
jmp 0x418fc2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x418fc2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00418edc
test edi, edi
mov eax, edi
jne 0x418fac
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4041dd
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0040438d
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4042db
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x40427e
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4042c1
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x404295
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4042b0
test al, 0x40
je 0x4042a7
mov ecx, dword [edi + 0x20]
jmp 0x4042ae
test al, 0x80
je 0x4042c1
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4042c1
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40424d
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x426e20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4cfa70]
xor edx, edx
cmp eax, edx
jne 0x426e46
xor eax, eax
mov byte [eax + 0x4cf970], al
inc eax
cmp eax, 0x100
jl 0x426e2e
mov dword [0x4cfa70], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4cf970
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x426ed7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x426eaa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x426e78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x426f50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x426fa3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x426f8a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d9e0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x42db78
cmp ebp, ebx
jle 0x42db78
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x42da3e
dec eax
or eax, 0xfffffff8
inc eax
je 0x42da45
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x42da54
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x42da5b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046d4db
add esp, 4
cmp eax, ebx
je 0x42da7c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046d4db
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x42db6e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x42db55
mov al, byte [edx]
cmp al, 0xc0
jbe 0x42db41
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x42db36
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x42db44
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x42db44
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x42dae0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x42dad1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x4358e0
Capabilities:
Access peb ldr_data

Disassembly:
insb byte es:[edi], dx
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00432d60
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.004742fb
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
mov eax, dword [esp + 8]
sub esp, 0x20
lea edx, [esp + 0x10]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00436d10
push eax
lea eax, [esp + 8]
push eax
call fcn.00551c4a
jl 0x43588c
jl 0x43592f
add al, 0xff
je 0x435983
push 0
mov ecx, esi
call fcn.00470976
push 1
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.00470976
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
and al, 0xc
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
mov ecx, esi
call fcn.00435990
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
mov ecx, dword [esp + 4]
jne 0x43595a
cmp dword [esp + 0xc], ecx
je 0x43596d
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00435990
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00437aa0
pop esi
add esp, 0x20
ret 0xc
Function at 0x448130
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448163
push esi
call fcn.0044b230
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44815c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4481e9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4481d2
mov eax, dword [esi + 8]
test eax, eax
je 0x448187
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4481ce
cmp eax, 2
je 0x4481d2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44817a
cmp eax, 3
je 0x4481ad
cmp eax, 1
jne 0x44817a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44817a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44817a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448210
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4481f8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448210
add esp, 4
pop esi
ret
Function at 0x4f14d0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x4f1508
jmp 0x4f14ec
lea esp, [esp + 4]
jmp 0x4f14b3
jmp 0x4f1524
jmp 0x4f1540
push ebx
jmp 0x4f155c
jmp 0x4f1578
push ebp
jmp 0x4f1594
jmp 0x4f15b0
push esi
jmp 0x4f15cc
jmp 0x526164
push edi
movzx edx, byte [eax]
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x4fae50]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x4fae50]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x4fae50]
xor eax, edi
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x4fae50]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.00512ee4
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x4fae50]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x4fae50]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x4fae50]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x4fae50]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x4fc678
jne 0x526266
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4f48a1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jmp 0x4f48bd
lea esp, [esp + 4]
jmp 0x52716e
jmp 0x4f48f5
jmp fcn.0052a3eb
jmp 0x4f48d9

Function at 0x4f4997
Capabilities:
Get storage device properties

Disassembly:
jmp 0x4f49b3
lea esp, [esp + 4]
jmp 0x52aeb9
jmp 0x4f49eb
jmp 0x4f4a07
push ebp
jmp 0x4f4a23
jmp 0x4f4a3f
mov ebp, esp
jmp 0x4f4a5b
jmp 0x4f4a77
sub esp, 0x224
jmp 0x4f4a93
jmp 0x4f4abc
push ebx
jmp 0x52af5e
jmp 0x4f49cf
inc dword [ebp - 4]
cmp dword [ebp - 8], esi
jmp 0x52b149
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
push esi
xor esi, esi
push edi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov ebx, 0x428
cmp dword [ebp - 4], 4
jae 0x52af14
push dword [ebp - 4]
lea eax, [ebp - 0x224]
push 0x4fc678
push eax
call fcn.005048f9
add byte [ebx + 0x4ff30c05], cl
add byte [ebx - 0x3b7cfbc0], cl
or al, 0x56
push esi
push 3
push esi
push 7
push esi
lea ecx, [ebp - 0x224]
push ecx
call eax
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x52aef5
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
push 8
push dword [0x4ff2d0]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
call dword [fcn.004ff2f4]
push esi
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
push dword [ebp - 0xc]
call fcn.005048c8
add byte [ebp - 0x2b7bf040], al
invalid
je 0x52af6e
jmp 0x52af14