joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457f20
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x10c
push ebp
mov ebp, dword [esp + 0x114]
push esi
xor esi, esi
push edi
cmp ebp, esi
mov edi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
jne 0x457f52
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
push esi
mov ecx, edi
call fcn.00457cb0
test eax, eax
jne 0x457f6f
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10c
ret 4
lea eax, [esp + 0xc]
push eax
push str.SYSTEMCurrentControlSetServicesWinSock2ParametersProtocol_Catalog9Catalog_Entries
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x457f96
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret 4
mov edx, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea ecx, [esp + 0x18]
push 0x104
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x457fe4
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push ebp
push eax
push ecx
mov ecx, edi
call fcn.004579c0
test eax, eax
jne 0x457fcd
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
inc esi
push 0x104
push edx
push esi
push eax
call ebx
test eax, eax
je 0x457fb3
push 0
push str.SYSTEMCurrentControlSetServicesWinSock2ESPI11
push closesocket
mov ecx, edi
call fcn.00457790
mov eax, dword [esp + 0x10]
pop ebx
test eax, eax
je 0x458007
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x10c
ret 4

Function at 0x45cbd0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x45cc73
test eax, eax
jbe 0x45cc73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x45cc73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45cc1e
xor esi, esi
jmp 0x45cc24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45cc4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045eac0
add esi, eax
push esi
mov ebx, esi
call fcn.0045eac0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x45cc30
pop ebp
test edi, edi
pop edi
jne 0x45cc73
test ebx, ebx
je 0x45cc73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00461f50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x45cdb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45cecd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45cecd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004731ce
mov esi, eax
test esi, esi
je 0x45cecd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45cecd
mov ecx, esi
call fcn.0045cd20
cmp edi, eax
jge 0x45cecd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x45ce53
mov dword [esp + 0x34], 1
jmp 0x45ceae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45cecd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045c2d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x473b72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x473baa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00471c29
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00471c01
jmp 0x473bb6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x475267
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 0x4752a9
call fcn.0047ad1c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4752a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4752a0
xor eax, eax
jmp 0x4752b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004752b7
pop edi
pop esi
pop ebx
ret 4
Function at 0x47b24c
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 0x47b27a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47b298
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047b1b2
jmp 0x47b298
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47b298
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047b1b2
test edi, edi
mov eax, edi
jne 0x47b282
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x417f60
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
movsx eax, word [0x452210]
sub eax, 0x4066cee0
mov cx, word [0x452210]
add cx, 1
mov word [0x452210], cx
cmp eax, 0x600df101
jg 0x417f9e
fld dword [0x4522ac]
fsub qword [0x44c4f0]
fstp dword [0x4522ac]
mov edx, dword [ebp - 4]
mov dword [edx], 0
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x41d040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x45213c]
sub eax, 1
mov dword [0x45213c], eax
mov ecx, dword [0x45213c]
sub ecx, 0x6d664df2
mov dword [ebp - 0x10], ecx
fild dword [ebp - 0x10]
fadd qword [0x4525e0]
fstp qword [0x4525e0]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
jmp 0x41d094
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
je 0x41d0d5
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
xor ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx], ecx
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
shl ecx, 0x1f
or eax, ecx
mov dword [ebp - 8], eax
movzx edx, byte [ebp - 8]
movzx eax, byte [ebp - 7]
add eax, edx
mov byte [ebp - 7], al
movzx ecx, byte [ebp - 7]
movzx edx, byte [ebp - 8]
add edx, ecx
mov byte [ebp - 8], dl
jmp 0x41d08b
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x41d2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4521b0]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fmul qword [0x452400]
fstp qword [0x452400]
mov ecx, dword [0x4521b0]
add ecx, 1
mov dword [0x4521b0], ecx
cmp dword [0x45431c], 0
jne 0x41d33c
mov edx, dword [0x452488]
add edx, 1
mov dword [0x452488], edx
mov eax, dword [0x452488]
mov ecx, 0x6588c8e9
sub ecx, eax
mov dword [ebp - 0x14], ecx
fild dword [ebp - 0x14]
fadd dword [0x452084]
fstp dword [0x452084]
call fcn.00414b90
mov dword [0x45431c], eax
push 3
push 0x1a9d
call fcn.0041d520
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004210f8
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
push 3
call fcn.0040e590
add esp, 8
cmp dword [ebp - 4], 0
jne 0x41d3b3
push 0x3e8
call dword [0x453c20]
push 3
push 0x1a9d
call fcn.0041d520
add esp, 8
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004210f8
add esp, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 3
call fcn.0040e590
add esp, 8
cmp dword [ebp - 4], 0
je 0x41d410
movsx edx, word [0x4523d8]
mov eax, 0x625b39eb
sub eax, edx
add eax, 0x10b53612
movsx ecx, word [0x452394]
imul ecx, eax
mov word [0x452394], cx
mov dx, word [0x4523d8]
add dx, 1
mov word [0x4523d8], dx
mov eax, dword [ebp - 4]
push eax
push 1
push 4
push 0x45431c
call fcn.004220ab
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.00421ee0
add esp, 4
fld dword [0x452248]
fadd qword [0x44bcd0]
fstp dword [0x452248]
fld dword [0x452248]
fsubr dword [0x452470]
fld qword [0x44c948]
fcompi st(1)
fstp st(0)
jb 0x41d462
fld dword [0x4522e0]
fadd qword [0x44c940]
fld qword [0x44c938]
fld dword [0x4522e0]
fsub qword [0x44bcd0]
fstp dword [0x4522e0]
fcompi st(1)
fstp st(0)
mov esp, ebp
pop ebp
ret

Function at 0x427be3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x452be8]
jne 0x427bed
repz ret
jmp fcn.00433e90
Function at 0x4341e6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x452be8]
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.0042518c
and dword [ebp - 0x14], 0
cmp dword [0x4551c4], 0
mov dword [ebp - 0x18], eax
jne 0x434299
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x434341
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x434341
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4551c4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4551c8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4551cc], eax
call edi
push eax
call esi
mov dword [0x4551d4], eax
test eax, eax
je 0x434299
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4551d0], eax
mov eax, dword [0x4551d0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4342f2
cmp dword [0x4551d4], ecx
je 0x4342f2
push eax
call esi
push dword [0x4551d4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4342f2
test ebx, ebx
je 0x4342f2
call edi
test eax, eax
je 0x4342e9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4342e9
test byte [ebp - 8], 1
jne 0x4342f2
or dword [ebp + 0x10], 0x200000
jmp 0x434325
mov eax, dword [0x4551c8]
cmp eax, dword [ebp - 0x18]
je 0x434325
push eax
call esi
test eax, eax
je 0x434325
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x434325
mov eax, dword [0x4551cc]
cmp eax, dword [ebp - 0x18]
je 0x434325
push eax
call esi
test eax, eax
je 0x434325
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4551c4]
call esi
test eax, eax
je 0x434341
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x434343
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00427be3
leave
ret
Function at 0x519350
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xca000]
push edi
or ebp, 0xffffffff
jmp 0x519372
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x519379
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x519368
mov eax, 1
add ebx, ebx
jne 0x51938b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51939c
jne 0x5193bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5193bb
dec eax
add ebx, ebx
jne 0x5193a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x519380
add ebx, ebx
jne 0x5193b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51940d
xor ecx, ecx
sub eax, 3
jb 0x5193d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x519442
sar eax, 1
mov ebp, eax
jmp 0x5193de
add ebx, ebx
jne 0x5193de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5193ac
inc ecx
add ebx, ebx
jne 0x5193ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5193ac
add ebx, ebx
jne 0x5193f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5193ee
jne 0x51940a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5193ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51942c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51941e
jmp 0x51936e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51942c
add edi, ecx
jmp 0x51936e
pop esi
mov edi, esi
mov ecx, 0x3705
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51944a
cmp byte [edi], 0x1e
jne 0x51944a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x51944f
lea edi, [esi + 0x116000]
mov eax, dword [edi]
or eax, eax
je 0x5194c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x15f378]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15f47c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51947c
mov ecx, edi
jns 0x5194ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15f480]
or eax, eax
je 0x5194c1
mov dword [ebx], eax
add ebx, 4
jmp 0x519499
call dword [esi + 0x15f488]
mov ebp, dword [esi + 0x15f484]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5194fb
sub esp, 0xffffff80
jmp 0x47376f
Function at 0x15031
Capabilities:
Resolve function by parsing pe exports

Disassembly:
not eax
lahf
pushal
shld ax, bp, cl
mov dword [esp + 0x1c], ebp
test esp, ecx
rol bp, 6
test dh, 0x5e
lea ebp, [esp + 0x1c]
bswap ax
rol ah, 3
pushal
sub esp, 0xffffffdc
shld eax, esi, 0x14
shrd ax, di, cl
adc ax, 0xc150
push esi
sbb ah, ah
push edi
push ebx
clc
mov dword [esp], ebx
inc ax
stc
shr ah, cl
push edx
btc ax, ax
aaa
mov ah, ch
cmc
mov eax, dword [ebp + 8]
jmp 0x191e1
je 0x166fe
cmp bl, 1
sar si, 0xe
sbb si, ax
mov esi, dword [eax + 0x3c]
bsr dx, di
bsf edx, ebp
lea edx, [edi + 0x73da04]
rol dh, 7
add esi, eax
bswap dx
mov edx, dword [esi + 0x78]
cmp dx, bp
test edx, edx
pushfd
push 0x6c8aa0e2
lea esp, [esp + 8]
je 0x166fe
dec cl
add ch, al
btc cx, 1
call fcn.000199ef
push dword [esp + 4]
stc
cmp eax, edx
push ebp
lea esp, [esp + 0x28]
jb 0x1670b
cmc
jmp 0x19bc9
test eax, eax
jmp 0x1911b

