joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001fe61
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001ffc9
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], 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 - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0
jne 0x1001ff23
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1001fed9
mov dword [ebp - 0x10], 1
jmp 0x1001fedd
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
ja 0x1001feec
mov dword [ebp - 0x14], 1
jmp 0x1001fef0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x14]
cmp eax, 4
je 0x1001ff07
mov dword [ebp - 0x18], 1
jmp 0x1001ff0b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100185ee
mov ecx, dword [ebp - 0x18]
imul ecx, dword [eax]
mov eax, dword [ebp - 4]
add ecx, dword [eax]
push 0
mov ecx, dword [ebp - 8]
call fcn.100185ee
cmp dword [eax], 0x2b7b88cd
jl 0x1001ff3e
mov dword [ebp - 0x1c], 1
jmp 0x1001ff42
and dword [ebp - 0x1c], 0
push 0
mov ecx, dword [ebp - 8]
call fcn.100185ee
mov eax, dword [eax]
imul eax, dword [ebp - 0x1c]
cmp eax, 0x5a12a2ef
jne 0x1001ff62
mov dword [ebp - 0x44], 1
jmp 0x1001ff66
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100185ee
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001ff81
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
mov eax, dword [ebp - 0x48]
mov esi, dword [eax]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100185ee
cmp esi, dword [eax]
jge 0x1001ffa0
mov dword [ebp - 0x20], 1
jmp 0x1001ffa4
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jge 0x1001ffb7
mov dword [ebp - 0x24], 1
jmp 0x1001ffbb
and dword [ebp - 0x24], 0
imul eax, dword [ebp - 0x24], 0x7e29
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x10020004
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10020004
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x129c
push 0x81f
push 0x15be
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002008f
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100200aa
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10020205
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.100185ee
cmp dword [eax], 0xfdb7
jle 0x1002011c
mov dword [ebp - 0x10], 1
jmp 0x10020120
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x6128f3b8
jne 0x10020134
mov dword [ebp - 0x14], 1
jmp 0x10020138
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
imul eax, eax, 0xffff
cmp eax, 1
jne 0x10020158
mov eax, 0x87e3bc4a
test eax, eax
jne 0x10020158
and dword [ebp - 0x1c], 0
jmp 0x1002015f
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
imul eax, dword [ebp - 0x1c]
add eax, 0x4c9a615c
mov ecx, dword [ebp - 0x24]
imul eax, dword [ecx]
cmp eax, 0x7363
jle 0x10020183
mov dword [ebp - 8], 1
jmp 0x10020187
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.100185ee
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
je 0x100201ac
mov dword [ebp - 0xc], 1
jmp 0x100201b0
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0xc], eax
je 0x100201cb
mov dword [ebp - 0x28], 1
jmp 0x100201cf
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jg 0x100201e2
mov dword [ebp - 0x2c], 1
jmp 0x100201e6
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jg 0x100201f9
mov dword [ebp - 0x30], 1
jmp 0x100201fd
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1002f187
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002f1df
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002f1c3
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], 2
jge 0x1002f1dd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100185ee
or dword [eax], 0xffffffff
jmp 0x1002f1b8
jmp 0x1002f1ec
push 0x1a1
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esp, ebp
pop ebp
ret
Function at 0x10030e46
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10030e77
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10030e72
push 0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10030f72
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x10030ec0
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
je 0x10030ec0
mov dword [ebp - 0x14], 1
jmp 0x10030ec4
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x14]
jl 0x10030ed7
mov dword [ebp - 0x18], 1
jmp 0x10030edb
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
cmp dword [ebp - 0x18], eax
jl 0x10030efc
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x10030f0a
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10030f0a
and dword [ebp - 0x1c], 0
jmp 0x10030f11
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0xc7d75752
jne 0x10030f23
mov dword [ebp - 0x20], 1
jmp 0x10030f27
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10030f49
mov dword [ebp - 0x40], 1
jmp 0x10030f4d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jae 0x10030f66
mov dword [ebp - 0x24], 1
jmp 0x10030f6a
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10033c38
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 0x10033c5c
xor eax, eax
jmp 0x10033d99
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x399f
lea eax, [ebp + 8]
push eax
call fcn.10033bd6
add esp, 0x14
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10033c89
xor eax, eax
jmp 0x10033d99
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push 1
push 0x565d
call fcn.10033856
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10033cac
xor eax, eax
jmp 0x10033d99
push 0x713e
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10033b4d
add esp, 0x1c
push dword [ebp + 8]
push 1
push dword [ebp - 4]
push 0x45ad
push dword [ebp - 8]
push 0x3908
call fcn.1002b1cc
add esp, 0x18
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x10033d0f
push dword [ebp - 0x14]
push 0x5abd
push dword [ebp - 4]
push 1
call fcn.10030fc8
add esp, 0x10
push dword [ebp - 4]
call fcn.1003374b
pop ecx
test eax, eax
jne 0x10033d20
xor eax, eax
jmp 0x10033d99
push dword [ebp - 4]
push 1
call fcn.1002db84
pop ecx
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10033d81
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 0x10033d4b
xor eax, eax
jmp 0x10033d99
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10033d64
xor eax, eax
jmp 0x10033d99
push 1
push 0x3f7
push 0x6318
lea eax, [ebp - 4]
push eax
push 0x3dd8
call fcn.10033bd6
add esp, 0x14
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10033d92
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10033d96
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004a097
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1004a0c4
push 0x1888
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1004a22f
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1004a0f2
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], 0xffffffee
jle 0x1004a22f
mov dword [ebp - 4], 0x1f665683
mov dword [ebp - 0x14], 0x729694d2
mov dword [ebp - 4], 0xa
jmp 0x1004a11c
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffe5
jle 0x1004a22a
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x3c], 0x1f6f
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xc], 0
jmp 0x1004a14b
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xa
jge 0x1004a225
mov dword [ebp - 0x10], 0xfffffff6
mov dword [ebp - 0x38], 0xf7c8b166
cmp dword [ebp - 4], 0
je 0x1004a176
xor eax, eax
je 0x1004a176
mov dword [ebp - 0x2c], 1
jmp 0x1004a17a
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x14], eax
jne 0x1004a192
mov dword [ebp - 0x18], 1
jmp 0x1004a196
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, dword [ebp - 0x3c]
jne 0x1004a1b7
mov dword [ebp - 0x1c], 1
jmp 0x1004a1bb
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x1c]
test eax, eax
jne 0x1004a1d3
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x1004a1d3
and dword [ebp - 0x20], 0
jmp 0x1004a1da
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
test eax, eax
jne 0x1004a1f0
mov dword [ebp - 0x24], 1
jmp 0x1004a1f4
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x24], eax
jne 0x1004a207
mov dword [ebp - 0x28], 1
jmp 0x1004a20b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x28], eax
jge 0x1004a217
cmp dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x44], eax
jmp 0x1004a144
jmp 0x1004a115
jmp 0x1004a0e7
mov esp, ebp
pop ebp
ret
Function at 0x1004ba56
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1004bad4
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, dword [ebp - 4]
mov edx, dword [edx]
mov esi, dword [ebp - 0x28]
add edx, dword [esi]
mov esi, dword [ebp - 8]
mov esi, dword [esi]
mov ax, word [ecx + eax]
mov word [esi + edx], ax
jmp 0x1004bb0f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x1004bb0f
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x129c
push 0x81f
push 0x15be
push 0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10064030
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.100640a0
movzx eax, al
test eax, eax
je 0x10064061
push 0x10001840
push 0x10679748
call fcn.10058900
add esp, 8
push 0
call fcn.1006fa71
mov ecx, dword [ebp - 4]
call fcn.10064360
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
call fcn.10064190
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10081b85
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008d330]
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.10072d06
mov dword [ebp - 0x14], eax
cmp dword [0x1067a730], esi
jne 0x10081c78
push 0x800
push esi
push 0x10007e5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10081c05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10081d58
push esi
push esi
push 0x10007e5c
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10081d58
push 0x10007e74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10081d58
push eax
call ebx
push 0x10007e80
push edi
mov dword [0x1067a730], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e90
push edi
mov dword [0x1067a734], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007ea4
push edi
mov dword [0x1067a738], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067a740], eax
test eax, eax
je 0x10081c75
push 0x10007ec0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1067a73c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10081c9d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10081c90
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10081cb2
push 4
pop eax
jmp 0x10081d5a
cmp dword [ebp - 0x14], esi
je 0x10081cb2
push dword [0x1067a730]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10081c97
mov eax, dword [0x1067a73c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10081d10
cmp dword [0x1067a740], edi
je 0x10081d10
push eax
call ebx
push dword [0x1067a740]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10081d10
test eax, eax
je 0x10081d10
call ecx
test eax, eax
je 0x10081d05
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 0x10081d05
test byte [ebp - 8], 1
jne 0x10081d10
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10081d40
mov eax, dword [0x1067a734]
cmp eax, edi
je 0x10081d3d
push eax
call ebx
test eax, eax
je 0x10081d3d
call eax
mov esi, eax
test esi, esi
je 0x10081d3d
mov eax, dword [0x1067a738]
cmp eax, edi
je 0x10081d3d
push eax
call ebx
test eax, eax
je 0x10081d3d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1067a730]
call ebx
test eax, eax
je 0x10081d58
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10081d5a
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 0x41cf50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
or ebp, 0xffffffff
jmp 0x41cf72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41cf79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41cf68
mov eax, 1
add ebx, ebx
jne 0x41cf8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41cf80
jne 0x41cf9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cf80
xor ecx, ecx
sub eax, 3
jb 0x41cfb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d022
mov ebp, eax
add ebx, ebx
jne 0x41cfbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41cfc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41cfec
inc ecx
add ebx, ebx
jne 0x41cfd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41cfcd
jne 0x41cfe9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41cfcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d00c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41cffd
jmp 0x41cf6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d00c
add edi, ecx
jmp 0x41cf6e
pop esi
mov edi, esi
mov ecx, 0xa3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d02a
cmp byte [edi], 6
jne 0x41d02a
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 0x41d02f
lea edi, [esi + 0x1a000]
mov eax, dword [edi]
or eax, eax
je 0x41d0a7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22f3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22fa0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d05c
mov ecx, edi
jns 0x41d08b
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 + 0x22fa4]
or eax, eax
je 0x41d0a1
mov dword [ebx], eax
add ebx, 4
jmp 0x41d079
call dword [esi + 0x22fb4]
mov ebp, dword [esi + 0x22fa8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x41d0db
sub esp, 0xffffff80
jmp 0x401850
Function at 0xe2e868
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x50]
test edx, edx
je 0xe2e948
test ebx, ebx
je 0xe2e8f8
cmp ebx, 1
jbe 0xe2e918
lea ecx, [ebx - 1]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], 0
mov dword [esp], edx
mov dword [esp + 0x18], edx
call fcn.00ed1938
test eax, eax
jne 0xe2e948
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
cmp byte [edx + ecx], 0
je 0xe2e8cf
mov ecx, ebx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], 2
mov dword [esp + 0x40], edi
mov eax, esi
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00e2c348
mov dword [esp], edx
mov dword [esp + 0x18], edx
call fcn.00ed18b0
mov ebx, eax
mov ecx, eax
cmp eax, 1
mov edx, dword [esp + 0x18]
jbe 0xe2e8cf
lea ecx, [eax - 1]
jmp 0xe2e8c7
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], edx
mov dword [esp + 0x18], edx
call fcn.00ed1938
test eax, eax
jne 0xe2e948
mov ecx, 1
mov edx, dword [esp + 0x18]
jmp 0xe2e8cf
mov eax, 0xfffffffe
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0xe9c4c8
Capabilities:
Encode data using base64

