joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa44972
Capabilities:
Encrypt data using aes

Disassembly:
lea edi, [edx + ebx]
jmp 0xa445e9
jmp 0xa4480f
pushal
pushfd
mov dword [esp + 0x10], edi
jmp 0xa44e89
jmp 0xa447dc
mov eax, dword [edx - 8]
push edx
mov edx, ecx
jmp 0xa445f5
add edx, 0xfffffff8
mov edi, dword [edx]
pop edx
sub esp, 0x15
lea esp, [esp + 1]
jmp fcn.00a44611
pop word [esp]
lea esp, [esp + 2]
jmp 0xa44769
mov dword [ecx + 4], eax
mov dword [edx + 4], edi
sub esp, 0xd
lea esp, [esp + 1]
jmp 0xa4477c
lea esp, [esp + 0x24]
sub ebx, 4
jmp 0xa447ad
cmp dword [ebp - 4], ebx
push cx
mov word [esp], cx
lea esp, [esp + 2]
jmp 0xa4490b
add ecx, 0x10
sub edx, 0x10
jmp 0xa44797
neg bh
jmp 0xa448bb
lea ecx, [eax - 1]
mov dword [ebp - 4], ecx
mov ecx, 0xff
jmp 0xa0bbad
cmp eax, 1
jle 0xa0bb6e
bswap edx
lea edx, [esi + edi]
setns bl
jmp 0xa447f2
mov edx, dword [esi]
mov di, word [esp]
mov edi, 0xbdfdaf7c
jmp 0xa44881
mov ebx, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
add esi, 0x10
jmp 0xa44822
movzx ebx, byte [eax]
pop eax
lea edi, [eax*4]
xor dx, dx
mov edi, 0xe63da882
jmp 0xa44838
sub esp, 9
sub esp, 0x1a
lea esp, [esp + 3]
jmp 0xa4488f
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + reloc.oleaut32.dll_SysFreeString]
jmp 0xa4486b
and edi, ecx
cmc
sub esp, 0x10
mov edi, dword [edi*4 + reloc.oleaut32.dll_SysFreeString]
jmp 0xa448a2
pushfd
push dword [esp + 1]
push word [esp + 3]
lea esp, [esp + 2]
jmp 0xa448d9
push eax
mov eax, esi
add eax, 0x11
jmp 0xa44856
lea esp, [esp + 0x38]
xor edi, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
push dx
jmp 0xa448eb
and ebx, ecx
push esi
mov word [esp + 1], sp
pop word [esp]
lea esp, [esp + 2]
jmp 0xa448c3
lea esp, [esp + 2]
movzx ebx, byte [esi + 2]
push edi
jmp 0xa44989
jl 0xa0bb42
mov ax, word [esp]
mov eax, dword [ebp - 8]
jmp 0xa0bb58
xor edi, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
bswap ebx
jmp 0xa44957
cmc
and ebx, ecx
pushfd
lea esp, [esp + 4]
jmp 0xa4491d
push esp
jmp 0xa44965
movzx ebx, byte [esi + 5]
push ebx
mov word [esp + 1], sp
and edx, ecx
jmp 0xa44941
mov edx, dword [edx*4 + reloc.oleaut32.dll_SysFreeString]
call 0xa44972
test dword [ecx], esp
retf 0x5deb
mov edi, ebx
lea edi, [edi*4]
lea edi, reloc.oleaut32.dll_SysFreeString
mov ebx, dword [edi]
pop edi
jmp 0xa44937
lea esp, [esp + 0x28]
pop esi
mov bh, byte [esp]
bswap ebx
mov bh, 0x6d
jmp 0xa45490
mov edi, dword [esp + 0x24]
mov bl, byte [esp]
bswap esi
mov si, 0xa743
jmp 0xa44e73
mov ebx, dword [esp]
call fcn.00a45318

Function at 0xa44a65
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 3]
lea esp, [esp + 5]
lea esp, [esp + 2]
jmp 0xa44a4e
sub esp, 0xf
pop dword [esp + 4]
lea esp, [esp + 3]
shr edi, 0x18
sub esp, 0xa
jmp 0xa44a0f
lea ebp, [ebp*4]
lea ebp, reloc.oleaut32.dll_SysFreeString
mov edi, dword [ebp]
jmp 0xa44b05
push ebp
mov ebp, edi
jmp 0xa44a38
mov edi, 0xe33aaf92
mov edi, edx
jmp 0xa44a25
sub esp, 9
lea esp, [esp + 1]
mov edi, dword [edi*4 + reloc.oleaut32.dll_SysFreeString]
push bx
add esp, 1
call fcn.00a44a84
pop ebp
sub esp, 7
lea esp, [esp + 1]
lea esp, [esp + 2]
and edi, ecx
jmp 0xa44ab7
Function at 0xa44a84
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 1]
jmp 0xa44a9c
jmp 0xa44a6e
add bh, 0xb1
call fcn.00a44ae5
add eax, 0x97641d8d
mov ebp, 0xeb8c1e95
inc ebp
out dx, eax
mul byte [ecx]
retf
and ebx, ecx
clc
lea esp, [esp + 0x1c]
xor edi, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
jmp 0xa44a86

Function at 0xa44b36
Capabilities:
Encrypt data using aes

Disassembly:
add ecx, 6
movzx ebx, byte [ecx]
pop ecx
mov ebx, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
clc
jmp 0xa44b61
lea esp, [esp + 8]
popal
jmp 0xa44b15
pushal
movzx ebx, byte [esi + 9]
pushal
and edx, ecx
jmp 0xa44b4b
mov edx, dword [edx*4 + reloc.oleaut32.dll_SysFreeString]
jmp 0xa44b71
and ebx, ecx
clc
lea esp, [esp + 8]
xor edi, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
jmp 0xa44b3d
and edx, ecx
lea esp, [esp + 0x40]
xor edi, dword [edx*4 + reloc.oleaut32.dll_SysFreeString]
mov edx, dword [esp]
jmp 0xa454f5
pop ecx
call fcn.00a44cb0
adc byte [edx + ecx - 0x790c6393], dl
add dword [ecx + reloc.oleaut32.dll_SysFreeString], edx
add edi, dword [edx - reloc.oleaut32.dll_SysFreeString]
or al, 0x8d
add byte [eax], al
add byte [eax], al
mov ecx, edi
lea ecx, [ecx*4]
lea ecx, reloc.oleaut32.dll_SysFreeString
mov edi, dword [ecx]
jmp 0xa44ba1
sub esp, 0x1f
lea esp, [esp + 3]
shr edi, 0x18
push ecx
jmp 0xa44bb7
pop edx
mov ebx, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
mov edi, edx
pushfd
jmp 0xa44d1c
push edx
mov edx, esi
add edx, 4
mov dword [edx], edi
jmp 0xa44db5
mov edx, dword [esi + 8]
pushfd
lea esp, [esp + 1]
lea esp, [esp + 3]
jmp 0xa44ea0

Function at 0xa44dc5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0xa44e12
mov byte [esp], ch
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.oleaut32.dll_SysFreeString]
and edx, ecx
jmp 0xa44dec

Function at 0xa452cd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0xa452aa
jmp 0xa452c5
test ecx, ecx
call 0xa452cd
add ecx, dword [ebp + reloc.oleaut32.dll_SysFreeString]
and byte [esi + ebx*2 - 0x75], dh
add al, 0x24
not ax
jmp 0xa4531d
xor eax, eax
ret

Function at 0xa45633
Capabilities:
Encrypt data using aes

Disassembly:
lea esp, [esp + 4]
and dword [ebp - 0xc], 0
jmp 0xa45658

Function at 0xa457dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pop edx
jmp 0xa45823
cdq
sub eax, edx
mov dl, 0x61
mov dx, word [esp]
jmp 0xa457f9

Function at 0xa45af1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jne 0xa45556
je 0xa455d0
push dword [esp + 3]
lea esp, [esp + 8]
jmp 0xa45a58
Function at 0xa45b3a
Capabilities:
Encrypt data using aes

Disassembly:
invalid
call fcn.00a45c2f
cld
jnp 0xa454a8
invalid
jmp 0xa45bb7
lea esp, [esp + 4]
pop edi
mov ebx, ecx
pushfd
push dword [esp + 1]
jmp 0xa45bda
push ecx
jmp 0xa45bcd
mov eax, dword [ebp - 0x10]
add dx, sp
mov dx, bp
jmp 0xa45a9d
lea ecx, [eax + ecx]
mov edx, dword [ecx]
pop ecx
not eax
bsf eax, ebp
jmp 0xa45abf
push ecx
mov ecx, esi
lea ecx, [ecx*4]
jmp 0xa45a87
mov eax, dword [ebp + 0xc]
jmp 0xa45acd
mov ax, 0xa721
add edx, dword [ebp + 8]
mov al, 0xe1
mov ah, byte [esp]
jmp 0xa45aa9
call fcn.00a0c57e
push bx
add esp, 1
lea esp, [esp + 1]
jmp 0xa45b33
test eax, eax
call 0xa45b14
cmp esi, ebx
jmp 0xa45b5b
lea esp, [esp + 4]
jle 0xa455fc
jmp 0xa45556
push ecx
jmp 0xa45521
mov ecx, ebp
lea ecx, [ecx - 0xc]
mov eax, dword [ecx]
pop ecx
jmp 0xa4551c
lea esp, [esp + 8]
pop ebx
jmp 0xa45cd9
pop esi
jmp 0xa454b5

Function at 0xa45bf4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0xa459ec
sbb byte [esi - 0x5b5994f4], bl
push 0xfffffffffffffff3
arpl word [esi], ax
cmc
retf 0x6176
lea esp, [esp + 0xc]
jb 0xa45540
jae 0xa45705
jmp 0xa4599f

Function at 0xb8b8c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf si, si
xchg word [esp + 9], di
rdtsc
xchg dword [esp + 3], ecx
push ebx
jmp 0xb8b824
lea esp, [esp + 0x4d]
bts si, bx
sub esp, 0x11
pop dword [esp + 3]
lea esi, [edi*4]
jmp 0xb8b7c4
mov word [esp + 1], sp
neg ax
mov bh, 0xe6
mov ax, word [esp + 0xc]
lea ebp, [esp + ecx]
sub esp, 0x1d
jmp 0xb8b7da
lea esi, [ecx*4]
bts ebp, edi
mov cx, word [esp + 0xd]
jmp 0xb8b874
push dword [esp + 8]
xchg byte [esp + 8], ch
push word [esp + 4]
mov dl, 0xcb
mov esi, dword [esp + 2]
sub esp, 0x1d
jmp 0xb8b80e
add esp, 0xe
mov bl, ch
mov ebx, esp
xchg bx, si
rdtsc
mov word [esp + 0x18], bp
jmp 0xb8b7f7
mov edx, dword [esp + 0x33]
mov byte [esp + 3], dl
popal
sub esp, 0xc
mov word [esp + 0x13], dx
pop eax
jmp 0xb8b89f
lea edx, [eax - 0x7b]
xchg dword [esp + 1], edx
rdtsc
mov si, ax
sets ah
mov bh, byte [esp + 0x22]
jmp 0xb8b85a
cpuid
mov ah, bh
push dword [esp + 9]
mov ebp, dword [esp + 6]
sub esp, 7
jmp 0xb8b8e1
mov di, 0xc028
neg ax
pop si
mov dl, 0x52
xchg byte [esp], cl
mov ch, 0xb5
jmp 0xb8b889
pop eax
sub esp, 0x1e
jmp 0xb8b847
xchg ch, dh
pop cx
rdtsc
mov cl, byte [esp + 6]
pop word [esp + 0x1d]
jmp 0xb8b917
mov ah, ch
mov esi, 0x6554d9a9
stc
pushfd
bsf cx, ax
rdtsc
jmp 0xb8b8cb
neg ch
rdtsc
lea esi, [edx*4]
xchg bp, cx
pushal
jmp 0xb8b949
push dword [esp + 0xf]
rcr bp, 0xd
sub esp, 0x1d
lea esp, [esp + 0x46]
lea esi, [ebp + ebp]
lea edi, [ecx*4]
jmp 0xb8b901
bsr edx, ecx
lea esp, [esp + 0xc]
sub esp, 0xc
xchg byte [esp + 1], bh
jmp 0xb8b958
xchg ah, bl
not cl
pop dword [esp + 8]
xchg dl, ch
cpuid
pop ebx
jmp 0xb8b933
xchg word [esp + 0xb], di
xchg dword [esp + 3], ecx
mov bl, byte [esp + 0x14]
jmp 0xb8b9bb
mov si, 0xb06b
pop ebp
xchg bx, si
mov word [esp + 8], ax
mov ch, cl
push word [esp + 0xa]
jmp 0xb8b986
lea edi, reloc.oleaut32.dll_SysFreeString
lea esi, [edx + 0x3a]
xchg byte [esp + 0x13], bl
inc bl
rol bx, cl
xchg esi, eax
jmp 0xb8b99c
Function at 0xb8bc9f
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 5
xchg byte [esp], ch
stc
jmp 0xb8c2c0
xchg bp, cx
mov ax, word [esp]

Function at 0xb9165e
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0xc], edx
push si
push word [esp + 1]
push word [esp + 3]
jmp 0xb91664
push dword [esp + 2]
jmp 0xb91648
lea esp, [esp + 2]
mov dword [esp + 0xc], ebx
push bp
lea esp, [esp + 2]
jmp 0xb9168b

Function at 0xb9167a
Capabilities:
Parse pe header

Disassembly:
push dword [esp + 3]
push ebx
lea esp, [esp]
mov dword [esp + 8], ecx
call fcn.00b9165e
mov dword [esp + 8], esp
call fcn.00b91710

Function at 0xb91694
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.00b91007
jmp 0xb916e2
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0xb916cc
push eax
jmp 0xb91002
mov dword [esp + 8], edi
lea esp, [esp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0xb91696

Function at 0xb91710
Capabilities:
Parse pe header

Disassembly:
mov word [esp + 1], sp
mov dword [esp], esi
push dword [esp + 1]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], esi
call fcn.00b91694
Function at 0x4015f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push ebx
push ebp
mov ebp, dword [esp + 0x164]
push esi
push edi
mov esi, ecx
push ebp
push str.____CStkService::ExecuteImageCapture___s__
push esi
call fcn.00401590
lea eax, [esi + 0x2330]
lea ebx, [esi + 0x222c]
push eax
push ebp
push ebx
lea ecx, [esp + 0x7c]
push str._s__StiDevice:_s__StiEvent:_s
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x84]
push edx
push str.Execute:__s
push esi
call fcn.00401590
xor eax, eax
mov ecx, 0x11
mov dword [esp + 0x3c], eax
lea edi, [esp + 0x4c]
mov dword [esp + 0x40], eax
add esp, 0x2c
mov dword [esp + 0x18], eax
lea edx, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
push ebx
je 0x40168c
push str.Child_Still_Image_Program__s_running...
jmp 0x401691
push str.Child_Still_Image_Program__s_FAILS.
push esi
call fcn.00401590
add esp, 0xc
push ebp
push 0x4042e4
push esi
call fcn.00401590
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x158
ret 4

Function at 0x401780
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, ecx
push str.____EnableHwNotification__
push edi
call fcn.00401590
mov eax, dword [esp + 0x1c]
add esp, 8
cmp dword [eax], 1
jne 0x401847
mov eax, dword [esp + 0x18]
push ebx
mov ecx, eax
push ebp
shl ecx, 5
add ecx, eax
lea edx, [eax + ecx*8]
mov eax, dword [esp + 0x18]
push eax
lea esi, [edi + edx*4]
lea ebx, [esi + 0x224]
push ebx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea ebp, [esi + 0x110]
mov ecx, edi
push 1
push ebx
push ebp
call fcn.004015a0
lea eax, [esi + 0x42c]
push 0
push ebx
push eax
mov ecx, edi
call fcn.004015a0
lea eax, [esi + 0x42c]
push eax
push ebp
push str.EventName_s_DeviceNameRaw_s
push edi
call fcn.00401590
add esp, 0x10
push ebp
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea ecx, [esi + 0x21c]
mov dword [esi + 0x214], eax
lea eax, [esi + 0x10c]
push ecx
push 0
push eax
push 0x4016c0
push 0
push 0
mov dword [eax], edi
mov dword [esi + 0x220], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
mov dword [esi + 0x218], eax
pop ebx
jmp 0x40189e
push str.Waiting_for_Event_Thread_to_end...
push edi
call fcn.00401590
mov eax, dword [esp + 0x20]
add esp, 8
mov edx, eax
shl edx, 5
add edx, eax
lea eax, [eax + edx*8]
mov ecx, dword [edi + eax*4 + 0x214]
lea esi, [edi + eax*4]
push ecx
mov dword [esi + 0x220], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x218]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.Event_Thread_ended.
push edi
call fcn.00401590
add esp, 8
push 0x40446c
push edi
call fcn.00401590
add esp, 8
xor eax, eax
pop edi
pop esi
ret 0x10
Function at 0x401e30
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x214
push ebx
push ebp
push esi
push edi
push 0xf003f
push 0
push 0
mov ebx, ecx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
mov dword [esp + 0x14], esi
jne 0x401e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
lea eax, [esp + 0x20]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
push 1
push 2
push 0x110
lea edx, [ebx + 0x44]
lea eax, [ebx + 4]
push 0xf01ff
push edx
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebp, eax
test ebp, ebp
jne 0x401eb8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
mov dword [esp + 0x10], 0
xor eax, eax
mov cl, byte [eax + str.SYSTEMCurrentControlSetServicesEventLogApplication_]
mov byte [esp + eax + 0x124], cl
inc eax
test cl, cl
jne 0x401ec2
lea edi, [ebx + 4]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x124]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x128]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401f40
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x214
ret
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 2
push 0
push str.EventMessageFile
push ecx
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push 4
push edx
push 4
push 0
push str.TypesSupported
push eax
mov dword [esp + 0x34], 7
call esi
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebx + 4]
push 0
push eax
push 0x64
push 4
mov ecx, ebx
call fcn.00402050
mov edi, dword [esp + 0x14]
mov edx, dword [ebx]
push edi
push ebp
mov ecx, ebx
call dword [edx + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x214
ret
Function at 0x402050
Capabilities:
Access the windows event log

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
mov dword [esp + 8], eax
xor edi, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
xor eax, eax
mov ecx, dword [esp + eax*4 + 8]
test ecx, ecx
je 0x40207c
inc edi
inc eax
cmp eax, 3
jl 0x402073
mov eax, dword [esi + 0xfc]
test eax, eax
jne 0x40209e
lea eax, [esi + 4]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0xfc]
test eax, eax
je 0x4020c7
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 8]
push 0
push ecx
mov ecx, dword [esp + 0x20]
push 0
push edi
push 0
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
pop edi
pop esi
add esp, 0xc
ret 0x14

Function at 0x40269f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x403168
push 0x4027e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x404acc], 0xffffffff
or dword [0x404ad0], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x404ac8]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x404ac4]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x404ad4], eax
call fcn.004027d1
cmp dword [0x404a90], 0
jne 0x402722
push 0x4027ce
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.004027bc
push 0x40400c
push 0x404008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x404ac0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x404abc]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x404004
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00401a90
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x40234e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004024fe
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x40244c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4023ef
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x402432
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x402406
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x402421
test al, 0x40
je 0x402418
mov ecx, dword [edi + 0x20]
jmp 0x40241f
test al, 0x80
je 0x402432
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x402432
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4023be
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x43b690
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cf30b
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.004c3281
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43b712
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c0def
mov eax, dword [eax]
push 0x698e68
push eax
call fcn.004b2cd4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c350c
test bl, bl
je 0x43b712
push 0x698e68
lea ecx, [esp + 0xc]
call fcn.004c389c
push 0x698e74
lea ecx, [esp + 0xc]
call fcn.004c389c
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 0x43b74e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c350c
jmp 0x43b819
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 0x43b7d2
lea edx, [esp + 0x7c]
push 0x698e70
push edx
call fcn.004b2cd4
add esp, 8
test eax, eax
je 0x43b7d2
lea eax, [esp + 0x7c]
push 0x698e6c
push eax
call fcn.004b2cd4
add esp, 8
test eax, eax
je 0x43b7d2
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 0x43b762
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.004c350c
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 0x43c030
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 0x43c092
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