Function at 0x40153b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esp
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [esp + 0x2c], 1
je 0x401554
movzx esi, word [esp + 0x30]
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x4044e0], eax
mov dword [ebp - 0x4c], 0x30
call fcn.0040152b
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x44], 0x40120e
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], str.Trick
mov dword [ebp - 0x20], eax
call fcn.0040151e
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test eax, eax
je 0x401626
mov eax, 0x80000000
push edi
push dword [ebp - 0x38]
push edi
push edi
push eax
push eax
push eax
push eax
push 0x80
push str.Qindom
push str.Trick
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x4044e8], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4044e8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push edi
push edi
push edi
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
je 0x401626
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x1c]
push eax
call edi
lea ecx, [ebp - 0x1c]
push ecx
call ebx
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call esi
test eax, eax
jne 0x40160a
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x407ef8
mov ecx, 0xa5c0118
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section._RDATA
nop
mov ebx, 0x42cd70
mov ecx, 0xa3c59a5
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401300
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
xor edi, edi
add eax, 0x20
mov edi, edi
mov ecx, dword [ebp + edi*4]
mov esi, ecx
shl esi, 8
shr esi, 0x18
mov dword [esp + 0x10], esi
mov esi, ecx
shl esi, 0x10
mov edx, ecx
shr edx, 0x18
shr esi, 0x18
mov ebx, esi
movzx esi, dl
mov edx, dword [eax - 0x20]
xor edx, esi
movzx esi, byte [esp + 0x10]
mov dword [eax - 0x20], edx
mov edx, dword [eax - 0x10]
xor edx, esi
mov dword [eax - 0x10], edx
mov edx, dword [eax]
shl ecx, 0x18
movzx esi, bl
shr ecx, 0x18
xor edx, esi
mov dword [eax], edx
movzx edx, cl
mov ecx, dword [eax + 0x10]
xor ecx, edx
mov dword [eax + 0x10], ecx
inc edi
add eax, 4
cmp edi, 4
jl 0x401310
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4013e0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
add eax, 0x20
mov dword [esp + 0x10], 4
mov ecx, dword [eax - 0x20]
mov edx, dword [eax - 0x10]
mov ebx, dword [ecx*4 + 0x46cc80]
xor ebx, dword [edx*4 + 0x46c480]
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
mov ebp, dword [esi*4 + 0x46c880]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x46c080]
xor ebx, ebp
mov dword [eax - 0x20], ebx
mov ebx, dword [ecx*4 + 0x46c080]
xor ebx, dword [edx*4 + 0x46cc80]
mov ebp, dword [esi*4 + 0x46c480]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x46c880]
xor ebx, ebp
mov dword [eax - 0x10], ebx
mov ebx, dword [ecx*4 + 0x46c880]
xor ebx, dword [edx*4 + 0x46c080]
mov ebp, dword [esi*4 + 0x46cc80]
xor ebp, ebx
mov ebx, dword [edi*4 + 0x46c480]
xor ebx, ebp
mov dword [eax], ebx
mov ecx, dword [ecx*4 + 0x46c480]
xor ecx, dword [edx*4 + 0x46c880]
mov esi, dword [esi*4 + 0x46c080]
xor esi, ecx
mov ecx, dword [edi*4 + 0x46cc80]
xor ecx, esi
mov dword [eax + 0x10], ecx
add eax, 4
sub dword [esp + 0x10], 1
jne 0x4013f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x402130
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451290
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x469bb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x464a2c
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x20], 0x2e
call fcn.0043e1d4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x28], ebx
lea esi, [edx + eax + 0x18]
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
jge 0x40225a
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x4021e9
mov edx, dword [ebp + 0xc]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x40224c
mov eax, dword [esi + 0xc]
push 4
push 0x1000
push edi
add eax, ebx
push eax
call dword [0x46fe10]
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.0043d590
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add esi, 0x28
jmp 0x402194
mov ecx, dword [esi + 0xc]
push 4
push 0x1000
push eax
add ecx, ebx
push ecx
call dword [0x46fe10]
push 0x464a2c
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 2
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x63
call fcn.0043e1d4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
push ecx
push edx
push eax
call fcn.00442150
add esp, 0xc
mov dword [ebp - 4], 1
mov eax, 0x402240
ret
inc dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
add esi, 0x28
jmp 0x402194
mov eax, 0x402260
ret