joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c6f0
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x1010be9
add dword [ecx], eax
xor edi, dword [edx]
dec edx
inc ebx
aas
dec ebp
inc edi
cmp edi, dword [eax]
test ch, al
add eax, 0xc9825159
jecxz 0x41c72e
add dword [ecx], eax
and cl, 0xa1
sub al, byte [edx]
add dword [edx + 0x16b00e1], eax
add dword [edx + 0x285a2e1], eax
add dword [ecx - 0x45], ebx
insb byte es:[edi], dx
add dword [ecx], eax
add dword [edi - 0x76], esp
xchg esi, eax
mov eax, dword [0xb90000ea]
add word [ecx], ax
add dword [edi - 0x76], esp
xchg byte [ebx - 0x45ffff16], ah
jae 0x41c73a
add dword [ecx], eax
mov cl, byte [bp - 0x155b]
add byte [eax], al
mov ebx, 0x101016f
mov dl, byte [bp - 0x1559]
add byte [eax], al
mov ecx, 0x1010166
mov al, byte [bp - 0x1557]
add byte [eax], al
mov edx, 0x101016d
mov cl, byte [bp - 0x1555]
add byte [eax], al
mov ebx, 0x1010134
mov dl, byte [bp - 0x1553]
add byte [eax], al
mov ecx, 0x1010133
mov al, byte [bp - 0x1551]
add byte [eax], al
mov edx, 0x101012f
mov cl, byte [bp - 0x154f]
add byte [eax], al
mov ebx, 0x1010165
mov dl, byte [bp - 0x154d]
add dword [edi - 0x76], esp
mov fs, word [ebp - 0x44ffff16]
outsd dx, dword [esi]
add dword [ecx], eax
add dword [edi - 0x76], esp
xchg esi, eax
cmpsd dword [esi], dword es:[edi]
ljmp 0x101
add byte [eax], al
mov ecx, 0x101016d
mov al, byte [bp - 0x154b]
add byte [eax], al
mov edx, 0x101016d
mov cl, byte [bp - 0x1549]
add byte [eax], al
xor al, 0xd3
mov dl, byte [bp - 0x1547]
add byte [eax], al
mov dword [esi + 0xf7b1], 0xb286c757
test dword [eax], 0x86c76a00
mov bl, 0xf7
add byte [eax], al
jae 0x41c794
xchg byte [edi + esi*8 - 0x388b0000], dh
xchg byte [ebp + 0x760000f7], dh
mov dword [esi + 0xf7b6], 0xb786c762
test dword [eax], 0x86c76d00
mov eax, 0x510000f7
mov dword [esi + 0xf7b9], 0xba86c773
test dword [eax], 0x86c77000
mov ebx, 0x750000f7
mov dword [esi + 0xf7bc], 0xbd86c766
test dword [eax], 0x86c76400
add byte [edi + eax*8 - 0x7a], ah
mov esi, 0x750000f7
mov dword [esi + 0xf7bf], 0x2586c801
in al, 0
add byte [ecx], al
add dword [ecx], eax
add dword [esi + eax*4 + 0xe1b9], ecx
mov al, byte [esi + 0xf679]
push ebx
push edi
test ch, al
add eax, 0xc9aeeb82
add dword [ecx], eax
add bl, 0xd3
jbe 0x41c847
add dword [edx + 0x1d12cc3], eax
add bl, 0x2c
rol dword [ecx], 1
add ecx, ebp
or eax, dword [ecx]
add dword [ecx], eax
add dword [eax + 0x47], edx
cmp bh, byte [esp + eax*2]
dec edx
inc esp
dec edx
inc edx
test ch, al
add eax, 0xc382535b
add dword [edx + eax - 0x739aa4ff], 0x101190e
add dword [edx + 0xe4658e], ecx
add byte [esi + edx*4 + 0xe465], cl
mov word [ebx + 0x31], es
mov al, byte [esi + 0xe461]
mov word [esi + 0xe461], cs
mov cl, byte [esi + 0xecf5]
push edx
push esp
test ch, al
add eax, 0x86c5ca82
add al, byte [ecx]
add dl, 0x92
dec ecx
add dword [ecx], eax
in al, dx
push es
cmp eax, 0x33463a4e
or dl, 0x67
ljmp 0xae9
Function at 0x4213a9
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
cmp eax, 0x201
push edi
mov edi, 0x203
je 0x4214b9
cmp eax, edi
je 0x4214b9
cmp eax, 0x200
jne 0x421426
test byte [0x45d90c], 1
je 0x4215a8
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [0x45dce4]
sub eax, dword [ebp - 8]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00410c29
mov eax, dword [0x45dce8]
sub eax, dword [ebp - 4]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00410cf6
mov eax, dword [ebp - 8]
mov dword [0x45dce4], eax
mov eax, dword [ebp - 4]
add esp, 0x18
mov dword [0x45dce8], eax
jmp 0x4215a8
cmp eax, 0x202
je 0x421493
cmp eax, 0x215
je 0x421493
cmp eax, 2
je 0x421493
cmp eax, 5
jne 0x421456
cmp dword [ebp + 0x14], 0
je 0x4215a8
push dword [ebp + 8]
call fcn.00419448
pop ecx
jmp 0x4215a8
cmp eax, 0x114
jne 0x42146e
movzx eax, word [ebp + 0x10]
push 0
push eax
push dword [ebp + 8]
call fcn.00410c29
jmp 0x421488
cmp eax, 0x115
jne 0x4215a8
movzx eax, word [ebp + 0x10]
push 0
push eax
push dword [ebp + 8]
call fcn.00410cf6
xor eax, eax
add esp, 0xc
inc eax
jmp 0x4215aa
test byte [0x45d90c], 1
je 0x4215a8
push 1
call fcn.00414d04
pop ecx
push dword [0x4778c0]
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x4215a8
test byte [0x45d90c], 1
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
jne 0x4214eb
push 1
push dword [ebp + 8]
call fcn.00414ce6
pop ecx
pop ecx
push dword [0x45e880]
call dword [sym.imp.USER32.dll_SetCursor]
push 0x45dce4
call esi
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x4215a7
push 0x64
pop edi
cmp dword [0x478420], edi
jne 0x421518
push 0
push 0xffffffffffffffff
push 0x498
push dword [0x45da64]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4215a7
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [0x478420]
mov eax, dword [0x47e1a0]
mov ecx, dword [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
add eax, ecx
push eax
push edi
call esi
sub eax, dword [ebp - 8]
push dword [0x478420]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [0x47e1a4]
add eax, ecx
push eax
push edi
call esi
sub eax, dword [ebp - 4]
push 1
push edi
push 0x498
push dword [0x45da64]
mov dword [ebp - 4], eax
mov dword [0x4779f0], 1
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 8]
and dword [0x4779f0], 0
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00410c29
push dword [ebp - 4]
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00410cf6
add esp, 0x18
pop esi
xor eax, eax
pop edi
leave
ret 0x10
Function at 0x42792f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
xor bl, bl
cmp eax, 0x104
je 0x427951
cmp eax, 0x100
je 0x427951
xor eax, eax
jmp 0x4279b3
test byte [esi + 0xf], 1
je 0x427959
mov bl, 8
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test al, al
jns 0x42796b
or bl, 2
push 0x12
call edi
test al, al
jns 0x427976
or bl, 4
push 0x10
call edi
test al, al
jns 0x427981
or bl, 1
xor eax, eax
mov ah, bl
xor edi, edi
mov al, byte [esi + 8]
mov esi, eax
mov eax, dword [ebp + 8]
cmp eax, edi
jne 0x4279c0
lea eax, [ebp + 0xc]
push eax
movzx eax, si
push eax
push 0x446
push dword [0x45d904]
mov dword [ebp + 0xc], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
cmp word [eax + 0x31c], si
je 0x4279d8
mov eax, dword [eax]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x4279b7
lea eax, [ebp + 0xc]
push eax
movzx eax, si
push eax
push 0x439
jmp 0x4279a0
push edi
lea ecx, [ebp - 0x14]
push ecx
add eax, 0x110
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call fcn.00427548
add esp, 0x10
test al, 8
jne 0x4279c9
xor eax, eax
inc eax
jmp 0x4279b2
Function at 0x4281c5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
xor ebp, ebp
cmp word [0x47a5d0], bp
je 0x428405
mov eax, dword [0x47a7dc]
push ebx
mov ebx, dword [esp + 0x10]
test ebx, eax
je 0x428404
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], ebp
push edi
je 0x4283a8
test al, 1
mov edi, 0x45db10
je 0x428204
test bl, 1
jne 0x428216
test al, 2
je 0x42820d
test bl, 2
jne 0x428216
test al, 4
je 0x428248
test bl, 4
je 0x428248
push edi
call fcn.004336a0
cmp eax, 0xfffffffb
pop ecx
mov dword [esi + 0xe24], eax
jg 0x428239
cmp eax, 0xfffffff8
jl 0x428239
mov dword [esi + 0xe24], 0xd
jmp 0x428248
cmp eax, 0xfffffffc
jne 0x428248
mov dword [esi + 0xe24], 0xffff
test byte [0x47a7dc], 8
je 0x428267
test bl, 8
je 0x428267
push edi
push dword [esi + 0x14]
call fcn.00411ac6
pop ecx
pop ecx
mov dword [esi + 0xe1c], eax
test byte [0x47a7dc], 0x10
je 0x42828d
test bl, 0x10
je 0x42828d
push ebp
push 3
push edi
push ebp
push dword [esi + 0x14]
call fcn.00411a61
add esp, 0x14
neg eax
mov dword [esi + 0xe20], eax
test byte [0x47a7dc], 0x20
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x4282c6
test bl, 0x20
je 0x4282c6
test byte [0x47a5cc], 2
jne 0x4282b4
cmp dword [esi + 0x3c], ebp
je 0x4282b4
push ebp
push 0xb
jmp 0x4282b6
push ebp
push ebp
push 0xc39
push dword [esi + 0x14]
call edi
mov dword [esi + 0xe30], eax
mov ecx, dword [0x47a7dc]
test cl, 0x40
je 0x4282d6
test bl, 0x40
jne 0x4282eb
test cl, cl
jns 0x4282de
test bl, bl
js 0x4282eb
mov eax, 0x100
test eax, ecx
je 0x428364
test eax, ebx
je 0x428364
mov eax, dword [0x45daf8]
cmp dword [0x45db10], eax
jne 0x428318
mov eax, dword [esi + 0xe28]
inc eax
mov dword [esi + 0xe38], eax
push dword [0x45db04]
push dword [0x45d170]
call fcn.00411af4
jmp 0x428331
push eax
push dword [0x45d170]
call fcn.00411af4
inc eax
mov dword [esi + 0xe38], eax
mov eax, dword [esi + 0xe28]
pop ecx
pop ecx
inc eax
push 0x45db04
mov dword [esi + 0xe3c], eax
call fcn.00433703
test eax, eax
mov eax, dword [esi + 0xe3c]
pop ecx
je 0x428357
sub eax, dword [esi + 0xe38]
jmp 0x42835e
sub eax, dword [esi + 0xe38]
inc eax
mov dword [esi + 0xe34], eax
mov eax, 0x200
test dword [0x47a7dc], eax
je 0x428384
test eax, ebx
je 0x428384
push dword [esi + 0x14]
call fcn.00411b71
pop ecx
mov dword [esi + 0xe40], eax
mov eax, 0x400
test dword [0x47a7dc], eax
je 0x4283a8
test eax, ebx
je 0x4283a8
push ebp
push 3
push 0xc74
push dword [esi + 0x14]
call edi
mov dword [esi + 0xe44], eax
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov eax, 0x80000
test dword [0x47a7dc], eax
je 0x4283d2
test eax, ebx
je 0x4283d2
push 0x14
call edi
and al, 1
dec al
neg al
sbb eax, eax
inc eax
mov dword [esi + 0xe48], eax
mov eax, 0x100000
test dword [0x47a7dc], eax
je 0x4283f9
test eax, ebx
je 0x4283f9
push 0x90
call edi
and al, 1
dec al
neg al
sbb eax, eax
inc eax
mov dword [esi + 0xe4c], eax
push ebx
push esi
call fcn.00425241
pop ecx
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43ca82
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ecx, [edi + edi*2]
mov eax, ecx
push 4
cdq
pop esi
idiv esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
cmp edx, ebx
jne 0x43cab3
mov eax, edi
imul eax, dword [ebp + 0xc]
add eax, 0x12
lea eax, [eax + eax*2]
mov dword [ebp + 8], eax
jmp 0x43cac2
sub ecx, edx
add ecx, 4
imul ecx, dword [ebp + 0xc]
add ecx, 0x36
mov dword [ebp + 8], ecx
push dword [ebp + 8]
push ebx
push ebx
call fcn.0043ad6c
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x43cbb4
mov eax, dword [ebp + 8]
mov dword [esi + 2], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xa], 0x36
mov word [esi], 0x4d42
mov word [esi + 6], bx
mov word [esi + 8], bx
mov dword [esi + 0x16], eax
mov dword [esi + 0xe], 0x28
mov dword [esi + 0x12], edi
mov word [esi + 0x1a], 1
mov word [esi + 0x1c], 0x18
mov dword [esi + 0x1e], ebx
mov eax, dword [esi + 2]
sub eax, dword [esi + 0xa]
mov dword [esi + 0x26], ebx
mov dword [esi + 0x22], eax
xor eax, eax
cmp dword [esi + 0x22], ebx
mov dword [esi + 0x2a], ebx
mov dword [esi + 0x2e], ebx
mov dword [esi + 0x32], ebx
jbe 0x43cb9c
mov ecx, dword [esi + 0x12]
lea ecx, [ecx + ecx*2]
xor edi, edi
test ecx, ecx
jle 0x43cb93
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], edx
shr dword [ebp - 0xc], 0x10
mov word [ebp - 2], dx
shr word [ebp - 2], 8
mov dword [ebp - 8], ecx
shr dword [ebp - 8], 0x10
mov word [ebp + 0xa], cx
shr word [ebp + 0xa], 8
xor dl, cl
mov cl, byte [ebp - 8]
xor cl, byte [ebp - 0xc]
mov byte [esi + eax + 0x38], dl
mov byte [esi + eax + 0x36], cl
mov cl, byte [ebp + 0xa]
xor cl, byte [ebp - 2]
add edi, 3
mov byte [esi + eax + 0x37], cl
mov ecx, dword [esi + 0x12]
lea ecx, [ecx + ecx*2]
add eax, 3
cmp edi, ecx
jl 0x43cb62
xor ebx, ebx
jmp 0x43cb93
mov byte [eax + esi + 0x36], bl
inc eax
test al, 3
jne 0x43cb8e
cmp eax, dword [esi + 0x22]
jb 0x43cb2e
push esi
call fcn.004374c1
pop ecx
push esi
mov dword [ebp - 0xc], eax
mov eax, dword [0x45e430]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e43a
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor esi, esi
cmp ebp, esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], esi
jne 0x43e468
lea eax, [edi + 0xcb4]
mov dword [esp + 0x20], eax
lea ebp, [edi + 0xcc0]
jmp 0x43e46f
mov dword [esp + 0x20], ebp
add ebp, 0xc
push ebp
push dword [esp + 0x24]
call fcn.004332b4
test eax, eax
pop ecx
pop ecx
je 0x43e5ea
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43e5ea
push ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
push esi
push esi
push ebp
push dword [esp + 0x3c]
push edi
call fcn.0043dadd
mov edi, eax
add esp, 0x20
cmp edi, esi
je 0x43e56c
lea eax, [edi + edi]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x43e56c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
cmp ebx, esi
je 0x43e551
push 1
push dword [esp + 0x30]
push dword [esp + 0x30]
push 0xffffffffffffffff
push ebx
push ebp
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.0043dadd
push esi
push esi
push esi
push esi
push edi
push ebx
push esi
push esi
call fcn.00435419
add esp, 0x40
push eax
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, esi
je 0x43e545
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x43e545
push esi
push esi
push dword [esp + 0x18]
push eax
push edi
push ebx
push esi
push esi
call fcn.00435419
add esp, 0x20
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x43e555
mov ebp, dword [esp + 0x18]
push dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push 0xd
call ebx
cmp ebp, esi
je 0x43e56c
push ebp
push 1
call ebx
cmp dword [esp + 0x2c], esi
je 0x43e57f
push esi
push dword [0x45e4dc]
call dword [sym.imp.USER32.dll_SetClipboardData]
push 0x18
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
cmp ebx, esi
je 0x43e5da
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, esi
je 0x43e5cd
mov ecx, dword [esp + 0x10]
mov edx, ecx
dec ecx
neg edx
sbb edx, edx
and edx, ecx
mov ecx, edi
dec edi
neg ecx
sbb ecx, ecx
and ecx, edi
mov dword [eax + 0x10], ecx
mov ecx, edx
mov dword [eax + 0x14], esi
mov dword [eax], ecx
mov ecx, dword [eax + 0x10]
push ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 4], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push dword [0x45e4e0]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp ebx, esi
pop ebx
je 0x43e5ea
xor eax, eax
inc eax
jmp 0x43e5ec
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0xc
ret
Function at 0x4482fc
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x6f0]
test byte [eax + 2], 1
push esi
je 0x44838c
push edi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebx + 0xd18]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.00438e38
mov eax, dword [ebx + 0xd18]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xd20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x834
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x34]
push ecx
lea esi, [ebp - 0x14]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push eax
push 0x4e
push dword [ebx + 0xd1c]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.00447300
add esp, 0x2c
test eax, eax
pop edi
je 0x44841c
mov eax, dword [ebx + 0x6f0]
test byte [eax + 6], 0x10
je 0x448417
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
push dword [ebx + 0xd18]
call dword [sym.imp.USER32.dll_ScreenToClient]
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push ebx
call fcn.00438e38
mov eax, dword [ebx + 0xd18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebx + 0xd20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push ebx
mov dword [ebp - 0x28], 0x703
call fcn.004369f2
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0xd20]
mov dword [ebp - 0x1c], esi
push 0x4e
push dword [ebx + 0xd1c]
push ebx
call fcn.00447300
add esp, 0x34
cmp eax, esi
je 0x44841c
xor eax, eax
inc eax
jmp 0x44841e
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x43efb4
Capabilities:
Access the windows event log

Disassembly:
push 0x738
mov eax, 0x4a063f
call fcn.0043fd5f
lea eax, [ebp - 0x3b8]
push eax
push 0x403750
mov esi, ecx
push 2
mov dword [ebp - 0x3b8], esi
call fcn.0043f094
push esi
call fcn.0043dad8
mov edi, eax
lea eax, [ebp - 0x3b8]
push eax
push 0x403790
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x3b8], esi
call fcn.0043e5ad
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], ebx
jae 0x43f012
lea eax, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x3bc]
push eax
push ebx
push 1
push ebx
push ebx
push ebx
push 1
push dword [0x4f11c8]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test esi, esi
jns 0x43f083
xor eax, eax
mov word [ebp - 0x43c], ax
mov word [ebp - 0x53c], ax
mov word [ebp - 0x740], ax
mov dword [ebp - 0x744], edi
push 0x4a66d0
lea eax, [ebp - 0x3b4]
mov ecx, 0xe2
lea esi, [ebp - 0x744]
lea edi, [ebp - 0x3b4]
mov dword [ebp - 0x540], 1
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MSVCR100.dll__CxxThrowException
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0043d71f
call fcn.0043fde2
ret

Function at 0x43f7d6
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov ebx, 0xbb40e64e
cmp dword [0x403b5c], eax
je 0x43f7f8
cmp dword [0x403b5c], ebx
jne 0x43f891
push esi
push eax
push eax
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x403b5c
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [0x403b5c], esi
test esi, esi
jne 0x43f867
mov dword [0x403b5c], ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
mov esi, 0x403b5c
push 4
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
push esi
call fcn.0058f000
mov eax, dword [0x403b5c]
not eax
mov dword [0x4b36cc], eax
pop esi
pop ebx
leave
ret

Function at 0x43f894
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403b5c]
jne fcn.0043fe83
ret
Function at 0x43fb82
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x4a6760
call fcn.0044016c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
cmp dword [0x4f37c4], ebx
jne 0x43f925
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x4f37b8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x43f95f
cmp eax, esi
jne 0x43f952
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x43f962
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43f939
xor esi, esi
inc esi
mov eax, dword [0x4f37b4]
cmp eax, esi
jne 0x43f975
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x43f9b0
mov eax, dword [0x4f37b4]
test eax, eax
jne 0x43f9aa
mov dword [0x4f37b4], esi
push 0x4016a0
push 0x40168c
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x43f9b0
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x43fac2
mov dword [0x4f1264], esi
mov eax, dword [0x4f37b4]
cmp eax, esi
jne 0x43f9d4
push 0x401688
push 0x4015ac
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x4f37b4], 2
cmp dword [ebp - 0x20], ebx
jne 0x43f9e1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x4f37c8], ebx
je 0x43fa02
push 0x4f37c8
call fcn.004400a4
pop ecx
test eax, eax
je 0x43fa02
push ebx
push 2
push ebx
call dword [0x4f37c8]
mov eax, dword [sym.imp.MSVCR100.dll__wcmdln]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp ecx, 0x20
ja 0x43fa63
cmp cx, bx
je 0x43fa1e
cmp dword [ebp - 0x1c], ebx
jne 0x43fa63
movzx ecx, word [eax]
cmp cx, bx
je 0x43fa33
cmp ecx, 0x20
ja 0x43fa33
add eax, 2
mov dword [ebp - 0x24], eax
jmp 0x43fa1e
test byte [ebp - 0x40], 1
je 0x43fa3f
movzx ecx, word [ebp - 0x3c]
jmp 0x43fa42
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call main
mov dword [0x4f1260], eax
cmp dword [0x4f1254], ebx
jne 0x43faa8
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp ecx, 0x22
jne 0x43fa73
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
add eax, 2
jmp 0x43fa09
cmp dword [0x4f1264], ebx
jne 0x43fab6
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x4f1260]
call fcn.004401b1
ret
call fcn.0043f7d6
jmp 0x43f8f7
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x10e82ee2
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x1f30488b
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219