joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004eea
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000b7d0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004f5e
push 0x39
push 0x4012ab7
push 6
call fcn.1000a4f6
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004fd4
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.1000b7d0
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004fd1
push 0xda
push 0x4012ab7
push 6
call fcn.1000a4f6
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x10004fdc
mov esp, ebp
pop ebp
ret 8

Function at 0x10009f45
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push dword [ebp + 8]
call fcn.1000a0a6
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esp
push 0x40
push 0x1000
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10009fa2
push 0x4d
push 0x403d660
push 6
call fcn.1000a4f6
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10009fb4
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10009fdb
push 0x9c
push 0x403d660
push 6
call fcn.1000a4f6
add esp, 0xc
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
push dword [ebp - 0x10]
push dword [ebp - 8]
call fcn.1000a11c
mov eax, dword [ebp - 8]
jmp 0x10009ff4
mov esp, ebp
pop ebp
ret 4
Function at 0x1000af20
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x20
push ebx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.1000c420
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 0x1001e480
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x1000afe2
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
mov dword [esp + 0xc], eax
jle 0x1000afdb
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ebx, [edi + 4]
mov ecx, dword [ebx]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0x3a8
call ebp
mov esi, eax
test esi, esi
jle 0x1000afc6
lea edx, [esi + 1]
push edx
call fcn.1000a7f0
mov edi, eax
add esp, 4
test edi, edi
je 0x1000afb8
mov eax, dword [ebx]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push eax
push 0
push 0x3a8
call ebp
mov byte [eax + edi], 0
push edi
lea ecx, [esp + 0x20]
call fcn.1000c6b0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1000af72
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x34]
mov eax, dword [ebx]
test eax, eax
je 0x1000aff5
push eax
call fcn.1000c870
add esp, 4
mov edi, dword [esp + 0x28]
shr edi, 2
shl edi, 2
lea ecx, [edi + 8]
push ecx
call fcn.1000a7f0
mov dword [eax], 1
mov edx, dword [esp + 0x2c]
shr edx, 2
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add esp, 4
neg esi
sbb esi, esi
and esi, ecx
mov ecx, edi
mov edx, ecx
lea edi, [eax + 8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x18], 0x1001e47c
call fcn.1000c620
pop edi
pop esi
pop ebx
add esp, 0x20
ret

Function at 0x1000b700
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000b71e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x1000b713
pop esi
ret
Function at 0x409e2b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
or esi, 0xffffffff
xor edi, edi
mov dword [ebp - 4], esi
mov ebx, edx
test ecx, ecx
jne 0x409e4a
mov edi, 0x80070057
jmp 0x409ea1
push edi
push 0x80
push 2
push edi
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 4]
call fcn.0040867f
mov esi, dword [ebp - 4]
cmp esi, 0xffffffff
jne 0x409e83
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a474
mov edi, eax
jmp 0x409ea1
push edi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x409e72
cmp dword [ebp - 8], ebx
je 0x409ea8
mov edi, 0x8000ffff
mov ecx, edi
call fcn.0040a491
mov ecx, edi
call fcn.0040a4ae
test esi, esi
je 0x409ebf
cmp esi, 0xffffffff
je 0x409ebf
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a715
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push esi
push 0x800c
push dword [ecx]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40a753
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a474
mov esi, eax
mov ecx, esi
call fcn.0040a491
jmp 0x40a7c6
push 4
pop edi
push esi
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40a73b
cmp dword [ebp - 0xc], edi
je 0x40a77c
mov esi, 0x8000ffff
jmp 0x40a74a
mov edi, dword [ebp + 0x14]
cmp dword [ebp + 0x10], esi
je 0x40a7c1
mov eax, dword [ebp - 8]
cmp eax, dword [edi]
jbe 0x40a792
mov esi, 0x8007007a
jmp 0x40a74a
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x40a73b
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push 2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x40a73b
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov ecx, esi
call fcn.0040a4ae
cmp dword [ebp - 4], 0
je 0x40a7dc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x40a883
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 8], eax
push esi
push edi
test ebx, ebx
jne 0x40a8aa
mov ecx, 0x80070057
mov esi, ecx
call fcn.0040a491
jmp 0x40aa45
cmp dword [ebp + 0x10], 0
je 0x40a899
lea ecx, [ebp - 0x14]
push ecx
push 2
pop edx
mov ecx, eax
call fcn.0040ba7e
mov esi, eax
test esi, esi
jns 0x40a8c8
mov ecx, esi
jmp 0x40a8a0
mov edi, dword [ebp - 0x14]
xor edx, edx
push 3
pop ecx
mov eax, edi
mov dword [ebp - 0xc], edi
div ecx
xor ecx, ecx
mov esi, ecx
test eax, eax
je 0x40a900
mov edx, eax
shl edx, 2
mov ecx, edx
shr ecx, 2
cmp ecx, eax
je 0x40a8fb
mov esi, 0x80070216
mov ecx, esi
call fcn.0040a491
jmp 0x40a903
mov dword [ebp - 0xc], edx
jmp 0x40a903
mov dword [ebp - 0xc], ecx
mov ecx, esi
call fcn.0040a4ae
test esi, esi
js 0x40a8c4
mov edi, dword [ebp + 0xc]
xor edx, edx
mov ecx, dword [ebp - 0xc]
inc edx
test edi, edi
jne 0x40a930
push dword [ebp + 0x10]
call fcn.0040ba7e
mov esi, eax
test esi, esi
js 0x40a8c4
xor esi, esi
jmp 0x40aa45
lea eax, [ebp - 0x10]
push eax
call fcn.0040ba7e
mov esi, eax
test esi, esi
js 0x40a8c4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jae 0x40a953
mov esi, 0x8007007a
jmp 0x40a8c4
lea edx, [edi + ecx*2]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
test edx, edx
jle 0x40aa39
lea ecx, [edi + 6]
mov dword [ebp - 0xc], ecx
xor eax, eax
mov word [ebp - 8], ax
mov ah, byte [ebx]
inc ebx
mov byte [ebp - 1], al
cmp edx, 1
jbe 0x40a98e
mov al, byte [ebx]
inc ebx
mov byte [ebp - 2], al
cmp edx, 2
jbe 0x40a994
mov al, byte [ebx]
inc ebx
mov byte [ebp - 1], al
jmp 0x40a994
mov al, byte [ebp - 7]
mov byte [ebp - 2], al
cmp ecx, dword [ebp - 0x14]
jae 0x40aa57
add dword [ebp - 0xc], 2
movzx ecx, ah
mov eax, ecx
shl ecx, 4
shr eax, 2
movzx eax, byte [eax + 0x4049a8]
mov word [edi], ax
movzx eax, byte [ebp - 2]
mov dword [ebp - 0x18], eax
shr eax, 4
or eax, ecx
mov ecx, dword [ebp - 0xc]
and eax, 0x3f
add ecx, 2
mov dword [ebp - 0xc], ecx
movzx eax, byte [eax + 0x4049a8]
mov word [edi + 2], ax
cmp edx, 1
jbe 0x40a9fc
movzx ecx, byte [ebp - 1]
mov eax, dword [ebp - 0x18]
shr ecx, 6
shl eax, 2
or ecx, eax
and ecx, 0x3f
movzx eax, byte [ecx + 0x4049a8]
mov ecx, dword [ebp - 0xc]
jmp 0x40a9ff
push 0x3d
pop eax
mov word [edi + 4], ax
cmp edx, 2
jbe 0x40aa18
movzx eax, byte [ebp - 1]
and eax, 0x3f
movzx eax, byte [eax + 0x4049a8]
jmp 0x40aa1b
push 0x3d
pop eax
mov word [edi + 6], ax
add ecx, 4
sub edx, 3
mov dword [ebp - 0xc], ecx
add edi, 8
test edx, edx
jg 0x40a96a
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
cmp edi, dword [ebp - 0x14]
jae 0x40aa57
xor edx, edx
mov dword [eax], ecx
mov word [edi], dx
mov ecx, esi
call fcn.0040a4ae
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, 0x8000ffff
jmp 0x40a89e
Function at 0x40ac45
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ac61
movzx ecx, al
shr ecx, 4
and ecx, 1
jmp 0x40ac63
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor ecx, ecx
call fcn.0040a4ae
xor eax, eax
pop ebp
ret 4

Function at 0x40ad5e
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, ebx
cmp dword [edi], ebx
je 0x40ad7c
push ebx
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [edi], ebx
cmp dword [edi + 8], ebx
je 0x40adc5
push 0x30
push 0x18
push 0x404040
push dword [edi + 4]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x40adb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a474
mov esi, eax
mov ecx, esi
call fcn.0040a491
mov ecx, esi
call fcn.0040a4ae
test esi, esi
jns 0x40adc5
mov ecx, esi
call fcn.0040a491
jmp 0x40add4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x40add4
call fcn.0040a324
mov dword [edi + 4], ebx
mov ecx, esi
call fcn.0040a4ae
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x443b46
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov eax, edx
mov esi, ecx
push edi
movzx edi, al
test al, al
je 0x443bb1
push ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx]
add ecx, 4
xor ebx, eax
mov dword [ebp + 8], ecx
mov ecx, eax
movzx edx, bl
shl eax, 3
shr ecx, 3
xor ecx, eax
mov eax, ebx
shr eax, 8
add ecx, ebx
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [esi + edx*8]
mov dword [esi + ecx*8], eax
mov eax, dword [esi + edx*8 + 4]
mov dword [esi + ecx*8 + 4], eax
mov eax, ebx
shr eax, 0x10
movzx ecx, al
shr ebx, 0x18
mov eax, dword [esi + ecx*8]
mov dword [esi + ebx*8], eax
mov eax, dword [esi + ecx*8 + 4]
mov dword [esi + ebx*8 + 4], eax
mov eax, dword [ebp - 4]
sub edi, 1
jne 0x443b5a
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x443ebb
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x1c], eax
movzx eax, byte [0x408098]
push esi
mov dword [ebp - 0x18], eax
movzx eax, word [0x4080e8]
push edi
xor edi, edi
mov dword [ebp - 0x28], edi
mov ebx, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
test eax, eax
je 0x444080
test edi, edi
js 0x444080
mov esi, dword [ebx*8 + 0x4080ec]
mov edx, dword [ebx*8 + 0x4080f0]
and esi, 0xfffffff
mov ecx, dword [ebp - 0x28]
add esi, 0x400000
and edx, 0xfffffff
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edx
cmp esi, ecx
jb 0x443f37
add ecx, dword [ebp - 0x24]
lea eax, [edx + esi]
cmp eax, ecx
jb 0x443f92
lea ecx, [ebp - 0x28]
call fcn.00443e7c
mov eax, dword [ebp - 8]
mov edx, 0xfffff000
add eax, 0xfff
mov ecx, esi
and ecx, edx
add eax, esi
and eax, edx
mov dword [ebp - 0x28], ecx
sub eax, ecx
push ecx
lea ecx, [ebp - 1]
mov dword [ebp - 0x24], eax
call fcn.00443cea
lea eax, [ebp - 0x10]
push eax
push 0x40
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, eax
lea ecx, [ebp - 1]
mov dword [ebp - 0x14], esi
call fcn.00443e27
test esi, esi
je 0x44406b
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
add ecx, esi
mov dword [ebp - 0xc], ecx
je 0x44406b
cmp dword [ebp + 8], 0
mov eax, dword [0x4080e0]
je 0x444010
mov edx, 0x2000
test word [ebx*2 + 0x450094], dx
mov edx, dword [ebp - 8]
jne 0x444070
push dword [0x4080e4]
push eax
lea eax, [ebp - 2]
push eax
mov eax, dword [ebx*8 + 0x4080ec]
and eax, 0xfffffff
push eax
push edx
mov edx, ecx
mov ecx, esi
call fcn.00444571
movzx ecx, byte [ebp - 2]
mov eax, 0x100
or cx, ax
mov edx, 0xe01f
mov ax, word [ebx*2 + 0x450094]
shl cx, 5
and ax, dx
or cx, ax
mov word [ebx*2 + 0x450094], cx
jmp 0x444070
movzx ecx, word [ebx*2 + 0x450094]
test ecx, 0x2000
je 0x444070
push dword [0x4080e4]
push eax
mov eax, ecx
shr ecx, 5
not eax
and eax, 1
push eax
mov eax, dword [ebx*8 + 0x4080ec]
push ecx
and eax, 0xfffffff
mov ecx, esi
push eax
push edx
mov edx, dword [ebp - 0xc]
call fcn.00444098
mov ax, word [ebx*2 + 0x450094]
mov ecx, 0xdfff
and ax, cx
xor ecx, ecx
inc ecx
or ax, cx
mov word [ebx*2 + 0x450094], ax
jmp 0x444070
mov edi, 0x8007000e
movzx ecx, word [0x4080e8]
inc ebx
cmp ebx, ecx
jb 0x443ef8
lea ecx, [ebp - 0x28]
call fcn.00443e7c
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x448773
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
lea edx, [ebp - 8]
and dword [ebp - 4], 0
push ebx
push edi
mov ebx, ecx
call fcn.00448879
mov edi, eax
test edi, edi
jns 0x4487a0
mov ecx, edi
call fcn.0040a491
jmp 0x448844
push 0
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push eax
lea ecx, [ebp - 4]
call fcn.0044a96f
cmp dword [eax], 0
jne 0x4487cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a474
mov edi, eax
jmp 0x448794
push 0x4070c0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx], eax
test eax, eax
je 0x4487bb
push 0x4070d0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 4], eax
test eax, eax
je 0x4487bb
push 0x4070e0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 8], eax
test eax, eax
je 0x4487bb
push 0x4070f8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0xc], eax
test eax, eax
je 0x4487bb
push 0x40710c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4487bb
mov eax, dword [ebp - 4]
lea ecx, [ebx + 0x14]
and dword [ebp - 4], 0
push eax
call fcn.0044a96f
mov ecx, edi
call fcn.0040a4ae
cmp dword [ebp - 4], 0
je 0x44885e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x44886c
mov ecx, dword [ebp - 8]
call fcn.0040a324
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448879
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x450074]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x403eac]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x214], eax
mov ebx, 0x104
mov dword [ebp - 0x22c], edx
push ebx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x220], edi
mov esi, edi
mov dword [ebp - 0x224], edi
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4488f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.0040a474
mov ebx, eax
mov ecx, ebx
call fcn.0040a491
jmp 0x4489b2
lea eax, [ebp - 0x228]
mov edx, ebx
push eax
lea ecx, [ebp - 0x210]
call fcn.004085e2
mov ebx, eax
test ebx, ebx
js 0x4488e8
mov edx, dword [ebp - 0x228]
push 0x5c
pop ecx
movzx eax, word [ebp + edx*2 - 0x212]
cmp cx, ax
je 0x44892c
push 0x2f
pop ecx
cmp cx, ax
jne 0x44892d
dec edx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
call fcn.00408700
mov ebx, eax
test ebx, ebx
jns 0x448954
mov ecx, ebx
call fcn.0040a491
mov esi, dword [ebp - 0x21c]
jmp 0x4489b2
lea edx, [ebp - 0x224]
mov ecx, 0x4070ac
call fcn.0040a423
mov ebx, eax
test ebx, ebx
js 0x448945
push dword [ebp - 0x224]
mov esi, dword [ebp - 0x21c]
lea eax, [ebp - 0x214]
push eax
push esi
lea eax, [ebp - 0x220]
push 3
push eax
call fcn.0044a939
mov ebx, eax
add esp, 0x14
test ebx, ebx
jns 0x4489a4
mov ecx, ebx
call fcn.0040a491
mov edi, dword [ebp - 0x220]
jmp 0x4489b2
mov ecx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x220]
mov dword [ecx], eax
mov ecx, ebx
call fcn.0040a4ae
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x4489ca
mov ecx, eax
call fcn.0040a324
test esi, esi
je 0x4489d5
mov ecx, esi
call fcn.0040a324
test edi, edi
je 0x4489e0
mov ecx, edi
call fcn.0040a324
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ce60
mov esp, ebp
pop ebp
ret
Function at 0x44bbd0
Capabilities:
Hash data using sha256

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
pop ebp
ret 4
Function at 0x44d1cf
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x44f998
call fcn.0044d57c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x44d22f
cmp eax, 0xffffffff
je 0x44d22f
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x44d228
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x44d228
cmp edx, 0x10000000
jae 0x44d228
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x44d225
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0044d5c1
ret 4

