joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4761c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4761ef
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x47626e
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.00474a7c
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x47623c
mov cx, word [esp]
sub cx, si
jmp 0x47623e
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x476225
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x476264
mov cx, word [esp]
sub cx, si
jmp 0x476266
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x47624d
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4762cb
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.00475e94
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4762b6
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4762cb
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4761ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47c810
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4b2bf0
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x47c832
shr eax, 1
xor eax, 0xedb88320
jmp 0x47c834
shr eax, 1
dec edx
jne 0x47c820
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x47c819
mov byte [0x4b2ff0], 1
pop esi
pop ebx
ret

Function at 0x47c850
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4b2ff0], 0
jne 0x47c867
call fcn.0047c810
mov eax, edi
dec eax
test eax, eax
jl 0x47c890
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4b2bf0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x47c871
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x47f620
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x47f651
dec al
je 0x47f68d
dec al
je 0x47f6d1
dec al
je 0x47f73c
jmp 0x47f7c6
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x47f7c6
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47f661
jmp 0x47f7c6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47f7c6
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x47f69d
jmp 0x47f7c6
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47f7c6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x47f6ff
xor ebp, ebp
jmp 0x47f710
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x47f719
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47f6e1
jmp 0x47f7c6
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x47f7c6
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x47f794
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0047c898
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x47f750
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48424c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415994]
call fcn.0040530c
xor eax, eax
push ebp
push 0x484390
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b0040], 0
jne 0x48429f
mov ecx, dword [0x4b11d0]
mov dl, 1
mov eax, dword [0x407d8c]
call fcn.0040c8b4
call fcn.00404338
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403294
mov eax, ebx
call fcn.004051bc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4843a0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004063a4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004051cc
test eax, eax
jle 0x484337
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x484330
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bf0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c38
test eax, eax
jne 0x484330
mov ebx, 0x15
jmp 0x48433c
mov ebx, 0x10
jmp 0x48433c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b0040]
call fcn.004841a4
mov eax, dword [ebp - 8]
call fcn.004841a4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004063bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484397
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049a4
lea eax, [ebp - 0x10]
mov edx, dword [0x415994]
call fcn.004053dc
ret
Function at 0x4992b8
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4992c0
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4994b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4994c8
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004049d4
lea ecx, [ebp - 0x10]
mov edx, 0x4994dc
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004049d4
lea ecx, [ebp - 0x14]
mov edx, 0x4994f4
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004049d4
lea ecx, [ebp - 0x18]
mov edx, 0x499510
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004049d4
lea ecx, [ebp - 0x1c]
mov edx, 0x49952c
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004049d4
lea ecx, [ebp - 0x24]
mov edx, 0x499544
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408ca8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004090b8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x49955c
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x28]
call fcn.00490c1c
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x49956c
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x2c]
call fcn.00490c1c
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x499584
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004090b8
inc eax
je 0x499455
lea ecx, [ebp - 0x34]
mov edx, 0x499584
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x34]
call fcn.0040907c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a734
fstp qword [ebp - 0x3c]
wait
call fcn.0040aa98
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x499470
lea ecx, [ebp - 0x40]
mov edx, 0x499584
mov eax, esi
call fcn.00497144
mov eax, dword [ebp - 0x40]
call fcn.00490c1c
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x499594
mov eax, esi
call fcn.00497144
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004049d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4994b9
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004049a4
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004049a4
ret
Function at 0x4a0244
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a029e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a0234
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0048f888
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0048f488
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a02a5
lea eax, [ebp - 4]
call fcn.00404980
ret

