joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015f19
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10015fb6
push ebx
push esi
call fcn.10015ee2
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10012251
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10015f63
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015fb5
push edi
push eax
call fcn.1000f5fc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10015f83
call fcn.1000f5c2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10015fb4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10012251
add esp, 0x20
test eax, eax
jne 0x10015fa2
push edi
call fcn.1000f5c2
jmp 0x10015faa
push ebx
call fcn.1000f5c2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10015fbc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x10015fcd
pop esi
ret
push ebx
push edi
push esi
call fcn.10015ee2
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1000f5fc
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x10015ff5
push ebx
push esi
push edi
call fcn.100056c0
add esp, 0xc
push 0
call fcn.1000f5c2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100163c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001600a

Function at 0x1001b480
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001b4ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001b4ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2e92461c
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5026646a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x30001396
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x300014e0
call fcn.30006f2c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x300014f9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x300014f9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
jne 0x30009e53
cmp dword [ecx + 0x74], 0xe
jbe 0x300014f9
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x3000f140], 0xffffffff
or dword [0x3000f144], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x3000f138]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x3000f134]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x3000f13c], eax
call fcn.3000123c
call fcn.3000127c
cmp dword [0x3000f128], ebx
je 0x30009e78
call fcn.30001509
push 0x3000f124
push 0x3000f120
call sub.MSVCRT.dll__initterm
push 0x30006b18
call fcn.30001384
mov eax, dword [0x3000f130]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x3000f12c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jl 0x30009e89
push 0x3000f11c
push 0x3000f110
call sub.MSVCRT.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x30006fa4
cmp al, 0x22
je 0x300014ec
movzx eax, al
push eax
call dword [sym.imp.MSVCRT.dll__ismbblead]
pop ecx
test eax, eax
jne 0x30009eaf
inc esi
jmp 0x300014b3
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
jmp 0x300014c4
mov dword [ebp - 0x1c], ebx
jmp 0x300013f3
push 0xa
pop eax
jmp 0x30006fd9
cmp al, bl
je 0x30006fb1
cmp dword [ebp - 0x20], ebx
jne 0x300014c0
mov al, byte [esi]
cmp al, bl
jne 0x30009e96
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x30001501
movzx eax, word [ebp - 0x54]
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.30006f78
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x30009ea7
push esi
call dword [sym.imp.MSVCRT.dll_exit]
push 0x10
push dword [esp + 0xc]
push 0x30007010
call dword [sym.imp.MSO.DLL_Ordinal_6877]
ret 8
cmp eax, 0x20b
jne 0x300014f9
cmp dword [ecx + 0x84], 0xe
jbe 0x300014f9
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x300013ed
push 0x3000bed2
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
jmp 0x3000144b
push 8
call sub.MSVCRT.dll__amsg_exit
pop ecx
jmp 0x3000149b
cmp al, 0x20
ja 0x30006fbb
inc esi
mov dword [ebp - 0x24], esi
jmp 0x30006fb1
call dword [sym.imp.MSVCRT.dll__cexit]
jmp 0x30009ee5
inc esi
mov dword [ebp - 0x24], esi
jmp 0x300014d7
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.30006f67
ret
Function at 0x30004014
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov eax, dword [0x3000f728]
cmp eax, 0xfffffffe
jne 0x30009870
mov eax, dword [0x3000f72c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
add eax, 4
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x300098a5
push 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x300098a9
push edi
push 7
pop ecx
push esi
push dword [0x3000f728]
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
mov eax, esi
pop esi
ret
mov eax, 0x3000f92c
pop esi
ret

Function at 0x30005895
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x300058dc
mov eax, dword [ebp + 8]
test eax, 3
jne 0x300098d9
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x300058b1
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
jne 0x300098f9
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
leave
ret 4
cmp word [eax], 0
je 0x300098ef
lea eax, [eax + 2]
test eax, 3
je 0x300058b1
jmp 0x300098d9
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x300058d9
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x300058d9
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x300058b1

Function at 0x30008440
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x3000f7a8]
jne 0x3000bdc6
ret
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x3000f7a8]
push edi
mov dword [ebp + 0x2a4], eax
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x80], 0xc0000409
lea eax, [ebp + 0x2ac]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp - 0x28], 0x10001
mov eax, dword [eax]
mov dword [ebp + 0x90], eax
lea eax, [ebp + 0x2ac]
mov dword [ebp + 0x9c], eax
push ss
pop dword [ebp + 0xa0]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.30008440
pop edi
add ebp, 0x2a8
leave
ret
Function at 0x4063a4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d8c], 0
push esi
jne 0x4063db
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063b5
mov dword [ecx*4 + 0x426d88], eax
inc ecx
cmp ecx, 0x100
jl 0x4063b0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40640c
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426d88]
xor eax, esi
inc ecx
dec edx
jne 0x4063ee
pop edi
not eax
pop esi
ret 0xc

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 0x10009460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x1000a150
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x40
push 0x1000
push 0x71653
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push 0x71653
push 0x1004fb6c
push eax
call fcn.1003efd0
add esp, 0xc
lea edi, [ebp - 0x28]
push esi
push edi
call fcn.10006640
add esp, 8
push edi
call fcn.100064e0
add esp, 4
test eax, eax
jne 0x100094e0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.10023b40
add esp, 0xc
jmp 0x100094d0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], 0
push 0x100c11cc
push 0x1004faac
push edi
push 0x2b
push 0x1004fa80
call fcn.1004df40
add esp, 0x14
ud2
Function at 0x1000cb90
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x18]
xor esi, esi
test ebx, ebx
je 0x1000cbcc
mov ebp, dword [esp + 0x14]
push 2
push ebx
push ebp
push 0
call dword [sym.imp.bcrypt.dll_BCryptGenRandom]
cmp eax, 0xc0000000
jb 0x1000cbcc
mov edi, eax
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_SystemFunction036]
and edi, 0x7fffffff
xor esi, esi
test al, al
cmove esi, edi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10012830
Capabilities:
Get system information on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
xorps xmm0, xmm0
call 0x1001283f
pop edi
lea eax, [esp + 0x18]
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x18], xmm0
push eax
call sub.KERNEL32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100128df
mov ecx, dword [esp + 0x54]
xor edx, edx
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x50]
mov eax, ecx
div esi
lea eax, [esi + ecx]
sub eax, edx
test edx, edx
cmove eax, ecx
test eax, eax
cmove eax, esi
test ebx, ebx
mov dword [esp + 4], eax
je 0x100128c7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x10], 0
mov dword [esp], 0
mov dword [esp + 8], 0
xor edx, edx
mov dword [esp + 0xc], 0
mov eax, dword [ecx]
lea ebp, [ecx + ebx*8]
mov ebx, dword [ecx + 4]
mov esi, dword [eax*4 + 0x10012a94]
xor eax, eax
add esi, edi
jmp esi
mov ebx, dword [esp + 4]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [esp + 8], 0
test dl, dl
je 0x100128e9
jmp 0x100128f6
push 0x100c6c34
call fcn.1004e490
mov eax, 1
test cl, cl
je 0x10012a0d
mov dword [ebp + 4], 7
jmp 0x10012a82
test esi, esi
je 0x10012a1a
mov dword [ebp + 4], 8
jmp 0x10012a82
push eax
push 0x3000
push ebx
push dword [esp + 0x14]
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
je 0x10012a37
mov dword [ebp], 1
jmp 0x10012a6b
call fcn.10022840
mov dword [ebp + 4], 0xa
jmp 0x10012a7f
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
jmp 0x10012a89
mov dword [ebp + 8], eax
mov dword [ebp], 2
mov eax, ebp
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10015fa0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call fcn.1003e290
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10017d00
mov esi, ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
lea edi, [ebp - 0x1044]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
push 0x1000
push 0
push edi
call fcn.10040f70
add esp, 0xc
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
push 0x10024dc0
push eax
push 0x1000
push edi
mov dword [ebp - 0x20], esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x100160f3
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x30], 0
je 0x1001602a
cmp dword [ebp - 0x2c], 0
jne 0x100160f9
mov edi, dword [ebp - 0x28]
test edi, edi
je 0x100160f9
cmp edi, 0x1000
ja 0x10016135
xor ebx, ebx
nop dword [eax]
mov eax, edi
sub eax, ebx
jb 0x1001611d
xorps xmm0, xmm0
lea edx, [ebp - 0x30]
lea ecx, [ebp + ebx - 0x1044]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], edx
push 0x10024dc0
lea edx, [ebp - 0x44]
push edx
push eax
push ecx
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x100160f3
nop dword [eax]
push 1
push 0xffffffffffffffff
call esi
cmp dword [ebp - 0x30], 0
je 0x100160a0
cmp dword [ebp - 0x2c], 0
jne 0x100160f9
add ebx, dword [ebp - 0x28]
cmp ebx, edi
jne 0x10016060
xorps xmm0, xmm0
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
push 0x10024dc0
lea eax, [ebp - 0x44]
push eax
push 0x1000
lea eax, [ebp - 0x1044]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x1001602a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x24]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 0x100c7cc8
push edi
push ebx
call fcn.1004e3c0
add esp, 0xc
jmp 0x1001614f
mov dword [ebp - 0x10], 0
push 0x100c7cc8
push 0x1000
push edi
call fcn.1004e3a0
add esp, 0xc
ud2
Function at 0x100177f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x10017db0
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x100eb049]
push 4
push 8
call fcn.1000c740
add esp, 8
test eax, eax
je 0x100178d2
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x10017950
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1001786d
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x100178bf
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
push eax
mov dword [ebp - 0x20], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100178a4
push dword [ecx + 8]
push eax
push dword [ebp - 0x24]
call fcn.1000c750
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.1000c750
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.1004dee0
add esp, 8
ud2
Function at 0x1001d880
Capabilities:
Create directory

Disassembly:
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push dword [esp + 0x40]
call fcn.10027710
add esp, 4
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, 0x80000000
je 0x1001d8e3
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x18]
mov ecx, esp
push 1
push eax
push ecx
call fcn.1001d310
add esp, 0xc
mov ebx, dword [esp]
mov edi, dword [esp + 4]
cmp ebx, 0x80000000
jne 0x1001d8f1
mov eax, dword [esp + 8]
mov dword [esi], edi
mov dword [esi + 4], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1001d907
mov byte [esi], 4
test ebx, ebx
jne 0x1001d917
jmp 0x1001d8e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test ebx, ebx
je 0x1001d8e8
add ebx, ebx
push 2
push ebx
push edi
call fcn.1000c750
add esp, 0xc
jmp 0x1001d8e8
Function at 0x1001dfa0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov esi, esp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], esp
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0x1001e1c0
mov edi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea ecx, [esi + 0x38]
mov eax, dword fs:[0]
mov dword [esi + 0x38], eax
mov dword fs:[0], ecx
lea ecx, [esi + 0x24]
push ebx
call fcn.10027710
add esp, 4
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
cmp ecx, 0x80000000
je 0x1001e026
mov dword [esi + 8], ecx
mov dword [esi + 0x10], eax
lea eax, [esi + 8]
mov dword [esi + 0xc], edx
lea ecx, [esi + 0x18]
push 1
push eax
push ecx
call fcn.1001d310
add esp, 0xc
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
cmp eax, 0x80000000
jne 0x1001e045
mov eax, dword [esi + 0x20]
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi], 1
mov eax, dword [esi + 0x38]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp + 0x18]
mov dword [esi], edx
mov edx, dword [ebp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 0x40], 0
lea ecx, [esi + 0x24]
push edi
call fcn.10027710
add esp, 4
mov ecx, dword [esi + 0x24]
mov edi, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
lea edx, [esi + 0x18]
cmp ecx, 0x80000000
je 0x1001e0a0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
push 1
lea eax, [esi + 8]
push eax
push edx
call fcn.1001d310
add esp, 0xc
mov ebx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
cmp ebx, 0x80000000
jne 0x1001e0d1
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx], 1
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
test eax, eax
je 0x1001e032
add eax, eax
push 2
push eax
push dword [esi]
call fcn.1000c750
add esp, 0xc
jmp 0x1001e032
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
push 0
push 0
lea eax, [esi + 8]
push eax
push 0x1001e180
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
je 0x1001e114
mov eax, dword [esi + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [esi + 0xc]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov dword [edx], 0
test ebx, ebx
jne 0x1001e12e
jmp 0x1001e0af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov byte [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx], 1
test ebx, ebx
je 0x1001e0af
add ebx, ebx
push 2
push ebx
push edi
call fcn.1000c750
add esp, 0xc
jmp 0x1001e0af