Disassembly:
push ebp
push edi
push esi
push ebx
push ecx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
test esi, esi
jle 0xe9c577
lea ecx, [edi + 4]
mov dword [esp], 0
lea esi, [esi]
lea edi, [edi]
xor edx, edx
mov dl, byte [ebx]
cmp esi, 2
jle 0xe9c580
mov edi, edx
shl edi, 0x10
xor edx, edx
mov dl, byte [ebx + 1]
shl edx, 8
or edx, edi
movzx edi, byte [ebx + 2]
and edi, 0xff
or edx, edi
mov edi, ecx
mov ebp, edx
shr ebp, 0x12
mov al, byte [ebp + 0xd0a140]
mov byte [ecx - 4], al
mov ebp, edx
shr ebp, 0xc
and ebp, 0x3f
mov al, byte [ebp + 0xd0a140]
mov byte [ecx - 3], al
mov ebp, edx
shr ebp, 6
and ebp, 0x3f
mov al, byte [ebp + 0xd0a140]
mov byte [ecx - 2], al
and edx, 0x3f
mov al, byte [edx + 0xd0a140]
mov byte [ecx - 1], al
add dword [esp], 4
add ebx, 3
sub esi, 3
add ecx, 4
test esi, esi
jg 0xe9c4f8
mov byte [edi], 0
mov eax, dword [esp]
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
jmp 0xe9c56b
shl edx, 0x10
cmp esi, 2
je 0xe9c5b2
mov edi, edx
shr edi, 0x12
mov al, byte [edi + 0xd0a140]
mov byte [ecx - 4], al
shr edx, 0xc
and edx, 0x3f
mov al, byte [edx + 0xd0a140]
mov byte [ecx - 3], al
mov dl, 0x3d
mov edi, ecx
mov byte [ecx - 2], dl
mov byte [ecx - 1], 0x3d
jmp 0xe9c55a
movzx edi, byte [ebx + 1]
and edi, 0xff
shl edi, 8
or edx, edi
mov edi, edx
shr edi, 0x12
mov al, byte [edi + 0xd0a140]
mov byte [ecx - 4], al
mov edi, edx
shr edi, 0xc
and edi, 0x3f
mov al, byte [edi + 0xd0a140]
mov byte [ecx - 3], al
shr edx, 6
and edx, 0x3f
mov dl, byte [edx + 0xd0a140]
jmp 0xe9c5a7