Function at 0x4a35cc
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, edx
sub eax, 1
jae 0x4a35dc
call fcn.00403aec
test eax, eax
jb 0x4a3612
inc eax
xor edx, edx
mov dl, byte [esi]
mov ebx, dword [ecx]
and ebx, 0xff
xor edx, ebx
cmp edx, 0xff
jbe 0x4a35fc
call fcn.00403ae4
mov edx, dword [edx*4 + 0x4b08f8]
mov ebx, dword [ecx]
shr ebx, 8
xor edx, ebx
mov dword [ecx], edx
add esi, 1
dec eax
jne 0x4a35e1
pop esi
pop ebx
ret
Function at 0x40561b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40a020]
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.00402fb6
and dword [ebp - 0x14], 0
cmp dword [0x40b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x4056ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405776
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405776
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40b7e0], eax
call edi
push eax
call esi
mov dword [0x40b7e8], eax
test eax, eax
je 0x4056ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40b7e4], eax
mov eax, dword [0x40b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405727
cmp dword [0x40b7e8], ecx
je 0x405727
push eax
call esi
push dword [0x40b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405727
test ebx, ebx
je 0x405727
call edi
test eax, eax
je 0x40571e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40571e
test byte [ebp - 8], 1
jne 0x405727
or dword [ebp + 0x10], 0x200000
jmp 0x40575a
mov eax, dword [0x40b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40575a
push eax
call esi
test eax, eax
je 0x40575a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40575a
mov eax, dword [0x40b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40575a
push eax
call esi
test eax, eax
je 0x40575a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40b7d8]
call esi
test eax, eax
je 0x405776
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405778
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040237a
leave
ret

Function at 0x300129e2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
or eax, 0xffffffff
cmp dword [0x300217d0], ecx
push esi
mov esi, 0xff
jne 0x30012a2b
mov dword [0x300217d0], 1
push edi
push 8
mov edx, ecx
pop edi
test dl, 1
je 0x30012a17
shr edx, 1
xor edx, 0xedb88320
jmp 0x30012a19
shr edx, 1
dec edi
test edi, edi
jg 0x30012a08
mov dword [ecx*4 + 0x300213d0], edx
inc ecx
cmp ecx, esi
jle 0x30012a03
pop edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jbe 0x30012a4c
mov edx, dword [ebp + 8]
movzx edx, byte [edx]
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0x300213d0]
inc dword [ebp + 8]
dec ecx
jne 0x30012a32
not eax
pop esi
pop ebp
ret 8
Function at 0x19c9500
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x660000]
push edi
or ebp, 0xffffffff
jmp 0x19c9522
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x19c9529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x19c9518
mov eax, 1
add ebx, ebx
jne 0x19c953b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x19c9530
jne 0x19c954c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x19c9530
xor ecx, ecx
sub eax, 3
jb 0x19c9560
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x19c95d2
mov ebp, eax
add ebx, ebx
jne 0x19c956b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x19c9578
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x19c959c
inc ecx
add ebx, ebx
jne 0x19c9588
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x19c957d
jne 0x19c9599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x19c957d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x19c95bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x19c95ad
jmp 0x19c951e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x19c95bc
add edi, ecx
jmp 0x19c951e
pop esi
mov edi, esi
mov ecx, 0x1d36f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x19c95da
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 0x19c95df
lea edi, [esi + 0xac5000]
mov eax, dword [edi]
or eax, eax
je 0x19c9647
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb44580]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb446ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x19c9605
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb446b0]
or eax, eax
je 0x19c9641
mov dword [ebx], eax
add ebx, 4
jmp 0x19c9622
call dword [esi + 0xb446c0]
mov ebp, dword [esi + 0xb446b4]
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 0x19c967b
sub esp, 0xffffff80
jmp 0x146f768
Function at 0x4010c4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
push edi
push esi
and dword [ebp - 0x28], 0
push ebx
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0xc], 0xffffffff
lea ebx, [ebp - 0xc]
push 0
push 0
push 0
push 0
push 0
push ebx
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
mov ecx, 0x100
loop 0x40110a
call fcn.00401226
xor edi, edi
sub edi, eax
mov ebx, 0xfffffa82
mov dword [ebp - 0x18], edi
xor dword [ebp - 0x18], ebx
jne fcn.00401000
xor edi, edi
mov dword [ebp - 4], edi
push edi
popfd
sub ebx, ebx
xor ebx, 0x40cfb4
neg ebx
sub edi, ebx
add edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], edi
mov edx, ebp
mov edi, 0x1a8
neg edi
add edx, edi
mov dword [ebp - 0x10], edx
xor edi, edi
sub edi, section..data
neg edi
mov dword [ebp - 0x28], 0
xor dword [ebp - 0x28], edi
mov esi, dword [ebp - 0x10]
sub esi, 0xfffffff0
mov dword [ebp - 0x1c], esi
sub dword [ebp - 4], 0x30
not dword [ebp - 4]
sub dword [ebp - 4], 0xffffffff
push dword [ebp - 0x28]
push dword [ebp - 4]
push dword [ebp - 0xc]
lea edx, [ebp - 0x1a8]
push edx
jmp 0x401236
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 4]
mov ebx, dword [ebp - 0x10]
add edx, dword [ebx]
mov dword [ebp - 0x24], edx
mov edx, 0x40
push edx
and dword [ebp - 0x18], 0
mov edx, 0x3000
push edx
push dword [ebp - 0x24]
xor eax, eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
mov dword [ebp - 8], eax
je 0x401272
mov dword [ebp - 0x20], 0x400000
and dword [ebp - 0x1ac], 0
jmp 0x4011ea
mov edx, dword [ebp - 0x1ac]
inc edx
mov dword [ebp - 0x1ac], edx
mov edx, dword [ebp - 0x1c]
add edx, 8
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1ac]
mov esi, dword [edx + 8]
cmp edi, esi
jae 0x401240
push dword [ebp - 0x28]
mov ebx, dword [ebp - 0x1c]
push dword [ebx + 4]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
add ebx, dword [edx]
push ebx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.00401231
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add edx, dword [eax + 4]
mov dword [ebp - 0x18], edx
jmp 0x4011d4
call fcn.00401000
jmp 0x40118d
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
mov edx, 0x1370
add eax, edx
mov dword [ebp - 0x14], eax
push dword [ebp - 0x19c]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
add ebx, dword [eax + 4]
push ebx
mov ebx, dword [ebp - 0x14]
push ebx
push 0x740
mov eax, dword [ebp - 0x14]
push eax
ret 4
push 0xc4
ret
Function at 0x401898
Capabilities:
Check mutex on windows

