joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430006
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
mov ecx, 0x141416f0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x185b4081
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.MSVCR100.dll_getenv]
xor ebx, ebx
pop ecx
test eax, eax
je 0x40104d
mov edi, dword [sym.imp.MSVCR100.dll_printf]
push str.Windows_original_main_args:_n
call edi
mov eax, dword [sym.imp.MSVCR100.dll___argc]
xor esi, esi
pop ecx
cmp dword [eax], ebx
jle 0x40104d
mov eax, dword [sym.imp.MSVCR100.dll___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call edi
mov eax, dword [sym.imp.MSVCR100.dll___argc]
add esp, 0xc
inc esi
cmp esi, dword [eax]
jl 0x40102e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
xor ecx, ecx
cmp edi, ebx
jle 0x401087
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x40107c
mov eax, dword [str.java]
mov dword [esi + ecx*4], ebx
cmp eax, ebx
jne 0x401095
mov eax, dword [esi]
mov ecx, dword [str.java]
cmp ecx, ebx
jne 0x4010a1
mov ecx, dword [esi]
push ebx
push ebx
push ebx
push 1
push eax
push ecx
push 0x4021a4
push 0x402194
push 0x403018
push 3
push 0x403010
push 2
push esi
push edi
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x402810
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi

Disassembly:
sub esp, 0x4c
cmp dword [esi], 0
mov al, 0x48
mov cl, 0x81
mov byte [esp], 0xb3
mov byte [esp + 1], 0xe1
mov byte [esp + 2], 0x4c
mov byte [esp + 3], 0x97
mov byte [esp + 4], 0x27
mov byte [esp + 5], cl
mov byte [esp + 6], 0x99
mov byte [esp + 7], 0xee
mov byte [esp + 8], 0x1a
mov byte [esp + 9], 0xd4
mov byte [esp + 0xa], 0x33
mov byte [esp + 0xb], 0x3b
mov byte [esp + 0xc], 0x26
mov byte [esp + 0xd], 0xb8
mov byte [esp + 0xe], 0x50
mov byte [esp + 0xf], 0x15
mov byte [esp + 0x10], 0xe2
mov byte [esp + 0x11], 0x85
mov byte [esp + 0x12], 0xf
mov byte [esp + 0x13], al
mov byte [esp + 0x14], 0x11
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0xb7
mov byte [esp + 0x17], 0x93
mov byte [esp + 0x18], 0xd7
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0xcb
mov byte [esp + 0x1b], 0xa7
mov byte [esp + 0x1c], 0x8e
mov byte [esp + 0x1d], 0x92
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x44
jne 0x4028d4
push 0xf0000000
push 0x18
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4028d4
mov dword [esi], eax
xor al, al
add esp, 0x4c
ret
push 0x2c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00401100
push 0x20
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x40]
push edx
mov word [esp + 0x38], 0x208
mov word [esp + 0x3c], 0x6610
mov byte [esp + 0x40], 0x20
call fcn.00401140
mov edx, dword [esi]
add esp, 0x18
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x2c
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x40293a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407a20
add esp, 4
xor al, al
add esp, 0x4c
ret
mov al, 1
add esp, 0x4c
ret
Function at 0x1001b1c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001b350
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0xfffffff8
jmp 0x1001b210
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x1a
jle 0x1001b34e
mov dword [ebp - 8], 0x220985a9
mov dword [ebp - 0xc], 0xfffffffc
cmp dword [ebp - 8], 0
jne 0x1001b2ab
mov eax, dword [ebp - 4]
cmp dword [eax], 0x952f
jge 0x1001b244
mov dword [ebp - 0x14], 1
jmp 0x1001b248
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
sub eax, 0xfff6
cmp eax, 3
jae 0x1001b25e
mov dword [ebp - 0x18], 1
jmp 0x1001b262
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jle 0x1001b275
mov dword [ebp - 0x1c], 1
jmp 0x1001b279
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1001b295
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1001b295
mov dword [ebp - 0x20], 1
jmp 0x1001b299
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
neg eax
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
jne 0x1001b2ab
and dword [ebp - 0x24], 0
jmp 0x1001b2b2
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jl 0x1001b2c5
mov dword [ebp - 0x28], 1
jmp 0x1001b2c9
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x28], eax
jg 0x1001b2da
mov dword [ebp - 0x2c], 1
jmp 0x1001b2de
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], 0x338886a6
cmp dword [ebp - 0xc], 0
je 0x1001b311
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
cmp dword [eax], ecx
jg 0x1001b311
mov dword [ebp - 0x30], 1
jmp 0x1001b315
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
jne 0x1001b326
mov dword [ebp - 0x34], 1
jmp 0x1001b32a
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x811fc80a
jbe 0x1001b337
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x44]
mov dword [eax], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], 1
jmp 0x1001b205
jmp 0x1001b377
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x1001b377
push 0
push 0x1083
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov esp, ebp
pop ebp
ret
Function at 0x1001b739
Capabilities:
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001b772
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 2
mov ecx, dword [ebp - 0xc]
call fcn.100157d3
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1001b781
push 0
push 0x23e4
push 0
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
mov esp, ebp
pop ebp
ret
Function at 0x1002872f
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002875b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 2
mov ecx, dword [ebp - 0x10]
call fcn.100157d3
mov dword [eax], 0x6310fe
jmp 0x100287af
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0x12
jmp 0x1002877d
mov eax, dword [ebp - 8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jle 0x100287af
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100287ad
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10028772
mov esp, ebp
pop ebp
ret
Function at 0x1002cd57
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002cd7b
xor eax, eax
jmp 0x1002ced4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 1
push 0x940
push 0x47c9
lea eax, [ebp + 8]
push eax
call fcn.1002cb80
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002cdad
xor eax, eax
jmp 0x1002ced4
push 1
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 0x49d9
push 0x69df
call fcn.1002c887
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002cdd5
xor eax, eax
jmp 0x1002ced4
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 0x10]
call fcn.1002ca30
add esp, 0x18
lea eax, [ebp - 8]
push eax
push 1
push 0x4b72
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1002cc12
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x66f1
lea eax, [ebp - 8]
push eax
push 0x1661
push 1
call fcn.1002cc7a
add esp, 0x18
cmp dword [ebp - 0x14], 0
je 0x1002ce49
push 0x3d22
push 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call fcn.1002cce6
add esp, 0x10
push dword [ebp - 4]
call fcn.1002c748
pop ecx
test eax, eax
jne 0x1002ce5a
xor eax, eax
jmp 0x1002ced4
push 0
push dword [ebp - 4]
push 0x63c0
call fcn.1002a3d5
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002cebc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002ce8b
xor eax, eax
jmp 0x1002ced4
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002cea4
xor eax, eax
jmp 0x1002ced4
lea eax, [ebp - 4]
push eax
push 1
push 0x4ffb
push 0x2ea2
call fcn.1002cce6
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002cecd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002ced1
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10042c6b
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10042cc6
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10042ca7
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10042cc4
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.100157d3
mov dword [eax], 0xfffffffb
jmp 0x10042c9c
jmp 0x10042cdc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10042cdc
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret
Function at 0x1004330d
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004340c
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x100433c8
mov eax, dword [ebp - 4]
cmp dword [eax], 0x952f
jge 0x1004335f
mov dword [ebp - 0xc], 1
jmp 0x10043363
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
sub eax, 0xfff6
cmp eax, 3
jae 0x10043379
mov dword [ebp - 0x10], 1
jmp 0x1004337d
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jle 0x10043390
mov dword [ebp - 0x14], 1
jmp 0x10043394
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
test eax, eax
jne 0x100433b2
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100433b2
mov dword [ebp - 0x18], 1
jmp 0x100433b6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
neg eax
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
jne 0x100433c8
and dword [ebp - 0x1c], 0
jmp 0x100433cf
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x100433e2
mov dword [ebp - 0x20], 1
jmp 0x100433e6
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jg 0x100433f9
mov dword [ebp - 0x24], 1
jmp 0x100433fd
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
jmp 0x10043416
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov esp, ebp
pop ebp
ret
Function at 0x10044372
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004438e
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x10044492
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 8]
mov esi, dword [eax]
push 0
mov ecx, dword [ebp - 0x40]
call fcn.100157d3
imul esi, dword [eax]
test esi, esi
je 0x10044405
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10044405
mov dword [ebp - 0xc], 1
jmp 0x10044409
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jne 0x10044422
mov dword [ebp - 0x14], 1
jmp 0x10044426
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jl 0x10044439
mov dword [ebp - 0x18], 1
jmp 0x1004443d
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov dword [ebp - 0x1c], eax
push 1
mov ecx, dword [ebp - 0x44]
call fcn.100157d3
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x5ce
cmp dword [ebp - 0x1c], eax
jl 0x1004446b
mov dword [ebp - 0x20], 1
jmp 0x1004446f
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 0xfffffffc
jbe 0x10044486
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x10044486
mov dword [ebp - 0x24], 1
jmp 0x1004448a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10080c35
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008c330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.100731c4
mov dword [ebp - 0x14], eax
cmp dword [0x10678ecc], esi
jne 0x10080d28
push 0x800
push esi
push 0x10007edc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10080cb5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10080e08
push esi
push esi
push 0x10007edc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10080e08
push 0x10007ef4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10080e08
push eax
call ebx
push 0x10007f00
push edi
mov dword [0x10678ecc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f10
push edi
mov dword [0x10678ed0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007f24
push edi
mov dword [0x10678ed4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10678edc], eax
test eax, eax
je 0x10080d25
push 0x10007f40
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10678ed8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10080d4d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10080d40
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10080d62
push 4
pop eax
jmp 0x10080e0a
cmp dword [ebp - 0x14], esi
je 0x10080d62
push dword [0x10678ecc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10080d47
mov eax, dword [0x10678ed8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10080dc0
cmp dword [0x10678edc], edi
je 0x10080dc0
push eax
call ebx
push dword [0x10678edc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10080dc0
test eax, eax
je 0x10080dc0
call ecx
test eax, eax
je 0x10080db5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10080db5
test byte [ebp - 8], 1
jne 0x10080dc0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10080df0
mov eax, dword [0x10678ed0]
cmp eax, edi
je 0x10080ded
push eax
call ebx
test eax, eax
je 0x10080ded
call eax
mov esi, eax
test esi, esi
je 0x10080ded
mov eax, dword [0x10678ed4]
cmp eax, edi
je 0x10080ded
push eax
call ebx
test eax, eax
je 0x10080ded
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10678ecc]
call ebx
test eax, eax
je 0x10080e08
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10080e0a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x417c10
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x14
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardType]
push 1
mov edi, eax
call ebx
push 0x14
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [esp + 0xc]
mov edi, eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0x4c6490
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
push 0
call ebx
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test edi, edi
je 0x417c8f
mov edx, dword [0x4c5ac0]
push 0x4c57ac
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
push str.GlobalFeedback_Generator
push 0
lea eax, [esp + 0x1c]
push 1
push eax
mov dword [esp + 0x24], 0xc
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
pop edi
pop esi
mov dword [0x4c5abc], eax
pop ebx

Function at 0x417ff6
Capabilities:
Encode data using xor

Disassembly:
enter 0x10b, 0xffffffffffffffda
in al, 6
mov eax, dword [0x822a44da]
fiadd dword [edx + ebp - 0x7e]
cmp cl, bl
cwde
push 0xc258b659
xor esp, dword [eax - 0x57ea390]
jae 0x417ffd
sub eax, 0x32e2897e
lcall 0x7169, 0x6f4680e9
jno 0x418069
into
cmp byte [ebx + 0x3a5c5f3d], ah
sbb dword [edx + esi*4 - 0x70], esi
sub eax, 0x2936e845
xor al, 0x90
adc byte [ecx], dh
xor byte [ebp - 0x2b], 0xf4
into
sal byte [ebp - 0x1c], 0x46
lodsb al, byte [esi]
mov dword [esi + 0x3c], edx
mov esi, esi
mov ebp, ebp
mov edx, edx
mov esi, esi
mov ebp, ebp
mov edx, edx
mov ebx, ebx
mov ecx, ecx
mov esi, esi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4ba2dd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2370
cmp edx, dword [eax]
je 0x4ba2ff
add eax, 8
inc ecx
cmp eax, 0x4c2400
jl 0x4ba2f0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2370]
jne 0x4ba42d
mov eax, dword [0x4c6d0c]
cmp eax, 1
je 0x4ba407
test eax, eax
jne 0x4ba330
cmp dword [0x4c2298], 1
je 0x4ba407
cmp edx, 0xfc
je 0x4ba42d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba367
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bacc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb150
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba3aa
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb150
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf884
push edi
call fcn.004bd020
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bacc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bacd0
lea eax, [ebp - 0xa0]
push 0x4bf864
push eax
call fcn.004bacd0
push dword [esi + 0x4c2374]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bacd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bcf94
add esp, 0x2c
pop edi
jmp 0x4ba42d
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2374]
push 0
push eax
push dword [esi]
call fcn.004bb150
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret