joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a3d5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44a4ed
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44a4ed
mov eax, dword [esi + 0x3c]
push eax
call fcn.00466134
mov esi, eax
test esi, esi
je 0x44a4ed
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44a4ed
mov ecx, esi
call fcn.0044a340
cmp edi, eax
jge 0x44a4ed
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44a473
mov dword [esp + 0x34], 1
jmp 0x44a4ce
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44a4ed
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449900
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x44c3d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44c436
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44c436
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44c417
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44cf70
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044d0c0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44cf90
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44cf71
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044d0c0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44cf90
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44cfc0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44d017
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44d02d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044d050
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44d050
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44d0e0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44d129
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44d5a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472e10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d150
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d1d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d1d0
lea ecx, [esi + 0xc]
call fcn.004646be
lea ecx, [esi + 0x10]
call fcn.004646be
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044fa00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044fa00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044fa00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00464733
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00464733
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44e248
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473038
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44e258
call fcn.0044e770
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44e33b
cmp byte [edi], 0
je 0x44e33b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44e27d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044cf70
test eax, eax
jne 0x44e29d
push 0x4a4518
lea ecx, [esi + 0x38]
call fcn.00464870
jmp 0x44e33b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044cfc0
test eax, eax
jne 0x44e2cc
mov ecx, esi
call fcn.0044d0c0
push edi
add esi, 0x38
push 0x4a44f4
push esi
call fcn.00462537
add esp, 0xc
jmp 0x44e33b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044eff0
test eax, eax
je 0x44e334
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044e410
test eax, eax
jne 0x44e350
push edi
lea eax, [esi + 0x38]
push 0x4a44d0
push eax
call fcn.00462537
add esp, 0xc
mov ecx, esi
call fcn.0044e770
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44e3f8
mov ecx, dword [0x4a4848]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.00462537
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044d070
test eax, eax
jne 0x44e3ba
push 0x4a44b4
lea ecx, [esi + 0x38]
call fcn.00464870
jmp 0x44e3ca
push 0xfa
mov ecx, esi
call fcn.0044eff0
test eax, eax
jne 0x44e3e7
mov ecx, esi
call fcn.0044e770
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00464733
jmp 0x44e33b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00464733
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x466ad7
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466b0f
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00464b8e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464b66
jmp 0x466b1b
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4681ca
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 0x46820c
call fcn.0046dd46
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46820c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x468203
xor eax, eax
jmp 0x468214
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046821a
pop edi
pop esi
pop ebx
ret 4

Function at 0x46e276
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 0x46e2a4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46e2c2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046e1dc
jmp 0x46e2c2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46e2c2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046e1dc
test edi, edi
mov eax, edi
jne 0x46e2ac
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x405b83
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push ebx
push esi
mov eax, dword [0x408190]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
cmp edi, ebx
je 0x4011a9
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4011a9
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x4011a9
lea ecx, [esp + 0x54]
call fcn.00404140
lea ecx, [esp + 0xc]
mov dword [esp + 0xa8], ebx
call fcn.00404140
push edi
mov byte [esp + 0xac], 1
call esi
test eax, eax
jne 0x4011c0
mov eax, str.__xml_version_1.0__encoding_UTF_8_____n_Plugins__n__Plugins_
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x401163
push 1
push 1
sub eax, edx
push eax
push str.__xml_version_1.0__encoding_UTF_8_____n_Plugins__n__Plugins_
lea ecx, [esp + 0x1c]
call fcn.004043c0
test al, al
jne 0x4011cf
lea ecx, [esp + 0xc]
mov byte [esp + 0xa8], bl
call fcn.00401060
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00401060
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
push edi
lea ecx, [esp + 0x14]
call fcn.00404c80
test al, al
je 0x401185
mov eax, dword [ebp + 8]
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00404c80
test al, al
lea ecx, [esp + 0xc]
je 0x401189
push str.plugin
push ecx
lea ecx, [esp + 0x5c]
call fcn.00401270
add esp, 8
test eax, eax
jl 0x401185
lea edx, [esp + 0xc]
push 0x406b10
push edx
lea ecx, [esp + 0x5c]
call fcn.00401270
add esp, 8
test eax, eax
jl 0x401185
push edi
lea ecx, [esp + 0x10]
call fcn.00404530
lea ecx, [esp + 0xc]
movzx esi, al
mov byte [esp + 0xa8], bl
call fcn.00401060
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], 0xffffffff
call fcn.00401060
mov eax, esi
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x405ac3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0xc], esi
call fcn.00403cd0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.QMTinyxml::TiXmlDocument.0
mov dword [esp + 0x14], ebx
mov dword [ecx], 0x408260
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x406660
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00404ee0
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4041c0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x405988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
mov ebx, ecx
jne 0x404201
push esi
push esi
push esi
push 2
call fcn.00401b80
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push ebp
push edi
call fcn.00403540
mov ebp, dword [sym.imp.MSVCR80.dll_fseek]
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call ebp
push esi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call ebp
add esp, 0x1c
test edi, edi
jg 0x40425b
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00401b80
pop edi
pop ebp
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov dword [esp + 0x10], 0x408260
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00404e50
lea eax, [edi + 1]
push eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
push esi
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x4042e2
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00401b80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
cmp eax, 0x408260
je 0x4042cb
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, ebp
mov esi, ebp
je 0x404352
mov cl, byte [esi]
cmp cl, 0xa
jne 0x404310
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404fc0
add esi, 1
mov eax, esi
jmp 0x40434d
cmp cl, 0xd
jne 0x40434a
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x404328
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00404fc0
push 1
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0xa
call fcn.00404fc0
cmp byte [esi + 1], 0xa
jne 0x404309
add esi, 2
mov eax, esi
jmp 0x40434d
add esi, 1
cmp byte [esi], 0
jne 0x4042f0
sub esi, eax
je 0x404361
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404fc0
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
jne 0x4042bb
cmp eax, 0x408260
je 0x4043a8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x411041
Capabilities:
Terminate process

Disassembly:
jmp 0x418840
jmp fcn.00419840
cmp ecx, dword [0x421048]
jne 0x41884a
repz ret
jmp 0x411168
Function at 0x6dab40
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x420]
lea edi, [esi + 0x420]
test eax, eax
jne 0x6dab72
lea eax, [esi + 0x424]
push eax
push edi
push 0x5a8fb4
push 0
call 0x902881
jne 0x6dabba
call fcn.006e3ce0
add esp, 0x10
mov edx, dword [esp + 0xc]
mov ecx, dword [edi]
pop edi
mov dword [edx], ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x424]
pop esi
mov dword [ecx], eax
ret 8
xchg byte [edx + eax], dh
add byte [eax], al
Function at 0x6db120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484a78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.006d6020
test eax, eax
jne 0x6db18c
push ebp
push 0x5a8fd8
mov ecx, edi
call fcn.006da3a0
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.006d5ba0
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.006c1a00
push ebx
mov dword [esp + 0x4c], ebp
call fcn.006d61d0
add esp, 4
test eax, eax
je 0x6db22f
add esi, 0x18
push esi
call fcn.006c2450
add esi, eax
push esi
call fcn.006c2450
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x6db532
jmp dword [ecx*4 + 0x425570]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.006da4e0
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.006c2450
add esi, eax
push esi
call fcn.006c2450
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x6db280
mov ecx, dword [esi + 0x1c]
push ecx
call dword [0x488558]
test eax, eax
je 0x6db280
mov eax, 1
jmp 0x6db282
xor eax, eax
cmp ebx, 8
jge 0x6db4e7
cmp ebx, 7
ja 0x6db532
jmp dword [ebx*4 + 0x425580]
test eax, eax
jne 0x6db4fa
mov ecx, dword [esp + 0x10]
push eax
push 0x5a8fc4
call fcn.006da3a0
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.006dba40
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x590810
call fcn.006c1c00
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x6e4160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c0ca0]
xor edx, edx
cmp eax, edx
jne 0x6e4186
xor eax, eax
mov byte [eax + 0x5c0ba0], al
inc eax
cmp eax, 0x100
jl 0x6e416e
mov dword [0x5c0ca0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c0ba0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x6e4217
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 0x6e41ea
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 0x6e41b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x6e4290
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 0x6e42e3
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 0x6e42ca
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 0x6eaea0
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 0x6eb038
cmp ebp, ebx
jle 0x6eb038
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 0x6eaefe
dec eax
or eax, 0xfffffff8
inc eax
je 0x6eaf05
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x6eaf14
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x6eaf1b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0072bfd7
add esp, 4
cmp eax, ebx
je 0x6eaf3c
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.0072bfd7
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 0x6eb02e
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 0x6eb015
mov al, byte [edx]
cmp al, 0xc0
jbe 0x6eb001
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x6eaff6
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 0x6eb004
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x6eb004
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x6eafa0
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 0x6eaf91
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