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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c1388
cmp edx, dword [eax]
je 0x4b91cf
add eax, 8
inc ecx
cmp eax, 0x4c1418
jl 0x4b91c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c1388]
jne 0x4b92fd
mov eax, dword [0x4c5d0c]
cmp eax, 1
je 0x4b92d7
test eax, eax
jne 0x4b9200
cmp dword [0x4c12b4], 1
je 0x4b92d7
cmp edx, 0xfc
je 0x4b92fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4b9237
lea eax, [ebp - 0x1a4]
push 0x4be7c8
push eax
call fcn.004b9b90
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004ba020
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4b927a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004ba020
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4be7c4
push edi
call fcn.004bbef0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4be7a8
push eax
call fcn.004b9b90
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004b9ba0
lea eax, [ebp - 0xa0]
push 0x4be7a4
push eax
call fcn.004b9ba0
push dword [esi + 0x4c138c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004b9ba0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4be77c
push eax
call fcn.004bbe64
add esp, 0x2c
pop edi
jmp 0x4b92fd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c138c]
push 0
push eax
push dword [esi]
call fcn.004ba020
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401029
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x427f20]
and dword [ebp - 8], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x427f24]
push esi
mov esi, dword [ebx]
push edi
mov edi, dword [ebx + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x10], esi
call fcn.00401022
mov eax, dword [0x427f28]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x427f2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, dword [0x2447ef4]
mov ecx, esi
shl ecx, 4
add ecx, dword [ebp - 0x18]
cmp eax, 0xfa9
jne 0x40109c
mov dword [0x2447ef0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010aa
and dword [0x244797c], 0
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
add edx, esi
xor eax, edx
xor eax, ecx
sub edi, eax
cmp dword [0x2447ef4], 0xc
mov dword [0x2447eec], 0xf4ea3dee
mov dword [ebp - 4], eax
jne 0x4010f1
lea eax, [ebp - 0x28]
push eax
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov eax, edi
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 0x61c88647
mov eax, edi
shl eax, 4
add eax, dword [ebp - 0x24]
add ecx, edi
xor eax, ecx
xor eax, dword [ebp - 4]
sub esi, eax
dec dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
jne 0x401073
mov dword [ebx + 4], edi
pop edi
mov dword [ebx], esi
pop esi
leave
ret

Function at 0x40112f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x2447ef4]
mov ecx, dword [0x2447980]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x4011ea
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x2447ef4], 0x959
jne 0x4011d9
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Mokigehate_xolega_viricuh_mazu_fiboy
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push str.zewaxuwawazuwuyuvivi
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push str.ozofowegad_dinomebaxedidox
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push str.pajebipew
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00401029
add ebx, 8
dec edi
jne 0x401157
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4014b6
Capabilities:
Clear file content
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
xor esi, esi
cmp dword [0x2447ef4], 0x400
push edi
jne 0x401514
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call fcn.00401e46
push esi
push esi
call fcn.004017e8
push esi
call fcn.00401de1
push esi
push esi
call fcn.00401c2c
push esi
call fcn.00401f24
push esi
push esi
call fcn.004016ec
add esp, 0x28
xor edi, edi
cmp edi, 0x16d2a
jge 0x40152c
push esi
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsI]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalCompact]
cmp edi, 0x12e82fe
jg 0x401551
inc edi
cmp edi, 0x3011b
jl 0x401516
mov eax, dword [0x42a864]
mov dword [0x2447ef4], eax
call fcn.004011ed
mov edi, 0x2ec37
cmp dword [0x2447ef4], 0x51f
jne 0x40157f
push esi
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x401565
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x40709a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427cfc]
jne 0x4070a4
repz ret
jmp fcn.00409116
Function at 0x4083ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427cfc]
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.004054ba
and dword [ebp - 0x14], 0
cmp dword [0x4354b4], 0
mov dword [ebp - 0x18], eax
jne 0x408460
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408508
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408508
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4354b4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4354b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4354bc], eax
call edi
push eax
call esi
mov dword [0x4354c4], eax
test eax, eax
je 0x408460
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4354c0], eax
mov eax, dword [0x4354c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4084b9
cmp dword [0x4354c4], ecx
je 0x4084b9
push eax
call esi
push dword [0x4354c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4084b9
test ebx, ebx
je 0x4084b9
call edi
test eax, eax
je 0x4084b0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4084b0
test byte [ebp - 8], 1
jne 0x4084b9
or dword [ebp + 0x10], 0x200000
jmp 0x4084ec
mov eax, dword [0x4354b8]
cmp eax, dword [ebp - 0x18]
je 0x4084ec
push eax
call esi
test eax, eax
je 0x4084ec
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084ec
mov eax, dword [0x4354bc]
cmp eax, dword [ebp - 0x18]
je 0x4084ec
push eax
call esi
test eax, eax
je 0x4084ec
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4354b4]
call esi
test eax, eax
je 0x408508
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40850a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040709a
leave
ret
Function at 0x4026b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
xor eax, eax
test ecx, ecx
je 0x4027b2
test edx, edx
je 0x4027b2
cmp dword [esp + 0x2c], 0
mov dword [esp], ecx
je 0x4026fc
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x402703
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp dword [esp + 0x2c], edi
jne 0x4026e0
jmp 0x402705
mov esi, 0x1505
jmp 0x402705
mov esi, ecx
mov ecx, dword [esp]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov ebx, edi
sub ebx, 1
jb 0x4027b2
mov dword [esp + 0x14], ebx
mov dword [esp + 8], edx
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
xor ebx, ebx
mov edx, edi
mov dword [esp + 4], edi
mov dword [esp + 0xc], ebp
jmp 0x402753
mov eax, ebx
and eax, 1
xor ebx, 1
lea ebx, [ebx + eax*2]
cmp ebx, edx
mov ebp, dword [esp + 0xc]
jae 0x4027b0
lea eax, [ebx + ebp]
and eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edi, dword [edi + eax*4]
cmp edi, 0xffffffff
je 0x4027b0
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402740
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + edi*4]
push ebp
call fcn.00408ce0
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x2c]
jne 0x402740
push dword [esp + 0x2c]
push ebp
push dword [esp + 0x10]
call fcn.00408d00
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402740
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4027b2
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4034e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x403676
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x40366f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x403571
add ebp, dword [esp + 0x10]
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp + 0xc]
mov eax, 0x15b0
je 0x40366f
xor edx, edx
cmp eax, 8
mov dword [esp + 8], esi
jb 0x4035e5
mov edx, eax
and edx, 0x1ff8
mov dword [esp], edx
mov edx, 7
nop
nop
nop
nop
mov ebx, eax
movzx eax, byte [ebp]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + 7]
add edi, eax
mov eax, ebx
add ecx, edi
add ebp, 8
add edx, 8
cmp edx, ebx
jb 0x403590
mov esi, dword [esp + 8]
mov edx, dword [esp]
mov ebx, eax
sub ebx, edx
mov dword [esp + 0xc], eax
jbe 0x403538
mov dword [esp], edx
not edx
add edx, eax
mov dword [esp + 4], edx
mov edx, eax
and edx, 3
mov dword [esp + 0x10], ebx
je 0x403624
neg edx
xor eax, eax
mov ebx, ebp
nop
movzx esi, byte [ebx]
inc ebx
add edi, esi
add ecx, edi
dec eax
cmp edx, eax
jne 0x403610
mov edx, dword [esp]
sub edx, eax
jmp 0x403629
mov ebx, ebp
mov edx, dword [esp]
mov eax, dword [esp + 4]
cmp eax, 3
jb 0x403530
mov eax, dword [esp + 0xc]
sub eax, edx
xor edx, edx
nop
nop
movzx esi, byte [ebx + edx]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 1]
add edi, esi
add ecx, edi
movzx esi, byte [ebx + edx + 2]
add esi, edi
add ecx, esi
movzx edi, byte [ebx + edx + 3]
add edi, esi
add ecx, edi
add edx, 4
cmp eax, edx
jne 0x403640
jmp 0x403530
shl ecx, 0x10
or ecx, edi
jmp 0x40367b
mov ecx, 1
mov eax, ecx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403690
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4036f7
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
not esi
test ecx, ecx
je 0x4036ee
xor edx, edx
nop
nop
nop
nop
movzx edi, byte [eax + edx]
mov ebx, esi
not ebx
or ebx, 0xf
add ebx, esi
inc ebx
shr esi, 4
mov ebp, edi
and ebp, 0xf
xor ebp, ebx
xor esi, dword [ebp*4 + 0x43ea18]
mov ebx, esi
and ebx, 0xf
shr edi, 4
add ebx, edi
and edi, esi
shr esi, 4
add edi, edi
sub ebx, edi
xor esi, dword [ebx*4 + 0x43ea18]
inc edx
cmp ecx, edx
jne 0x4036b0
lea eax, [esi + esi]
not eax
add eax, esi
jmp 0x4036f9
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x409160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00409290
sub esp, 0x100
mov esi, esp
jmp 0x409173
call fcn.00439560
test al, 1
jne 0x409181
jmp 0x409256
call fcn.004311e0
test al, 1
jne 0x40918f
jmp 0x40924f
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0
setge al
test al, 1
jne 0x4091b8
jmp 0x40924d
xor eax, eax
sub esp, 0x24
mov dword [esp], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0
setge al
test al, 1
jne 0x409216
jmp 0x409247
call fcn.0040a280
test al, 1
jne 0x409221
jmp 0x409245
lea eax, str.system_or_character_via_spellings_glyphs_a_is_uses_that_in_their_modified_other_on_often_reflection_or_resemblance_on_it_leetspeak__used_similarity_internet._play_eleet_the_of_the_replacements_of_primarily_ways
sub esp, 8
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00409270
add esp, 8
call fcn.0040ed40
call fcn.0040c4d0
jmp 0x409245
jmp 0x409247
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x40924f
call fcn.00439a30
jmp 0x409256
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4092f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20c
mov dword [esp], ecx
mov edi, dword [esp + 0x220]
movzx ecx, word [edi]
test cx, cx
je 0x40941e
lea eax, [edi + 2]
xor ebx, ebx
jmp 0x40932d
add ebx, esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x409351
movzx ebp, cx
xor ecx, ecx
cmp ebp, 0x800
setb dl
mov esi, 1
cmp ebp, 0x80
jb 0x409320
mov cl, dl
xor ecx, 3
mov esi, ecx
jmp 0x409320
lea ebp, [ebx + 1]
push ebp
call fcn.00408bd0
add esp, 4
mov esi, eax
test ebx, ebx
jle 0x40942c
add ebx, esi
add ebp, esi
mov eax, esi
mov dword [esp + 8], ebp
jmp 0x409398
mov byte [eax], dl
mov ebp, 1
add edi, 2
add eax, ebp
cmp eax, ebx
mov ebp, dword [esp + 8]
jae 0x40942e
movzx edx, word [edi]
test dx, dx
je 0x40942e
cmp dx, 0x7f
jbe 0x409380
mov ecx, eax
not ecx
add ecx, ebp
movzx ebp, dx
cmp ecx, 2
jb 0x4093e0
cmp ebp, 0x7ff
ja 0x4093e0
mov ecx, edx
shr ecx, 6
add cl, 0xc0
mov byte [eax], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 1], dl
mov ebp, 2
jmp 0x409387
mov dword [esp + 4], ebp
xor ebp, ebp
cmp ecx, 3
jb 0x409387
mov ebp, dword [esp + 4]
mov ecx, ebp
shr ecx, 0xc
or cl, 0xe0
mov byte [eax], cl
shr ebp, 6
mov ecx, ebp
not ecx
or ecx, 0x3f
add ecx, ebp
add cl, 0x81
mov byte [eax + 1], cl
and dl, 0x3f
or dl, 0x80
mov byte [eax + 2], dl
mov ebp, 3
jmp 0x409387
push 1
call fcn.00408bd0
add esp, 4
mov esi, eax
jmp 0x40942e
mov eax, esi
mov edi, dword [esp + 0x228]
mov edx, dword [esp + 0x224]
mov byte [eax], 0
xor ecx, ecx
jmp 0x409457
mov bl, 0x2f
mov byte [esp + ecx + 0xc], bl
inc ecx
movzx ebx, byte [esi + ecx]
cmp ebx, 0x5c
je 0x409450
test ebx, ebx
jne 0x409452
mov byte [esp + ecx + 0xc], 0
lea eax, [esp + 0xc]
push 0
push 0
push 0
mov ecx, dword [esp + 0xc]
push dword [ecx + 8]
add ecx, 0x10
push 0
push 0
push edi
push edx
push eax
push ecx
call fcn.004057f0
add esp, 0x28
test eax, eax
setne al
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40bb10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x13c], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x120], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x114], 0
mov dword [esi + 0x110], 0
mov dword [esi + 0x108], 0
mov dword [esi + 0x104], 0x3c
mov dword [esi + 0x10c], 0xffffffff
mov dword [esi + 0x118], 0xffffffff
mov dword [esi + 0x134], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x4475dc]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40bbf1
sar edx, 1
lea edi, [esi + 0x104]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x441f50]
jmp dword [0x441f60]
Function at 0x416020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edi + 2], 0
lea edi, [edi + 2]
jne 0x416040
mov esi, dword [ecx + 4]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x416060
sar edi, 1
sar eax, 1
lea ecx, [edi + eax]
add ecx, 2
test ecx, ecx
jns 0x416080
mov eax, 0xffffffff
jmp 0x416087
add eax, edi
add eax, eax
add eax, 4
push eax
call fcn.00408bd0
add esp, 4
movzx ecx, word [esi]
mov ebx, eax
test cx, cx
je 0x4160b1
add esi, 2
mov ebx, eax
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x4160a0
mov word [ebx], 0x5c
add ebx, 2
mov edx, dword [ebp + 0x10]
movzx ecx, word [edx]
test cx, cx
je 0x4160e1
add edx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ebx], cx
add ebx, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4160d0
mov word [ebx], 0
lea ecx, [esp + 8]
push 0x60
push 3
push 0x120089
push ecx
mov dword [esp + 0x34], eax
push eax
call fcn.0043c350
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x442eb0]
Function at 0x4163e0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 0xc]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0x416400
sar esi, 1
lea edi, [esp + 0x6c]
push edi
push 0
push 0
push esi
push eax
push 0
call dword [0x448914]
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jns 0x41642f
mov eax, 0xffffffff
jmp 0x416432
lea eax, [ebx + ebx]
push eax
call fcn.00408bd0
add esp, 4
push edi
push ebx
mov dword [esp + 0x1c], eax
push eax
push esi
push dword [ebp + 0xc]
push 0
call dword [0x448914]
mov dword [esp + 0x20], 0x632e611c
mov dword [esp + 0x24], 0x67f56505
mov dword [esp + 0x28], 0x6b4a69fc
mov dword [esp + 0x2c], 0x6f0b6d1a
mov dword [esp + 0x30], 0x93019102
mov dword [esp + 0x34], 0x97f995fd
mov dword [esp + 0x38], 0x9b9a99f6
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x44], 0
mov dword [esp + 0xb0], 0
mov ecx, dword [esp + 0xb0]
cmp ecx, 0x24
ja 0x416517
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb0]
movzx edx, byte [esp + edx + 0x20]
lea esi, [ecx + edx]
add esi, 0x90095bf0
add ecx, 0x90095bf0
and ecx, edx
add ecx, ecx
sub esi, ecx
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 0x80]
add cl, 0x70
mov edx, dword [esp + 0xb0]
mov byte [esp + edx + 0x20], cl
inc dword [esp + 0xb0]
mov ecx, dword [esp + 0xb0]
cmp ecx, 0x25
jb 0x4164c0
lea edi, [esp + 0xb0]
lea edx, [esp + 0x20]
mov ecx, 7
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0xcc]
xor ecx, ecx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
mov eax, dword [esp + 0x6c]
mov ecx, eax
add ecx, 0xd
jns 0x41654d
mov eax, 0xffffffff
jmp 0x416552
add eax, eax
add eax, 0x1a
push eax
call fcn.00408bd0
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x14]
movzx ecx, word [eax]
mov eax, ebx
test cx, cx
je 0x416591
mov eax, dword [esp + 0x14]
lea edx, [eax + 2]
mov eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x416580
mov word [eax], 0
movzx ecx, word [esp + 0xb0]
test cx, cx
je 0x4165c1
lea edx, [esp + 0xb2]
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x4165b0
mov word [eax], 0
lea eax, [esp + 0x48]
push 0x60
push 3
push 0x120089
push eax
push ebx
call fcn.0043c350
add esp, 0x14
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44318c]
Function at 0x42dd40
Capabilities:
Encode data using xor
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 8]
mov byte [esp + 0xf], 0
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
cmp eax, 0
je 0x42df10
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x48], eax
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
je 0x42df04
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00408ce0
mov dword [esp + 0x38], eax
cmp dword [esp + 0x38], 0
je 0x42def2
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], 0x5b
mov byte [esp + 0x21], 0x8d
mov byte [esp + 0x22], 0xb3
mov byte [esp + 0x23], 0x8b
mov byte [esp + 0x24], 0xa6
mov byte [esp + 0x25], 0x92
mov byte [esp + 0x26], 0xa7
mov byte [esp + 0x27], 0x95
mov byte [esp + 0x28], 0xac
mov byte [esp + 0x29], 0x57
mov byte [esp + 0x2a], 0x9e
mov byte [esp + 0x2b], 0x9b
mov byte [esp + 0x2c], 0x90
mov byte [esp + 0x2d], 0xd
lea eax, [esp + 0x20]
add eax, 0xe
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 3
call fcn.00408c50
call fcn.00409290
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
cmp eax, 0x11
jae 0x42decf
mov dword [esp + 0x40], edi
jmp 0x42de71
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
movzx edi, byte [esp + eax + 0x20]
mov ecx, edx
add ecx, 0xdd9074ac
lea eax, [edx + edi - 0x226f8b54]
and ecx, edi
add edx, 0xac
and edx, edi
add ecx, edx
mov edx, ecx
xor edx, eax
not ecx
and eax, ecx
add eax, eax
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
add al, 0x4c
mov ecx, dword [esp + 0x10]
mov byte [esp + ecx + 0x20], al
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, 0x11
jb 0x42de71
mov edi, dword [esp + 0x40]
jmp 0x42decf
jmp 0x42ded1
lea eax, [esp + 0x20]
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.004094a0
sub esp, 0xc
jmp 0x42deec
and al, 1
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
jmp 0x42df04
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42df0c
jmp 0x42df0e
jmp 0x42df10
mov al, byte [esp + 0xf]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret