joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403258
push 0x402230
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffff98
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
add esp, 4
mov dword [0x404154], 0xffffffff
mov dword [0x404158], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404150]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov edx, dword [0x40414c]
mov dword [eax], edx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov ecx, dword [eax]
mov dword [0x40415c], ecx
call fcn.00402220
mov eax, dword [0x404104]
test eax, eax
jne 0x4020c1
push 0x402210
call dword [sym.imp.MSVCRT.dll___setusermatherr]
add esp, 4
call fcn.004021f0
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
add esp, 8
mov edx, dword [0x404148]
mov dword [ebp - 0x6c], edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [0x404144]
push ecx
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x60]
push ecx
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x14
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 8
call dword [sym.imp.MSVCRT.dll___p__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4021cf
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x402135
cmp al, 0x22
jne 0x402127
cmp byte [esi], 0x22
jne 0x40213e
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
test al, al
je 0x40214e
cmp al, 0x20
ja 0x40214e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x40213e
mov dword [ebp - 0x30], 0
lea edx, [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40216f
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x402174
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
jmp 0x4021b4
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40213e
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4021cf

Function at 0x431005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43100c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43101e
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x410370
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41038a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410380
mov eax, 1
add ebx, ebx
jne 0x4103a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410398
jne 0x4103b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410398
xor ecx, ecx
sub eax, 3
jb 0x4103c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41043a
mov ebp, eax
add ebx, ebx
jne 0x4103d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4103e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410404
inc ecx
add ebx, ebx
jne 0x4103f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4103e5
jne 0x410401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4103e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410424
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410415
jmp 0x410386
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410424
add edi, ecx
jmp 0x410386
pop esi
mov edi, esi
mov ecx, 0x277
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410442
cmp byte [edi], 5
jne 0x410442
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x410447
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x4104b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x128f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12944]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410474
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12948]
or eax, eax
je 0x4104b0
mov dword [ebx], eax
add ebx, 4
jmp 0x410491
call dword [esi + 0x12958]
mov ebp, dword [esi + 0x1294c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4104ea
sub esp, 0xffffff80
jmp 0x4027e0

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403cf8
sub eax, 0x403c9e
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x35976322
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x197821ed
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40896f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
mov ebx, dword [esp]
add esp, 4
call fcn.00408994
sub esp, 4
mov dword [esp], 0xd9100639
pop esi
xor dword [eax], ebx
inc eax
cmp eax, edi
jne fcn.0040896f
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x6fc41ba4
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5ee44228
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
mov ecx, 0xf9a0f29
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
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
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5cf76bdf
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x462dd0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x47b450]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x47b450]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], esi
push 2
lea edi, [esp + 0x14]
mov dword [esp + 0x3c], 0
call fcn.004026f0
mov byte [esp + 0x38], 1
mov ecx, dword [esp + 0x14]
mov ebp, 0x10
cmp dword [esp + 0x28], ebp
jae 0x40228f
lea ecx, [esp + 0x14]
mov eax, dword [esi + 0x8c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4022b5
mov ecx, dword [esi + 0x8c]
push ecx
call edi
mov edx, dword [esi + 0x90]
push edx
call edi
cmp dword [esp + 0x28], ebp
jb 0x4022c8
mov eax, dword [esp + 0x14]
push eax
call fcn.004036ec
add esp, 4
cmp dword [esi + 0x18], ebp
jb 0x4022d9
mov ecx, dword [esi + 4]
push ecx
call fcn.004036ec
add esp, 4
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00435496
add esp, 0x30
ret
Function at 0x4050da
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4050fe
cmp dword [edi + 0x54], 0
jne 0x4050fe
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040e013
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0040509b
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40c097
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40c0de
call fcn.0040e013
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c0de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40c0fa
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040bc11
mov esi, eax
test edi, edi
je 0x40c0f8
test ebx, ebx
je 0x40c0f8
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40cc1f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x460d60
call fcn.004390df
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40cc44
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40cc8a
lea ecx, [ebp - 0x10]
call fcn.00404c7e
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c138
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403ec9
mov eax, esi
call fcn.004391b7
ret 8

Function at 0x418d89
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x46152c
call fcn.004390df
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ba3b
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418deb
call fcn.0040d717
cmp eax, 1
jne 0x418deb
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004185c3
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00413d05
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403ec9
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403ec9
mov eax, esi
call fcn.004391b7
ret 0x10
Function at 0x418e14
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x46152c
call fcn.004390df
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ba3b
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418e76
call fcn.0040d717
cmp eax, 1
jne 0x418e76
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004185c3
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00413d05
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403ec9
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403ec9
mov eax, esi
call fcn.004391b7
ret 0x14

Function at 0x418ea2
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x46152c
call fcn.004390df
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ba3b
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x418f04
call fcn.0040d717
cmp eax, 1
jne 0x418f04
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004185c3
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00413d05
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00403ec9
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403ec9
mov eax, esi
call fcn.004391b7
ret 8

Function at 0x435496
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47b450]
jne 0x4354a0
repz ret
jmp fcn.0043c747
Function at 0x450f68
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043d994
and dword [ebp - 4], 0
cmp dword [0x47f270], 0
mov ebx, eax
jne 0x451019
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4510ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46c588
push edi
call esi
test eax, eax
je 0x4510ca
push eax
call fcn.0043d922
mov dword [esp], 0x46c578
push edi
mov dword [0x47f270], eax
call esi
push eax
call fcn.0043d922
mov dword [esp], 0x46c564
push edi
mov dword [0x47f274], eax
call esi
push eax
call fcn.0043d922
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47f278], eax
call esi
push eax
call fcn.0043d922
pop ecx
mov dword [0x47f280], eax
test eax, eax
je 0x451019
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043d922
pop ecx
mov dword [0x47f27c], eax
mov eax, dword [0x47f27c]
cmp eax, ebx
je 0x451071
cmp dword [0x47f280], ebx
je 0x451071
push eax
call fcn.0043d99d
push dword [0x47f280]
mov esi, eax
call fcn.0043d99d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x451071
test edi, edi
je 0x451071
call esi
test eax, eax
je 0x451068
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x451068
test byte [ebp - 0xc], 1
jne 0x451071
or dword [ebp + 0x10], 0x200000
jmp 0x4510aa
mov eax, dword [0x47f274]
cmp eax, ebx
je 0x4510aa
push eax
call fcn.0043d99d
pop ecx
test eax, eax
je 0x4510aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4510aa
mov eax, dword [0x47f278]
cmp eax, ebx
je 0x4510aa
push eax
call fcn.0043d99d
pop ecx
test eax, eax
je 0x4510aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47f270]
call fcn.0043d99d
pop ecx
test eax, eax
je 0x4510ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4510cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10031b5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x1008504]
mov ecx, dword [0x1008588]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
add eax, ecx
shl eax, 1
push esi
mov esi, dword [ebp + 0xc]
jns 0x10031e3
xor edx, edx
jmp 0x10031e5
mov edx, eax
test edx, edx
jle 0x1003201
push edi
mov ecx, edx
shr ecx, 1
mov eax, 0x200020
lea edi, [ebp - 0x804]
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
push ebx
lea eax, [ebp + edx*2 - 0x804]
push esi
push eax
call dword [sym.imp.msvcrt.dll_vswprintf]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
call esi
push 0x100169c
call esi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01005c06
leave
ret 0xc
Function at 0x10048f7
Capabilities:
Set registry value

Disassembly:
mov eax, 0x1006b55
call fcn.010065f4
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push eax
xor esi, esi
push 0x1001d58
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], esi
call fcn.01003b5f
push esi
push esi
mov edi, 0x1008520
mov dword [ebp - 4], esi
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.ATL.DLL_AtlModuleRegisterServer]
cmp eax, esi
jge 0x100495d
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0x1001d2c
mov dword [ebp - 0x30], 0x99
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1006e14
lea eax, [ebp - 0x4c]
jmp 0x10049d0
push esi
push esi
push 1
push 0x87
push edi
call dword [sym.imp.ATL.DLL_AtlModuleUpdateRegistryFromResourceD]
cmp eax, esi
jge 0x1004995
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0x1001d2c
mov dword [ebp - 0x30], 0x9f
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1006e14
lea eax, [ebp - 0x58]
jmp 0x10049d0
lea ecx, [ebp - 0x78]
call fcn.01002c8f
push esi
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.010039c6
cmp eax, esi
jge 0x10049d6
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0x1001d2c
mov dword [ebp - 0x30], 0xa8
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x1006e14
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll__CxxThrowException
mov edi, dword [sym.imp.ADVAPI32.dll_MakeSelfRelativeSD]
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0x78]
mov dword [ebp - 0x14], esi
call edi
push dword [ebp - 0x14]
call sub.MFC42u.DLL_operatornew
pop ecx
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x1004a55
push 0x1001cd0
lea ecx, [ebp - 0x20]
call sub.MFC42u.DLL_CString::CString_2
mov dword [ebp - 0x18], esi
push 2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
push 0x80000000
mov byte [ebp - 4], 4
call fcn.01002c53
push dword [ebp - 0x14]
push ebx
push 3
push esi
push 0x1001ca8
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.01002c35
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.01002ca7
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.01003b9c
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret