joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cce0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4ed528]
mov eax, dword [eax + 0x24]
lea ecx, [eax - 5]
push esi
cmp ebx, ecx
jl 0x45ce3b
add eax, 5
cmp ebx, eax
jg 0x45ce3b
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea edx, [ebp - 0x14]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
add dword [ebp - 0x14], 0x10
sub dword [ebp - 0xc], 0xa
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_ClipCursor]
lea ecx, [ebp - 0x24]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x4ed528]
mov dword [edx + 0x3c], 1
mov eax, dword [0x4ed528]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x48], ecx
mov edx, dword [0x4ed528]
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x4c], eax
mov ecx, dword [0x4ed528]
push edi
mov dword [ecx + 0x40], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [ebp - 0x20]
push 6
push esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], eax
call dword [sym.imp.GDI32.dll_SetROP2]
mov ecx, dword [ebp - 0x30]
push 0
push ecx
push ebx
push esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [ebp - 0x2c]
push edx
push ebx
push esi
call dword [sym.imp.GDI32.dll_LineTo]
mov eax, dword [ebp - 0x28]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetROP2]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x4ed528]
cmp dword [eax + 4], 0
je case.0x45cdec.3
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x14]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add ecx, 0xfffffffd
cmp ecx, 0x60
ja case.0x45cdec.4
movzx ecx, byte [ecx + 0x45ceb0]
jmp dword [ecx*4 + 0x45cea0]
push edi
mov dword [edx + 8], 0x4b7fe0
call dword [sym.imp.USER32.dll_SetCapture]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret
mov edx, dword [eax + 0x20]
push 0
push edx
call esi
mov eax, dword [0x4ed528]
mov eax, dword [eax + 0x1c]
push 0
push eax
call esi
push edi
call dword [sym.imp.USER32.dll_SetCapture]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
je 0x45ce84
movzx ecx, word [ebp + 0xc]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, bx
shl ecx, 0x10
or ecx, edx
push ecx
push 0
push 0x1a9
push edi
call esi
movzx eax, ax
push 0
push eax
push 0x199
push edi
call esi
cmp eax, 0xffffffff
je 0x45ce84
test eax, eax
je 0x45ce84
cmp dword [eax + 0x14], 0x63
jne 0x45ce84
push eax
call fcn.0045be20
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [0x4ed528]
xor ecx, ebp
mov dword [eax + 0x3c], 0
pop esi
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret
Function at 0x45dad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add dword [ebp + 0x14], 0x64
mov ecx, dword [0x4ed528]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov edx, 1
add dword [ebp + 0xc], edx
push edi
cmp dword [esi + 0x14], edx
jne 0x45db10
cmp dword [ecx + 0x1c], 0
jne 0x45db37
mov ecx, dword [ecx]
push eax
xor eax, eax
mov edx, 0x7d8
call fcn.0045cf20
mov ecx, dword [0x4ed528]
mov dword [ecx + 0x1c], eax
jmp 0x45db2e
cmp dword [ecx + 0x1c], 0
jne 0x45db37
mov ecx, dword [ecx]
push eax
mov eax, edx
mov edx, 0x7d9
call fcn.0045cf20
mov edx, dword [0x4ed528]
mov dword [edx + 0x1c], eax
mov ecx, dword [0x4ed528]
add esp, 4
mov edi, dword [ecx + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x14b
push edi
call ebx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 1
sub ecx, eax
push ecx
mov ecx, dword [ebp + 8]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov esi, dword [esi + 8]
cmp byte [esi], 0
je 0x45dba4
push esi
push 0
push 0x158
push edi
call ebx
cmp eax, 0xffffffff
jne 0x45db8c
push esi
push 0
push 0x143
push edi
call ebx
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45db91
sub eax, edx
cmp byte [esi + eax + 1], cl
lea esi, [esi + eax + 1]
jne 0x45db71
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [ebp + 0x18]
mov eax, dword [esi + 0x10]
push eax
push 0
push 0x158
push edi
call ebx
push 0
cmp eax, 0xffffffff
je 0x45dbda
push eax
push 0x14e
push edi
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push 0x14e
push edi
call ebx
mov ecx, dword [esi + 0x10]
push ecx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xffff0000
push 0
push 0x142
push edi
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45e210
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ed528]
inc dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0
jne 0x45e236
mov eax, dword [eax]
call fcn.0045dd50
mov ecx, dword [0x4ed528]
mov dword [ecx + 0x1c], eax
mov eax, dword [0x4ed528]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push 1
sub ecx, edx
push ecx
mov ecx, dword [ebp + 8]
sub esi, ecx
push esi
push edx
mov edx, dword [eax + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x10]
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x1c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [0x4ed528]
mov edx, dword [ecx + 0x1c]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4ed528]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [0x4ed528]
mov eax, dword [edx + 0x1c]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop esi
pop ebp
ret
Function at 0x463b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
xor eax, eax
push eax
push eax
push 0x1304
push ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
test eax, eax
jne 0x463bb1
mov ebx, dword [esi + 8]
jmp 0x463c07
mov edx, dword [esi + 0xc]
push 0
push 0x1304
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x463c11
mov ecx, dword [esi + 0xc]
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
push eax
push 0
push 0x1305
push ecx
mov dword [ebp - 0x44], 8
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi + 0xc]
mov eax, dword [ebp - 0x2c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetParent]
push 5
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push 0
push edi
push ebx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edi, eax
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0x3f3bffff
or eax, 0x40000000
push eax
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push ebx
push edi
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0x60]
push edx
push 0
push 0
push 0x1304
push eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x32
mov dword [ebp - 0x60], 9
mov dword [ebp - 0x48], edi
call ebx
mov ecx, dword [esi + 0xc]
push eax
push 0x1307
push ecx
call ebx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
movzx eax, word [ebp - 0xc]
movzx ecx, word [ebp - 0x10]
shl eax, 0x10
or eax, ecx
mov ecx, esi
call fcn.00463880
cmp edi, dword [esi + 0x30]
je 0x463cd6
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x14]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 0x1c]
sub edx, ecx
push edx
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [esi + 0xc]
push 0
push 0
push 0x1304
push eax
call ebx
cmp eax, 1
jle 0x463cee
push 0
jmp 0x463cf3
mov dword [esi + 0x10], edi
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x463d06
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463f90
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
test byte [esi + 4], 2
push ebx
push edi
mov dword [ebp - 4], 1
jne 0x463fad
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x30], 0
je 0x463fba
mov eax, esi
call fcn.00463d90
mov ebx, dword [ebp + 8]
mov eax, dword [esi + 8]
push ebx
call fcn.00463810
mov edi, eax
add esp, 4
test edi, edi
je 0x463fa3
push 0xfffffffffffffff0
push edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
push 0
and ebx, 0x3fffffff
push edi
or ebx, 0x80000000
call dword [sym.imp.USER32.dll_SetParent]
push ebx
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 3
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x96
call fcn.0042dbdc
add esp, 4
mov dword [esi + 0x38], eax
test eax, eax
je 0x464037
mov ecx, dword [ebp + 8]
push 0x96
push ecx
push esi
mov ecx, eax
mov dword [esi + 0x3c], 0x96
call fcn.00463540
mov dword [esi + 0x3c], eax
mov edx, dword [esi + 0x38]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
push 0
push eax
push 0x1308
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x4ed524], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x463f60
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
pop edi
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
cmp edi, 0xffffffff
jne 0x4640d1
push eax
push eax
mov eax, dword [esi + 0xc]
push 0x130b
push eax
call ebx
mov edi, eax
cmp edi, 0xffffffff
je 0x46413f
cmp dword [ebp + 8], 0
je 0x46410c
mov edx, dword [esi + 0xc]
lea ecx, [ebp - 0x34]
push ecx
xor eax, eax
push edi
push 0x1305
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x34], 8
call ebx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0xc]
push 0
push edi
push 0x1308
push ecx
call ebx
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x1304
push edx
call ebx
test eax, eax
jne 0x464154
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_DestroyWindow]
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call edi
or eax, 0xffffffff
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
cmp eax, 1
jne 0x464179
xor ecx, ecx
mov edx, esi
call fcn.00463620
mov edx, dword [esi + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_SetParent]
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jle 0x464180
dec edi
jmp 0x464182
xor edi, edi
mov ecx, dword [esi + 0xc]
push 0
push edi
push 0x130c
push ecx
call ebx
mov ecx, esi
call fcn.00463e00
mov edx, dword [esi + 0xc]
push 0
push 0
push 0x130b
push edx
call ebx
mov ecx, dword [esi + 0xc]
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
movzx eax, word [ebp - 0xc]
movzx edx, word [ebp - 0x10]
shl eax, 0x10
or eax, edx
mov ecx, esi
call fcn.00463880
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret 4
Function at 0x4656b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c75d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x24]
push ecx
push eax
call ebx
lea edx, [ebp - 0x14]
push edx
push edi
call ebx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x18]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push 0x15
push 0
sar ebx, 1
sub eax, ebx
add eax, ecx
mov ecx, dword [ebp - 0x24]
push 0
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
sar ebx, 1
sub eax, ebx
add eax, ecx
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [esi + 8], 1
pop ebx
call fcn.0042dbe7
mov esp, ebp
pop ebp
ret
Function at 0x46a130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4acd77
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
inc ecx
inc eax
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], eax
cmp word [ebx + 0x10], cx
jne 0x46a179
cmp word [ebx + 0x12], ax
je 0x46a2c9
movzx edx, word [ebx + 0x12]
cmp dx, ax
jae 0x46a189
mov eax, edx
mov dword [ebp - 0x1c], eax
jmp 0x46a18f
movzx edx, ax
mov dword [ebp - 0x1c], edx
movzx eax, cx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042dbdc
mov esi, eax
xor eax, eax
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
cmp cx, word [ebp + 0xc]
jae 0x46a2b0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], esi
movzx esi, word [ebp + 0x10]
xor ecx, ecx
mov eax, esi
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.0042dbdc
add esp, 4
mov dword [ebp - 0x24], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x46a216
push 0x466890
push 0x4668b0
push esi
lea edi, [eax + 4]
push 0x14
push edi
mov dword [eax], esi
call fcn.0042e103
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
mov dword [ecx], edi
movzx eax, word [ebx + 0x10]
mov ecx, dword [ebp + 0xc]
cmp cx, ax
jae 0x46a231
movzx eax, cx
cmp word [ebp - 0x14], ax
jae 0x46a292
mov eax, dword [ebp - 0x1c]
xor edx, edx
cmp dx, ax
jae 0x46a292
xor edi, edi
movzx esi, ax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + eax]
mov edx, dword [ebp - 0x10]
mov ebx, dword [edx]
mov ecx, dword [eax + edi]
add eax, edi
add ebx, edi
mov dword [ebx], ecx
mov edx, dword [eax + 4]
xor edx, dword [ebx + 4]
and edx, 0xffffff
xor dword [ebx + 4], edx
mov ecx, dword [eax + 8]
xor ecx, dword [ebx + 8]
and ecx, 0xffffff
xor dword [ebx + 8], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
push edx
call fcn.00467f10
mov ebx, dword [ebp + 8]
add edi, 0x14
dec esi
jne 0x46a246
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 4
add dword [ebp - 0x18], edx
add dword [ebp - 0x10], edx
inc eax
mov dword [ebp - 0x14], eax
cmp ax, cx
jb 0x46a1c7
mov esi, dword [ebp - 0x20]
mov edi, ebx
call fcn.00467eb0
mov ax, word [ebp + 0xc]
mov cx, word [ebp + 0x10]
mov dword [ebx], esi
mov word [ebx + 0x10], ax
mov word [ebx + 0x12], cx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46f990
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x46f9f6
mov ecx, dword [esi + 0xc]
cmp ecx, 0x4000
jae 0x46f9d4
push edi
lea edx, [ebp - 4]
push edx
mov edx, 0x4000
sub edx, ecx
mov ecx, dword [esi + 8]
push edx
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esi + 8]
mov dword [esi + 0xc], 0x4000
mov dword [esi + 4], edx
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov dword [esi], 0xffffffff
cmp dword [esi + 4], edi
je 0x46fa04
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
je 0x47162e
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], edi
mov ebx, dword [ebp + 0xc]
mov dword [esi + 8], edi
lea edi, [ebx + 1]
push edi
call fcn.0042dbdc
push edi
push 0
push eax
mov dword [esi + 4], eax
call fcn.0042e03c
mov ecx, dword [esi + 4]
add esp, 0x10
test edi, edi
je 0x471665
cmp edi, 0x7fffffff
ja 0x471665
mov edx, dword [ebp + 8]
mov eax, edi
call fcn.004a0810
mov ecx, dword [esi + 4]
mov dword [esi + 8], ebx
mov edx, ebx
test ecx, ecx
jne 0x47167d
xor eax, eax
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret 8
mov eax, 0xdc379acf
test ebx, ebx
je 0x4716a3
jmp 0x471690
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4b9ae8]
xor eax, edi
rol eax, 5
inc ecx
dec edx
jne 0x471690
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4741e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov dword [ebp - 4], 0
test esi, esi
je 0x47420b
cmp ecx, 0x7fffffff
ja 0x47420b
lea edi, [ebp - 4]
mov edx, esi
call fcn.0049ed30
test eax, eax
js 0x47420b
mov ecx, dword [ebp - 4]
jmp 0x47420d
xor ecx, ecx
xor eax, eax
test ecx, ecx
je 0x47421c
xor byte [eax + esi], 0x81
inc eax
cmp eax, ecx
jb 0x474213
mov edi, ecx
xor eax, eax
shr edi, 1
je 0x474241
lea ecx, [ecx + esi - 1]
push ebx
lea esp, [esp]
mov bl, byte [ecx]
mov dl, byte [eax + esi]
mov byte [eax + esi], bl
mov byte [ecx], dl
inc eax
dec ecx
cmp eax, edi
jb 0x474230
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x474350
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
lea edx, [eax + 0x84]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [edx]
mov ebx, 0x71
mov dword [ebp - 4], ebx
mov dword [eax], 0x972205
mov dword [ebp + 8], edx
cmp ecx, ebx
jae 0x4743e0
push esi
push edi
mov edi, 0xffffff79
sub edi, eax
lea esi, [ecx + eax + 0x88]
sub ebx, ecx
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [edi + esi]
imul eax, ecx
imul eax, eax, 0x71
push eax
call dword [sym.imp.MSVCR100.dll_srand]
add esp, 4
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x7a
idiv ecx
cmp edx, 0x30
jae 0x4743bf
add edx, 0x30
lea eax, [edx - 0x3a]
cmp eax, 6
ja 0x4743ca
add edx, 7
lea ecx, [edx - 0x5b]
cmp ecx, 5
ja 0x4743d5
add edx, 6
mov byte [esi], dl
inc esi
dec ebx
jne 0x474390
mov edx, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 8]
add dword [ebp - 4], 4
push 0x80
lea eax, [ebp - 4]
push eax
push edx
mov edx, dword [ecx + 4]
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
pop ebx
test eax, eax
jne 0x474426
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x47441a
and eax, 0xffff
or eax, 0x80070000
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x474430
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
call fcn.004742b0
test eax, eax
js 0x4744a3
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x4b99c8
test ebx, ebx
jne 0x474454
mov eax, 0x4b99f8
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0
push 1
push eax
push 0x4b99bc
push esi
call edi
test eax, eax
jne 0x4744ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4744ab
mov eax, str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
test ebx, ebx
jne 0x474486
mov eax, str.Microsoft_Base_Cryptographic_Provider_v1.0
push 8
push 1
push eax
push 0x4b99bc
push esi
call edi
test eax, eax
jne 0x4744ab
pop ebx
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x4744d0
Capabilities:
Encrypt data using rc4 via winapi
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov eax, ebx
mov dword [ebp - 4], edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4744e0
mov ecx, dword [ebp + 8]
push esi
sub eax, edx
mov edx, dword [ecx]
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x47453c
mov eax, dword [ebp - 4]
push 0
push esi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x47453c
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, dword [esi]
lea ecx, [esi + 8]
push ecx
push 1
push edx
push 0x6801
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x474558
jmp 0x47453f
mov esi, dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x474553
and eax, 0xffff
or eax, 0x80070000
mov dword [esi + 0xc], eax
mov edi, eax
mov eax, dword [ebp - 4]
pop esi
test eax, eax
je 0x474567
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x474570
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
push esi
call fcn.004744d0
mov edi, eax
test edi, edi
js 0x4745a3
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x4745c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4745b7
and eax, 0xffff
or eax, 0x80070000
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4745d0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
push esi
call fcn.004744d0
mov edi, eax
test edi, edi
js 0x474607
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esi + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
push 0
push 1
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x474625
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x47461b
and eax, 0xffff
or eax, 0x80070000
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebx
pop ebp
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc