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

Disassembly:
push 8
push 0x240
mov eax, 0x5c2ce4
call fcn.005bf61f
mov dword [ebp - 0x23c], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x40e169
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
mov ecx, eax
mov dword [ebp - 0x28], edx
cmp dword [eax + 0x14], 0x10
jb 0x40e17f
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x250], 0xbba
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - method.fmt::v5::basic_memory_buffer_char__128__class_std::allocator_char__.virtual_0], vtable.fmt::v5::basic_memory_buffer_char__500__class_std::allocator_char__.0
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x22c], 0x1f4
sub esp, 0x10
mov dword [ebp - 4], ecx
mov edi, esp
lea esi, [ebp - 0x250]
lea edx, [ebp - 0x238]
lea ecx, [ebp - 0x240]
push 0x21
movsd dword es:[edi], dword [esi]
push str.__LOG_ERROR__________n
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041567b
push dword [ebp - 0x23c]
push dword [ebp - 0x230]
push 1
push dword [ebp - 0x234]
call fcn.00596121
add esp, 0x28
lea ecx, [ebp - 0x238]
call fcn.004141b9
mov ecx, dword [ebp - 0x14]
call fcn.005bf5fa
ret
Function at 0x41a7f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x81c]
mov dword [ebp - 0x81c], 0
call fcn.004097c1
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x81c]
mov ecx, dword [ebx]
push 0
call fcn.00433e30
add esp, 4
or edi, 0xffffffff
test eax, eax
jne 0x41a8b0
mov ebx, dword [ebx]
mov ecx, dword [ebx + 8]
mov edi, ecx
mov eax, dword [ebx + 0x10]
sub edi, dword [eax]
sub edi, 8
mov dword [ecx], 0x41b4a0
mov dword [ecx + 4], 0x7ff7a516
mov ecx, ebx
add dword [ebx + 8], 8
sar edi, 3
mov edx, edi
call fcn.004310e0
push 0
push ecx
push edi
push 0
xor edx, edx
mov ecx, ebx
call fcn.00432480
add esp, 0x10
mov edx, edi
mov ecx, ebx
mov esi, eax
call fcn.00431050
xor ebx, ebx
test esi, esi
sete bl
or edi, 0xffffffff
jmp 0x41a9cd
mov esi, dword [ebx]
mov dword [ebp - 0x818], 0
mov ecx, dword [esi + 8]
sub ecx, 8
mov eax, dword [ecx + 4]
or eax, 0x70
cmp eax, 0x7ff7a574
je 0x41a8f6
mov edx, ecx
mov ecx, esi
call fcn.00436d40
test eax, eax
jne 0x41a8e0
xor edx, edx
jmp 0x41a8fb
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x41a8f0
mov ecx, esi
call fcn.0043c530
mov ecx, dword [esi + 8]
sub ecx, 8
mov edx, dword [ecx]
add edx, 0x10
lea ecx, [ebp - 0x818]
call fcn.00409c4a
mov eax, dword [ebx]
push 0x7f8
push 0
add dword [eax + 8], 0xfffffff8
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x814], eax
mov eax, dword [0x5fd6e4]
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x80c]
push eax
call fcn.0058d810
add esp, 0xc
lea eax, [ebp - 0x80e]
push dword [ebp - 0x818]
push str._s_r_n
push eax
call fcn.0040988e
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x814]
add esp, 0xc
push eax
call esi
mov eax, dword [0x5fd6e0]
mov dword [ebp - 0x814], eax
mov eax, dword [0x5fd6e4]
push 0x7f8
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0058d810
add esp, 0xc
lea eax, [ebp - 0x80e]
push str.luaL_loadbuffer_failed__r_n
push eax
call fcn.0040988e
add esp, 8
lea eax, [ebp - 0x814]
push eax
call esi
mov edx, dword [ebp - 0x818]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41a9cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor ebx, ebx
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
mov dword [ebp - 4], 3
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41a9ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret 4
Function at 0x41aa10
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3bf8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
call fcn.00405c3d
mov ecx, eax
test ecx, ecx
je 0x41ab82
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 1
mov ebx, 1
mov eax, dword [esi - 8]
mov ecx, ebx
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x41aa8b
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0040595f
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x104
jl 0x41ab8c
push esi
xor eax, eax
mov dword [esi - 0xc], 0x104
push 0x104
mov word [esi + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [esi - 8]
push esi
call fcn.00594b19
add esp, 8
test eax, eax
js 0x41ab8c
cmp eax, dword [esi - 8]
jg 0x41ab8c
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov byte [ebp - 4], 2
test edi, edi
je 0x41ab96
push edi
push esi
mov byte [ebp - 4], 1
call fcn.00594dfb
add esp, 8
test eax, eax
jne 0x41ab47
mov ecx, dword [esi - 0xc]
test ecx, ecx
js 0x41aba0
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, ecx
or eax, ebx
jge 0x41ab1b
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040595f
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push dword [esi - 8]
push esi
call fcn.00594b19
add esp, 8
test eax, eax
js 0x41ab8c
cmp eax, dword [esi - 8]
jg 0x41ab8c
xor ecx, ecx
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
add esi, 0xfffffff0
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41ab66
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00405d25
push 0x80070057
call fcn.00405d25
push 0x80004005
call fcn.00405d25
push 0x80070057
call fcn.00405d25
int3
Function at 0x42e8f0
Capabilities:
Acquire debug privileges
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4c98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x42e928
lea eax, [ecx + 1]
jmp 0x42e9ec
push esi
push 0x42e3f0
call dword [sym.imp.USER32.dll_EnumWindows]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0042eb80
mov dword [ebp - 0x1c], eax
mov edx, 1
mov dword [ebp - 4], 0
mov ecx, str.SeDebugPrivilege
call fcn.0042e4a0
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x42e99a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x57
sete bl
jmp 0x42e9cb
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42e9b3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
push esi
sbb ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
push eax
push dword [eax]
lea eax, [ebp - 0x24]
push eax
call fcn.0042efd0
push 0x18
push dword [ebp - 0x1c]
call fcn.00539e76
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret

Function at 0x42ea40
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x228
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0058d810
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x42eb2d
cmp dword [ebp - 0x228], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jne 0x42eacd
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call ebx
test eax, eax
je 0x42eb2d
cmp dword [ebp - 0x228], 0
jne 0x42eacd
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0042ea10
test eax, eax
je 0x42eb2d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call ebx
test eax, eax
je 0x42eb2d
cmp dword [ebp - 0x228], 0
jne 0x42eafd
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0042ea10
test eax, eax
je 0x42eb2d
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x234]
call edi
test eax, eax
jne 0x42ead7
mov eax, dword [ebp - 0x228]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00539e65
mov esp, ebp
pop ebp
ret 4
Function at 0x430390
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4e30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x624500]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], edx
mov edi, ecx
mov esi, dword [ebx + 8]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 1
push eax
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], 0xc
push esi
mov edx, edi
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
call fcn.0042fff0
add esp, 4
push dword [eax]
lea eax, [ebp - 0x34]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edx, dword [ebp - 0x38]
mov esi, eax
add edx, 0xfffffff0
mov dword [ebp - 4], 0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x430460
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x43048d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43048d
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x430489
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov eax, esi
jmp 0x43048f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00539e65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x430de0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov ebx, eax
push esi
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [ebp - 4]
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 8]
push ebx
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434f00
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x624500]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x180
push 8
push 0
push eax
mov dword [esp + 0x20], eax
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x434f48
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00539e65
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
lea esi, [edi + 0x70]
mov dword [edi], 0
mov byte [edi + 4], 8
mov byte [esi + 0x34], 0x21
mov byte [edi + 5], 1
mov byte [esi + 0x36], 0
mov dword [edi + 0xc], esi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x24], 1
mov dword [edi + 0x34], 0
mov word [edi + 0x28], 0x100
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x38], 0
mov byte [edi + 6], 0
mov dword [edi + 0x44], 0
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
push 0
mov dword [esi], ebx
mov dword [esi + 0x9c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x5fe518
mov dword [esp + 0x24], fcn.00434f00
call fcn.00596346
mov edx, eax
add esp, 4
xor edx, 0x10
mov ebx, 0x10
movzx ecx, byte [esp + ebx + 0x13]
mov eax, edx
shl eax, 5
dec ebx
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
cmp ebx, 1
jae 0x434ff3
mov dword [esi + 0x30], edx
lea eax, [esi + 0x68]
mov dword [esi + 0x78], eax
mov edx, 0x434c50
mov dword [esi + 0x7c], eax
mov ecx, edi
mov byte [esi + 0x37], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 0x7ff7a500
mov dword [esi + 0x80], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa0], 0x5fe498
mov byte [esi + 0x35], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 8], 0x180
mov dword [esi + 0xc], 0
mov dword [esi + 0x8c], 0xc8
mov dword [esi + 0x90], 0xc8
mov dword [esi + 0x94], 0xc8
push 0
mov dword [esi + 0xec], 0
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
call fcn.00439410
add esp, 4
test eax, eax
je 0x435157
mov ecx, edi
call fcn.00434dc0
xor edi, edi
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00539e65
mov esp, ebp
pop ebp
ret
Function at 0x439b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
je 0x439cfb
nop dword [eax]
mov al, byte [esi + 0x12]
test al, 1
jne 0x439bac
mov ecx, esi
test al, 0x10
je 0x439b6b
and al, 0xef
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x20]
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x44], eax
cmp word [esi + 0x10], 0xffff
jne 0x439b7d
mov eax, dword [ebx + 8]
cmp dword [ecx + 4], eax
jae 0x439b7d
mov dword [ecx + 4], eax
mov al, byte [esi + 0x12]
test al, 0x20
jne 0x439b88
mov byte [esi + 0x25], 1
and al, 0xcf
or al, 8
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x1c]
push ebx
call eax
mov edx, dword [ebx + 8]
add esp, 4
shl eax, 3
mov ecx, ebx
sub edx, eax
call fcn.00439a00
jmp 0x439ced
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x10], edi
mov ecx, dword [eax - 4]
mov edx, ecx
and edx, 0x3f
mov dword [esp + 0x14], ecx
lea eax, [edx - 6]
cmp eax, 0x1c
ja case.0x439bd5.8
movzx eax, byte [eax + 0x439d1c]
jmp dword [eax*4 + 0x439d04]
add dword [ebx + 8], 0xfffffff8
mov edx, dword [ebx + 8]
shr ecx, 6
movzx ecx, cl
mov eax, dword [edx]
mov dword [edi + ecx*8], eax
mov eax, dword [edx + 4]
mov dword [edi + ecx*8 + 4], eax
jmp case.0x439bd5.8
mov eax, dword [ebx + 8]
mov edi, dword [eax - 4]
cmp edi, 0x7ff7a500
je 0x439c1d
cmp edi, 0x7ff7a501
jne 0x439c16
cmp dword [eax - 8], 0
je 0x439c1d
mov edi, 1
jmp 0x439c1f
xor edi, edi
add eax, 0xfffffff8
mov dword [ebx + 8], eax
cmp edx, 0x1a
jne 0x439c52
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 0x17
push 0xe
lea edx, [ecx + eax*8]
mov ecx, ebx
call fcn.0043dc20
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 4], 0x7ff7a500
jne 0x439c52
xor edi, 1
shr ecx, 6
movzx eax, cl
cmp edi, eax
je case.0x439bd5.8
add dword [esi + 0x1c], 4
jmp case.0x439bd5.8
mov edx, dword [ebx + 8]
mov eax, ecx
shr eax, 0x17
sub edx, 8
mov dword [esp + 0x10], edx
lea eax, [eax*8 + 8]
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub eax, edi
sar eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov edi, dword [esp + 0x10]
mov dword [edx - 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx - 0xc], eax
cmp edi, 1
jle 0x439cb7
lea eax, [edx - 8]
mov ecx, ebx
mov edx, edi
mov dword [ebx + 8], eax
call fcn.00437640
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x18]
shr ecx, 6
movzx edi, cl
mov ecx, dword [ebx + 8]
mov eax, dword [ecx - 8]
mov dword [edx + edi*8], eax
mov eax, dword [ecx - 4]
mov dword [edx + edi*8 + 4], eax
jmp case.0x439bd5.34
and ecx, 0x7fc000
cmp ecx, 0x4000
jb case.0x439bd5.8
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00437de0
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
jne 0x439b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439bdc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
je 0x439cfb
nop dword [eax]
mov al, byte [esi + 0x12]
test al, 1
jne 0x439bac
mov ecx, esi
test al, 0x10
je 0x439b6b
and al, 0xef
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x20]
mov ecx, dword [ebx + 0x10]
mov dword [ebx + 0x44], eax
cmp word [esi + 0x10], 0xffff
jne 0x439b7d
mov eax, dword [ebx + 8]
cmp dword [ecx + 4], eax
jae 0x439b7d
mov dword [ecx + 4], eax
mov al, byte [esi + 0x12]
test al, 0x20
jne 0x439b88
mov byte [esi + 0x25], 1
and al, 0xcf
or al, 8
mov byte [esi + 0x12], al
mov eax, dword [esi + 0x1c]
push ebx
call eax
mov edx, dword [ebx + 8]
add esp, 4
shl eax, 3
mov ecx, ebx
sub edx, eax
call fcn.00439a00
jmp 0x439ced
mov eax, dword [esi + 0x1c]
mov edi, dword [esi + 0x18]
mov dword [esp + 0x10], edi
mov ecx, dword [eax - 4]
mov edx, ecx
and edx, 0x3f
mov dword [esp + 0x14], ecx
lea eax, [edx - 6]
cmp eax, 0x1c
ja case.0x439bd5.8
movzx eax, byte [eax + 0x439d1c]
jmp dword [eax*4 + 0x439d04]
add dword [ebx + 8], 0xfffffff8
mov edx, dword [ebx + 8]
shr ecx, 6
movzx ecx, cl
mov eax, dword [edx]
mov dword [edi + ecx*8], eax
mov eax, dword [edx + 4]
mov dword [edi + ecx*8 + 4], eax
jmp case.0x439bd5.8
mov eax, dword [ebx + 8]
mov edi, dword [eax - 4]
cmp edi, 0x7ff7a500
je 0x439c1d
cmp edi, 0x7ff7a501
jne 0x439c16
cmp dword [eax - 8], 0
je 0x439c1d
mov edi, 1
jmp 0x439c1f
xor edi, edi
add eax, 0xfffffff8
mov dword [ebx + 8], eax
cmp edx, 0x1a
jne 0x439c52
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 0x17
push 0xe
lea edx, [ecx + eax*8]
mov ecx, ebx
call fcn.0043dc20
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 4], 0x7ff7a500
jne 0x439c52
xor edi, 1
shr ecx, 6
movzx eax, cl
cmp edi, eax
je case.0x439bd5.8
add dword [esi + 0x1c], 4
jmp case.0x439bd5.8
mov edx, dword [ebx + 8]
mov eax, ecx
shr eax, 0x17
sub edx, 8
mov dword [esp + 0x10], edx
lea eax, [eax*8 + 8]
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
sub eax, edi
sar eax, 3
mov dword [esp + 0x10], eax
mov eax, dword [edx]
mov edi, dword [esp + 0x10]
mov dword [edx - 0x10], eax
mov eax, dword [edx + 4]
mov dword [edx - 0xc], eax
cmp edi, 1
jle 0x439cb7
lea eax, [edx - 8]
mov ecx, ebx
mov edx, edi
mov dword [ebx + 8], eax
call fcn.00437640
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x18]
shr ecx, 6
movzx edi, cl
mov ecx, dword [ebx + 8]
mov eax, dword [ecx - 8]
mov dword [edx + edi*8], eax
mov eax, dword [ecx - 4]
mov dword [edx + edi*8 + 4], eax
jmp case.0x439bd5.34
and ecx, 0x7fc000
cmp ecx, 0x4000
jb case.0x439bd5.8
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00437de0
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
jne 0x439b50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b600
Capabilities:
Enumerate pe sections

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
movzx eax, byte [esi + 4]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x43b61d.11
movzx eax, byte [eax + 0x43b7ac]
jmp dword [eax*4 + 0x43b784]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0xc]
shl eax, 2
push 0
push eax
call fcn.0043dd50
mov eax, dword [esi + 0x38]
mov ecx, edi
mov edx, dword [esi + 0x10]
shl eax, 2
push 0
push eax
call fcn.0043dd50
mov eax, dword [esi + 0x2c]
mov ecx, edi
mov edx, dword [esi + 8]
shl eax, 3
push 0
push eax
call fcn.0043dd50
mov eax, dword [esi + 0x34]
mov ecx, edi
mov edx, dword [esi + 0x14]
shl eax, 2
push 0
push eax
call fcn.0043dd50
mov eax, dword [esi + 0x3c]
mov ecx, edi
mov edx, dword [esi + 0x18]
push 0
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.0043dd50
mov eax, dword [esi + 0x28]
mov ecx, edi
mov edx, dword [esi + 0x1c]
shl eax, 3
push 0
push eax
call fcn.0043dd50
push 0
push 0x50
mov edx, esi
mov ecx, edi
call fcn.0043dd50
add esp, 0x38
pop edi
pop esi
ret
movzx eax, byte [esi + 6]
push 0
lea eax, [eax*4 + 0x10]
push eax
call fcn.0043dd50
add esp, 8
pop edi
pop esi
ret
movzx eax, byte [esi + 6]
push 0
lea eax, [eax*8 + 0x10]
push eax
call fcn.0043dd50
add esp, 8
pop edi
pop esi
ret
pop edi
pop esi
jmp 0x43cf20
mov edx, dword [esi + 0x10]
cmp edx, 0x5fe4a8
je 0x43b70b
mov cl, byte [esi + 7]
mov eax, 1
shl eax, cl
mov ecx, edi
push 0
lea eax, [eax + eax*2]
shl eax, 3
push eax
call fcn.0043dd50
add esp, 8
mov eax, dword [esi + 0x1c]
mov ecx, edi
mov edx, dword [esi + 0xc]
shl eax, 3
push 0
push eax
call fcn.0043dd50
push 0
push 0x20
mov edx, esi
mov ecx, edi
call fcn.0043dd50
add esp, 0x10
pop edi
pop esi
ret
mov edx, dword [esi + 0x1c]
mov ecx, esi
call fcn.0043cf50
mov ecx, esi
call fcn.00434c00
push 0
push 0x70
mov edx, esi
mov ecx, edi
call fcn.0043dd50
add esp, 8
pop edi
pop esi
ret
mov eax, dword [esi + 0x10]
add eax, 0x18
push 0
push eax
call fcn.0043dd50
add esp, 8
pop edi
pop esi
ret
mov eax, dword [edi + 0xc]
dec dword [eax + 0x1c]
mov eax, dword [esi + 0xc]
add eax, 0x11
push 0
push eax
call fcn.0043dd50
add esp, 8
pop edi
pop esi
ret
push edi
mov edi, ecx
lea ecx, [edx + 0x10]
cmp dword [edx + 8], ecx
je 0x43cf3d
mov eax, dword [ecx]
push esi
mov esi, dword [edx + 0x14]
mov dword [esi + 0x10], eax
mov ecx, dword [ecx]
mov eax, dword [edx + 0x14]
pop esi
mov dword [ecx + 0x14], eax
push 0
push 0x18
mov ecx, edi
call fcn.0043dd50
add esp, 8
pop edi
ret