joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1a80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x4b1a9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b1aa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1a90
mov eax, 1
add ebx, ebx
jne 0x4b1ab3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b1ac4
jne 0x4b1ae3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ae3
dec eax
add ebx, ebx
jne 0x4b1ad0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b1aa8
add ebx, ebx
jne 0x4b1adf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b1b35
xor ecx, ecx
sub eax, 3
jb 0x4b1afb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b1b6a
sar eax, 1
mov ebp, eax
jmp 0x4b1b06
add ebx, ebx
jne 0x4b1b06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ad4
inc ecx
add ebx, ebx
jne 0x4b1b14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b1ad4
add ebx, ebx
jne 0x4b1b21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b1b16
jne 0x4b1b32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b1b16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b1b54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b1b46
jmp 0x4b1a96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b1b54
add edi, ecx
jmp 0x4b1a96
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b1b72
cmp byte [edi], 0x11
jne 0x4b1b72
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 0x4b1b77
lea edi, [esi + 0xad000]
mov eax, dword [edi]
or eax, eax
je 0x4b1bef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb2e9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb2ff0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b1ba4
mov ecx, edi
jns 0x4b1bd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb2ff4]
or eax, eax
je 0x4b1be9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b1bc1
call dword [esi + 0xb3004]
mov ebp, dword [esi + 0xb2ff8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b1c23
sub esp, 0xffffff80
jmp 0x416310
Function at 0x5490b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf2000]
push edi
jmp 0x5490ca
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5490d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5490c0
mov eax, 1
add ebx, ebx
jne 0x5490e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5490f4
jne 0x549113
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x549113
dec eax
add ebx, ebx
jne 0x549100
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5490d8
add ebx, ebx
jne 0x54910f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x549165
xor ecx, ecx
sub eax, 3
jb 0x54912b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x54919a
sar eax, 1
mov ebp, eax
jmp 0x549136
add ebx, ebx
jne 0x549136
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x549104
inc ecx
add ebx, ebx
jne 0x549144
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x549104
add ebx, ebx
jne 0x549151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x549146
jne 0x549162
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x549146
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x549184
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x549176
jmp 0x5490c6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x549184
add edi, ecx
jmp 0x5490c6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5491a2
cmp byte [edi], 0x11
jne 0x5491a2
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 0x5491a7
lea edi, [esi + 0x142000]
mov eax, dword [edi]
or eax, eax
je 0x54921f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b96dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b9858]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5491d4
mov ecx, edi
jns 0x549203
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b985c]
or eax, eax
je 0x549219
mov dword [ebx], eax
add ebx, 4
jmp 0x5491f1
call dword [esi + 0x1b986c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x549250
cmp al, 0xef
ja 0x549243
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x549225
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x549232
mov ebp, dword [esi + 0x1b9860]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x549284
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x420374
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebp, ecx
mov ebx, edx
mov dword [esp], eax
mov eax, ebp
mov edx, dword [esp]
call fcn.0041b4c0
mov esi, ebx
mov eax, dword [ebp]
call fcn.0041b700
test ax, ax
jbe 0x4203df
mov word [esp + 4], ax
mov bx, 1
mov eax, ebp
call fcn.0041b950
movzx edi, bx
mov edx, dword [ebp]
mov dl, byte [edx + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
mov eax, dword [esp]
movzx eax, byte [eax + edi - 1]
add si, ax
imul ax, si, 0xce6d
add ax, 0x58bf
mov esi, eax
inc ebx
dec word [esp + 4]
jne 0x4203a4
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x420728
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
mov edx, ebx
call fcn.0041b4c0
mov eax, dword [esi]
call fcn.0041b700
test ax, ax
jbe 0x420788
mov word [esp], ax
mov bx, 1
mov eax, esi
call fcn.0041b950
movzx ebp, bx
mov edx, dword [esi]
mov dl, byte [edx + ebp - 1]
movzx ecx, di
shr ecx, 8
xor dl, cl
mov byte [eax + ebp - 1], dl
mov eax, dword [esi]
movzx eax, byte [eax + ebp - 1]
add di, ax
imul ax, di, 0xce6d
add ax, 0x58bf
mov edi, eax
inc ebx
dec word [esp]
jne 0x420750
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x405080
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, 0x143c
call fcn.004163b0
mov eax, dword [0x70b7f4]
mov ecx, dword [0x7086fc]
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x4051f3
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov ebp, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameA]
mov esi, dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
cmp dword [0x70b7f4], 0x959
jne 0x4051d9
push 0
push 0
call edi
lea eax, [esp + 0x28]
push eax
call ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x4c]
push edx
push 0
call ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x84c]
push ecx
push 0
push 0x403770
push 0x403790
push 0x4037b0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0
push 0
lea eax, [esp + 0xc50]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
lea ecx, [esp + 0x44c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call esi
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommState]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0
push 0x4037c0
call dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
push 0
push 0x4037c4
push 0x4037d0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
push 0
push 0
push 0
call esi
mov edx, dword [esp + 0x14]
push edx
call fcn.00404ea0
add dword [esp + 0x14], 8
sub dword [esp + 0x18], 1
jne 0x4050c4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x143c
ret
Function at 0x408bdd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44a208]
jne 0x408be7
repz ret
jmp fcn.00410b1c

