joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a920
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3e8b
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.00433f60
add esp, 4
or edi, 0xffffffff
test eax, eax
jne 0x41a9e0
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], 0x41b5d0
mov dword [ecx + 4], 0x7ff7a516
mov ecx, ebx
add dword [ebx + 8], 8
sar edi, 3
mov edx, edi
call fcn.00431200
push 0
push ecx
push edi
push 0
xor edx, edx
mov ecx, ebx
call fcn.004325a0
add esp, 0x10
mov edx, edi
mov ecx, ebx
mov esi, eax
call fcn.00431170
xor ebx, ebx
test esi, esi
sete bl
or edi, 0xffffffff
jmp 0x41aafd
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 0x41aa26
mov edx, ecx
mov ecx, esi
call fcn.00436e70
test eax, eax
jne 0x41aa10
xor edx, edx
jmp 0x41aa2b
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xc], 0
jle 0x41aa20
mov ecx, esi
call fcn.0043c660
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 [0x5fd7e0]
mov dword [ebp - 0x814], eax
mov eax, dword [0x5fd7e4]
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x80c]
push eax
call fcn.0058dad0
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 [0x5fd7e0]
mov dword [ebp - 0x814], eax
mov eax, dword [0x5fd7e4]
push 0x7f8
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0058dad0
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 0x41aafb
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 0x41ab1f
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.0053a175
mov esp, ebp
pop ebp
ret 4
Function at 0x41ab40
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3ec8
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 0x41acb2
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 0x41abbb
push 0x104
lea ecx, [ebp - 0x14]
call fcn.0040595f
mov esi, dword [ebp - 0x14]
cmp dword [esi - 8], 0x104
jl 0x41acbc
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.00594dd9
add esp, 8
test eax, eax
js 0x41acbc
cmp eax, dword [esi - 8]
jg 0x41acbc
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov byte [ebp - 4], 2
test edi, edi
je 0x41acc6
push edi
push esi
mov byte [ebp - 4], 1
call fcn.005950bb
add esp, 8
test eax, eax
jne 0x41ac77
mov ecx, dword [esi - 0xc]
test ecx, ecx
js 0x41acd0
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, ecx
or eax, ebx
jge 0x41ac4b
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.00594dd9
add esp, 8
test eax, eax
js 0x41acbc
cmp eax, dword [esi - 8]
jg 0x41acbc
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 0x41ac96
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.0053a175
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 0x42ea10
Capabilities:
Acquire debug privileges
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4f68
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 0x42ea48
lea eax, [ecx + 1]
jmp 0x42eb0c
push esi
push 0x42e510
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.0042eca0
mov dword [ebp - 0x1c], eax
mov edx, 1
mov dword [ebp - 4], 0
mov ecx, str.SeDebugPrivilege
call fcn.0042e5c0
push esi
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x42eaba
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x57
sete bl
jmp 0x42eaeb
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x42ead3
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.0042f0f0
push 0x18
push dword [ebp - 0x1c]
call fcn.0053a186
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.0053a175
mov esp, ebp
pop ebp
ret

Function at 0x42eb60
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.0058dad0
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 0x42ec4d
cmp dword [ebp - 0x228], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
jne 0x42ebed
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call ebx
test eax, eax
je 0x42ec4d
cmp dword [ebp - 0x228], 0
jne 0x42ebed
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0042eb30
test eax, eax
je 0x42ec4d
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea eax, [ebp - 0x230]
push eax
push dword [esi]
call ebx
test eax, eax
je 0x42ec4d
cmp dword [ebp - 0x228], 0
jne 0x42ec1d
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.0042eb30
test eax, eax
je 0x42ec4d
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x234]
call edi
test eax, eax
jne 0x42ebf7
mov eax, dword [ebp - 0x228]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053a175
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.0053a175
mov esp, ebp
pop ebp
ret 4
Function at 0x4304b0
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 0x5c5100
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.00430110
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 0x430580
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4305ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4305ad
push 0
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4305a9
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
mov eax, esi
jmp 0x4305af
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.0053a175
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x430f00
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 0x435030
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 0x435078
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0053a175
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], 0x5fe658
mov dword [esp + 0x24], fcn.00435030
call fcn.00596606
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 0x435123
mov dword [esi + 0x30], edx
lea eax, [esi + 0x68]
mov dword [esi + 0x78], eax
mov edx, 0x434d80
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], 0x5fe5d8
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.00439540
add esp, 4
test eax, eax
je 0x435287
mov ecx, edi
call fcn.00434ef0
xor edi, edi
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0053a175
mov esp, ebp
pop ebp
ret
Function at 0x439c60
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 0x439e2b
nop dword [eax]
mov al, byte [esi + 0x12]
test al, 1
jne 0x439cdc
mov ecx, esi
test al, 0x10
je 0x439c9b
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 0x439cad
mov eax, dword [ebx + 8]
cmp dword [ecx + 4], eax
jae 0x439cad
mov dword [ecx + 4], eax
mov al, byte [esi + 0x12]
test al, 0x20
jne 0x439cb8
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.00439b30
jmp 0x439e1d
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.0x439d05.8
movzx eax, byte [eax + 0x439e4c]
jmp dword [eax*4 + 0x439e34]
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.0x439d05.8
mov eax, dword [ebx + 8]
mov edi, dword [eax - 4]
cmp edi, 0x7ff7a500
je 0x439d4d
cmp edi, 0x7ff7a501
jne 0x439d46
cmp dword [eax - 8], 0
je 0x439d4d
mov edi, 1
jmp 0x439d4f
xor edi, edi
add eax, 0xfffffff8
mov dword [ebx + 8], eax
cmp edx, 0x1a
jne 0x439d82
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 0x17
push 0xe
lea edx, [ecx + eax*8]
mov ecx, ebx
call fcn.0043dd50
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 4], 0x7ff7a500
jne 0x439d82
xor edi, 1
shr ecx, 6
movzx eax, cl
cmp edi, eax
je case.0x439d05.8
add dword [esi + 0x1c], 4
jmp case.0x439d05.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 0x439de7
lea eax, [edx - 8]
mov ecx, ebx
mov edx, edi
mov dword [ebx + 8], eax
call fcn.00437770
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.0x439d05.34
and ecx, 0x7fc000
cmp ecx, 0x4000
jb case.0x439d05.8
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00437f10
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
jne 0x439c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x439d0c
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 0x439e2b
nop dword [eax]
mov al, byte [esi + 0x12]
test al, 1
jne 0x439cdc
mov ecx, esi
test al, 0x10
je 0x439c9b
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 0x439cad
mov eax, dword [ebx + 8]
cmp dword [ecx + 4], eax
jae 0x439cad
mov dword [ecx + 4], eax
mov al, byte [esi + 0x12]
test al, 0x20
jne 0x439cb8
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.00439b30
jmp 0x439e1d
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.0x439d05.8
movzx eax, byte [eax + 0x439e4c]
jmp dword [eax*4 + 0x439e34]
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.0x439d05.8
mov eax, dword [ebx + 8]
mov edi, dword [eax - 4]
cmp edi, 0x7ff7a500
je 0x439d4d
cmp edi, 0x7ff7a501
jne 0x439d46
cmp dword [eax - 8], 0
je 0x439d4d
mov edi, 1
jmp 0x439d4f
xor edi, edi
add eax, 0xfffffff8
mov dword [ebx + 8], eax
cmp edx, 0x1a
jne 0x439d82
mov eax, ecx
mov ecx, dword [esp + 0x10]
shr eax, 0x17
push 0xe
lea edx, [ecx + eax*8]
mov ecx, ebx
call fcn.0043dd50
mov ecx, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 4], 0x7ff7a500
jne 0x439d82
xor edi, 1
shr ecx, 6
movzx eax, cl
cmp edi, eax
je case.0x439d05.8
add dword [esi + 0x1c], 4
jmp case.0x439d05.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 0x439de7
lea eax, [edx - 8]
mov ecx, ebx
mov edx, edi
mov dword [ebx + 8], eax
call fcn.00437770
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.0x439d05.34
and ecx, 0x7fc000
cmp ecx, 0x4000
jb case.0x439d05.8
mov eax, dword [esi + 4]
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.00437f10
mov esi, dword [ebx + 0x10]
lea eax, [ebx + 0x48]
cmp esi, eax
jne 0x439c80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43b730
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.0x43b74d.11
movzx eax, byte [eax + 0x43b8dc]
jmp dword [eax*4 + 0x43b8b4]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0xc]
shl eax, 2
push 0
push eax
call fcn.0043de80
mov eax, dword [esi + 0x38]
mov ecx, edi
mov edx, dword [esi + 0x10]
shl eax, 2
push 0
push eax
call fcn.0043de80
mov eax, dword [esi + 0x2c]
mov ecx, edi
mov edx, dword [esi + 8]
shl eax, 3
push 0
push eax
call fcn.0043de80
mov eax, dword [esi + 0x34]
mov ecx, edi
mov edx, dword [esi + 0x14]
shl eax, 2
push 0
push eax
call fcn.0043de80
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.0043de80
mov eax, dword [esi + 0x28]
mov ecx, edi
mov edx, dword [esi + 0x1c]
shl eax, 3
push 0
push eax
call fcn.0043de80
push 0
push 0x50
mov edx, esi
mov ecx, edi
call fcn.0043de80
add esp, 0x38
pop edi
pop esi
ret
movzx eax, byte [esi + 6]
push 0
lea eax, [eax*4 + 0x10]
push eax
call fcn.0043de80
add esp, 8
pop edi
pop esi
ret
movzx eax, byte [esi + 6]
push 0
lea eax, [eax*8 + 0x10]
push eax
call fcn.0043de80
add esp, 8
pop edi
pop esi
ret
pop edi
pop esi
jmp 0x43d050
mov edx, dword [esi + 0x10]
cmp edx, 0x5fe5e8
je 0x43b83b
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.0043de80
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.0043de80
push 0
push 0x20
mov edx, esi
mov ecx, edi
call fcn.0043de80
add esp, 0x10
pop edi
pop esi
ret
mov edx, dword [esi + 0x1c]
mov ecx, esi
call fcn.0043d080
mov ecx, esi
call fcn.00434d30
push 0
push 0x70
mov edx, esi
mov ecx, edi
call fcn.0043de80
add esp, 8
pop edi
pop esi
ret
mov eax, dword [esi + 0x10]
add eax, 0x18
push 0
push eax
call fcn.0043de80
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.0043de80
add esp, 8
pop edi
pop esi
ret
push edi
mov edi, ecx
lea ecx, [edx + 0x10]
cmp dword [edx + 8], ecx
je 0x43d06d
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.0043de80
add esp, 8
pop edi
ret