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

Disassembly:
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
cmp ecx, eax
push esi
je 0x1005cac9
push ebx
mov esi, edx
shl esi, 6
mov ebx, edx
shr ebx, 2
add esi, ebx
movzx ebx, byte [ecx]
lea esi, [esi + ebx - 0x61c88647]
xor edx, esi
inc ecx
cmp ecx, eax
jne 0x1005caab
pop ebx
mov eax, dword [esp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005cad8
mov esi, dword [ecx + 0x14]
jmp 0x1005cada
xor esi, esi
mov eax, edx
xor edx, edx
div esi
pop esi
imul edx, edx, 0x14
lea eax, [edx + ecx + 0x20]
mov dword [edi], eax
mov eax, edi
ret 4

Function at 0x10060804
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c2695
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x10117ab8], 0
jne 0x1006083f
inc dword [0x10117abc]
and dword [esp + 0x28], 0
mov eax, dword [ebp + 0xc]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esi + 0x30]
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
push eax
call fcn.100073ec
pop ecx
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push dword [esp + 0x10]
push eax
call fcn.10010e77
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
add esp, 0xc
push dword [esi + 0x10]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x18]
push eax
call dword [edx + 0x40]
push dword [esi + 0x30]
call fcn.100174ab
or dword [esp + 0x2c], 0xffffffff
pop ecx
call fcn.10011054
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10063292
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 8
mov eax, 0x100c2675
call fcn.100b6f3a
mov edi, dword [ebp + 8]
mov esi, edi
call fcn.1002edfa
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [edi + 0x1c], vtable.Owl::Win32::MouseHandler.0
mov byte [edi + 0x20], bl
lea esi, [edi + 0x28]
mov dword [esi], vtable.Owl::FlashPlayer.0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], bl
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], esi
mov dword [edi], vtable.Owl::Win32::FlashPlayer.0
mov dword [edi + 4], vtable.Owl::Win32::FlashPlayer.1.0
mov dword [edi + 0x10], vtable.Owl::Win32::FlashPlayer.2.0
mov dword [edi + 0x1c], vtable.Owl::Win32::FlashPlayer.3.0
mov dword [esi], vtable.Owl::Win32::FlashPlayer.4.0
mov dword [edi + 0x70], ebx
mov byte [edi + 0x74], bl
mov byte [edi + 0x75], bl
mov byte [edi + 0x76], bl
mov dword [edi + 0x78], ebx
mov byte [edi + 0x7c], bl
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov byte [ebp - 4], 6
mov ecx, dword [ebp + 0xc]
xor edx, edx
inc edx
cmp ecx, ebx
mov dword [edi + 0x88], edx
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x14], bl
je 0x100633a7
mov eax, dword [ecx + 0x2c]
shr eax, 0x13
and al, dl
mov byte [edi + 0x75], al
mov ecx, dword [ecx]
cmp ecx, ebx
mov dword [ebp + 0xc], ecx
je 0x100633a7
cmp dword [ecx], edx
je 0x10063354
push 3
pop eax
call fcn.1000bbb8
cmp byte [ecx + 4], bl
setne byte [ebp - 0xd]
cmp byte [ecx + 0xd], bl
setne dl
cmp al, bl
mov byte [ebp - 0x14], dl
je 0x10063387
cmp byte [ebp - 0xd], bl
je 0x10063387
cmp byte [ecx + 0xc], bl
je 0x10063387
push ebx
push 6
call fcn.100118b4
test al, al
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
je 0x10063387
mov byte [edi + 0x7c], 1
mov ecx, dword [ecx + 8]
sub ecx, ebx
je 0x1006339d
dec ecx
jne 0x1006334c
mov dword [edi + 0x88], 2
jmp 0x100633a7
mov dword [edi + 0x88], 1
mov edi, dword [edi + 0x88]
mov ebx, esi
call fcn.100618a4
push dword [ebp - 0x14]
call fcn.10061cc3
mov bl, byte [ebp - 0xd]
call fcn.10061a81
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10063d96
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
call fcn.100638a1
test byte [0x1011bf34], 1
jne 0x10063401
or dword [0x1011bf34], 1
push 0
push 6
call fcn.100118b4
pop ecx
pop ecx
mov byte [0x1011bf30], al
cmp byte [0x1011bf30], 0
je 0x10063428
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 2
push esi
call dword [sym.imp.GDI32.dll_SetICMMode]
push esi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, ebx
call fcn.100b7012
ret 8
Function at 0x1006a212
Capabilities:
Log keystrokes via polling

Disassembly:
push 0
mov eax, 0x100c24e4
call fcn.100b6f3a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 8]
xor eax, eax
sub ecx, 0xa
je 0x1006a266
dec ecx
je 0x1006a24f
dec ecx
jne 0x1006a2cf
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf020
jmp 0x1006a2cf
push ebx
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 0xf0
add eax, 0xf030
jmp 0x1006a2cf
test byte [0x1011bf2c], 1
jne 0x1006a28c
or dword [0x1011bf2c], 1
mov esi, str.bool:disable.close.all.behavior
mov edi, 0x1011bf28
mov dword [ebp - 4], eax
call fcn.100a5f7c
or dword [ebp - 4], 0xffffffff
mov esi, dword [0x10117aa8]
call fcn.1000d4d4
push dword [0x1011bf28]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x2c]
test al, al
jne 0x1006a2ca
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
je 0x1006a2ca
mov ecx, dword [0x10117aa8]
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
call fcn.10055e9f
jmp 0x1006a2de
mov eax, 0xf060
push 0
push eax
push 0x112
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.100b7012
ret 4

