joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412896
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4128ba
cmp dword [edi + 0x74], 0
jne 0x4128ba
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00415124
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00412857
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x415503
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004151a7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41554d
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004072a2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407273
jmp 0x415558
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00416c7f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x41555e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0040db76
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41559b
call fcn.004151a7
mov dword [esi + 0xc], 1
jmp 0x4155a0
call fcn.004151a7
cmp dword [esi], 0
je 0x4155e9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x4155c1
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004072a2
jmp 0x4155d3
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.0040394f
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407273
jmp 0x41560d
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41560d
push dword [esi]
push dword [ebp + 8]
call fcn.00416c7f
pop esi
pop ebp
ret 0xc
Function at 0x418f3b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x570470]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x418f70
xor eax, eax
jmp 0x418fc3
lea eax, [ebp - 0x210]
push eax
call fcn.004fd6ee
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x418fa1
push 0x551ad8
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004ff7b9
add esp, 0xc
test eax, eax
jne 0x418f6c
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.004ff7b9
add esp, 0xc
test eax, eax
jne 0x418f6c
lea eax, [ebp - 0x210]
push eax
call fcn.00408ec2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004fa527
leave
ret

Function at 0x44e1de
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004d3843
call fcn.00414b55
cmp dword [eax + 0x14], 0
jne 0x44e1fb
mov ecx, esi
pop esi
jmp fcn.0044dce3
pop esi
ret

Function at 0x45186b
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004aeb20
call fcn.00414b55
cmp dword [eax + 0x14], 0
jne 0x451888
mov ecx, esi
pop esi
jmp fcn.0045123e
pop esi
ret

Function at 0x466cb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x466cca
call fcn.00415124
mov esi, dword [eax + 0xc]
push dword [0x575af0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x466ce8
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x466ce0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x466d15
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x466ce2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00466bde
mov esi, eax
jmp 0x466d07
Function at 0x4e0f02
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e0f1a
mov edi, dword [esi + 0xc]
jmp 0x4e0f5a
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4e0f33
call fcn.0040e9ff
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e0f48
call fcn.0040e9ff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e0f5a
call fcn.0040e9ff
call fcn.00415124
cmp dword [eax + 0x3c], 0
je 0x4e0f6f
push edi
mov ecx, ebx
call fcn.004dfdb6
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e0e1c
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e0f8d
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e0f99
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4fa527
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x570470]
jne 0x4fa531
repz ret
jmp fcn.005033d3
Function at 0x511c98
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x570470]
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.00502dfb
and dword [ebp - 0x14], 0
cmp dword [0x5784f0], 0
mov dword [ebp - 0x18], eax
jne 0x511d4b
push 0x52ca08
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x511df3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x54f398
push ebx
call edi
test eax, eax
je 0x511df3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x54f388
push ebx
mov dword [0x5784f0], eax
call edi
push eax
call esi
push 0x54f374
push ebx
mov dword [0x5784f4], eax
call edi
push eax
call esi
push 0x54f358
push ebx
mov dword [0x5784f8], eax
call edi
push eax
call esi
mov dword [0x578500], eax
test eax, eax
je 0x511d4b
push 0x54f340
push ebx
call edi
push eax
call esi
mov dword [0x5784fc], eax
mov eax, dword [0x5784fc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x511da4
cmp dword [0x578500], ecx
je 0x511da4
push eax
call esi
push dword [0x578500]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x511da4
test ebx, ebx
je 0x511da4
call edi
test eax, eax
je 0x511d9b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x511d9b
test byte [ebp - 8], 1
jne 0x511da4
or dword [ebp + 0x10], 0x200000
jmp 0x511dd7
mov eax, dword [0x5784f4]
cmp eax, dword [ebp - 0x18]
je 0x511dd7
push eax
call esi
test eax, eax
je 0x511dd7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x511dd7
mov eax, dword [0x5784f8]
cmp eax, dword [ebp - 0x18]
je 0x511dd7
push eax
call esi
test eax, eax
je 0x511dd7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5784f0]
call esi
test eax, eax
je 0x511df3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x511df5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa527
leave
ret
Function at 0x401f80
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x401fcb
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x401fbb
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x401fa1
jmp 0x401fc0
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40201b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x401fe0
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x401fe0
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x401ffc
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403690
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40203d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x4020b0
mov esi, dword [ebx]
cmp esi, ebx
je 0x4020b0
test esi, esi
je 0x4020b0
cmp word [esi + 0x24], 2
jbe 0x4020aa
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x4020aa
cmp dword [esi + 0x18], 0
je 0x4020aa
test ebp, ebp
je 0x402065
cmp ebp, eax
jne 0x4020aa
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403690
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40208a
cmp eax, dword [esi + 0x18]
jne 0x4020aa
cmp dword [esp + 0x10], 0
je 0x4020bd
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.004030c0
add esp, 8
test eax, eax
je 0x4020bd
mov esi, dword [esi]
cmp esi, ebx
jne 0x402043
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x402640
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x402668
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x402676
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40268f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x40269d
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x4026b6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4026c4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4026dd
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4026eb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x402732
add dword [esp], 5
retf
Function at 0x4027c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x802008]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x40296d
cmp dword [0x80200c], 0
jne 0x402959
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.00403ca0
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x402810
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x402820
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41b0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x402855
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00403ca0
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4028b4
sub edx, esi
sar edx, 1
je 0x40296d
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x4028d0
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x40296d
xor eax, eax
push ebx
test edx, edx
je 0x402908
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x402908
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x4028f1
xor eax, eax
test edx, edx
je 0x402922
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x402922
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x402910
xor eax, eax
test edx, edx
je 0x40293f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x40293f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x402930
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x802008]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret
Function at 0x403cd0
Capabilities:
Check os version

Disassembly:
mov ecx, 1
mov edx, 0x802148
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x403df9
cmp dword fs:[0xc0], eax
je 0x403cfb
mov dword [0x802144], 1
mov eax, dword fs:[0x18]
push ebx
push esi
mov ebx, 1
mov esi, dword [eax + 0x30]
mov eax, dword [esi + 0xa4]
mov dword [0x80202c], eax
mov eax, dword [esi + 0xa8]
mov dword [0x802030], eax
movzx edx, word [esi + 0xac]
mov dword [0x802034], edx
mov eax, dword [esi + 0xb0]
mov dword [0x802038], eax
mov eax, dword [esi + 0x1f4]
test eax, eax
je 0x403d5b
push 0x7f
push eax
push 0x80203c
call fcn.00403690
mov edx, dword [0x802034]
add esp, 0xc
jmp 0x403d63
xor eax, eax
mov word [0x80203c], ax
movzx eax, byte [esi + 0xaf]
mov ecx, 0xff
mov word [0x80213c], ax
movzx eax, word [esi + 0xae]
and ax, cx
mov word [0x80213e], ax
movzx eax, word [0x7ffe02d0]
mov word [0x802140], ax
mov ecx, eax
mov byte [0x802142], 0
cmp byte [0x7ffe0268], 0
je 0x403daa
mov ebx, dword [0x7ffe0264]
pop esi
mov byte [0x802142], bl
cmp ebx, 1
pop ebx
jne 0x403dc4
and ecx, 0xffef
mov word [0x802140], cx
test edx, edx
jne 0x403df9
call fcn.00403cd0
cmp dword [0x80202c], 6
ja 0x403df9
jb 0x403de1
cmp dword [0x802030], 4
jae 0x403df9
call fcn.00403cd0
cmp dword [0x80202c], 0xa
jae 0x403df9
mov dword [0x802034], 1
ret

Function at 0x404090
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0x808
push ebx
push ebp
push esi
push edi
xor edi, edi
mov dword [esp + 0x10], edx
xor ebp, ebp
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4040eb
mov edi, ecx
lea edx, [edi + 2]
nop
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4040b0
sub edi, edx
sar edi, 1
cmp edi, 0x200
jb 0x4040cc
mov edi, 0x1ff
push edi
push ecx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.00403690
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x40410d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x40417f
mov esi, dword [ebx]
cmp esi, ebx
je 0x40417f
test esi, esi
je 0x40417f
cmp word [esi + 0x24], 2
jbe 0x404179
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x404179
cmp dword [esi + 0x18], 0
je 0x404179
test ebp, ebp
je 0x404135
cmp ebp, eax
jne 0x404179
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.00403690
mov edx, dword [esp + 0x1c]
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
test edx, edx
je 0x40415a
cmp edx, dword [esi + 0x18]
jne 0x404179
cmp dword [esp + 0x14], eax
je 0x40418c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.004030c0
add esp, 8
test eax, eax
je 0x40418c
mov esi, dword [esi]
cmp esi, ebx
jne 0x404113
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x808
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x808
ret
Function at 0x4042c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x802df8]
sub esp, 0x11c
test eax, eax
jne 0x4043be
push ebx
push esi
push edi
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x30]
push eax
call fcn.00403ca0
add esp, 0xc
xor edi, edi
xor eax, eax
lea ebx, [ebx]
mov byte [esp + eax + 0x28], al
inc eax
cmp eax, 0x100
jb 0x404310
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x28]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41b100]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x28]
mov byte [esp + esi + 0x28], al
inc esi
mov byte [esp + edi + 0x28], dl
cmp esi, 0x100
jb 0x404320
xor edi, edi
xor ebx, ebx
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [esp + edi + 0x28]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
movzx eax, byte [esp + ebx + 0x28]
mov byte [esp + edi + 0x28], al
mov byte [esp + ebx + 0x28], cl
movzx eax, byte [esp + edi + 0x28]
add eax, edx
movzx eax, al
movzx eax, byte [esp + eax + 0x28]
xor al, byte [esi + 0x41b104]
mov byte [esp + esi + 0xc], al
inc esi
cmp esi, 0x1a
jb 0x404355
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.00404090
pop edi
pop esi
pop ebx
test eax, eax
je 0x4043b9
mov eax, dword [eax + 0x18]
test eax, eax
je 0x4043b9
mov dword [0x802df8], eax
add esp, 0x11c
ret
mov eax, dword [0x802df8]
add esp, 0x11c
ret

Function at 0x41acd2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x4069e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x408e63
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x412278]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
mov eax, esp
mov dword [esp + 0x14], esp
mov dword [eax], ecx
push edx
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QDialog::constructor_class_QWidget___class_QFlags_enum_Qt::WindowType__]
mov dword [esi], vtable.CRegisterDlg.1.0
mov dword [esi + 8], vtable.CRegisterDlg.0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x2c], 0
mov dword [esi + 0x60], eax
mov ecx, eax
mov edx, 1
lock xadd dword [ecx], edx
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esi + 0x64]
mov byte [esp + 0x30], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
push esi
lea ecx, [esi + 0x14]
mov byte [esp + 0x30], 2
call fcn.00402580
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_class_QSize___thiscall_QWidget::minimumSize_void_]
push eax
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QWidget::setFixedSize_class_QSize_const__]
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push str.:_ico_ico_sys_nr.png
push edx
call dword [sym.imp.QtCore4.dll_public:_static_class_QString___cdecl_QString::fromUtf8_char_const___int_]
add esp, 8
mov ecx, esp
mov dword [esp + 0x38], esp
push 0
mov dword [ecx], 0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 3
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QPixmap::constructor_class_QString_const___char_const___class_QFlags_enum_Qt::ImageConversionFlag__]
mov ecx, dword [esi + 0x1c]
push eax
mov byte [esp + 0x30], 4
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QLabel::setPixmap_class_QPixmap_const__]
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call dword [sym.imp.QtGui4.dll_public_virtual:_void___thiscall_QPixmap::destructor_void_]
mov eax, dword [esp + 0x38]
mov byte [esp + 0x2c], 2
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x406af5
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__]
add esp, 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0
call edx
mov ecx, esi
call fcn.00406880
mov ecx, esi
call fcn.00401ed0
mov eax, dword [esi + 0x58]
mov edi, dword [sym.imp.QtCore4.dll_public:_static_bool___cdecl_QObject::connect_class_QObject_const___char_const___class_QObject_const___char_const___enum_Qt::ConnectionType_]
push 0
push str.1onRegisterClicked__
push esi
push str.2clicked__
push eax
call edi
mov ecx, dword [esi + 0x5c]
push 0
push str.1onRegisterLaterClicked__
push esi
push str.2clicked__
push ecx
call edi
add esp, 0x28
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0xc
Function at 0x407198
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412278]
jne 0x4071a2
repz ret
jmp fcn.004075d7
Function at 0x7ce0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.007ce200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x7ce0d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce0c2
add dl, dl
jne 0x7ce0e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce134
xor eax, eax
add dl, dl
jne 0x7ce0ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x7ce1d5
add dl, dl
jne 0x7ce0fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce11e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x7ce12a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x7ce0cd
mov eax, 1
add dl, dl
jne 0x7ce142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x7ce14d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce139
sub eax, ebx
mov ebx, 1
jne 0x7ce180
mov ecx, 1
add dl, dl
jne 0x7ce166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ce171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce15d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce0cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x7ce197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x7ce1a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x7ce18e
cmp eax, 0x7d00
jae 0x7ce1c5
cmp eax, 0x500
jb 0x7ce1c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce0cd
cmp eax, 0x7f
ja 0x7ce1c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x7ce0cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x7ce1f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x7ce0cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10