Function at 0x4145f1
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.0040e1c6
and dword [ebp - 4], 0
cmp dword [0x44da30], 0
mov ebx, eax
jne 0x4146a2
push 0x402dd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x414753
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402dc4
push edi
call esi
test eax, eax
je 0x414753
push eax
call fcn.0040e154
mov dword [esp], 0x402db4
push edi
mov dword [0x44da30], eax
call esi
push eax
call fcn.0040e154
mov dword [esp], 0x402da0
push edi
mov dword [0x44da34], eax
call esi
push eax
call fcn.0040e154
mov dword [esp], 0x402d84
push edi
mov dword [0x44da38], eax
call esi
push eax
call fcn.0040e154
pop ecx
mov dword [0x44da40], eax
test eax, eax
je 0x4146a2
push 0x402d6c
push edi
call esi
push eax
call fcn.0040e154
pop ecx
mov dword [0x44da3c], eax
mov eax, dword [0x44da3c]
cmp eax, ebx
je 0x4146fa
cmp dword [0x44da40], ebx
je 0x4146fa
push eax
call fcn.0040e1cf
push dword [0x44da40]
mov esi, eax
call fcn.0040e1cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4146fa
test edi, edi
je 0x4146fa
call esi
test eax, eax
je 0x4146f1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4146f1
test byte [ebp - 0xc], 1
jne 0x4146fa
or dword [ebp + 0x10], 0x200000
jmp 0x414733
mov eax, dword [0x44da34]
cmp eax, ebx
je 0x414733
push eax
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414733
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x414733
mov eax, dword [0x44da38]
cmp eax, ebx
je 0x414733
push eax
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414733
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44da30]
call fcn.0040e1cf
pop ecx
test eax, eax
je 0x414753
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414755
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x403e36
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403e47
lcall 0x5de5, 0x8b10c483
jmp fcn.00969668

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x403e47
lcall 0x5de5, 0x8b10c483
jmp fcn.00969668
Function at 0x40109f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
push edi
push esi
and dword [ebp - 0x28], 0
push ebx
push ebp
mov dword [ebp - 0x18], 0xffffffff
lea edx, [ebp - 0x18]
push edx
push edx
push edx
push edx
push edx
call dword [sym.imp.ADVAPI32.dll_WmiSetSingleInstanceA]
mov edi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add edi, eax
add edi, 0xffffff52
mov dword [ebp - 0x18], edi
sub esi, esi
mov dword [ebp - 4], esi
push 0
popfd
adc esi, 0x482498
add esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
mov edx, ebp
mov ecx, 0x1a8
neg ecx
add edx, ecx
mov dword [ebp - 0x10], edx
mov ecx, 0x482497
mov dword [ebp - 0x28], ecx
mov edi, dword [ebp - 0x10]
sub edi, 0xfffffff0
mov dword [ebp - 0x1c], edi
sub dword [ebp - 4], 0x28
not dword [ebp - 4]
add dword [ebp - 4], 1
push dword [ebp - 0x28]
push dword [ebp - 4]
push dword [ebp - 0xc]
lea edi, [ebp - 0x1a8]
push edi
call section..text
mov ebx, dword [ebp - 0x10]
mov ebx, dword [ebx + 4]
mov edx, dword [ebp - 0x10]
add ebx, dword [edx]
mov dword [ebp - 0x24], ebx
mov ebx, 0x40
push ebx
push 0x3000
push dword [ebp - 0x24]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], 0x400000
and dword [ebp - 0x18], 0
and dword [ebp - 0x1ac], 0
jmp 0x40117f
mov ebx, dword [ebp - 0x1ac]
inc ebx
mov dword [ebp - 0x1ac], ebx
mov esi, dword [ebp - 0x1c]
add esi, 8
mov dword [ebp - 0x1c], esi
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1ac]
mov edi, dword [ebx + 8]
cmp esi, edi
jae 0x4011bb
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
add eax, dword [ecx]
push eax
mov esi, dword [ebp - 8]
add esi, dword [ebp - 0x18]
push esi
call section..text
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
add edx, dword [ebx + 4]
mov dword [ebp - 0x18], edx
jmp 0x401169
mov ecx, dword [ebp - 0x20]
push ecx
mov eax, dword [ebp - 8]
mov edx, 0x16b0
add eax, edx
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x19c]
push esi
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
add esi, dword [ecx + 4]
push esi
mov esi, dword [ebp - 0x14]
push esi
push 0x9000
push dword [ebp - 0x14]
ret 4
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
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0xfbd50d2
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xe1d52cc
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x106c370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x106c38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x1095074
push ecx
mov edi, eax
call fcn.01080198
mov esi, eax
add esp, 8
test esi, esi
jne 0x106c3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0108002e
push esi
call fcn.0107ffb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x106f850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x106f8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x109a720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x106f8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.010801e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x106f8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x109a720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x106f92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.01081082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x106f957
mov word [eax], si
add eax, 2
push eax
call fcn.01081030
add esp, 4
jmp 0x106f959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x106f8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x106f8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x106fff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret