joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c70a0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x56f4f4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4c70b3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4c70f4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x56f59c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4c7126
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c712a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4c711b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4c7148
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c714c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4c713d
xor ecx, ecx
mov eax, 0x56f504
xor ebx, ebx
mov bl, byte [ecx + 0x56f5ac]
cmp byte [esp + ebx + 0x14], 0
je 0x4c7177
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x56f5c4]
cmp byte [esp + ebx + 0x14], 0
je 0x4c718e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4c715e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4c70e7
lea edx, [esp + 0x84]
push edx
call fcn.004c71d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4dae53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x4e2a04
call fcn.004cc8f8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.004e08f4
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x4dae92
call fcn.004e08f4
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4daea0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4daeae
or eax, 0xffffffff
jmp 0x4daf96
mov ecx, esi
call fcn.004dadc9
mov dword [ebp - 0x14], eax
call fcn.004dbdc0
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x4daee5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4daee5
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.004dbd74
push dword [ebp - 0x14]
call fcn.004db8a5
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.004dab61
cmp eax, edi
je 0x4daf58
test byte [esi + 0x24], 0x10
je 0x4daf26
push 4
mov ecx, esi
pop ebx
call fcn.004db2a5
test ah, 1
je 0x4daf1e
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.004dd8ca
cmp dword [esi + 0x1c], edi
je 0x4daf58
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004db2d9
jmp 0x4daf58
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x4daf6c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4daf85
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x4daf85
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004dae03
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4dd778
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 0x4dd7ba
call fcn.004e08f4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4dd7ba
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4dd7b1
xor eax, eax
jmp 0x4dd7c2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004dd7c8
pop edi
pop esi
pop ebx
ret 4
Function at 0x4e0ded
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 0x4e0e1b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e0e39
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e0d53
jmp 0x4e0e39
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e0e39
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e0d53
test edi, edi
mov eax, edi
jne 0x4e0e23
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1ea5ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x190a000]
push edi
or ebp, 0xffffffff
jmp 0x1ea5ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ea5ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5ed8
mov eax, 1
add ebx, ebx
jne 0x1ea5efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ea5f0c
jne 0x1ea5f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f2b
dec eax
add ebx, ebx
jne 0x1ea5f18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ea5ef0
add ebx, ebx
jne 0x1ea5f27
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ea5f7d
xor ecx, ecx
sub eax, 3
jb 0x1ea5f43
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ea5fb2
sar eax, 1
mov ebp, eax
jmp 0x1ea5f4e
add ebx, ebx
jne 0x1ea5f4e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f1c
inc ecx
add ebx, ebx
jne 0x1ea5f5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ea5f1c
add ebx, ebx
jne 0x1ea5f69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ea5f5e
jne 0x1ea5f7a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ea5f5e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ea5f9c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ea5f8e
jmp 0x1ea5ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ea5f9c
add edi, ecx
jmp 0x1ea5ede
pop esi
mov edi, esi
mov ecx, 0x1d422
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1ea5fba
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1ea5fbf
lea edi, [esi + 0x1aa1000]
mov eax, dword [edi]
or eax, eax
je 0x1ea6027
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2efecec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2efee30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ea5fe5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2efee38]
or eax, eax
je 0x1ea6021
mov dword [ebx], eax
add ebx, 4
jmp 0x1ea6002
call dword [esi + 0x2efee34]
mov ebp, dword [esi + 0x2efee3c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1ea605b
sub esp, 0xffffff80
jmp 0x905bb0
Function at 0x1a3a850
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1485000]
push edi
or ebp, 0xffffffff
jmp 0x1a3a872
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a3a879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3a868
mov eax, 1
add ebx, ebx
jne 0x1a3a88b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a3a89c
jne 0x1a3a8bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3a8bb
dec eax
add ebx, ebx
jne 0x1a3a8a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a3a880
add ebx, ebx
jne 0x1a3a8b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a3a90d
xor ecx, ecx
sub eax, 3
jb 0x1a3a8d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a3a942
sar eax, 1
mov ebp, eax
jmp 0x1a3a8de
add ebx, ebx
jne 0x1a3a8de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3a8ac
inc ecx
add ebx, ebx
jne 0x1a3a8ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a3a8ac
add ebx, ebx
jne 0x1a3a8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a3a8ee
jne 0x1a3a90a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a3a8ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a3a92c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a3a91e
jmp 0x1a3a86e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a3a92c
add edi, ecx
jmp 0x1a3a86e
pop esi
mov edi, esi
mov ecx, 0x4ca7b1
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a3a967
cmp byte [edi], 0x25
jne 0x1a3a94c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a3a94a
lea edi, [esi + 0x15fe000]
mov eax, dword [edi]
or eax, eax
je 0x1a3a9af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25d75c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25d76f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a3a96d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25d7700]
or eax, eax
je 0x1a3a9a9
mov dword [ebx], eax
add ebx, 4
jmp 0x1a3a98a
call dword [esi + 0x25d76fc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a3a9e0
cmp al, 0xef
ja 0x1a3a9d3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a3a9b5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a3a9c2
mov ebp, dword [esi + 0x25d7704]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a3aa14
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x40b5e7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e090]
jne 0x40b5f1
repz ret
jmp fcn.0040ca36

Function at 0x41224c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410a29
and dword [ebp - 0x14], 0
cmp dword [0x684370], 0
mov dword [ebp - 0x18], eax
jne 0x4122ff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4123a7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4123a7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x684370], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x684374], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x684378], eax
call edi
push eax
call esi
mov dword [0x684380], eax
test eax, eax
je 0x4122ff
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x68437c], eax
mov eax, dword [0x68437c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412358
cmp dword [0x684380], ecx
je 0x412358
push eax
call esi
push dword [0x684380]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412358
test ebx, ebx
je 0x412358
call edi
test eax, eax
je 0x41234f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41234f
test byte [ebp - 8], 1
jne 0x412358
or dword [ebp + 0x10], 0x200000
jmp 0x41238b
mov eax, dword [0x684374]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41238b
mov eax, dword [0x684378]
cmp eax, dword [ebp - 0x18]
je 0x41238b
push eax
call esi
test eax, eax
je 0x41238b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x684370]
call esi
test eax, eax
je 0x4123a7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4123a9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b5e7
leave
ret
Function at 0x474ea3
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 0x474ee5
call fcn.0047a820
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x474ee5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x474edc
xor eax, eax
jmp 0x474eed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00474ef3
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ad50
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 0x47ad7e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47ad9c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047acb6
jmp 0x47ad9c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47ad9c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047acb6
test edi, edi
mov eax, edi
jne 0x47ad86
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x40a5ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc dx, ax
mov byte [ebp - 0x24], cl
setne ch
ror cx, 2
mov byte [ebp - 0x47], al
ror edx, 3
pop ecx
shrd dx, bp, 0xc
sar dh, 2
mov byte [ebp - 0x45], al
push ebp
adc edx, esp
mov byte [ebp - 0x44], 0x24
btc dx, 0xa
mov byte [ebp - 0x43], al
pop edx
sete cl
mov byte [ebp - 0x42], 0x33
sal cx, cl
pop edx
dec dx
mov byte [ebp - 0x41], al
rcr ch, 4
bts cx, sp
clc
lea ecx, [ebx + 0x413ed5e2]
mov byte [ebp - 0x40], 0x35
cmc
bt di, di
mov byte [ebp - 0x3f], al
rcr ch, cl
neg dh
cmp ah, al
pop ecx
mov byte [ebp - 0x3e], 0x22
not cl
shr dx, cl
mov byte [ebp - 0x3d], al
bswap dx
mov byte [ebp - 0x3c], 0x65
shrd dx, bx, cl
rcr ch, cl
mov byte [ebp - 0x3b], al
inc cl
cmc
adc cl, bh
mov byte [ebp - 0x39], al
pop edx
mov byte [ebp - 0x38], 1
bsr dx, dx
inc edx
xchg ecx, edx
mov byte [ebp - 0x37], al
btr cx, cx
mov byte [ebp - 0x35], al
ror cl, cl
shld cx, di, cl
mov byte [ebp - 0x34], 0x38
bt cx, bx
shr cl, 2
adc dh, al
rcr dl, cl
mov byte [ebp - 0x33], al
shl ch, cl
mov byte [ebp - 0x32], 0x32
sal dl, 1
sub dl, 0x8f
mov byte [ebp - 0x31], al
rcl cx, 4
btr dx, 6
mov byte [ebp - 0x30], 0x39
bsf dx, bp
movsx dx, al
mov byte [ebp - 0x2f], al
btc cx, 1
shld edx, esp, cl
mov byte [ebp - 0x2e], 0x21
add dl, 0xd5
mov byte [ebp - 0x2d], al
clc
neg cl
cmc
rcr dl, 4
mov byte [ebp - 0x2c], 0x15
btc cx, 6
clc
shrd ecx, eax, cl
cmp cl, ah
mov byte [ebp - 0x2b], al
rcr cx, 3
mov byte [ebp - 0x2a], 0x3a
clc
not ch
rcr cl, 7
shl dh, 5
mov byte [ebp - 0x29], al
bt edx, esp
shr dx, cl
setb cl
pop edx
mov byte [ebp - 0x28], 0x37
and dl, al
mov byte [ebp - 0x27], al
neg edx
sbb dl, cl
mov byte [ebp - 0x25], al
bt edx, 0x15
bsr cx, ax
adc dh, bh
not edx
mov byte [ebp - 0x23], al
movsx dx, dl
pushfd
jmp 0x40c21d
Function at 0x401010
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x499b7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov eax, dword [0x4cc854]
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
lea ebp, [edi + 4]
mov dword [ebp], eax
mov ecx, dword [0x4cc854]
lea esi, [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
mov dword [esi], ecx
mov edx, dword [0x4cc854]
mov dword [esi + 4], edx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
push ebx
mov ecx, esi
mov byte [esp + 0x24], 4
call fcn.00406de0
mov dword [esi + 0x28], ebx
push 0x4d0e20
mov ecx, ebp
mov byte [esp + 0x24], 5
mov dword [edi], 0x4a6848
call fcn.0048c58c
mov ecx, dword [esp + 0x18]
mov dword [edi + 8], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4018d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499ca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
call fcn.0046cc50
mov eax, dword [esp + 0x30]
push 0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.0046cd13
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 0
call fcn.0046cc8d
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x401c00
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x499d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
mov ecx, 7
lea edi, [esp + 0x34]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [0x4cc854]
stosb byte es:[edi], al
or edi, 0xffffffff
xor eax, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
push str.SysMenu.tts
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], eax
call fcn.0048c58c
lea esi, [ebp + 0x118]
lea edx, [esp + 0x18]
push 1
push edx
mov ecx, esi
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x401cac
push 0x4c2288
mov ecx, esi
call fcn.0048c7df
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push esi
push ecx
call fcn.0048c632
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 1
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call fcn.0048c403
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0048c178
call fcn.004018d0
add esp, 4
test eax, eax
jne 0x401d11
mov eax, dword [esp + 0x10]
add ebp, 0x11c
push eax
push str.SysMenu
push ebp
call fcn.0048a7fc
add esp, 0xc
jmp 0x401d73
lea ecx, [esp + 0x24]
call fcn.00490080
mov ecx, dword [esp + 0x10]
push 0
push 0x2000
mov bl, 2
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], bl
call fcn.00490192
test eax, eax
je 0x401d65
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x2c]
call fcn.004902af
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x401d87
push 0x4c22c4
lea ecx, [ebp + 0x11c]
call fcn.0048c58c
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.004900d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], edi
call fcn.0048c403
xor al, al
jmp 0x401e22
test eax, eax
je 0x401da0
lea ecx, [eax + eax*4]
push 1
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x28]
shl edx, 2
push edx
call fcn.00490334
mov eax, dword [0x4cc854]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x34]
push 0x2c
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 3
call fcn.004902af
cmp byte [ebp + 0x114], 1
jne 0x401ddc
mov cl, byte [ebp + 4]
xor eax, eax
mov dl, byte [esp + eax + 0x34]
xor dl, cl
mov byte [esp + eax + 0x34], dl
inc eax
cmp eax, 0x1f
jb 0x401dcc
mov edi, dword [esp + 0x74]
mov ecx, 0xb
lea esi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24]
call fcn.004903ad
lea ecx, [esp + 0x1c]
mov byte [esp + 0x68], bl
call fcn.0048c403
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.004900d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call fcn.0048c403
mov al, 1
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 8
Function at 0x402e90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x499e90
push eax
mov dword fs:[0], esp
sub esp, 0x24
lea eax, [esp + 0xc]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 1
lea esi, [ebp + 0x118]
push eax
mov ecx, esi
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
je 0x402ef0
push 0x4c2288
mov ecx, esi
call fcn.0048c7df
mov eax, dword [0x4cc854]
mov dword [esp + 0x10], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], eax
push 0x4c2398
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 1
call fcn.0048c58c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push esi
push edx
call fcn.0048c632
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 2
call fcn.0048c53c
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 1
call fcn.0048c403
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0048c178
call fcn.004018d0
add esp, 4
test eax, eax
jne 0x402f77
push 0x4c2690
lea ecx, [ebp + 0x11c]
call fcn.0048c58c
jmp 0x4030bf
lea ecx, [esp + 0x24]
call fcn.00490080
mov ecx, dword [esp + 0x10]
push 0
push 0x2000
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 3
call fcn.00490192
test eax, eax
je 0x4030b1
lea ecx, [esp + 0x24]
call fcn.0049048c
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
jbe 0x403098
push 0
push ecx
lea ecx, [esp + 0x2c]
call fcn.00490334
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x2c]
call fcn.004902af
push 1
push 0x32
lea ecx, [esp + 0x2c]
call fcn.00490334
mov eax, dword [esp + 0x14]
add eax, 0xa
push eax
call fcn.0048c144
mov ecx, dword [esp + 0x18]
mov esi, eax
add ecx, 0xa
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push esi
call fcn.004902af
cmp byte [ebp + 0x114], 1
jne 0x403043
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
jle 0x403047
mov cl, byte [ebp + 4]
mov bl, byte [eax + esi]
xor bl, cl
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
jl 0x40302d
jmp 0x403047
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
push esi
mov byte [eax + esi], 0
call fcn.0048c58c
push esi
call fcn.0048c16d
add esp, 4
lea ecx, [esp + 0x24]
call fcn.004903ad
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.004900d5
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.0048c403
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0048c403
mov al, 1
jmp 0x4030e0
push 0x4c2660
lea ecx, [ebp + 0x11c]
call fcn.0048c58c
lea ecx, [esp + 0x24]
call fcn.004903ad
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 1
call fcn.004900d5
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.0048c403
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0048c403
xor al, al
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0x30