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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 8]
mov edx, dword [ebp + 8]
and edx, 0xff
cmp ecx, edx
je 0x46afa8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46afa8
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
mov dl, byte [ebp + 8]
mov byte [ebp - 8], dl
cmp byte [ebp - 8], 0
je 0x46afbc
cmp byte [ebp - 8], 1
je 0x46aff9
jmp 0x46b034
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x278
call fcn.004698dd
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xe0
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46b034
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x278
call fcn.004698dd
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
add ecx, 0xe0
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax + 8], cl
mov esp, ebp
pop ebp
ret 4

Function at 0x46b9dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + 8]
mov edx, dword [ebp + 8]
and edx, 0xff
cmp ecx, edx
je 0x46ba16
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46ba16
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
mov dl, byte [ebp + 8]
mov byte [ebp - 8], dl
cmp byte [ebp - 8], 0
je 0x46ba2a
cmp byte [ebp - 8], 1
je 0x46ba57
jmp 0x46ba82
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46ba82
push 0
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov ecx, dword [ebp - 4]
add ecx, 0x6a0
call fcn.0041b500
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + 8]
mov byte [eax + 8], cl
mov esp, ebp
pop ebp
ret 4
Function at 0x46ee30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x68
push 0x18
mov al, byte [ebp + 8]
cmp al, 0
je 0x46ee4d
cmp al, 1
jne 0x46ee91
mov ecx, dword [ebp - 0xc]
xchg dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
call fcn.0041b500
mov dword [ebp - 8], eax
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46ee72
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x10]
call fcn.0041b500
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x46fc4a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485990
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 0x10c
lea ecx, [ebp - 0x110]
call fcn.004032b0
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x110]
call fcn.004165b8
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x110]
call fcn.0041fc89
lea ecx, [ebp - 0x110]
call fcn.004192c5
push 0
mov eax, dword [ebp + 0x10]
dec eax
push dword [eax*4 + 0x4b5fd0]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 0x10]
call fcn.0047cae3
push 7
call fcn.0047d1ca
add esp, 4
push 0
push 0
push 0
call fcn.0047d1f1
add esp, 0xc
push dword [ebp + 0xc]
push 0x40
push 0x40
push 0
push 0
call fcn.0047e09b
push 0
call fcn.0047cae3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x476eab
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
sub esp, 0x30
jmp 0x476ebb
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
cmp al, 3
jae 0x477060
push eax
mov ecx, dword [ebp - 4]
call fcn.004065f0
mov ecx, dword [ebp - 0xc]
mov byte [ecx + ebp - 8], al
cmp al, 0xff
je 0x476fdb
mov ecx, eax
call fcn.004837c2
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0xc]
cmp al, 2
je 0x476ef8
push eax
push dword [ebp + 8]
call fcn.004669ff
mov eax, 0x56f
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x10
add ecx, 0x486cd0
push dword [ebp - 0x10]
push ecx
push eax
call fcn.00461dae
add esp, 0xc
push dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
call fcn.004032df
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0xc], 2
je 0x476fa4
push 0
push eax
mov eax, 0x58e
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov eax, 0x590
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 0x18], eax
push 1
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
push 5
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + ebp - 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0040df60
lea edx, [ebp - 0x3c]
push edx
mov eax, 0x588
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + ebp - 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.00461fc8
lea edx, [ebp - 0x3c]
push edx
mov eax, 0x579
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0x10]
call fcn.004520ba
jmp 0x477049
mov eax, 0x56f
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x486cfc
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x10
add ecx, 0x486cd0
push ecx
push eax
call fcn.00461dae
add esp, 0xc
cmp dword [ebp - 0xc], 2
je 0x477034
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00417d6a
mov eax, 0x590
add eax, dword [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x579
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.00477087
mov eax, 0x68
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 4
mov ecx, dword [ecx + 0x47707b]
push eax
call fcn.004633cf
jmp 0x476eb8
push dword [ebp - 4]
call fcn.0040be7d
push eax
lea edx, [ebp - 8]
push edx
push dword [ebp + 8]
call fcn.00477249
mov esp, ebp
pop ebp
ret 4
Function at 0x4790da
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x48e9a8], 0xffffffff
je 0x47912a
mov eax, dword [ebp + 8]
cmp eax, dword [0x48e9a8]
je 0x479115
mov ecx, dword [0x48e9a8]
mov edx, dword [ecx*4 + 0x4b6ba8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x479115
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
push 0
mov eax, dword [0x48e9a8]
mov ecx, dword [eax*4 + 0x4b6ba8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 0xffffffff
jne 0x479137
mov dword [ebp + 8], 0
push 5
mov edx, dword [ebp + 8]
mov eax, dword [edx*4 + 0x4b6ba8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 8]
mov dword [0x48e9a8], ecx
pop ebp
ret

Function at 0x479728
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0x400
jb 0x479736
jmp 0x479791
mov eax, dword [0x4b7508]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x479754
push 1
push 0
mov ecx, 0x4b69b0
call fcn.0047467a
mov ecx, dword [0x4b7508]
push ecx
push dword [ebp + 8]
call fcn.004061e4
nop
nop
nop
nop
call fcn.00478664
mov edx, dword [0x4b7508]
push edx
call fcn.00479647
add esp, 4
push 9
mov eax, dword [0x4b7508]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call fcn.0047cae3
nop
pop ebp
ret 4

Function at 0x479b59
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x4b7504], 0
mov eax, dword [0x4b7508]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x479ba8
push 0
push 0x479164
mov ecx, dword [0x4b6a68]
push ecx
push 0xa6
mov edx, dword [0x4b6a60]
push edx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [0x4b7508], eax
cmp dword [0x4b7508], 0
jne 0x479ba8
xor eax, eax
jmp 0x479bbb
push 0
mov eax, dword [0x4b7508]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop ebp
ret

Function at 0x479bd9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
mov eax, dword [0x4b7508]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0047645e
pop ebp
ret

Function at 0x479bf1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [0x4b5fd8]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4b5fec]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x48bae0
xor ecx, ecx
dec cx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
push 0
push dword [0x4ff3d0]
call dword [sym.imp.USER32.dll_ShowWindow]
nop
call fcn.00426c32
pop ebp
ret
Function at 0x47ae51
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ecx + 0x58]
cmp ecx, dword [ebp + 8]
je 0x47aea0
push 0
mov ecx, 0x4b69b0
call fcn.004746ad
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x58], eax
push 0
push 0
push 0x1009
mov ecx, dword [ebp - 4]
push dword [ecx + 0x10]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
call fcn.00479d12
push 0
push dword [0x4b7508]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4

Function at 0x47bbdb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0047b929
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
mov edx, dword [eax + 8]
sub edx, dword [eax]
mov dword [ebp - 8], edx
shl ecx, 0x10
add ecx, edx
mov dword [0x501bfc], ecx
push 9
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x62
mov eax, dword [ebp - 4]
inc eax
push eax
push dword [ebp - 8]
push 0
push 0
push 0
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
shl ecx, 8
or eax, ecx
push eax
push 0
push 5
push dword [0x4b6a8c]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x48e9c4
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x4b6a68]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esp, ebp
pop ebp
ret 8

Function at 0x47c0e9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5fdc]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c10b
push 0
mov ecx, dword [0x4b5fdc]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4b5fd8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c134
push 0
push 0x9cbd
push 0x111
mov eax, dword [0x4b5fd8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4b7508]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47c154
push 0
mov edx, dword [0x4b7508]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret

Function at 0x47c2aa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x47c2e3
push 1
call fcn.0042b5e1
nop
nop
nop
jmp 0x47c2f9
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.0047c2ff
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
mov esp, ebp
pop ebp
ret 8
Function at 0x47c39a
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x47c3c8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
jne 0x47c3c8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 1
mov esp, ebp
pop ebp
ret

Function at 0x47c434
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x47c464
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov esp, ebp
pop ebp
ret

Function at 0x47f857
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00409c64
push 2
movzx eax, word [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x47f8a6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
call fcn.00409dcb
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
lea eax, [ecx + eax*4 + 0x28]
mov dword [edx + 4], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x481670
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4bcc94]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x48168f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x4bcc90], 1
mov byte [0x4bcc8c], bl
jne 0x4816e9
mov ecx, dword [0x4bd890]
test ecx, ecx
je 0x4816d7
mov esi, dword [0x4bd88c]
sub esi, 4
cmp esi, ecx
jb 0x4816d7
mov eax, dword [esi]
test eax, eax
je 0x4816d0
call eax
mov ecx, dword [0x4bd890]
sub esi, 4
cmp esi, ecx
jae 0x4816c2
push 0x48b134
push 0x48b130
call fcn.00481720
add esp, 8
push 0x48b140
push 0x48b138
call fcn.00481720
add esp, 8
test ebx, ebx
jne 0x481710
push ebp
mov dword [0x4bcc94], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x4d377c
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4d3685], 0
je 0x4d37ac
pushal
mov eax, ecx
mov ecx, 0x4d3684
cmp eax, 2
jne 0x4d37a1
call fcn.004d37fd
nop
nop
nop
nop
nop
jmp 0x4d37ab
sub eax, 0x64
mov byte [ecx], al
call fcn.0046598c
popal
leave
ret
Function at 0x40a0af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40a0be
pop dword [ebp - 0x48]
mov eax, 0xb50322dc
sub eax, 0xb4c2821e
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xf9afdc05
add dword [ebp - 0x58], 0x54a26946
mov dword [ebp - 0x54], 0xc673fde2
sub dword [ebp - 0x54], 0x9440b19d
mov dword [ebp - 0x50], 0xda514836
add dword [ebp - 0x50], 0x71fafbf8
mov dword [ebp - 0x4c], 0x5fa8db2a
add dword [ebp - 0x4c], 0xa05724d6
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x7b706524
add dword [ebp - 0x58], 0xf9020432
mov dword [ebp - 0x54], 0xa5c6bf5c
sub dword [ebp - 0x54], 0x645a5de7
mov dword [ebp - 0x50], 0x69014078
add dword [ebp - 0x50], 0xfa6e2bf4
mov dword [ebp - 0x4c], 0x2e49ac01
sub dword [ebp - 0x4c], 0x2e49ac01
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xf0dbc69f
add eax, 0xf650995
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3a7af
push 0
call eax
mov ecx, 0xd78ccba2
add ecx, 0x2873871d
mov ebx, eax
mov edx, 0x3821f396
add edx, 0xc81f606a
add edx, dword [ebp - 0x48]
mov edi, 0x94572aa1
add dword [ebp - 0x10], 0x3fcc2d0e
mov esi, dword [edx]
xor esi, edi
add dword [ebp - 0x44], 0x9698de98
mov dword [ebx], esi
add dword [ebp - 8], eax
add ebx, 0x532168ce
add ebx, 0xacde9736
add edx, 4
loop 0x40a1d5
add eax, 0x84113699
sub eax, 0x840ff8ca
mov ebx, eax
add eax, 0x4f142d98
sub eax, 0x4f142d93
mov ecx, 0x1a0984ad
sub ecx, 0x19c984ad
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x40a6c1
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
cmp dword [0x412664], 0
je 0x40a6cd
mov al, 1
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push 0
push 1
push 0
push 0x40f27c
mov edi, 0x412664
push edi
call esi
test eax, eax
jne 0x40a70f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x40a70b
push 8
push 1
push 0
push str.__SunJavaKernel
push edi
call esi
test eax, eax
jne 0x40a70f
xor al, al
jmp 0x40a711
mov al, 1
pop edi
pop esi
ret
Function at 0x405a03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x405a12
pop dword [ebp - 0x3c]
mov eax, 0x69d7bdfd
sub eax, 0x699763eb
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0xa0c72001
sub dword [ebp - 0x4c], 0x5274dab6
mov dword [ebp - 0x48], 0x6c79403f
add dword [ebp - 0x48], 0xc5ba0c06
mov dword [ebp - 0x44], 0x64921dd0
add dword [ebp - 0x44], 0xe7ba265e
mov dword [ebp - 0x40], 0x9c5e1e53
add dword [ebp - 0x40], 0x63a1e1ad
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xbf4281c6
sub eax, 0xbf0200c2
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xf12ab9cc
sub dword [ebp - 0x4c], 0x7cb85076
mov dword [ebp - 0x48], 0x1adfcb7
add dword [ebp - 0x48], 0x3fbe64be
mov dword [ebp - 0x44], 0x1311c3c2
add dword [ebp - 0x44], 0x505da8aa
mov dword [ebp - 0x40], 0x87627c78
add dword [ebp - 0x40], 0x789d8388
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0xc1fffc13
sub eax, 0xc1bf7b13
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x3b3dc
push 0
call eax
mov ecx, 0x61bed5e1
sub ecx, 0x61be7cd6
mov ebx, eax
mov esi, 0x5c266416
add esi, 0xa4207fea
add esi, dword [ebp - 0x3c]
mov edi, 0x19bd1287
sub dword [ebp - 0x38], edi
mov edx, dword [esi]
add dword [ebp - 0x14], 0x8353b21f
sub edx, edi
mov dword [ebp - 0x2c], 0xfaa8fd52
mov dword [ebx], edx
xor dword [ebp - 0x20], 0xb3d72372
add ebx, 4
add esi, 0xe6d85fa3
add esi, 0x1927a061
loop 0x405b2e
add eax, 0x156ff
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x405cce
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x425f30
push esi
call fcn.00406212
push esi
call fcn.00405c71
mov edi, eax
test edi, edi
jne 0x405cef
xor eax, eax
jmp 0x405d47
push edi
call fcn.004064a6
test byte [0x42a258], 0x80
je 0x405d0c
mov ax, word [edi]
test ax, ax
je 0x405ceb
cmp ax, 0x5c
je 0x405ceb
sub edi, esi
sar edi, 1
jmp 0x405d26
call fcn.00406555
test eax, eax
je 0x405d20
test byte [eax], 0x10
je 0x405ceb
push esi
call fcn.00405c12
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405d12
call fcn.00405bc6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405dc2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405de1
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405de7
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.kernel32.dll_CreateFileW]
ret 0xc
Function at 0x10004250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100042a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100042a9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x1000429a
cmp esi, edx
jae 0x100042a9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10004288
cmp esi, edx
jae 0x100042a9
cmp word [esi], 0
je 0x100042a9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10007950
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061386
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10081100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.10011250
mov ecx, dword [ebp + 0xc]
mov edi, eax
lea edx, [edi + 0x10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edx
mov word [edi + 0xc], 0
mov eax, dword [ecx]
xor ecx, ecx
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [edx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x54
lea esi, [edx + 0x18]
push ecx
push esi
call fcn.1003d850
mov dword [ebp + 0xc], esi
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
add esi, 0x4c
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x20], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10011210
mov dword [esi], eax
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 0xc

Function at 0x10007b50
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100613f6
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10081100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
call fcn.10011250
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov word [edi + 0xc], 0
lea esi, [edi + 0x10]
push dword [ecx]
mov ecx, esi
mov dword [ebp - 0x1c], esi
call fcn.10009ce0
push 0x54
add esi, 0x18
push 0
push esi
call fcn.1003d850
mov dword [ebp + 0xc], esi
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 7
mov word [esi + 0x1c], ax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 7
mov word [esi + 0x34], ax
add esi, 0x4c
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x20], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.10011210
mov dword [esi], eax
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 0xc