joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59b4a2
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
cmp word [0x6b3c94], dx
push 1
pop ecx
jne 0x59b51b
push ebx
push esi
lea esi, [eax + 0x10]
push edi
mov dword [ebp + 8], ecx
mov edi, esi
mov ecx, edx
shl ecx, 8
or ecx, edx
shl ecx, 2
mov ebx, ecx
shl ebx, 0x10
or ebx, ecx
add ebx, 0x3020100
inc edx
mov dword [edi], ebx
add edi, 4
cmp edx, 0x10
jl 0x59b4c1
xor ecx, ecx
mov dl, byte [esi + ecx]
movzx edi, dl
sub edi, ecx
mov byte [ecx + 0x6b3c98], dl
neg edi
sbb edi, edi
inc edi
and dword [ebp + 8], edi
inc ecx
cmp ecx, 0x40
jl 0x59b4e5
mov cx, word [ebp + 8]
push 1
mov word [0x6b3cd8], cx
pop ecx
pop edi
pop esi
mov word [0x6b3c94], cx
xor edx, edx
pop ebx
cmp byte [ebp + 0xc], dl
je 0x59b529
cmp word [0x6b3cd8], dx
jne 0x59b52b
xor ecx, ecx
mov byte [eax + 0x58], cl
mov dword [eax + 0x54], edx
mov dword [eax + 0x50], edx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x5a0136
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
lea eax, [eax + eax*2]
push str.RCDATA
shl eax, 2
mov esi, dword [eax + 0x69d9d4]
mov edi, dword [eax + 0x69d9d8]
push esi
call fcn.0059308b
pop ecx
test eax, eax
pop ecx
jne 0x5a0164
push 0xa
jmp 0x5a0165
push esi
push edi
push dword [0x6adb7c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x5a01e0
push esi
push dword [0x6adb7c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5a01e0
push esi
push dword [0x6adb7c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
jne 0x5a01a1
push ebx
jmp 0x5a01b2
lea eax, [esi + 1]
push eax
call fcn.0059347c
mov edi, eax
pop ecx
test edi, edi
push ebx
jne 0x5a01ba
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x5a01eb
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push eax
push edi
call fcn.0059acbb
and byte [edi + esi], 0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov eax, edi
jmp 0x5a01ed
push 0x40000007
call fcn.00593610
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x5a4fdf
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x10
pop eax
xor ebx, ebx
xor ecx, ecx
cmp dword [ebp + 0x10], eax
jle 0x5a4ff3
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], ebx
jle 0x5a506e
mov eax, dword [ebp + 8]
push 0x108
push eax
mov ecx, dword [eax]
call dword [ecx]
pop ecx
pop ecx
mov ecx, eax
cmp ecx, ebx
je 0x5a506e
push esi
xor esi, esi
push edi
xor eax, eax
mov byte [eax + ecx + 4], al
inc eax
cmp eax, 0x100
jl 0x5a5013
xor edi, edi
mov edx, dword [ebp + 0xc]
mov al, byte [edi + ecx + 4]
add ebx, eax
mov dl, byte [esi + edx]
add edx, ebx
and edx, 0xff
mov dword [ebp - 4], edx
mov dl, byte [ecx + edx + 4]
mov ebx, dword [ebp - 4]
mov byte [edi + ecx + 4], dl
mov byte [ecx + ebx + 4], al
lea eax, [esi + 1]
cdq
idiv dword [ebp + 0x10]
inc edi
cmp edi, 0x100
mov esi, edx
jl 0x5a5021
mov eax, dword [ebp + 8]
and byte [ecx + 0x104], 0
and byte [ecx + 0x105], 0
pop edi
mov dword [ecx], eax
pop esi
mov eax, ecx
pop ebx
leave
ret
Function at 0x5a5073
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x5a50f8
mov al, byte [ecx + 0x104]
mov edx, dword [ebp + 0x14]
mov byte [ebp + 0xb], al
mov al, byte [ecx + 0x105]
test edx, edx
mov byte [ebp - 1], al
jle 0x5a50e6
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
sub eax, ebx
push edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
inc byte [ebp + 0xb]
movzx eax, byte [ebp + 0xb]
mov dl, byte [eax + ecx + 4]
add byte [ebp - 1], dl
lea esi, [eax + ecx + 4]
movzx eax, byte [ebp - 1]
lea edi, [eax + ecx + 4]
mov al, byte [eax + ecx + 4]
mov byte [esi], al
add eax, edx
and eax, 0xff
mov byte [edi], dl
mov edx, dword [ebp + 0x10]
mov al, byte [eax + ecx + 4]
xor al, byte [edx + ebx]
mov byte [ebx], al
inc ebx
dec dword [ebp + 0x14]
jne 0x5a50a8
pop edi
pop esi
pop ebx
mov al, byte [ebp + 0xb]
mov byte [ecx + 0x104], al
mov al, byte [ebp - 1]
mov byte [ecx + 0x105], al
leave
ret
Function at 0x5a730f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp word [ebp + 0x18], 0
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
sete al
push esi
mov esi, dword [ecx]
mov ecx, dword [ebp + 0xc]
dec eax
and al, 1
push edi
mov dl, byte [ecx]
add eax, 0xff
mov byte [ebp + 0x1b], al
mov byte [ebp - 1], dl
mov byte [ecx], 0xaa
movzx ecx, byte [ebx]
movzx edx, al
xor ecx, edx
inc ebx
test ecx, ecx
mov dword [ebp - 8], ecx
jne 0x5a73b7
cmp byte [ebx], al
jne 0x5a73b1
cmp byte [ebx + 1], al
lea ecx, [ebx + 1]
jne 0x5a73ab
cmp byte [ebx + 2], al
lea ecx, [ebx + 2]
jne 0x5a73a3
cmp byte [ebx + 3], al
lea ecx, [ebx + 3]
jne 0x5a739d
mov cl, al
push 4
neg cl
sbb ecx, ecx
pop edx
mov dword [ebp + 8], ecx
mov ecx, ebx
and ecx, 3
lea edi, [ebx - 1]
sub edx, ecx
mov ecx, dword [ebp + 8]
add ebx, edx
cmp dword [ebx], ecx
jne 0x5a738d
add ebx, 4
jmp 0x5a7384
imul edi, edi, 0x1fff
add edi, ebx
shl edi, 3
add word [esi], di
jmp 0x5a733d
add word [esi], 0x20
jmp 0x5a73a7
add word [esi], 0x18
mov ebx, ecx
jmp 0x5a733d
add word [esi], 0x10
jmp 0x5a73a7
add word [esi], 8
jmp 0x5a733d
mov dx, word [ecx*2 + 0x635214]
lea ecx, [ecx*2 + 0x635214]
movzx edi, dx
mov cl, byte [ecx + 2]
add edi, 0x635418
sub cl, dl
mov dword [ebp + 8], edx
mov byte [ebp + 0xb], cl
jne 0x5a73e4
call fcn.005a0049
mov al, byte [ebp + 0x1b]
cmp byte [ebp + 0xb], 8
jbe 0x5a73f2
call fcn.005a0049
mov al, byte [ebp + 0x1b]
cmp esi, dword [ebp + 0x14]
jb 0x5a73ff
call fcn.005a0049
mov al, byte [ebp + 0x1b]
movzx edx, byte [ebp + 0xb]
lea ecx, [edx - 1]
cmp ecx, 7
ja case.default.0x5a740f
jmp dword [ecx*4 + 0x5a74d5]
cmp dword [ebp + 0xc], ebx
jb 0x5a74c3
movzx cx, byte [edi + 6]
mov word [esi + 0xe], cx
movzx cx, byte [edi + 5]
mov word [esi + 0xc], cx
movzx cx, byte [edi + 4]
mov word [esi + 0xa], cx
movzx cx, byte [edi + 3]
mov word [esi + 8], cx
movzx cx, byte [edi + 2]
mov word [esi + 6], cx
movzx cx, byte [edi + 1]
mov word [esi + 4], cx
not al
mov byte [ebp + 0x1b], al
jmp case.default.0x5a740f
cmp dword [ebp + 0xc], ebx
jb 0x5a74c3
movzx cx, byte [edi + 7]
mov word [esi + 0x10], cx
movzx cx, byte [edi + 6]
mov word [esi + 0xe], cx
movzx cx, byte [edi + 5]
mov word [esi + 0xc], cx
movzx cx, byte [edi + 4]
mov word [esi + 0xa], cx
movzx cx, byte [edi + 3]
mov word [esi + 8], cx
movzx cx, byte [edi + 2]
mov word [esi + 6], cx
movzx cx, byte [edi + 1]
mov word [esi + 4], cx
movzx cx, byte [edi]
mov word [esi + 2], cx
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + 0x635818]
and cl, 0xf
movzx cx, cl
add word [esi], cx
lea esi, [esi + edx*2]
jmp 0x5a733d
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp - 1]
pop edi
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
pop esi
pop ebx
leave
ret
Function at 0x5ab184
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64c
cmp dword [0x6b3e34], 0
jne 0x5ab2c4
push ebx
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
push dword [0x6adb7c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x54c]
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0044d458
lea eax, [ebp - 0x208]
push str...ResourceCMap
push eax
call fcn.00593265
push 0x672440
lea eax, [ebp - 0x208]
push 0x67dc28
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0044dc27
mov esi, dword [sym.imp.USER32.dll_OemToCharA]
add esp, 0x30
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x30c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5ab2bb
push edi
test byte [ebp - 0x44c], 0x10
jne 0x5ab2a8
lea eax, [ebp - 0x420]
push 0x6adac0
push eax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0044dc27
add esp, 0x14
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x30c]
push eax
call fcn.00598ce9
mov edi, eax
push edi
call fcn.005ab2c6
pop ecx
test ax, ax
pop ecx
jne 0x5ab2a8
push edi
call fcn.00598dfa
push eax
call fcn.00598289
pop ecx
pop ecx
lea eax, [ebp - 0x44c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x5ab240
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop esi
pop ebx
leave
ret
Function at 0x5bb524
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x24]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x5bb54e
test ecx, ecx
jne 0x5bb558
test edx, edx
jne 0x5bb558
mov eax, edi
jmp 0x5bb5c4
cmp eax, 0xffffffff
jne 0x5bb558
push 0xfffffffffffffffe
pop eax
jmp 0x5bb5c4
mov edx, dword [esi + 0x24]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x5bb5c4
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.005b9272
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x5bb589
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x5bb5a8
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x5bb61f
push eax
mov eax, dword [esi + 0x6c]
add eax, dword [esi + 0x64]
add eax, dword [esi + 0x30]
push eax
push ecx
call fcn.005bb624
add dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x6c]
add esp, 0xc
cmp ebx, 3
jb 0x5bb60b
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x50]
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp ebx, 0x106
jae 0x5bb61f
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x5bb530
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x5defd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
push ebx
push ebp
xor ebx, ebx
mov ebp, dword [ecx + 0x10]
xor eax, eax
push esi
cmp ebp, ebx
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
je 0x5df155
jmp 0x5deff8
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
cmp edi, ebx
je 0x5df045
add ebp, 4
mov esi, ebp
lea eax, [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x5df02e
cmp cl, bl
je 0x5df02a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x5df02e
add eax, 2
add esi, 2
cmp cl, bl
jne 0x5df00a
xor eax, eax
jmp 0x5df033
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x5df120
mov edi, dword [edi]
cmp edi, ebx
jne 0x5df005
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], ebx
call fcn.005dd8e0
add esp, 8
cmp eax, ebx
mov dword [esp + 0x18], eax
jne 0x5df155
mov edx, dword [esp + 0x10]
add ebp, 4
mov ecx, 0x4b
mov esi, ebp
lea edi, [edx + 4]
push ebp
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push 3
mov dword [ecx + 0x134], eax
mov edx, dword [esp + 0x1c]
push ebx
push 1
push ebx
push ebp
mov dword [edx + 0x14c], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x5df145
lea eax, [esp + 0x24]
lea ecx, [esp + 0x1c]
push eax
push ebx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x5df13e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
push esi
mov dword [edx + 0x138], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov dword [ecx + 0x13c], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x140], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x144], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push 0x2e
add ecx, 4
push ecx
call fcn.0044df50
mov edx, dword [esp + 0x18]
add esp, 8
mov dword [edx + 0x148], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x5deff4
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x54416464
push esi
call fcn.005df1b0
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x5f2062
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5f209a
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.005f0a62
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005f0a3a
jmp 0x5f20a6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x5f3950
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 0x5f3992
call fcn.00603e5e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5f3992
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5f3989
xor eax, eax
jmp 0x5f399a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005f39a0
pop edi
pop esi
pop ebx
ret 4

