joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416f10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x416f18
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne al
ret

Function at 0x4174d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
jb 0x4174e5
mov esi, dword [ebx]
jmp 0x4174e7
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x417505
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x4174f3
mov eax, dword [edi + 0x18]
mov esi, dword [edi + 0xc]
and eax, edx
lea ecx, [eax*8]
mov esi, dword [ecx + esi]
mov dword [ebp + 0xc], ecx
nop word [eax + eax]
add ecx, dword [edi + 0xc]
mov eax, dword [edi + 4]
cmp dword [ecx], eax
je 0x41752f
mov eax, dword [ecx + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x417565
push ebx
lea eax, [esi + 8]
push eax
call fcn.00417580
test al, al
jne 0x417548
mov esi, dword [esi]
mov ecx, dword [ebp + 0xc]
jmp 0x417520
lea eax, [esi + 8]
push eax
push ebx
call fcn.00417580
test al, al
jne 0x417559
mov esi, dword [edi + 4]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
mov ecx, dword [edi + 4]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
pop ebp
ret 8
Function at 0x418fc0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push 0x208
lea eax, [ebp - 0x210]
mov dword [ebp - 8], 1
push 0
push eax
call fcn.004663d0
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x418ff1
mov eax, dword [eax]
push eax
push str.___s
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00403eeb
add esp, 0x10
lea eax, [ebp - 4]
push eax
push str.systemCurrentControlSetServices
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4190e3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x419032
mov eax, dword [eax]
push esi
lea ecx, [ebp + 0xc]
push ecx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
test esi, esi
je 0x419059
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419062
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
push edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push str.ImagePath
push dword [ebp + 0xc]
call esi
mov edi, eax
test edi, edi
je 0x4190b5
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x498fb4
push dword [ebp + 0xc]
call esi
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
call esi
push dword [ebp - 4]
call esi
test edi, edi
jne 0x4190ab
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x41dfa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 4], 0
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x41dfdd
mov esi, dword [edi]
jmp 0x41dfdf
mov esi, edi
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x41e004
mov edi, eax
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x41dff0
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [esi + ecx]
mov dword [ebp + 0xc], ecx
cmp eax, dword [ebx + 4]
jne 0x41e023
mov esi, dword [ebx + 4]
jmp 0x41e029
mov esi, dword [esi + ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x41e04c
nop dword [eax]
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push edi
call fcn.0041e350
test al, al
jne 0x41e093
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
cmp esi, dword [ecx + eax]
jne 0x41e030
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x14], edi
mov eax, dword [edi]
cmp esi, eax
je 0x41e079
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 0xc]
add edx, ecx
mov eax, dword [edx]
cmp eax, dword [ebx + 4]
jne 0x41e0d5
mov dword [edx], edi
mov eax, dword [ebx + 0xc]
mov dword [eax + ecx + 4], edi
jmp 0x41e0f5
mov edi, dword [ebp + 0x10]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [ebx + 8]
call fcn.0041e140
push edi
call fcn.0044d89d
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x41e0dd
mov dword [edx], edi
jmp 0x41e0f5
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [edx + 4], eax
cmp eax, edi
je 0x41e0f5
add ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.0041e200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e2a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x41e2bb
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add ebx, ebx
je 0x41e2d7
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x41e2c6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0xc]
and eax, esi
lea esi, [eax*8]
add ecx, esi
cmp dword [ecx + 4], edi
jne 0x41e30d
cmp dword [ecx], edi
jne 0x41e305
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [edx + 0xc]
mov eax, dword [edx + 4]
mov dword [esi + ecx + 4], eax
jmp 0x41e315
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x41e315
cmp dword [ecx], edi
jne 0x41e318
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
lea ecx, [edi + 8]
dec dword [edx + 8]
call fcn.0041e140
push edi
call fcn.0044d89d
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41eee0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push esi
push edi
push 0
push 2
mov esi, edx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ef96
push 0x228
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.004663d0
add esp, 0xc
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x41ef8f
cmp dword [edi + 0x10], 0
je 0x41ef59
mov ecx, edi
call fcn.004060c9
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0046dfb1
add esp, 8
test eax, eax
jne 0x41ef7c
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x41ef69
push ecx
mov ecx, esi
call fcn.0040b116
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x41ef78
mov eax, dword [ebp - 0x224]
mov dword [ecx], eax
add dword [esi + 4], 4
lea eax, [ebp - 0x22c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x41ef38
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421640
Capabilities:
Enumerate threads

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x40
mov eax, ecx
push esi
lea esi, [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
cmp eax, dword [esi + 4]
push edi
sete al
test al, al
jne 0x42168e
cmp byte [ebx + 8], al
jne 0x4217ad
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push dword [ebp - 0x24]
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0x18], eax
call fcn.0041f840
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
je 0x4217ad
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1c
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x4c], xmm0
movq qword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 1
jne 0x4217a8
nop word [eax + eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x44], eax
jne 0x421792
mov eax, dword [ebp - 0x48]
push eax
push 0
push 0x10005b
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dl, 1
mov edi, eax
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x11], dl
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x421745
push ecx
mov ecx, esi
call fcn.00421970
mov dl, byte [ebp - 0x11]
mov eax, dword [esi + 4]
test eax, eax
je 0x421760
mov ecx, dword [ebp - 0x20]
xor dl, dl
mov dword [eax], ecx
mov ecx, dword [ebp - 0x24]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov byte [eax + 0xc], 1
add dword [esi + 4], 0x10
mov dword [ebp - 4], 0xffffffff
test dl, dl
je 0x42178c
test edi, edi
je 0x42178c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
jmp 0x421792
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_Thread32Next]
cmp eax, 1
je 0x4216f0
push dword [ebp - 0x18]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x424420
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x150
push esi
push edi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.004663d0
push 0xf8
lea eax, [esp + 0x70]
push 0
push eax
call fcn.004663d0
mov edi, dword [ebp + 8]
add esp, 0x18
mov edx, dword [ebp + 0xc]
mov eax, edi
mov ecx, dword [esi + 4]
xorps xmm0, xmm0
or eax, edx
movlpd qword [esp + 0x10], xmm0
mov eax, dword fs:[0x18]
jne 0x424488
mov dword [eax + 0xbf4], 0xc0000141
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov dword [eax + 0xbf4], 0
lea esi, [esp + 0x10]
mov eax, dword [ecx + 0x4c]
push esi
push 0x40
lea esi, [esp + 0x28]
mov ecx, dword [eax + 8]
push esi
push edx
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x42447e
mov eax, 0x5a4d
cmp word [esp + 0x20], ax
jne 0x42447e
mov eax, dword [esp + 0x5c]
xorps xmm0, xmm0
cdq
mov esi, eax
movlpd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0xc]
add esi, edi
mov ecx, esi
adc edx, dword [ebp + 0xc]
or ecx, edx
mov edi, dword [eax + 4]
mov eax, dword fs:[0x18]
je 0x424474
mov dword [eax + 0xbf4], 0
mov eax, dword [edi + 0x4c]
lea edi, [esp + 0x18]
push edi
push 0xf8
lea edi, [esp + 0x68]
mov ecx, dword [eax + 8]
push edi
push edx
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x42447e
cmp dword [esp + 0x60], 0x4550
jne 0x42447e
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x427680
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0xc], ecx
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0xc], eax
jb 0x42769f
mov esi, dword [ebx]
jmp 0x4276a1
mov esi, ebx
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4276c1
nop
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4276b0
mov esi, dword [ebp - 0xc]
mov eax, dword [ebx + 0x18]
mov dword [ebp - 8], eax
xor eax, edx
and eax, dword [esi + 0x18]
mov edx, dword [esi + 0xc]
mov esi, dword [esi + 4]
mov dword [ebp - 0xc], esi
mov ecx, dword [edx + eax*8]
add eax, eax
mov edi, dword [edx + eax*4]
inc eax
mov dword [ebp - 0x10], edi
lea eax, [edx + eax*4]
mov dword [ebp - 0x14], eax
nop word [eax + eax]
cmp edi, esi
jne 0x4276f8
mov eax, esi
jmp 0x4276fc
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x427801
cmp dword [ebx + 0x14], 8
jb 0x42770e
mov esi, dword [ebx]
jmp 0x427710
mov esi, ebx
cmp dword [ecx + 0x1c], 8
mov edx, dword [ecx + 0x18]
mov dword [ebp - 4], edx
jb 0x427721
mov edx, dword [ecx + 8]
jmp 0x427724
lea edx, [ecx + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
cmp eax, edi
cmovb edi, eax
test edi, edi
jne 0x427761
xor eax, eax
test eax, eax
jne 0x427754
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
cmp edx, esi
jb 0x427754
cmp edx, esi
setne al
test eax, eax
jne 0x427754
mov eax, dword [ebp - 8]
cmp dword [ecx + 0x20], eax
je 0x427782
mov ecx, dword [ecx]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
jmp 0x4276f0
mov ax, word [edx]
cmp ax, word [esi]
jne 0x427774
add edx, 2
add esi, 2
sub edi, 1
jmp 0x427731
movzx eax, word [edx]
cmp ax, word [esi]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x427735
cmp dword [ecx + 0x1c], 8
mov eax, dword [ecx + 0x18]
jb 0x427790
mov edx, dword [ecx + 8]
jmp 0x427793
lea edx, [ecx + 8]
cmp dword [ebx + 0x14], 8
jb 0x42779b
mov ebx, dword [ebx]
cmp dword [ebp + 0xc], eax
mov esi, eax
cmovb esi, dword [ebp + 0xc]
test esi, esi
jne 0x4277e0
xor eax, eax
test eax, eax
jne 0x4277c9
mov edx, dword [ecx + 0x18]
mov ebx, dword [ebp + 0xc]
cmp ebx, edx
jb 0x4277c9
cmp ebx, edx
setne al
test eax, eax
jne 0x4277c9
mov eax, dword [ebp - 8]
cmp eax, dword [ecx + 0x20]
je 0x4277cc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
mov ax, word [ebx]
cmp ax, word [edx]
jne 0x4277f3
add ebx, 2
add edx, 2
sub esi, 1
jmp 0x4277a6
movzx eax, word [ebx]
cmp ax, word [edx]
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x4277aa
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x428350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486ea1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push esi
push edi
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x50]
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
mov dword [ebp - 0x18], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041db20
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 2
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00417050
mov byte [ebp - 4], 3
lea edi, [ebx + 0x70]
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
push 0
mov dword [edi], 0
mov dword [ebp - 0x14], esi
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041db20
mov dword [esi], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [ebp - 4], 5
mov ecx, edi
push 8
mov dword [edi], 0x3f800000
call fcn.00417050
lea eax, [ebx + 0x90]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4284bf
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebx + 0xa8]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x4284dc
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea edi, [ebx + 0xc0]
mov dword [ebp - 0x18], edi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ecx
cmp dword [edi + 0x14], 8
jb 0x428504
mov eax, dword [edi]
jmp 0x428506
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov byte [ebp - 4], 9
lea esi, [edi + 0x18]
mov dword [ebp - 0x14], esi
mov dword [esi], ecx
mov dword [esi + 4], ecx
call fcn.0040ad6a
mov ecx, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, ebx
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x428730
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 1
mov esi, ecx
call fcn.00428830
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x90]
cmp ebx, edi
je 0x428759
push 0xffffffffffffffff
push 0
push edi
mov ecx, ebx
call fcn.0040355a
mov byte [esi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x428765
mov edi, dword [edi]
push 0
push 0
push 3
push 0
push 7
push 0x120089
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x42880f
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
push 0
push 0
push 0x1000002
push 0
push eax
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x4287ae
cmp eax, 0xffffffff
je 0x4287ae
mov byte [esi + 0xc], 0
jmp 0x4287cc
push 0
push 0
push 0
push 2
push 0
push dword [esi]
mov byte [esi + 0xc], 1
call edi
mov dword [esi + 4], eax
test eax, eax
je 0x4287de
cmp eax, 0xffffffff
je 0x4287de
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0
je 0x42880f
push 0
mov ecx, esi
call fcn.00428900
test eax, eax
js 0x42881b
cmp byte [ebp + 0xc], 0
jne 0x42881b
cmp dword [ebx + 0x14], 8
jb 0x4287ff
mov ebx, dword [ebx]
push ebx
mov ecx, esi
call fcn.00429780
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0xbf4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x428830
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
cmp eax, 0xffffffff
je 0x42884c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov dword [esi + 0x34], 0xffffffff
mov eax, dword [esi + 4]
test eax, eax
je 0x42887d
cmp eax, 0xffffffff
je 0x42887d
mov eax, dword [esi + 8]
test eax, eax
je 0x42886d
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [esi + 8], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x428891
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
cmp byte [ebp + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
jne 0x4288f6
lea eax, [esi + 0x90]
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x4288ba
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
cmp byte [esi + 0x10], cl
je 0x4288dc
cmp dword [esi + 0xbc], 8
lea eax, [esi + 0xa8]
jb 0x4288d5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xa8
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 8
jb 0x4288f1
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
pop esi
pop ebp
ret 4
Function at 0x428900
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x428912
mov dword [esi + 8], eax
mov edi, dword [esi + 8]
test edi, edi
jne 0x428925
mov eax, 0xc0000141
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, 0x5a4d
cmp word [edi], ax
je 0x42893b
mov eax, 0xc000007b
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [edi + 0x3c]
add eax, edi
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
cmp dword [eax], 0x4550
jne 0x42892f
mov ecx, 0x20b
cmp word [eax + 0x18], cx
jne 0x428989
mov ecx, eax
mov byte [esi + 0xd], 1
mov eax, dword [ecx + 0x30]
lea ebx, [ecx + 0x108]
mov dword [esi + 0x20], eax
mov eax, dword [ecx + 0x34]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x2c], eax
movzx eax, word [ecx + 0x5c]
jmp 0x4289c5
mov ebx, dword [esi + 0x14]
mov byte [esi + 0xd], 0
add ebx, 0xf8
mov eax, dword [eax + 0x34]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], 0
mov eax, dword [eax + 0x50]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x54]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x14]
mov eax, dword [eax + 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x14]
movzx eax, word [eax + 0x5c]
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x14]
mov ax, word [eax + 0x16]
shr ax, 0xd
not al
and al, 1
cmp byte [esi + 0xd], 0
mov byte [esi + 0xe], al
je 0x4289ea
mov eax, dword [esi + 0x18]
add eax, 0x88
jmp 0x4289f0
mov eax, dword [esi + 0x14]
add eax, 0x78
mov eax, dword [eax + 0x70]
test eax, eax
jne 0x428a63
xor cl, cl
mov byte [esi + 0xf], cl
test cl, cl
je 0x428a2b
sub eax, edi
lea ecx, [esi + 0xc0]
add eax, 0x10
mov dword [esi + 0x40], eax
lea eax, [esi + 0x90]
push eax
call fcn.00430860
test al, al
je 0x428a2b
push 0
lea ecx, [esi + 0xc0]
call fcn.00430960
mov eax, dword [esi + 0x14]
xor ecx, ecx
xor edi, edi
cmp cx, word [eax + 6]
jae 0x428a5a
lea eax, [esi + 0x44]
nop dword [eax + eax]
push ebx
mov ecx, eax
call fcn.00429ae0
mov eax, dword [esi + 0x14]
inc edi
add ebx, 0x28
movzx eax, word [eax + 6]
cmp edi, eax
lea eax, [esi + 0x44]
jl 0x428a40
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
push ecx
push eax
mov ecx, esi
call fcn.00429610
test eax, eax
je 0x4289f7
test byte [eax + 0x10], 1
je 0x4289f7
mov cl, 1
jmp 0x4289f9