Function at 0x44d290
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 0x44d2ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x44d2c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x44d2d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x44d2b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44d3b0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x44d3c6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x44d3e1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0xd8
xor dword [edi], edi
in al, 0x81
test dword [eax + 0x29bc50e1], edi
and edx, dword [ebx]
aam 0x93
adc edx, esp
xchg ebx, eax
pop ss
mov ecx, 0xae1f3cae
test byte [ecx], dl
inc ebp
xchg edi, eax
sub al, byte [esi]
pop eax
push ecx
xor al, 0xbb
loope 0x414acd
rcr byte [ecx], 1
mov dword [0x81c96c51], eax
adc ah, dl
adc dword [ecx + 0x9062bae], esi
or ch, byte [ebx]
push es
push ds
jmp 0x51e1e4be
Function at 0x52b7c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x52b7da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52b7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52b7d0
mov eax, 1
add ebx, ebx
jne 0x52b7f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52b804
jne 0x52b823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52b823
dec eax
add ebx, ebx
jne 0x52b810
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52b7e8
add ebx, ebx
jne 0x52b81f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52b875
xor ecx, ecx
sub eax, 3
jb 0x52b83b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52b8aa
sar eax, 1
mov ebp, eax
jmp 0x52b846
add ebx, ebx
jne 0x52b846
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52b814
inc ecx
add ebx, ebx
jne 0x52b854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52b814
add ebx, ebx
jne 0x52b861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52b856
jne 0x52b872
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52b856
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52b894
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52b886
jmp 0x52b7d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52b894
add edi, ecx
jmp 0x52b7d6
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52b8b2
cmp byte [edi], 0x11
jne 0x52b8b2
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 0x52b8b7
lea edi, [esi + 0x124000]
mov eax, dword [edi]
or eax, eax
je 0x52b92f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18041c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x180598]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52b8e4
mov ecx, edi
jns 0x52b913
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 + 0x18059c]
or eax, eax
je 0x52b929
mov dword [ebx], eax
add ebx, 4
jmp 0x52b901
call dword [esi + 0x1805ac]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52b960
cmp al, 0xef
ja 0x52b953
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52b935
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52b942
mov ebp, dword [esi + 0x1805a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x52b994
sub esp, 0xffffff80
jmp 0x425f74