Function at 0x1006d67c
Capabilities:
Set global application hook

Disassembly:
push 0
mov eax, 0x100c58e0
call fcn.100b6f3a
mov ebx, dword [ebp + 8]
push ebx
call fcn.1006b7cc
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx + 0xc0], vtable.Owl::Win32::MouseHandler.0
mov byte [ebx + 0xc4], 0
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea esi, [ebx + 0xc8]
call fcn.1002edfa
mov dword [esi], vtable.Owl::Win32::ApplicationContainer.4.0
lea esi, [ebx + 0xf0]
mov dword [ebx], vtable.Owl::Win32::ApplicationContainer.0
mov dword [ebx + 0x60], vtable.Owl::Win32::ApplicationContainer.1.0
mov dword [ebx + 0x64], vtable.Owl::Win32::ApplicationContainer.2.0
mov dword [ebx + 0xc0], vtable.Owl::Win32::ApplicationContainer.3.0
mov dword [ebx + 0xcc], vtable.Owl::Win32::ApplicationContainer.5.0
mov dword [ebx + 0xd8], vtable.Owl::Win32::ApplicationContainer.6.0
mov byte [ebx + 0xe4], 0
mov byte [ebx + 0xe5], 0
mov dword [ebx + 0xe8], edi
mov byte [ebx + 0xec], 0
mov dword [esi], edi
mov byte [ebp - 4], 3
mov byte [ebx + 0xf4], 0
mov byte [ebx + 0xf5], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x1006da73
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, eax
call fcn.10011b44
xor eax, eax
cmp dword [esi], eax
setne al
push eax
call fcn.100073ec
pop ecx
mov eax, ebx
call fcn.100b7012
ret 0xc
Function at 0x100709ca
Capabilities:
Hide graphical window

Disassembly:
lea eax, [esi + 0xec]
cmp ecx, dword [eax]
je 0x10070a53
cmp ecx, 1
push edi
mov edi, dword [esi + 0xb4]
mov dword [eax], ecx
jne 0x10070a20
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
call ebx
push 0
push edi
call dword [sym.imp.USER32.dll_SetParent]
push edi
call fcn.1003048e
pop ecx
push edi
push 2
lea ecx, [esi + 0xc8]
pop eax
call fcn.10017c7f
lea ecx, [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0xc0]
push 4
push edi
call ebx
pop ebx
pop edi
ret
push edi
call fcn.100304a4
mov eax, dword [esi]
pop ecx
mov ecx, esi
call dword [eax + 4]
mov edx, dword [eax]
lea ecx, [esi + 0x70]
push ecx
mov ecx, eax
call dword [edx + 0x134]
push eax
push edi
call dword [sym.imp.USER32.dll_SetParent]
push edi
lea ecx, [esi + 0xc8]
xor eax, eax
call fcn.10017c7f
pop edi
ret

Function at 0x10071b79
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
push edi
push esi
call dword [eax + 0x1c]
xor ebx, ebx
push ebx
push ebx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [esp + 0x10]
push eax
push 0x100164fd
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [esp + 0x14]
jmp 0x10071bdf
xor eax, eax
cmp byte [esi + 0x40], bl
push ebx
setne al
inc eax
or eax, 0x20000
push eax
push 0x127
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
add edi, 4
cmp edi, dword [esp + 0x18]
jne 0x10071bbf
cmp dword [esp + 0x14], ebx
je 0x10071bf5
push dword [esp + 0x14]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1009dbe6
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100be0c5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
call fcn.1009de59
pop ecx
mov ecx, dword [ebp + 8]
and dword [esp + 0x38], 0
lea eax, [esp + 0xc]
call fcn.1009df74
lea esi, [esp + 0x1c]
call fcn.1001006e
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b5ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100badc8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
pop ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0xa0], ebx
je 0x100b5cfe
call fcn.100b5e8e
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov dword [esp + 0x10], esi
jmp 0x100b5d04
mov dword [esp + 0x10], ebx
mov esi, ebx
or dword [esp + 0xa0], 0xffffffff
mov edi, dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
mov dword [esi + 8], sym.AdobeOwl.dll_OWLChangeLogLevel
mov ebx, dword [edi]
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], esi
call fcn.100b469b
push esi
push esi
call sym.AdobeOwl.dll_OWLChangeLogLevel
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov esi, dword [ebx + 0x18]
test esi, esi
mov eax, dword [esp + 0x24]
pop ecx
pop ecx
mov dword [ebx + 0x18], eax
je 0x100b5d51
call fcn.1000df89
mov eax, dword [edi]
lea edx, [eax + 0x10]
lea eax, [esp + 0x3c]
call fcn.100b44d8
mov byte [esp + 0x4c], 0
mov dword [esp + 0xa0], 1
mov eax, dword [edi]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
mov dword [esp + 0x14], esi
jne 0x100b5dc4
lea eax, [esp + 0x20]
lea edx, [esp + 0x3c]
call fcn.100b45b6
push eax
call fcn.100b44fb
mov edi, dword [edi]
or dword [esp + 0xa0], 0xffffffff
lea eax, [esp + 0x3c]
push eax
mov byte [edi + 0x1c], 1
call fcn.100b4584
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x14]
sub esp, 0x10
lea edx, [eax + 0x10]
mov eax, esp
mov dword [esp + 0x28], esp
call fcn.100b44d8
mov edi, dword [esi]
lea ebx, [esp + 0x40]
call fcn.100b5eeb
mov esi, ebx
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [esp + 0x2c], 1
mov byte [esp + 0xa0], 2
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x14]
mov eax, ebx
push eax
push dword [esi + 4]
push esi
call fcn.100b4667
mov ecx, dword [edi + 0x18]
mov edx, 0x15555555
sub edx, ecx
cmp edx, 1
jb 0x100b5e50
add dword [esp + 0x14], 4
inc ecx
mov dword [edi + 0x18], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xa0], 1
mov eax, dword [eax]
cmp ecx, dword [eax + 8]
mov byte [esp + 0x2c], 0
jne 0x100b5dc0
mov edi, dword [ebp + 8]
jmp 0x100b5d7d
push str.list_T__too_long
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xa8], 3
call fcn.10002ef5
push 0x100f0850
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], vtable.std::length_error.0
call sub.MSVCR80.dll__CxxThrowException
int3
Function at 0x100b671b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1010f048]
jne 0x100b6725
repz ret
jmp fcn.100b6dbc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x10704058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.107041a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1070407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1070406a
add dl, dl
jne 0x10704089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x107040dc
xor eax, eax
add dl, dl
jne 0x10704096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1070417d
add dl, dl
jne 0x107040a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107040b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107040bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107040c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x107040d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10704075
mov eax, 1
add dl, dl
jne 0x107040ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x107040f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x107040e1
sub eax, ebx
mov ebx, 1
jne 0x10704128
mov ecx, 1
add dl, dl
jne 0x1070410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10704119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10704105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10704075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1070413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1070414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10704136
cmp eax, 0x7d00
jae 0x1070416d
cmp eax, 0x500
jb 0x10704168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10704075
cmp eax, 0x7f
ja 0x10704170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10704075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1070419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10704075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x409e0c
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00403520
mov eax, dword [ebp - 0x18]
call fcn.00403520
mov eax, dword [ebp - 0x1c]
call fcn.00403520
xor eax, eax
push ebp
push 0x409f10
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00403530
push eax
mov eax, dword [ebp - 0x18]
call fcn.00403530
mov edx, eax
mov eax, dword [0x40c650]
pop ecx
call fcn.00409d94
pop ecx
test al, al
je 0x409ef5
mov eax, dword [ebp - 0x1c]
call fcn.004048ec
test al, al
je 0x409e86
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x409eda
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.00403530
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409ee4
mov eax, dword [ebp - 0x10]
call fcn.00404520
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f17
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret

Function at 0x9301e8
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x9301ee
pop ebp
sub ebp, 6
sub ebp, 0x5301e8
jmp 0x93024c
jmp 0x930255
mov eax, 0x5301e8
add eax, ebp
add eax, 0x93
mov ecx, 0x62c
mov edx, 0x3ca672dd
xor byte [eax], dl
inc eax
dec ecx
jne 0x93026c
jmp 0x93027f
add byte [eax], al
add byte [0xb74e03df], ah
popfd
mov bh, 0x9d
mov ch, 0xdd
int 0xdd
fnsave dword [ebp - 0x220eee23]
out dx, al
sbb eax, 0xa548228d
pushfd
xchg esp, eax
fisttp qword [ebp + 0x54561056]
loope 0x930278
fstp st(5)
pop esp
sbb al, 0x25
fstp st(5)
fstp st(6)
adc byte [ebp - 0x25], ah
fstp st(5)
frstor dword [edi - 0xb]
fstp st(5)
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x49eb0f4b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x78f15cf9
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406000
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47881b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046d74e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x406082
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046b660
mov eax, dword [eax]
push 0x495c50
push eax
call fcn.0045e374
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046d9d9
test bl, bl
je 0x406082
push 0x495c50
lea ecx, [esp + 0xc]
call fcn.0046dd69
push 0x495c5c
lea ecx, [esp + 0xc]
call fcn.0046dd69
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4060be
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046d9d9
jmp 0x406189
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x406142
lea edx, [esp + 0x7c]
push 0x495c58
push edx
call fcn.0045e374
add esp, 8
test eax, eax
je 0x406142
lea eax, [esp + 0x7c]
push 0x495c54
push eax
call fcn.0045e374
add esp, 8
test eax, eax
je 0x406142
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4060d2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046d9d9
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406990
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4069f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc