joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423e60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x5521f4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x423f9f
cmp byte [ebx + 0x3d], 0
je 0x423f9f
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x423ead
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
push 0
push 8
lea ecx, [esp + 0x1c]
call fcn.00418d70
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x18]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x423f1e
sub eax, 1
je 0x423f22
sub eax, 2
je 0x423f80
lea ecx, [esp + 0x14]
xor bl, bl
call fcn.00402210
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, edx
sub esi, eax
je 0x423f61
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004b767b
add esp, 0x10
cmp esi, eax
jne 0x423eff
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
cmp byte [ebx + 0x3d], 0
je 0x423f80
test esi, esi
jne 0x423ec2
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.00419ac0
jmp 0x423eba
lea ecx, [esp + 0x14]
mov bl, 1
call fcn.00402210
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
Function at 0x4242c0
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5f0
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, edx
xor ebx, ebx
push esi
sub esp, 8
mov dword [ebp - 0x2ec], esi
mov dword [ebp - 0x2e8], ebx
push ecx
lea ecx, [ebp - 0x2e4]
call fcn.00431090
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00431150
cmp dword [ebp - 0x10], ebx
je 0x424422
nop
cmp byte [ebp - 0x2e4], 0
jne 0x42434a
test bl, 1
je 0x424332
and ebx, 0xfffffffe
lea ecx, [ebp - 0x39c]
mov dword [ebp - 0x2e8], ebx
call fcn.0042a2f0
push 0x250
lea eax, [ebp - 0x5ec]
push 0
push eax
call fcn.004b0ce0
add esp, 0xc
jmp 0x424363
mov ecx, 0x94
lea esi, [ebp - 0x2e0]
lea edi, [ebp - 0x5ec]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x2ec]
mov ebx, dword [ebp - 0x5ec]
mov cl, byte [ebp + 8]
test bl, 1
je 0x424399
test cl, cl
jne 0x42437e
mov eax, ebx
shr eax, 4
test al, 1
jne 0x424399
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x20]
mov eax, ebx
cmovae ecx, dword [ebp - 0x20]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov cl, byte [ebp + 8]
shr ebx, 4
test bl, 1
je 0x4243d0
test cl, cl
je 0x4243ea
push 1
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.004242c0
add esp, 4
test al, al
je 0x42447e
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4243e2
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42447e
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2e4]
call fcn.00431150
lea ecx, [ebp - 0x20]
cmp ecx, eax
je 0x42440a
push 0xffffffffffffffff
push 0
push eax
call fcn.00408f60
lea ecx, [ebp - 0x38]
call fcn.00405820
cmp dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x2e8]
jne 0x424310
lea ecx, [ebp - 0x20]
call fcn.00405820
mov bl, 1
mov eax, dword [ebp - 0x90]
cmp eax, 0xffffffff
je 0x42443e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x54]
call fcn.00431580
push dword [ebp - 0x54]
call fcn.00497f0b
add esp, 4
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x6c]
call fcn.00405820
lea ecx, [ebp - 0x8c]
call fcn.00405820
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.00405820
xor bl, bl
jmp 0x42442c
Function at 0x424530
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], 0
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x424566
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
cmp eax, 0x104
jb 0x424580
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
call fcn.00425590
push 2
push ecx
push 0x545ae8
mov ecx, eax
call fcn.00424e40
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00405820
cmp esi, 0xffffffff
je 0x4245f2
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.00425590
mov esi, eax
mov ecx, edi
push 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00425450
mov edx, esi
mov ecx, eax
call fcn.004242c0
add esp, 4
lea ecx, [ebp - 0x1c]
mov bl, al
call fcn.00405820
lea ecx, [ebp - 0x34]
call fcn.00405820
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x4245fc
mov eax, dword [edi]
jmp 0x4245fe
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x424553
test bl, 1
je 0x424636
cmp dword [edi + 0x14], 8
jb 0x42461f
mov ecx, dword [edi]
jmp 0x424621
mov ecx, edi
mov eax, ebx
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42456d
test bl, 0x10
jne 0x42464c
cmp dword [edi + 0x14], 8
jb 0x424643
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42465b
cmp dword [edi + 0x14], 8
jb 0x424654
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret

Function at 0x424680
Capabilities:
Check if file exists
Get file attributes

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

