joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405f10
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4185b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4212d0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov eax, dword [0x4212d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov word [esp + 0x49], ax
mov byte [esp + 0x4b], al
mov eax, ecx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x405f82
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00403a90
mov dword [esp + 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x41e5d0
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.0040eb9d
add esp, 0x10
push 0x19
push str.__try__temporary__file__
lea eax, [esp + 0x18]
call fcn.00402ad0
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405fd0
sub eax, edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x18]
call fcn.00402ad0
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x405ff7
lea eax, [esp + 0x14]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40604b
push ebx
lea edx, [esp + 0x10]
push edx
push 0x20
lea eax, [esp + 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x28], 0x10
mov eax, dword [esp + 0x14]
jae 0x406044
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x28], 0x10
jb 0x40605f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0040eded
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.0040e340
add esp, 0x50
ret

Function at 0x406080
Capabilities:
Get disk information

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4212d0]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
mov cl, 0x5c
cmp byte [eax], cl
jne 0x406101
cmp byte [eax + 1], cl
jne 0x406101
cmp byte [eax + 2], 0x3f
jne 0x406101
cmp byte [eax + 3], cl
jne 0x406101
cmp byte [eax + edx - 1], cl
jne 0x406101
lea ecx, [esp]
push ecx
push 0x104
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
test eax, eax
je 0x406101
cmp dword [esp], 2
jbe 0x406101
mov al, byte [esp + 4]
cmp al, 0x43
jl 0x4060e2
cmp al, 0x5a
jle 0x4060e8
sub al, 0x63
cmp al, 0x17
ja 0x406101
mov al, 1
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0040e340
add esp, 0x10c
ret 4
mov ecx, dword [esp + 0x108]
xor ecx, esp
xor al, al
call fcn.0040e340
add esp, 0x10c
ret 4
Function at 0x406640
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x418578
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4212d0]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4212d0]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
xor ebx, ebx
mov edi, ecx
mov esi, edx
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
push 0x40
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0xa0], ebx
call fcn.00413190
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, esi
add esp, 0xc
or dword [esp + 0x54], 0x100
mov dword [esp + 0x68], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x44
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4066e0
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.00403a90
push 1
push 0x41e460
lea eax, [esp + 0x74]
call fcn.00402ad0
push 0x26
push str.usb_redirector_customer_module_gui.exe
lea eax, [esp + 0x74]
call fcn.00402ad0
mov eax, dword [esp + 0x70]
mov edi, 0x10
cmp dword [esp + 0x84], edi
jae 0x40672a
lea eax, [esp + 0x70]
push eax
push ebp
mov ecx, str.Launch_path:
call fcn.004029e0
mov eax, dword [esp + 0x70]
cmp dword [esp + 0x84], edi
jae 0x406747
lea eax, [esp + 0x70]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4067cd
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x84], edi
jb 0x4067a6
mov eax, dword [esp + 0x70]
push eax
call fcn.0040eded
add esp, 4
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0040e340
add esp, 0x84
ret 4
push 8
call fcn.0040eee1
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4067fb
mov cx, word [0x422e18]
mov edx, 0x82
mov word [esi], cx
mov word [esi + 2], dx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x4067fd
xor esi, esi
push 0x41f244
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], esi
call fcn.0040f38b
int3
Function at 0x409540
Capabilities:
Get file size
Read file on windows
Set registry value
Write file on windows

Disassembly:
push ecx
cmp dword [esi + 0x14], 0
je 0x409560
mov ecx, dword [esi + 0xc]
push 4
lea eax, [esi + 0x1c]
push eax
push 4
push 0
push str.LogLevel
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esi + 0x20]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 8], eax
cmp eax, 0xffffffff
je 0x409633
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [esi + 0x18]
cmp edi, eax
jbe 0x409628
sub edi, eax
cmp edi, 0x200000
jae 0x409628
push ebx
push 0
push 0
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
push 0x3000
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
je 0x409627
mov edx, dword [esi + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x409619
push str._SetupApi_log_begin_
xor ecx, ecx
mov edx, esi
call fcn.00409640
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push 0
lea eax, [esp + 0xc]
push eax
push ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push str._SetupApi_log_end_
xor ecx, ecx
mov edx, esi
call fcn.00409640
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop ebx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ecx
ret

Function at 0x4096b0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x409730
test esi, esi
je 0x409730
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4096d2
push 0
lea ecx, [esp + 8]
push ecx
sub eax, edx
mov edx, dword [edi + 4]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push edx
call esi
test eax, eax
je 0x409730
test ebx, ebx
je 0x40971c
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x409700
push 0
lea ecx, [esp + 8]
push ecx
sub eax, edx
mov edx, dword [edi + 4]
push eax
push ebx
push edx
call esi
test eax, eax
je 0x409730
mov ecx, dword [edi + 4]
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x41e8e8
push ecx
call esi
pop esi
pop ecx
ret
Function at 0x40e340
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4212d0]
jne 0x40e34a
repz ret
jmp fcn.0040f826

Function at 0x413c3e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00413871
push eax
push esi
push dword [ebp + 8]
call fcn.00413826
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00413871
push eax
push esi
push dword [ebp + 8]
call fcn.00413826
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00413861
mov ecx, 0x8828da7e
popfd
jl 0x413ce6
invalid
invalid
Function at 0x416bed
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00410431
and dword [ebp - 4], 0
cmp dword [0x422d04], 0
mov ebx, eax
jne 0x416c9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416d4f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41d944
push edi
call esi
test eax, eax
je 0x416d4f
push eax
call fcn.004103bf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x422d04], eax
call esi
push eax
call fcn.004103bf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422d08], eax
call esi
push eax
call fcn.004103bf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422d0c], eax
call esi
push eax
call fcn.004103bf
pop ecx
mov dword [0x422d14], eax
test eax, eax
je 0x416c9e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004103bf
pop ecx
mov dword [0x422d10], eax
mov eax, dword [0x422d10]
cmp eax, ebx
je 0x416cf6
cmp dword [0x422d14], ebx
je 0x416cf6
push eax
call fcn.0041043a
push dword [0x422d14]
mov esi, eax
call fcn.0041043a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x416cf6
test edi, edi
je 0x416cf6
call esi
test eax, eax
je 0x416ced
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416ced
test byte [ebp - 0xc], 1
jne 0x416cf6
or dword [ebp + 0x10], 0x200000
jmp 0x416d2f
mov eax, dword [0x422d08]
cmp eax, ebx
je 0x416d2f
push eax
call fcn.0041043a
pop ecx
test eax, eax
je 0x416d2f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416d2f
mov eax, dword [0x422d0c]
cmp eax, ebx
je 0x416d2f
push eax
call fcn.0041043a
pop ecx
test eax, eax
je 0x416d2f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x422d04]
call fcn.0041043a
pop ecx
test eax, eax
je 0x416d4f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416d51
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40de38
mov ecx, 0x736305a4
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x3f4e7ccd
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x423f3d54
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xda875cc
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

Function at 0x430000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x42c2ec
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c30c
sub eax, 4
mov eax, dword [eax]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42c326
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c321
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x42c32b
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42c399
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42c3e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c357
inc dword [ebp - 0xc]
jmp 0x42c36f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42c36f
cmp dword [ebp - 0xc], 0
jle 0x42c36f
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42c391
xor eax, eax
jmp 0x42c38d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c38c
mov eax, esi
jmp 0x42c3e5
inc eax
cmp eax, ecx
jle 0x42c379
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c343
jmp 0x42c3e2
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42c3e2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42c3ba
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42c3dc
xor eax, eax
jmp 0x42c3d8
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42c3d7
mov eax, esi
jmp 0x42c3e5
inc eax
cmp eax, ecx
jle 0x42c3c4
inc esi
cmp esi, dword [ebp - 8]
jl 0x42c3a2
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42c7a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42c7bf
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42c7cf
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42c8f1
test ebx, ebx
jl 0x42c8f1
test esi, esi
jle 0x42c8f1
mov eax, dword [ebp - 8]
call 0x140b278
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call 0x140b278
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42c88e
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42c8f1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c873
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c842
inc dword [ebp - 0x14]
jmp 0x42c852
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42c852
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42c85d
or eax, 0xffffffff
jmp 0x42c873
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c870
inc eax
jmp 0x42c873
or eax, 0xffffffff
test eax, eax
jl 0x42c87b
cmp esi, eax
jg 0x42c830
cmp esi, eax
jg 0x42c886
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c8f4
inc edx
dec dword [ebp - 0x1c]
jne 0x42c82c
jmp 0x42c8f1
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42c8f1
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42c8d8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42c8b7
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42c8c2
or eax, 0xffffffff
jmp 0x42c8d8
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42c8d5
inc eax
jmp 0x42c8d8
or eax, 0xffffffff
test eax, eax
jl 0x42c8e0
cmp esi, eax
jg 0x42c8a0
cmp esi, eax
jg 0x42c8eb
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42c8f4
inc edx
dec dword [ebp - 0x1c]
jne 0x42c89c
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x62cbec
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
xor eax, eax
push ebp
push 0x62ce35
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [ebp - 0x11d0]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11cc]
call 0x16291c0
cmp dword [ebp - 0x1084], 0x418
jle 0x62ccae
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 0x1004]
mov ax, 0xeb
call 0x15cd844
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x41baa4]
call 0x1429020
call 0x14098c4
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call 0x140a998
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call 0x162c508
mov edx, dword [ebp - 0x11ec]
mov eax, dword [ebp - 0x11d0]
add eax, 0x14
call 0x140a5a8
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call 0x140a998
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
call 0x162c508
mov edx, dword [ebp - 0x11f4]
mov eax, dword [ebp - 0x11d0]
add eax, 0x18
call 0x140a5a8
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [ebp - 0x11d0]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x62cdf6
push ebp
mov eax, esi
mov edx, 0xa
call 0x162cb74
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [ebp - 0x11d0]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call 0x1629960
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x62cd93
push ebp
call 0x162c9cc
pop ecx
xor eax, eax
push ebp
push 0x62cdc4
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call 0x162cb74
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62cdde
mov edx, dword [ebp - 0x11e4]
mov eax, dword [ebp - 0x11d0]
call 0x162999c
dec ebx
jne 0x62cd58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62ce3c
lea eax, [ebp - 0x11f8]
call 0x140a1ec
lea eax, [ebp - 0x11f4]
call 0x140a1c8
lea eax, [ebp - 0x11f0]
call 0x140a1ec
lea eax, [ebp - 0x11ec]
mov edx, 2
call 0x140a228
ret