Function at 0x5f4c66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x5f4c88
cmp dword [edi + 0x3c], 0
jne 0x5f4c88
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00603e5e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.005f4cb5
pop edi
pop esi
pop ebx
ret 8

Function at 0x60586c
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 0x60589a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6058b8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006057d2
jmp 0x6058b8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6058b8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006057d2
test edi, edi
mov eax, edi
jne 0x6058a2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x60e8bd
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x60e8e5
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x60e8f6
push 2
call edi
test ax, ax
jge 0x60e8f6
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.005f16b4
cmp dword [esi + 0x30], ebx
jne 0x60e9d0
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.005f16b4
cmp eax, dword [esp + 0x34]
jne 0x60e9d0
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x60e96c
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x60e9b1
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x60e9d0
cmp eax, 0x205
je 0x60e9d0
cmp eax, 0x201
je 0x60e9d0
cmp eax, 0x204
je 0x60e9d0
cmp eax, ebx
jne 0x60e997
cmp dword [esp + 0x1c], 0x1b
je 0x60e9d0
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x6b003c]
jbe 0x60e9c6
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x60e929
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x526c5c
Capabilities:
Encode data using xor

Disassembly:
push edx
jae 0x526c19
iretd
and ah, bh
pop es
cmp eax, 0x86d5d5d7
je 0x526c54
sbb byte [edx - 0x75], al
or eax, 0xd71eb958
inc edx
mov ecx, dword [0xd71eb958]
fst qword [edx + 0x71fc2cba]
xor edi, dword [0x96a7cbd0]
mov edx, 0x3371fc2c
cmp eax, 0x96a7cbd0
sal dh, cl
js 0x526bc7
push 0x4b
cmp dword [ecx - 0x164edc6f], 0x57
inc ebp
jnp 0x526c10
pop eax
inc edi
das
movsd dword es:[edi], dword [esi]
out 0xfb, al
insb byte es:[edi], dx
invalid
push edx
dec esp
mov dword [esi - 0x1f886fc7], ebx
jecxz 0x526c05
fcmovnb st(0), st(1)
invalid
Function at 0x53b27e
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x130
push ebx
xor ebx, ebx
push esi
xor esi, esi
inc ebx
cmp dword [ebp + 0x7c], 2
push edi
mov byte [ebp + 0x67], 0
jne 0x53b2b0
cmp byte [0x4673a5], 0
mov dword [ebp + 0x7c], ebx
jne 0x53b2b0
mov byte [0x4673a5], bl
mov byte [ebp + 0x67], bl
cmp dword [0x4681f0], esi
je 0x53b2c3
push esi
mov ecx, 0x4681d8
call 0x570888
cmp dword [ebp + 0x78], 0x8000012f
push 0xa
pop edi
jne 0x53b2d8
mov dword [ebp + 0x78], edi
mov byte [ebp + 0x38], 1
jmp 0x53b2e6
cmp dword [ebp + 0x78], 5
setle byte [ebp + 0x38]
cmp byte [ebp + 0x38], 0
je 0x53b2eb
mov dword [ebp + 0x18], esi
jmp 0x53b2f4
call dword [fcn.0045a26c]
mov dword [ebp + 0x18], eax
cmp dword [0x4693dc], esi
je 0x53b301
call fcn.0053c38f
cmp dword [0x468158], esi
mov byte [ebp + 0x6f], 0
je 0x53b31a
call fcn.0053b0fc
test al, al
je 0x53b31a
mov byte [ebp + 0x6f], 1
cmp dword [ebp + 0x78], esi
jle 0x53b4ef
cmp dword [ebp + 0x7c], ebx
jne 0x53b4ef
inc dword [0x4673b4]
cmp byte [0x46739f], 0
mov byte [ebp + 0x66], 1
jne 0x53b359
push esi
push edi
push 9
push dword [0x467254]
call dword [0x45a4bc]
test eax, eax
setne al
mov byte [0x46739f], al
mov ebx, dword [ebp + 0x78]
mov byte [ebp + 0x63], 0
mov byte [ebp + 0x65], 0
mov byte [ebp + 0x66], 0
jmp 0x53b359
Function at 0x53ba18
Capabilities:
Check for software breakpoints

Disassembly:
inc esi
add byte [edi], cl
test dword [ebx], ebp
add eax, dword [eax]
add byte [ebx + 0x33f633c1], cl
jmp [0x401]
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, eax
call fcn.00402a69
push 0x200
lea eax, [esi + 4]
push 0
push eax
call fcn.00414570
push 0x200
lea ecx, [esi + 0x204]
push 0
push ecx
call fcn.00414570
push 0x80
lea edx, [esi + 0x408]
push 0
push edx
call fcn.00414570
push 0x80
lea eax, [esi + 0x488]
push 0
push eax
call fcn.00414570
push 0x80
lea ecx, [esi + 0x50a]
push 0
push ecx
call fcn.00414570
xor eax, eax
mov dword [esi + 0x58c], eax
mov dword [esi + 0x590], eax
mov dword [esi + 0x594], eax
mov dword [esi + 0x598], eax
mov dword [esi + 0x59c], eax
mov dword [esi + 0x5a0], eax
mov dword [esi + 0x5a4], eax
mov dword [esi + 0x5a8], eax
mov dword [esi + 0x9bc], eax
mov dword [esi + 0x9c0], eax
mov dword [esi + 0x9c4], eax
mov dword [esi + 0x9c8], eax
add esp, 0x3c
mov dword [esi + 0x9cc], eax
lea edx, [esi + 0x5ac]
mov dword [esi + 0x9d0], eax
push edx
mov dword [esi + 0x9d4], eax
push 0x104
mov dword [esi + 0x9d8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x104
lea eax, [esi + 0x7b4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, esi
pop esi
ret

Function at 0x401100
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push 0x206
xor ebx, ebx
lea ecx, [esp + 0x12]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x18], ax
call fcn.00414570
add esp, 0xc
mov dword [esp + 4], ebx
cmp edi, ebx
je 0x401221
cmp esi, ebx
je 0x401221
mov eax, esi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x401150
sub eax, edx
sar eax, 1
je 0x401221
cmp dword [esp + 0x220], ebx
je 0x401175
lea edx, [esp + 0xc]
push edx
jmp 0x4011af
mov eax, dword [esp + 0x21c]
cmp dword [eax], 3
jne 0x4011aa
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42d438
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.0041215c
add esp, 0xc
jmp 0x4011ba
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041215c
push 0x42d43c
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041229f
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, ebx
je 0x401221
push eax
push 1
push 0x200
push edi
call fcn.00412592
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00412626
add esp, 0x14
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041214d
add esp, 0x214
ret 8
mov ecx, dword [esp + 0x214]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0041214d
add esp, 0x214
ret 8
Function at 0x4012c0
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00414570
add esp, 0xc
cmp edi, esi
je 0x4013a8
mov eax, 0x42d448
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x401305
sub eax, edx
sar eax, 1
je 0x40132f
push 0x42d44c
lea edx, [esp + 8]
push 0x42d448
push edx
call fcn.0041229f
add esp, 0xc
jmp 0x40136a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x42d454
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.0041215c
push 0x42d470
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.0041229f
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x40138d
push eax
push 1
push 0x200
push edi
call fcn.00412804
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00412626
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041214d
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041214d
add esp, 0x214
ret

Function at 0x4013c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x432c20]
xor eax, esp
mov dword [esp + 0x208], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa]
push ecx
mov word [esp + 0xc], ax
call fcn.00414570
mov edx, dword [esp + 0x21c]
add esp, 0xc
cmp dword [edx], 3
jne 0x401423
push 0x104
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42d444
lea ecx, [esp + 4]
push 0x104
push ecx
call fcn.0041215c
add esp, 0xc
jmp 0x401432
lea edx, [esp]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
lea eax, [esp + 4]
push eax
push 0x42d478
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [esp + 0x218]
add esp, 0x10
xor ecx, esp
call fcn.0041214d
add esp, 0x20c
ret 4