joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ce04
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ecx]
push edi
cmp esi, 0xffffffff
jne 0x49ce18
xor bl, bl
jmp 0x49ce64
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push 1
lea eax, [ebp - 0x14]
push eax
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
call edi
test eax, eax
je 0x49ce14
xor ebx, ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push esi
call edi
test eax, eax
je 0x49ce64
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x49ce64
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call edi
test eax, eax
je 0x49ce64
mov bl, 1
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 4

Function at 0x49cf83
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x49cf94
xor al, al
jmp 0x49d001
push edi
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x49cffe
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
xor edi, edi
cmp eax, edi
ja 0x49cffe
jb 0x49cfc0
cmp ecx, 0xfffffffe
ja 0x49cffe
cmp byte [esi + 0x10], 0
push 2
pop eax
push edi
push edi
mov ecx, 0x1000002
push edi
cmovne eax, ecx
push eax
push edi
push dword [esi]
mov dword [esi + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 0xc], eax
test eax, eax
je 0x49cffe
push edi
push edi
push edi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne al
jmp 0x49d000
xor al, al
pop edi
pop esi
leave
ret
Function at 0x49dcfb
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov ebx, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
sub edx, dword [edi + 0x74]
mov eax, dword [edi + 0x2c]
sub edx, dword [edi + 0x6c]
add eax, 0xfffffefa
add eax, ebx
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x6c], eax
jb 0x49dd96
mov ecx, dword [edi + 0x38]
push ebx
lea eax, [ecx + ebx]
push eax
push ecx
call fcn.004a8c80
mov ecx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 8], ecx
lea esi, [eax + ecx*2]
mov edi, ecx
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x49dd4f
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x40]
mov edi, ebx
lea esi, [eax + ebx*2]
lea esi, [esi - 2]
xor ecx, ecx
movzx edx, word [esi]
mov eax, edx
sub eax, ebx
movzx eax, ax
cmp edx, ebx
cmovae ecx, eax
mov word [esi], cx
dec edi
jne 0x49dd74
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
add edx, ebx
mov esi, dword [edi]
cmp dword [esi + 4], 0
je 0x49de51
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49ddc3
xor eax, eax
jmp 0x49de14
sub eax, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x49dde0
mov edx, dword [esi]
push ecx
mov ecx, dword [esi + 0x30]
call fcn.0049e674
jmp 0x49ddf8
cmp eax, 2
jne 0x49ddfc
mov edx, dword [esi]
test edx, edx
jne 0x49ddef
xor eax, eax
jmp 0x49ddf9
push ecx
mov ecx, dword [esi + 0x30]
call fcn.00499179
pop ecx
mov dword [esi + 0x30], eax
push dword [ebp - 8]
push dword [esi]
push dword [ebp - 0xc]
call fcn.004a8c80
mov eax, dword [ebp - 8]
add dword [esi], eax
add esp, 0xc
add dword [esi + 8], eax
add dword [edi + 0x74], eax
cmp dword [edi + 0x74], 3
jb 0x49de3c
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx esi, byte [edx + eax]
mov dword [edi + 0x48], esi
movzx eax, byte [edx + eax + 1]
shl esi, cl
xor esi, eax
and esi, dword [edi + 0x54]
mov dword [edi + 0x48], esi
cmp dword [edi + 0x74], 0x106
jae 0x49de51
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x49dd0c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b984d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x510918]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004ad1e2
mov dword [ebp - 0x14], eax
cmp dword [0x515fa4], edi
jne 0x4b993e
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x4b98cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4b9a1e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4b9a1e
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4b9a1e
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x515fa4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x515fa8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x515fac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x515fb4], eax
test eax, eax
je 0x4b993b
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x515fb0], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4b9963
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4b9956
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4b9978
push 4
pop eax
jmp 0x4b9a20
cmp dword [ebp - 0x14], edi
je 0x4b9978
push dword [0x515fa4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4b995d
mov eax, dword [0x515fb0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x4b99d6
cmp dword [0x515fb4], esi
je 0x4b99d6
push eax
call ebx
push dword [0x515fb4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4b99d6
test eax, eax
je 0x4b99d6
call ecx
test eax, eax
je 0x4b99cb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4b99cb
test byte [ebp - 8], 1
jne 0x4b99d6
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4b9a06
mov eax, dword [0x515fa8]
cmp eax, esi
je 0x4b9a03
push eax
call ebx
test eax, eax
je 0x4b9a03
call eax
mov edi, eax
test edi, edi
je 0x4b9a03
mov eax, dword [0x515fac]
cmp eax, esi
je 0x4b9a03
push eax
call ebx
test eax, eax
je 0x4b9a03
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x515fa4]
call ebx
test eax, eax
je 0x4b9a1e
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4b9a20
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a2964
leave
ret
Function at 0x4bbed6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.004aecd5
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4bbf0e
xor eax, eax
jmp 0x4bbf3a
cmp esi, dword [ebp - 4]
je 0x4bbf37
cmp dword [ebp + 0xc], 0
je 0x4bbf37
push dword [edi + 0x9c]
call fcn.004bbae4
push dword [edi + 0x9c]
mov esi, eax
call fcn.004ad498
pop ecx
pop ecx
cmp esi, eax
je 0x4bbf0a
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x4c34c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
cmp esi, edi
je 0x4c34ef
mov edx, ecx
mov eax, ecx
shr eax, 2
shl edx, 6
add edx, eax
movzx eax, word [esi]
add eax, 0x9e3779b9
add eax, edx
add esi, 2
xor ecx, eax
cmp esi, edi
jne 0x4c34d0
mov eax, 0x4e25
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1e
imul eax, eax, 0x7fffd8ee
sub ecx, eax
pop edi
lea eax, [ecx + 0x2710]
pop esi
ret
Function at 0x4c42e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d6dcb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov byte [edi + 0x28], 0
push eax
push 0
lea ecx, [edi + 0x2c]
mov dword [esp + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.0042f63c
mov dword [edi + 0x38], 0
mov ecx, dword [edi]
push 0x4f5cbe
mov eax, dword [ecx + 0x138]
mov dword [ecx + 0x13c], eax
mov eax, dword [edi]
push 0x4f5cbc
mov dword [eax + 0x18], 0
mov eax, dword [edi + 4]
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
call fcn.004cc6c0
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 4]
push 0x4e9056
mov ecx, dword [eax]
push 0x4e9054
call fcn.004cc6c0
mov dword [edi + 0x40], eax
mov eax, dword [edi + 4]
push 0x4e9062
mov ecx, dword [eax]
push 0x4e9058
call fcn.004cc6c0
mov dword [edi + 0x44], eax
mov eax, dword [edi + 4]
push 0x4e906e
mov ecx, dword [eax]
push 0x4e9064
call fcn.004cc6c0
mov dword [edi + 0x48], eax
mov eax, dword [edi + 4]
push 0x4e907a
mov ecx, dword [eax]
push str.alpha
call fcn.004cc6c0
mov ecx, dword [edi]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x140], eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x4cbe50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7639
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 1
push 0x515fcc
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call fcn.004d60b0
xor ecx, ecx
cmp byte [esp + 0x10], cl
lea eax, [esp + 0xc]
cmove eax, ecx
mov dword [esp + 0x28], 1
test eax, eax
je 0x4cbee2
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004c9b10
add esp, 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 4], 1
mov byte [esp + 0x28], 0
call fcn.004d60d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
add esp, 0x28
ret
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], str.Error_in_thread_safety_code:_could_not_acquire_a_lock
call fcn.004a2a1f
mov dword [esp + 0x14], vtable.std::runtime_error.0
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x2c], 2
call fcn.004c4220
int3
Function at 0x4d4700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4d7db8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x510918]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x13c]
sub eax, dword [ecx + 0x138]
cmp dword [esi + 0x70], eax
jne 0x4d47b1
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4d47b1
mov eax, dword [esi + 0x7c]
cmp dword [eax - 4], ebx
jle 0x4d47b1
mov eax, dword [ecx + 0x14]
test al, 3
jne 0x4d476d
test eax, 0x1000000
je 0x4d47b1
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x14]
call fcn.00404a40
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
mov ecx, esi
sar eax, 1
push eax
push 0x11
mov dword [esp + 0x40], 0
call fcn.004cb060
cmp dword [esp + 0x24], 0x10
jb 0x4d47ad
push dword [esp + 0x10]
call fcn.004a295f
add esp, 4
xor al, al
jmp 0x4d481e
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4d481c
mov edi, edi
mov eax, dword [esi + 0x7c]
mov edi, dword [eax - 4]
cmp edi, ebx
jle 0x4d481c
cmp dword [esi + 0x78], eax
je 0x4d47d5
add eax, 0xfffffffc
mov dword [esi + 0x7c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [edx + 0x138]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [edx + 0x138]
mov dword [edx + 0x13c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
sub ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x138]
sub ecx, edi
mov dword [eax + edi + 8], ecx
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
jne 0x4d47c0
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004a2964
add esp, 0x28
ret 4
Function at 0x4d5a90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xf0
mov dword [esp], 0x4ea428
mov dword [esp + 4], 0x4febf8
mov dword [esp + 8], 0x4f8bcc
mov dword [esp + 0xc], 0x4e9efc
mov dword [esp + 0x10], 0x4e789c
mov dword [esp + 0x14], 0x4f5754
mov dword [esp + 0x18], 0x4edcc8
mov dword [esp + 0x1c], 0x4fee60
mov dword [esp + 0x20], 0x4fa0a0
mov dword [esp + 0x24], str.___:
mov dword [esp + 0x28], 0x4f79ac
mov dword [esp + 0x2c], 0x4e78a0
mov dword [esp + 0x30], 0x4e9f00
mov dword [esp + 0x34], 0x4e9f04
mov dword [esp + 0x38], 0x4f9968
mov dword [esp + 0x3c], 0x4f79b0
mov dword [esp + 0x40], 0x4f79bc
mov dword [esp + 0x44], 0x4e9f08
mov dword [esp + 0x48], 0x4e9b30
mov dword [esp + 0x4c], 0x4e9b34
mov dword [esp + 0x50], 0x4fe21c
mov dword [esp + 0x54], 0x4fe20c
mov dword [esp + 0x58], 0x4ea428
mov dword [esp + 0x5c], 0x4ea428
mov dword [esp + 0x60], 0x4e9f14
mov dword [esp + 0x64], 0x4e9f18
mov dword [esp + 0x68], 0x4f7998
mov dword [esp + 0x6c], 0x4f79a8
mov dword [esp + 0x70], 0x4e34f4
mov dword [esp + 0x74], 0x4e9b38
mov dword [esp + 0x78], 0x4e9b3c
mov dword [esp + 0x7c], 0x4e34f0
mov dword [esp + 0x80], 0x4e9b40
mov dword [esp + 0x84], 0x4e9b44
mov dword [esp + 0x88], 0x4e9b48
mov dword [esp + 0x8c], 0x4e9b4c
mov dword [esp + 0x90], 0x4f79b8
mov dword [esp + 0x94], 0x4fe210
mov dword [esp + 0x98], 0x4e9b50
mov dword [esp + 0x9c], 0x4ea428
mov dword [esp + 0xa0], 0x4ea428
mov dword [esp + 0xa4], 0x4ea428
mov dword [esp + 0xa8], 0x4ea428
mov dword [esp + 0xac], 0x4ea428
mov dword [esp + 0xb0], 0x4ea428
mov dword [esp + 0xb4], 0x4ea428
mov dword [esp + 0xb8], 0x4ea428
mov dword [esp + 0xbc], 0x4e9b54
mov dword [esp + 0xc0], 0x4e9b58
mov dword [esp + 0xc4], 0x4e9b5c
mov dword [esp + 0xc8], 0x4e26e0
mov dword [esp + 0xcc], 0x4e9b60
mov dword [esp + 0xd0], 0x4e9b64
mov dword [esp + 0xd4], 0x4e785c
mov dword [esp + 0xd8], 0x4e9b68
mov dword [esp + 0xdc], 0x4e9b6c
mov dword [esp + 0xe0], 0x4e9b70
mov dword [esp + 0xe4], 0x4e9f1c
mov dword [esp + 0xe8], 0x4e9b74
mov dword [esp + 0xec], 0x4e9b78
cmp cl, 0x3c
jb 0x4d5cda
mov eax, 0x4ea428
add esp, 0xf0
ret
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xf0
ret
Function at 0x4d5cf0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x9c
mov eax, dword [0x510918]
xor eax, esp
mov dword [esp + 0x98], eax
push esi
mov si, cx
movzx edx, si
mov dword [esp + 4], 0x3610300
mov dword [esp + 8], 0x4860483
mov dword [esp + 0xc], 0x9030903
mov dword [esp + 0x10], 0x940093e
mov dword [esp + 0x14], 0x94c0949
mov dword [esp + 0x18], 0x9830982
mov dword [esp + 0x1c], 0x9c009be
mov dword [esp + 0x20], 0x9cc09c7
mov dword [esp + 0x24], 0x9d709d7
mov dword [esp + 0x28], 0xa400a3e
mov dword [esp + 0x2c], 0xa830a83
mov dword [esp + 0x30], 0xac00abe
mov dword [esp + 0x34], 0xacc0ac9
mov dword [esp + 0x38], 0xb030b02
mov dword [esp + 0x3c], 0xb3e0b3e
mov dword [esp + 0x40], 0xb400b40
mov dword [esp + 0x44], 0xb4c0b47
mov dword [esp + 0x48], 0xb570b57
mov dword [esp + 0x4c], 0xb830b83
mov dword [esp + 0x50], 0xbbf0bbe
mov dword [esp + 0x54], 0xbcc0bc1
mov dword [esp + 0x58], 0xbd70bd7
mov dword [esp + 0x5c], 0xc030c01
mov dword [esp + 0x60], 0xc440c41
mov dword [esp + 0x64], 0xc830c82
mov dword [esp + 0x68], 0xcbe0cbe
mov dword [esp + 0x6c], 0xcc40cc0
mov dword [esp + 0x70], 0xccb0cc7
mov dword [esp + 0x74], 0xcd60cd5
mov dword [esp + 0x78], 0xd030d02
mov dword [esp + 0x7c], 0xd400d3e
mov dword [esp + 0x80], 0xd4c0d46
mov dword [esp + 0x84], 0xd570d57
mov dword [esp + 0x88], 0xf7f0f7f
mov dword [esp + 0x8c], 0x20e120d0
mov dword [esp + 0x90], 0x309a3099
mov dword [esp + 0x94], 0xfe23fe20
mov dword [esp + 0x98], 0xffffffff
lea eax, [esp + 6]
cmp edx, 0x361
jle 0x4d5e6b
lea esp, [esp]
movzx ecx, word [eax + 4]
add eax, 4
cmp ecx, edx
jl 0x4d5e60
sub eax, 2
cmp si, word [eax]
jb 0x4d5e91
cmp si, word [eax + 2]
ja 0x4d5e91
mov al, 1
pop esi
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004a2964
add esp, 0x9c
ret
mov ecx, dword [esp + 0x9c]
pop esi
xor ecx, esp
xor al, al
call fcn.004a2964
add esp, 0x9c
ret
Function at 0x402b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], 0x1000
mov ecx, dword [ebp - 0x2c]
mov word [ebp - 0x22], 0x715f
mov byte [ebp - 0x35], 0xb6
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0x4550
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x40], 0x5a4d
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x36], 1
mov bl, byte [ebp - 0x36]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov word [ebp - 0x16], 0x2c8a
mov dword [ebp - 0x14], 0
cmp eax, 0
mov byte [ebp - 0x41], bl
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
jne 0x402bf1
mov dword [ebp - 0x10], 0
mov word [ebp - 0x22], 0x2987
jmp 0x402d03
mov ax, word [ebp - 0x16]
and ax, 0x18c4
mov cl, byte [ebp - 0x35]
add cl, 0x32
mov word [ebp - 0x16], ax
mov byte [ebp - 0x35], cl
mov eax, 0
sub eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
movzx ecx, word [ecx]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jne 0x402c94
lea eax, [ebp - 0x16]
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + ecx]
mov edx, dword [ebp - 0x30]
mov si, word [ebp - 0x16]
mov di, ax
xor si, di
mov word [ebp - 0x16], si
add edx, 0
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x4c]
cmp ecx, eax
jne 0x402c70
lea eax, [ebp - 0x35]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
add edx, 0
mov esi, dword [ebp - 0x3c]
or esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x30], edx
jmp 0x402d03
mov eax, 0
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
add ecx, 0
mov dword [ebp - 0x14], eax
mov dx, word [ebp - 0x22]
mov dword [ebp - 0x3c], ecx
add dx, 0x6186
mov word [ebp - 0x22], dx
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x22]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x3c]
or esi, ecx
mov dword [ebp - 0x3c], esi
sub eax, edx
mov word [ebp - 0x16], 0x4d46
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x48]
sub ecx, eax
and ecx, 0xfffff000
mov dword [ebp - 0x34], ecx
mov ax, 0
sub ax, word [ebp - 0x22]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x22], ax
mov dl, byte [ebp - 0x41]
test dl, 1
jne 0x402c06
lea eax, [ebp - 0x35]
mov ecx, dword [ebp - 0x14]
add ecx, 0
mov dword [ebp - 0x10], 0
mov dx, word [ebp - 0x16]
mov si, ax
or dx, si
mov word [ebp - 0x16], dx
mov dword [ebp - 0x14], ecx
mov ax, 0x59cd
mov ecx, dword [ebp - 0x10]
sub ax, word [ebp - 0x16]
mov word [ebp - 0x16], ax
mov eax, ecx
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40b689
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x61209e
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x103668b4], 1
jge 0x61210d
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x6120e3
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x6120e3
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x6120c0
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x6120f9
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x612100
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x6121fd
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x6121ce
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x6121c3
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x6121b7
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x6121be
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x6121fd
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x6121f8
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x6121e1
mov eax, dword [ebx + 8]
jmp 0x6121fd
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x6121ef
xor eax, eax
jmp 0x6121fd
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x61212d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret