joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e2c65
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ecx + 0x1c]
mov ecx, edi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0x38
mov dword [ebp - 0x24], esi
call fcn.004c2e90
push eax
lea eax, [ebp + 0x10]
mov ecx, esi
push eax
call fcn.005753d4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
push 0xc5c5c5
sub eax, ecx
push 1
push eax
mov eax, dword [ebp + 0x1c]
dec eax
push eax
push ecx
mov ecx, esi
call fcn.00575374
lea eax, [edi + 0x114]
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0048ce40
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
push 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push 0xfffffffffffffff6
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_InflateRect]
mov esi, dword [esi]
mov ecx, edi
push 0x2c
call fcn.004c2e90
mov edi, dword [ebp - 0x24]
mov ecx, edi
push eax
call dword [esi + 0x30]
mov eax, dword [ebx + 0x2c]
sub eax, 0x10
push eax
call fcn.00405ebd
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov eax, dword [edi]
lea ecx, [ebp - 0x20]
push 0x8024
push ecx
push dword [esi - 0xc]
mov ecx, edi
mov byte [ebp - 4], 1
push esi
call dword [eax + 0x68]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x527743
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x34]
call fcn.0048d200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x52c060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
test esi, esi
je 0x52c259
mov edi, dword [esi + 4]
test edi, edi
je 0x52c259
push edi
mov dword [ebp + 8], 0
call fcn.0052e590
test eax, eax
je 0x52c103
mov ecx, edi
call fcn.004dcd30
test eax, eax
je 0x52c259
cvtsi2ss xmm0, dword [esi]
mov ebx, dword [eax + 0x14]
movss dword [ebp + 0xc], xmm0
call fcn.0052e360
mov edi, eax
mov edx, dword [edi + 0x38]
test edx, edx
jne 0x52c0ce
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x61558c
push dword [edi]
call eax
mov dword [edi + 0x38], eax
mov edx, eax
fld dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
push 0
push ecx
movzx ecx, bl
shl ecx, 8
movzx eax, bx
shr eax, 8
or ecx, eax
mov eax, ebx
shr eax, 0x10
and ebx, 0xff000000
shl ecx, 8
movzx eax, al
or ecx, eax
or ecx, ebx
fstp dword [esp]
push ecx
call edx
jmp 0x52c158
push dword [ebp + 0xc]
mov ecx, ebx
push edi
call fcn.0052bc80
mov ebx, eax
test ebx, ebx
je 0x52c158
cvtsi2ss xmm0, dword [esi]
movss dword [ebp + 0xc], xmm0
call fcn.0052e360
mov edi, eax
mov eax, dword [edi + 0x3c]
test eax, eax
jne 0x52c13c
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x61559c
push dword [edi]
call eax
mov dword [edi + 0x3c], eax
fld dword [ebp + 0xc]
lea ecx, [ebp + 8]
push ecx
push 0
push ecx
fstp dword [esp]
push ebx
call eax
push ebx
call fcn.0052e360
push eax
call fcn.0052e270
cmp dword [ebp + 8], 0
je 0x52c259
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x52c1ad
call fcn.004a23b0
mov ecx, dword [esi + 8]
cmp eax, 1
jne 0x52c190
push 0
call fcn.004a2320
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
lea eax, [ebp - 8]
fst dword [ebp - 8]
fstp dword [ebp - 4]
push 2
jmp 0x52c19e
call fcn.004a23b0
mov ecx, dword [esi + 8]
push eax
call fcn.004a23c0
push eax
push dword [ebp + 8]
call fcn.0052e360
push eax
call fcn.0052e2d0
mov edi, dword [esi + 0x14]
test edi, edi
je 0x52c1e4
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.0052e360
mov ebx, eax
mov eax, dword [ebx + 0xb0]
test eax, eax
jne 0x52c1de
push 0x6156a0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xb0], eax
push edi
push dword [ebp + 0xc]
call eax
mov edi, dword [esi + 0xc]
test edi, edi
je 0x52c21b
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
call fcn.0052e360
mov ebx, eax
mov eax, dword [ebx + 0xb4]
test eax, eax
jne 0x52c215
push 0x6156b4
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xb4], eax
push edi
push dword [ebp + 0xc]
call eax
mov esi, dword [esi + 0x10]
test esi, esi
je 0x52c24d
mov ebx, dword [ebp + 8]
call fcn.0052e360
mov edi, eax
mov eax, dword [edi + 0xb8]
test eax, eax
jne 0x52c249
push 0x6156c8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0xb8], eax
push esi
push ebx
call eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x52e370
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 0
call fcn.0052e360
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [eax + 4], 0
je 0x52e3e3
mov esi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
call fcn.0052e360
cmp esi, ebx
je 0x52e3c7
mov ecx, dword [eax + 0x24]
mov dword [ebp - 8], eax
test ecx, ecx
jne 0x52e3bd
push 0x61552c
push dword [eax]
call edi
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x24], eax
mov ecx, eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
call ecx
jmp 0x52e3e3
mov ebx, eax
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x52e3dc
push 0x615540
push dword [ebx]
call edi
mov dword [ebx + 0x28], eax
lea ecx, [ebp - 4]
push ecx
push esi
call eax
mov ebx, dword [ebp - 4]
test ebx, ebx
jne 0x52e3f3
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0052e360
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x52e40d
push 0x6154ec
push dword [esi]
call edi
mov dword [esi + 0x18], eax
push 2
push ebx
call eax
mov ebx, dword [ebp - 4]
call fcn.0052e360
mov esi, eax
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x52e42f
push 0x6154fc
push dword [esi]
call edi
mov dword [esi + 0x1c], eax
push 2
push ebx
call eax
mov ebx, dword [ebp - 4]
call fcn.0052e360
mov esi, eax
mov eax, dword [esi + 0x14]
test eax, eax
jne 0x52e451
push 0x6154d4
push dword [esi]
call edi
mov dword [esi + 0x14], eax
push 4
push ebx
call eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x52e730
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x54]
mov edi, eax
test edi, edi
jne 0x52e760
push dword [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052e620
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov ebx, dword [ebx]
test ebx, ebx
cmovle ebx, eax
call fcn.0052e360
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x52e791
push 0x6154fc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov ecx, eax
push 2
push edi
call ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.0052e460
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x52e84d
lea ecx, [ebp - 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0052bc80
mov dword [ebp + 0x14], eax
test eax, eax
je 0x52e84d
call fcn.0052e360
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x52e7ed
push 0x6154d4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov ecx, eax
push 4
push edi
call ecx
call fcn.0052e360
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x68]
test ecx, ecx
jne 0x52e816
push 0x615654
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x68], eax
mov ecx, eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push edi
call ecx
call fcn.0052e360
mov dword [ebp - 4], eax
mov ecx, dword [eax + 0x44]
test ecx, ecx
jne 0x52e848
push 0x6155c0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x44], eax
mov ecx, eax
push dword [ebp + 0x14]
call ecx
test ebx, ebx
jle 0x52e8e7
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push dword [ebp + 0x10]
call fcn.0052c060
mov dword [ebp + 0x10], eax
test eax, eax
je 0x52e8e7
call fcn.0052e360
mov dword [ebp + 0x14], eax
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x52e88e
push 0x6154d4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 0x14], eax
mov ecx, eax
not ebx
and ebx, 1
shl ebx, 2
push ebx
push edi
call ecx
call fcn.0052e360
mov ebx, eax
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x52e8b8
push 0x615610
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x58], eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
push edi
call eax
call fcn.0052e360
mov ebx, eax
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x52e8e2
push 0x6155d0
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x48], eax
push dword [ebp + 0x10]
call eax
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x58]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x52f740
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e3f47
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x65eb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0056509a
mov dword [ebp - 4], 0
mov dword [esi], vtable.CXTPResourceImages.0
call fcn.0056500f
mov ecx, eax
test ecx, ecx
je 0x52f8b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [ebp - 4], 1
call fcn.0056500f
mov ecx, eax
test ecx, ecx
je 0x52f8b3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
lea ebx, [esi + 0x54]
mov byte [ebp - 4], 2
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.0057124f
mov dword [ebx], vtable.CXTPResourceImages::CBitmapDC.0
mov dword [ebx + 0x10], 0
push 0xa
lea ecx, [esi + 0x74]
call fcn.0052f690
push 0xa
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 4
call fcn.00586f01
push 0
push 0xc7
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 5
call fcn.00584d5a
push 0
push 0x65
lea ecx, [esi + 0x74]
call fcn.00490200
mov edi, esi
mov dword [edi + 0x34], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x50], 0
call fcn.005710c5
push 0
push 0
mov ecx, edi
mov eax, dword [eax + 8]
push eax
call fcn.00531e90
lea eax, [edi + 0x6c]
mov dword [eax], 0
push eax
push 0x200
push 0x200
push 0
call fcn.00498f90
add esp, 0x10
mov dword [edi + 0x68], eax
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00571b58
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404e0e
int3
Function at 0x531750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
call fcn.00531b20
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
push 0x61594c
cmp dword [ecx - 0xc], 0
je 0x531801
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x531792
mov eax, dword [esi + 0x24]
cmp dword [eax - 0xc], 0
jne 0x531792
push dword [esi + 0x28]
mov ecx, esi
call fcn.00530c30
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x5317c7
push edi
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x5317c7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [esi + 0x28]
mov dword [esi + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x2c]
mov ebx, 1
mov dword [esi + 0x30], eax
mov ecx, esi
call fcn.005312e0
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x5317e5
push 0
push 0
push 0
push 0x294f
call fcn.0053fc00
push 0
push 0x615988
push 0x6159ac
mov ecx, esi
call fcn.00530d70
pop edi
mov dword [esi + 0x50], eax
mov eax, ebx
pop esi
pop ebx
ret
push 0x615960
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x53177d
push 0x12
push 0x615960
lea ecx, [esi + 0x24]
call fcn.00405684
jmp 0x531798

Function at 0x5378c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x5378f8
cmp dword [ebp + 0xc], 0xf0
jae 0x5378e8
push eax
call fcn.005411e0
push 2
call fcn.00541130
add esp, 8
mov dword [esi], eax
push 0xf0
push 0
push eax
call fcn.0059dbb0
add esp, 0xc
pop esi
pop ebp
ret
Function at 0x53c150
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov al, byte [edi + 8]
mov byte [ebp - 0x15], al
cmp al, 3
je 0x53c338
movzx edx, byte [edi + 9]
test al, 2
mov eax, dword [ebp + 0x10]
mov ecx, edx
push ebx
mov ebx, dword [edi]
je 0x53c1b1
movzx eax, byte [eax]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, edx
movzx eax, byte [eax + 1]
sub ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, edx
movzx eax, byte [eax + 2]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, 3
jmp 0x53c1bf
movzx eax, byte [eax + 3]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, 1
test byte [ebp - 0x15], 4
mov dword [ebp - 0x1c], ecx
je 0x53c1d9
mov eax, dword [ebp + 0x10]
movzx eax, byte [eax + 4]
sub edx, eax
mov dword [ebp + ecx*4 - 0x14], edx
inc ecx
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je case.0x53c223.3
xor edi, edi
cmp dword [ebp + eax*4 - 0x14], 0
jg 0x53c1f6
mov dword [ebp + eax*4 - 0x14], 0
jmp 0x53c1fb
mov edi, 1
inc eax
cmp eax, ecx
jl 0x53c1e5
test di, di
mov edi, dword [ebp + 8]
je case.0x53c223.3
movzx eax, byte [edi + 9]
add eax, 0xfffffffe
cmp eax, 0xe
ja case.0x53c223.3
movzx eax, byte [eax + 0x53c35c]
jmp dword [eax*4 + 0x53c348]
mov ecx, dword [edi + 4]
test ecx, ecx
je case.0x53c223.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, 1
and al, 0x55
mov byte [esi - 1], al
sub ecx, 1
jne 0x53c235
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x14]
mov ebx, 0xf0
mov edx, dword [edi + 4]
mov eax, 0xf
sar ebx, cl
and bl, 0xf0
sar eax, cl
or bl, al
test edx, edx
je case.0x53c223.3
mov al, byte [esi]
lea esi, [esi + 1]
shr al, cl
mov ecx, dword [ebp - 0x14]
and al, bl
mov byte [esi - 1], al
sub edx, 1
jne 0x53c278
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor edi, edi
test ebx, ebx
je case.0x53c223.3
lea ebx, [ebx]
mov eax, edi
lea esi, [esi + 1]
xor edx, edx
inc edi
div ecx
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
cmp edi, ebx
jb 0x53c2b0
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
imul ebx, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je case.0x53c223.3
mov edi, 0x100
lea ecx, [ecx]
xor edx, edx
lea esi, [esi + 1]
div ecx
movzx ecx, byte [esi - 1]
lea esi, [esi + 1]
movzx eax, di
mov edi, ecx
imul edi, eax
movzx eax, byte [esi - 1]
movzx ecx, word [ebp + edx*4 - 0x14]
add di, ax
shr di, cl
movzx ecx, di
mov edi, 0x100
mov eax, ecx
mov byte [esi - 1], cl
mov ecx, dword [ebp - 0x1c]
shr eax, 8
mov byte [esi - 2], al
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp - 0x24]
jb 0x53c2f0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
Function at 0x53e890
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x53e9e6
cmp dword [esi + 0x20], eax
je 0x53e9e6
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetCapture]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], 0
call edi
mov ebx, eax
lea eax, [esi + 0x10]
nop
cmp dword [esi + 0x20], 0
je 0x53e8ef
call edi
sub eax, ebx
cmp eax, 0x14
jbe 0x53e8ec
call edi
mov ebx, eax
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0x18]
lea eax, [esi + 0x10]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, dword [esi + 0x24]
je 0x53e912
mov ecx, dword [esi + 0xc]
lea edx, [esi + 0x10]
mov dword [esi + 0x24], eax
push 1
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
lea eax, [esi + 0x10]
je 0x53e8d0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [ebp + 8]
jne 0x53e9a1
mov eax, dword [ebp - 0x1c]
cmp eax, 0x200
ja 0x53e97e
je 0x53e969
cmp eax, 0x1f
je 0x53e9ab
cmp eax, 0x100
jne 0x53e98a
cmp dword [ebp - 0x18], 0x1b
je 0x53e9ab
jmp 0x53e8cc
mov eax, dword [ebp - 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
jmp 0x53e8cc
sub eax, 0x202
je 0x53e999
sub eax, 2
je 0x53e9ab
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x53e8cc
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], eax
jmp 0x53e9ab
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [ebp + 0x10]
mov ecx, dword [esi + 0xc]
push dword [ebp + 0xc]
mov dword [esi + 0x24], 0
push dword [ebp + 8]
call fcn.0053eaf0
mov ecx, dword [esi + 0xc]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp dword [ebp - 4], 0
pop edi
pop ebx
je 0x53e9e6
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x18]
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x541670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x54168a
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x54168a
push dword [ebp + 0xc]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x54fd00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5575
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x1b
xor eax, eax
mov dword [ebp - 0x40], 0
push 0x5ef2cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004049aa
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ebx, dword [esi + 0x1b4]
cmovae eax, dword [ebp - 0x40]
push ebx
push eax
push 0
push 0
mov dword [ebp - 4], 0
call fcn.00405826
xor ecx, ecx
mov edx, 2
lea edi, [eax + 1]
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005649e3
mov esi, eax
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
push edi
push esi
mov byte [ebp - 4], 1
call fcn.00405826
lea eax, [edi - 1]
mov dword [ebp - 0x28], 0
lea eax, [esi + eax*2]
mov dword [ebp - 0x18], 0
add esp, 0x24
mov dword [ebp - 0x14], 7
cmp esi, eax
je 0x54fde2
sub eax, esi
lea ecx, [ebp - 0x28]
sar eax, 1
push eax
push esi
call fcn.004049aa
test esi, esi
je 0x54fdef
push esi
call fcn.005649de
add esp, 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x54fe29
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x54fe1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54fea5
push edx
push ecx
call fcn.00599f8e
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x5ecc50
push 0x5ecc50
push eax
push 0x5eefe4
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x54fe89
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x54fe7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54feaa
push edx
push ecx
call fcn.00599f8e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.005a1930
call fcn.005a1930
int3
Function at 0x5502c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e5645
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x65eb68]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x1c]
mov eax, dword [esi]
mov dword [edi + 0x18], eax
lea eax, [esi + 4]
push eax
call fcn.0048d280
lea eax, [esi + 8]
push eax
lea ecx, [edi + 0x20]
call fcn.0048d280
lea eax, [esi + 0xc]
push eax
lea ecx, [edi + 0x24]
call fcn.0048d280
lea eax, [esi + 0x10]
push eax
lea ecx, [edi + 0x28]
call fcn.0048d280
lea eax, [esi + 0x14]
push eax
lea ecx, [edi + 0x2c]
call fcn.0048d280
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x30]
call fcn.0048d280
lea eax, [esi + 0x1c]
push eax
lea ecx, [edi + 0x34]
call fcn.0048d280
lea eax, [esi + 0x20]
push eax
lea ecx, [edi + 0x38]
call fcn.0048d280
lea eax, [esi + 0x24]
push eax
lea ecx, [edi + 0x3c]
call fcn.0048d280
lea eax, [esi + 0x28]
push eax
lea ecx, [edi + 0x40]
call fcn.0048d280
lea eax, [esi + 0x2c]
push eax
lea ecx, [edi + 0x44]
call fcn.0048d280
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x48]
call fcn.0048d280
lea eax, [esi + 0x34]
push eax
lea ecx, [edi + 0x4c]
call fcn.0048d280
mov eax, dword [esi + 0x38]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x3c]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x40]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x48]
mov dword [edi + 0x5c], eax
lea eax, [esi + 0x4c]
mov dword [edi + 0x60], ecx
lea ecx, [edi + 0x64]
push eax
call fcn.0048d280
mov al, byte [esi + 0x50]
lea ecx, [edi + 0x18]
mov byte [edi + 0x68], al
mov eax, dword [esi + 0x54]
mov dword [edi + 0x6c], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x74], eax
lea eax, [ebp + 8]
push eax
call fcn.004455ac
push eax
lea ecx, [edi + 0xd8]
mov dword [ebp - 4], 0
call fcn.0048d280
mov edx, dword [ebp + 8]
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x550413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 0x18]
call fcn.0044575c
push eax
lea ecx, [edi + 0xdc]
mov dword [ebp - 4], 1
call fcn.0048d280
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x550451
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], ecx
mov ecx, edi
push eax
call fcn.00443f86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4