Function at 0x4246a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x14], 8
jb 0x4246a8
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4246bb
shr eax, 4
and eax, 1
ret
xor al, al
ret
Function at 0x4246c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x248
mov eax, dword [0x5521f4]
xor eax, esp
mov dword [esp + 0x244], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x34]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x4247a2
sub esp, 8
lea eax, [esp + 0x40]
mov edx, esp
mov dword [edx], eax
cmp word [esp + 0x40], 0
jne 0x424712
xor ecx, ecx
jmp 0x42472f
lea ecx, [esp + 0x40]
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424720
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [esp + 0x28]
call fcn.00425120
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x42474a
mov ecx, dword [eax]
jmp 0x42474c
mov ecx, eax
mov dword [edx], ecx
lea ecx, [esp + 0x10]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00425120
lea ecx, [esp + 8]
call fcn.00425950
lea eax, [esp + 8]
cmp esi, eax
je 0x42477a
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00408f60
lea ecx, [esp + 8]
call fcn.00405820
lea ecx, [esp + 0x20]
call fcn.00405820
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret

Function at 0x4247c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x5521f4]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push edi
push eax
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42486f
cmp word [esp + 0x20], 0
je 0x42486f
sub esp, 8
lea eax, [esp + 0x28]
mov edx, esp
mov dword [edx], eax
cmp word [esp + 0x28], 0
jne 0x424833
xor ecx, ecx
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00425120
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424840
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, esi
call fcn.00425120
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 8]
call fcn.004058b0
lea eax, [esp + 8]
push eax
call fcn.004246c0
add esp, 4
mov ecx, esi
test al, al
je 0x424897
lea eax, [esp + 8]
push eax
call fcn.00408ea0
jmp 0x4248ae
sub esp, 8
mov eax, esp
mov dword [eax], 0x545af4
mov dword [eax + 4], 3
call fcn.00425120
lea ecx, [esp + 8]
call fcn.00405820
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
Function at 0x4248d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], 0
mov esi, edx
cmp dword [edi + 0x14], 8
jb 0x4248f8
mov ebx, dword [edi]
jmp 0x4248fa
mov ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42493a
test al, 0x10
je 0x42491d
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x424927
mov dword [esi], 0xfffffff7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00425450
cmp dword [edi + 0x14], 8
jb 0x42494f
mov eax, dword [edi]
jmp 0x424951
mov eax, edi
cmp dword [ebp - 8], 8
lea ecx, [ebp - 0x1c]
push dword [edi + 0x10]
cmovae ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
push eax
call fcn.00415200
add esp, 8
test eax, eax
jne 0x42497d
test esi, esi
je 0x4249c0
mov dword [esi], 0xfffffffc
xor bl, bl
jmp 0x4249c6
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.004248d0
test al, al
je 0x4249c0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4249c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 0xb7
jne 0x4249b3
mov ecx, edi
call fcn.004246a0
test al, al
jne 0x4249c4
test esi, esi
je 0x4249c0
mov ecx, ebx
call fcn.00430dc0
mov dword [esi], eax
xor bl, bl
jmp 0x4249c6
mov bl, 1
lea ecx, [ebp - 0x1c]
call fcn.00405820
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret

Function at 0x424a90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov dword [esp + 8], 0
mov esi, edx
cmp dword [ecx + 0x14], 8
push edi
mov edi, dword [ebp + 8]
jb 0x424ab0
mov ecx, dword [ecx]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.00424dd0
mov eax, dword [esp + 8]
test eax, eax
je 0x424b01
cmp eax, 0xffffffff
je 0x424b01
push 0
lea ecx, [esp + 0x10]
push ecx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x424b01
mov esi, dword [esp + 0xc]
cmp esi, edi
je 0x424b04
or esi, 0xffffffff
lea ecx, [esp + 8]
call fcn.00424d60
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x424c1c
cmp eax, 0x104
ja 0x424c1c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040e070
sub esp, 8
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x258]
call fcn.00425120
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x424bb4
mov ecx, dword [eax]
jmp 0x424bb6
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x240]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00425120
lea ecx, [ebp - 0x240]
call fcn.00425950
lea eax, [ebp - 0x240]
cmp esi, eax
je 0x424bea
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00408f60
lea ecx, [ebp - 0x240]
call fcn.00405820
lea ecx, [ebp - 0x258]
call fcn.00405820
lea ecx, [ebp - 0x228]
call fcn.00405820
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00497eb9
mov esp, ebp
pop ebp
ret

Function at 0x426c20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x568600], 0
je 0x426c49
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
push 0x20
call fcn.00497eca
mov ecx, eax
call fcn.00426a00
mov dword [0x568600], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040e070
mov ecx, dword [0x568600]
lea eax, [ebp - 0x1c]
push eax
call fcn.004273e0
lea ecx, [ebp - 0x1c]
call fcn.00405820
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret

Function at 0x4273e0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
call fcn.004058b0
mov ecx, 0x545e38
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x427410
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push 0x545e38
push eax
mov ecx, esi
call fcn.0042d4f0
add esp, 0xc
cmp dword [ebp - 0x10], 0
je 0x42746a
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0
cmovae eax, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [ebp - 0x24]
call fcn.00426ca0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x20]
call fcn.00405820
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00497eb9
mov esp, ebp
pop ebp
ret 4
Function at 0x4293d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
mov edx, dword [esi + 0xc]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
mov esi, dword [esi + 4]
and ecx, eax
mov eax, dword [edx + ecx*8]
add ecx, ecx
mov ebx, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
cmp ebx, esi
jne 0x42942b
mov ecx, esi
jmp 0x429430
mov ecx, dword [edx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x429455
mov ecx, dword [eax + 8]
cmp ecx, dword [edi]
je 0x42943f
mov eax, dword [eax]
jmp 0x429423
mov ecx, dword [edi]
cmp ecx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmovne eax, esi
pop edi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x429770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
mov esi, dword [ebx + 4]
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], edx
mov eax, dword [ecx + edx]
cmp esi, eax
je 0x4297e1
mov esi, dword [ecx + edx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4297e1
mov ecx, dword [edi]
mov esi, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x429825
cmp esi, eax
jne 0x4297d5
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x42980e
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 edx, dword [esi + 4]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x42985b
mov dword [ecx], edi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], edi
jmp 0x42987d
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 + 0xc]
dec dword [ebx + 8]
call fcn.00405820
push edi
call fcn.00497f0b
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
pop ebp
ret 0xc
cmp eax, esi
jne 0x429863
mov dword [ecx], edi
jmp 0x42987d
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x42987d
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.004298a0
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
pop ebp
ret 0xc
Function at 0x42a0f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x5521f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x38], 0
mov edi, ecx
mov ebx, dword [0x568600]
mov ecx, ebx
push 0x5463c8
call fcn.00426f30
test al, al
jne 0x42a136
push str.vmodule
mov ecx, ebx
call fcn.00426f30
test al, al
je 0x42a1bc
cmp dword [0x568668], 0
je 0x42a14d
cmp byte [0x568704], 0
jne 0x42a278
int3
mov eax, dword [0x568684]
push 0x10
mov dword [0x568668], eax
call fcn.00497eca
mov esi, eax
mov dword [ebp - 0x3c], str.vmodule
push ecx
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x38], 7
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x44], 0x5463c8
push eax
mov ecx, ebx
mov dword [ebp - 0x40], 1
call fcn.00426fe0
add esp, 4
mov ecx, ebx
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00426fe0
push eax
mov ecx, esi
call fcn.00432520
lea ecx, [ebp - 0x1c]
mov dword [0x568684], eax
call fcn.00402210
lea ecx, [ebp - 0x34]
call fcn.00402210
mov eax, dword [edi]
mov dword [0x552e0c], eax
test al, 1
jne 0x42a1da
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
mov eax, dword [0x56867c]
test eax, eax
je 0x42a1f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x56867c], 0
mov edx, dword [0x568680]
test edx, edx
jne 0x42a217
push 0x18
call fcn.00497eca
add esp, 4
mov ecx, eax
call fcn.004058b0
mov edx, eax
mov dword [0x568680], edx
mov esi, dword [edi + 4]
cmp word [esi], 0
jne 0x42a224
xor ecx, ecx
jmp 0x42a23f
mov ecx, esi
lea ebx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a230
sub ecx, ebx
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.0040e4f0
cmp dword [edi + 0xc], 0
jne 0x42a262
mov eax, dword [0x568680]
cmp dword [eax + 0x14], 8
jb 0x42a25b
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00429fb0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
push 1
call fcn.004bacd0
int3
Function at 0x42a2f0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x5521f4]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea esi, [ebx + 8]
push esi
call fcn.0042aa00
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00419c90
mov eax, dword [0x568678]
test eax, eax
je 0x42a356
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x42a464
test byte [0x552e0c], 2
je 0x42a376
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x42a37b
cmp dword [ebx], 2
jl 0x42a3b7
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.004b896a
add esp, 4
push eax
push 1
push esi
push edi
call fcn.004b767b
push 2
call fcn.004b896a
add esp, 0x14
push eax
call fcn.004b8700
lea esi, [ebx + 8]
add esp, 4
test byte [0x552e0c], 1
je 0x42a3ef
call fcn.00429fb0
test al, al
je 0x42a3ef
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x56867c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], 3
jne 0x42a464
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x42a423
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004b0760
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00432510
add esp, 4
cmp dword [0x568688], 0
je 0x42a45a
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00419c90
push eax
call dword [0x568688]
add esp, 4
lea ecx, [esp + 0x28]
call fcn.00402210
jmp 0x42a464
cmp byte [0x568704], 0
jne 0x42a49e
int3
lea ecx, [esp + 0x10]
call fcn.00402210
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [esi + 0x50]
call fcn.00418da0
lea ecx, [esi + 0x50]
call fcn.00419730
mov ecx, dword [esp + 0x444]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00497eb9
mov esp, ebp
pop ebp
ret
push 1
call fcn.004bacd0
int3