Disassembly:
push str.Mutex32
push 1
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [0x405038], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x4018dc
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x405030], eax
push 5
push 0
push 0
push eax
call 0x4018e2
push eax
push dword [0x405038]
call sub.kernel32.dll_ReleaseMutex
pop eax
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0x401a24
push dword [ebp + 8]
pop dword [ebp - 0x1c]
push 0x7f06
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 1
push dword [ebp + 8]
call sub.user32.dll_LoadCursorA
mov dword [0x405058], eax
mov dword [ebp - 0x14], eax
push 0x333366
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x40503c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Win32Class
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
mov ebx, eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0x138
push 0x10a
push 0
push 0
push 0x86000000
push 0
push ebx
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405034], eax
push dword [ebp + 0x14]
push eax
call sub.user32.dll_ShowWindow
push dword [0x405034]
call sub.user32.dll_UpdateWindow
push dword [ebp + 8]
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.0040124f
or eax, eax
je 0x401a05
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_PeekMessageA
or eax, eax
je 0x4019e5
mov eax, dword [ebp - 0x48]
cmp eax, 0x12
je 0x401a05
lea eax, [ebp - 0x4c]
push eax
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.00401310
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
push dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
call fcn.004013d4
jmp 0x4019b5
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.004012ca
push dword [ebp + 8]
push ebx
call sub.user32.dll_UnregisterClassA
mov eax, dword [ebp - 0x44]
leave
ret 0x10
Function at 0x4018e2
Capabilities:
Hide graphical window

Disassembly:
push str.Mutex32
push 1
push 0
call sub.kernel32.dll_CreateMutexA
mov dword [0x405038], eax
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x4018dc
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x405030], eax
push 5
push 0
push 0
push eax
call 0x4018e2
push eax
push dword [0x405038]
call sub.kernel32.dll_ReleaseMutex
pop eax
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0x401a24
push dword [ebp + 8]
pop dword [ebp - 0x1c]
push 0x7f06
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 1
push dword [ebp + 8]
call sub.user32.dll_LoadCursorA
mov dword [0x405058], eax
mov dword [ebp - 0x14], eax
push 0x333366
call sub.gdi32.dll_CreateSolidBrush
mov dword [0x40503c], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], str.Win32Class
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
mov ebx, eax
push 0
push dword [ebp + 8]
push 0
push 0
push 0x138
push 0x10a
push 0
push 0
push 0x86000000
push 0
push ebx
push 0
call sub.user32.dll_CreateWindowExA
mov dword [0x405034], eax
push dword [ebp + 0x14]
push eax
call sub.user32.dll_ShowWindow
push dword [0x405034]
call sub.user32.dll_UpdateWindow
push dword [ebp + 8]
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.0040124f
or eax, eax
je 0x401a05
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_PeekMessageA
or eax, eax
je 0x4019e5
mov eax, dword [ebp - 0x48]
cmp eax, 0x12
je 0x401a05
lea eax, [ebp - 0x4c]
push eax
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.00401310
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
push dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
call fcn.004013d4
jmp 0x4019b5
push dword [0x405034]
lea eax, [ebp - 0x78]
push eax
call fcn.004012ca
push dword [ebp + 8]
push ebx
call sub.user32.dll_UnregisterClassA
mov eax, dword [ebp - 0x44]
leave
ret 0x10