joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40848d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4084bb
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4084c2
cmp ebx, dword [eax + 4]
jae 0x4084c2
xor eax, eax
jmp 0x4086b2
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4084d3
xor eax, eax
inc eax
jmp 0x4086b1
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4084e9
cmp ecx, edx
jae 0x40862e
cmp dword [eax + 4], 0
je 0x4084f2
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4084da
cmp dword [ebp + 8], 0
je 0x408514
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40862e
cmp eax, esi
jae 0x40862e
mov eax, dword [0x414df8]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x408539
cmp dword [esi*4 + 0x414e00], edi
je 0x408632
inc esi
cmp esi, eax
jl 0x408527
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4086ae
cmp dword [ebp - 8], 0x1000000
jne 0x4086ae
test byte [ebp - 0xc], 0xcc
je 0x4085b7
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4086ae
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4086ae
cmp word [eax + 0x18], 0x10b
jne 0x4086ae
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4086ae
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4085b7
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4085b7
test byte [ecx + 0x27], 0x80
jne 0x40862e
push 1
push 0x414e40
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4084cb
mov ecx, dword [0x414df8]
test ecx, ecx
mov edx, ecx
jle 0x4085eb
lea eax, [ecx*4 + 0x414dfc]
cmp dword [eax], edi
je 0x4085eb
dec edx
sub eax, 4
test edx, edx
jg 0x4085df
test edx, edx
jne 0x40861c
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4085f8
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x408610
lea eax, [edx*4 + 0x414e00]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4085fe
cmp ecx, 0x10
jge 0x40861c
inc ecx
mov dword [0x414df8], ecx
push 0
push 0x414e40
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4084cb
xor eax, eax
jmp 0x4086b1
test esi, esi
jle 0x4084cb
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x414e40
call ebx
test eax, eax
jne 0x4084cb
cmp dword [esi*4 + 0x414e00], edi
je 0x408688
mov eax, dword [0x414df8]
lea esi, [eax - 1]
test esi, esi
jl 0x408676
cmp dword [esi*4 + 0x414e00], edi
je 0x408672
dec esi
jns 0x408666
test esi, esi
jge 0x408686
cmp eax, 0x10
jge 0x408681
inc eax
mov dword [0x414df8], eax
lea esi, [eax - 1]
jmp 0x408688
je 0x4086a0
xor ecx, ecx
test esi, esi
jl 0x4086a0
lea eax, [ecx*4 + 0x414e00]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40868e
push 0
push 0x414e40
call ebx
jmp 0x4084cb
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4096ac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00405d20
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x409747
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x414c6c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x409747
cmp eax, 1
je 0x409768
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x409747
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x409714
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x409743
xor eax, eax
inc eax
jmp 0x409787
cmp edi, eax
jae 0x40974b
xor eax, eax
jmp 0x409787
cmp eax, esi
jae 0x409752
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x414c6c]
jmp 0x40976b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a9f7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0xb0]
push esi
push eax
call fcn.00409440
add esp, 0xc
push 0xc
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb0]
push eax
push esi
push esi
push 8
push esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0xb0], edi
push esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40aa8e
push dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x2c]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
push 0x1fff
push 0x10
push 0xa
push 6
lea ecx, [ebp - 0x6c]
call fcn.0040a0ba
push 8
pop ecx
push 0x4122b4
lea eax, [ebp - 0x4c]
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0x4c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00404e83
int3
Function at 0x40aaf3
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp + 0x10]
mov edi, eax
add edi, dword [ebp + 0x14]
jmp 0x40ab8b
mov eax, dword [esi + 4]
cmp eax, dword [ebp + 0xc]
je 0x40abaa
cmp dword [ebp + 0x14], 0xffffffff
je 0x40ab37
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp edi, eax
jb 0x40ab9d
mov eax, dword [esi + 4]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
je 0x40ab4c
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0xc], ebx
jmp 0x40ab61
cmp dword [ebp - 8], eax
je 0x40ab59
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x14]
jmp 0x40ab61
mov eax, dword [esi + 0x14]
cmp eax, dword [ebp - 4]
jb 0x40abaa
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x18]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jae 0x40ab79
mov eax, ecx
mov ecx, 0x2710
cmp eax, ecx
jbe 0x40ab84
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ebx, eax
test ebx, ebx
jne 0x40ab1b
jmp 0x40abaa
push 0x5b4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10

Function at 0x40abb3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push 0x4023d0
push 0x80000002
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x40ac6c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
mov edi, 0x4023c0
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40ac6a
cmp dword [ebp - 8], ebx
je 0x40ac6a
push dword [ebp - 8]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x40ac6a
lea ecx, [ebp - 8]
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x40ac61
cmp dword [ebp - 0xc], 7
jne 0x40ac61
mov esi, dword [ebp - 0x10]
jmp 0x40ac54
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x40ac5a
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x40ac3b
jmp 0x40ac61
mov dword [ebp - 0x14], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x40ac7b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
leave
ret 4
Function at 0x40ac82
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov eax, dword [0x4140c0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
mov dword [ebp - 4], eax
xor eax, eax
push edi
push eax
mov esi, ecx
push eax
mov dword [esi], eax
call ebx
mov edi, eax
test edi, edi
jne 0x40ace4
push eax
push 0x100f
push 0x10
push 0xa
push 0x29
lea ecx, [ebp - 0x438]
call fcn.0040a0f3
push 8
pop ecx
lea esi, [ebp - 0x438]
lea edi, [ebp - 0x458]
rep movsd dword es:[edi], dword [esi]
push 0x4122b4
lea eax, [ebp - 0x458]
jmp 0x40aec6
push dword [ebp + 8]
call fcn.004048a0
lea edi, [eax + edi*2 + 2]
cmp edi, 0x104
pop ecx
jbe 0x40ad0b
push 0
push 0x1013
push 0x10
push 0xa
push 0x2f
jmp 0x40ae9f
lea eax, [edi + 1]
push eax
call fcn.00404792
push edi
push 0
push eax
mov dword [esi], eax
call fcn.00409440
add esp, 0x10
push dword [esi]
push edi
call ebx
test edi, edi
mov ebx, eax
je 0x40ae92
push dword [ebp + 8]
call fcn.004048a0
add eax, ebx
cmp eax, edi
pop ecx
jae 0x40ae92
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x40ae75
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x408]
push ecx
xor eax, eax
push 0x20019
push eax
push 0x402420
mov ebx, 0x80000002
push ebx
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x410], eax
call edi
test eax, eax
jne 0x40add9
lea ecx, [ebp - 0x40c]
push ecx
lea ecx, [ebp - 0x414]
push ecx
push eax
push eax
push 0x40240c
push dword [ebp - 0x408]
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x40c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40adcd
cmp dword [ebp - 0x414], eax
sete al
mov dword [ebp - 0x418], eax
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x408]
push eax
push 0x20019
push 0
push 0x402420
push ebx
call edi
test eax, eax
jne 0x40ae43
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push 0x402400
push dword [ebp - 0x408]
mov dword [ebp - 0x40c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ae37
lea eax, [ebp - 0x404]
push eax
call fcn.00409862
pop ecx
mov dword [ebp - 0x410], eax
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x418], 0
jne 0x40ae75
cmp dword [ebp - 0x410], 0
jne 0x40ae75
push dword [esi]
call fcn.004048a0
mov ecx, dword [esi]
mov byte [eax + ecx - 1], 0
push 0x5c
push dword [esi]
call fcn.0040da80
add esp, 0xc
inc eax
je 0x40ae75
mov byte [eax], 0
push dword [ebp + 8]
push dword [esi]
call fcn.004047b0
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
pop ebx
call fcn.00404d66
leave
ret 4
push 0
push 0x100f
push 0x10
push 0xa
push 0x29
lea ecx, [ebp - 0x458]
call fcn.0040a0f3
push 8
pop ecx
lea esi, [ebp - 0x458]
lea edi, [ebp - 0x438]
rep movsd dword es:[edi], dword [esi]
push 0x4122b4
lea eax, [ebp - 0x438]
push eax
call fcn.00404e83
int3
Function at 0x40b12c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4140c0]
mov dword [ebp - 4], eax
call fcn.0040b048
test eax, eax
je 0x40b203
push esi
push edi
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x10c], 0
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov esi, 0x104
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40b1f7
cmp eax, esi
ja 0x40b1f7
lea eax, [ebp - 0x10c]
push eax
call fcn.004048a0
mov edi, eax
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.0040da80
lea ecx, [ebp + edi - 0x10d]
add esp, 0xc
cmp eax, ecx
je 0x40b1cb
lea eax, [ebp - 0x10c]
push eax
call fcn.004048a0
mov ecx, esi
sub ecx, eax
push ecx
lea eax, [ebp - 0x10c]
push 0x4024bc
push eax
call fcn.0040dcf0
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
call fcn.004048a0
sub esi, eax
push esi
lea eax, [ebp - 0x10c]
push 0x4022d8
push eax
call fcn.0040dcf0
add esp, 0x10
lea eax, [ebp - 0x10c]
push eax
jmp 0x40b1fc
push 0x4022d8
call fcn.0040a9f7
pop edi
pop esi
mov ecx, dword [ebp - 4]
call fcn.00404d66
leave
ret
Function at 0x40becc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4140c0]
push ebx
push esi
push edi
push 0x40
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x120], bl
lea edi, [ebp - 0x11f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 5
pop ecx
mov esi, 0x402908
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x17
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], 0x104
movsb byte es:[edi], byte [esi]
call fcn.0040af3a
lea eax, [ebp - 0x124]
push eax
push 0x20019
push ebx
push 0x402240
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40bf8a
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x120]
push eax
push ebx
push ebx
push 0x402274
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x124]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
lea eax, [ebp - 0x120]
jne 0x40bf90
push 0x4028fc
push eax
call fcn.004047b0
jmp 0x40bf9b
lea eax, [ebp - 0x120]
push 0x4028f4
push eax
call fcn.004047a0
pop ecx
pop ecx
lea eax, [ebp - 0x120]
push eax
push 0x4028e8
call fcn.0040b2c0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00404d66
leave
ret
Function at 0x40bfc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4140c0]
push ebx
push esi
push edi
push 0x40
mov dword [ebp - 4], eax
pop ecx
xor ebx, ebx
xor eax, eax
mov byte [ebp - 0x228], bl
lea edi, [ebp - 0x227]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 5
pop ecx
mov esi, 0x402974
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
push 0x16
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 0x229], bl
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], 0x104
movsw word es:[edi], word [esi]
call fcn.0040af3a
mov esi, 0x402234
push esi
push 0x402818
call fcn.0040b2c0
lea eax, [ebp - 0x230]
push eax
push 1
push ebx
push 0x402204
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c0f4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x228]
push eax
push ebx
push ebx
push 0x402224
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x230]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x40c0f4
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x124], bl
lea edi, [ebp - 0x123]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x124]
push 0x40295c
push eax
call fcn.0040d7e8
lea eax, [ebp - 0x124]
push eax
call fcn.004048a0
add esp, 0x10
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.0040af3a
push esi
lea eax, [ebp - 0x228]
push eax
call fcn.0040d691
test eax, eax
jl 0x40c0f4
push 0x401421
mov byte [ebp - 0x229], 1
push 0x40294c
jmp 0x40c0fe
push 0x401421
push 0x402920
call fcn.0040b2c0
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x229]
pop edi
pop esi
pop ebx
call fcn.00404d66
leave
ret
Function at 0x40dc50
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x40dc8b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40dc72
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x40dc83
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x40dc8d
inc edi
add eax, 0x28
cmp edi, esi
jb 0x40dc68
xor eax, eax
pop edi
pop esi
ret

Function at 0x40df0e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040dc10
push ebp
xchg edx, eax
xchg ebx, eax
pop ebx
lea eax, [ebp - 0x40]
push eax
call fcn.0040dc20
push eax
push esi
push dword [ebp + 8]
call fcn.0040dbd5
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0040dc10
jo 0x40dfbc
cmp eax, 0xe8458df5
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0040dc20
push eax
push esi
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.0040dbd5
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040dc20
push eax
push esi
push dword [ebp + 8]
call fcn.0040dbd5
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
Function at 0x40e032
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040dc20
push eax
push esi
push dword [ebp + 8]
call fcn.0040dbd5
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040dc10
adc dh, cl
jno 0x40e036
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
pop ebx
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0040dc10
add ah, byte [ecx - 0x7a72637c]
jl 0x40e0fb
invalid
invalid

Function at 0x40eb03
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040dbee
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0040dc20
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040dbd5
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040dc10
sbb dword [edi - 0x62], eax
xor byte [eax + 4], ch
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid
Function at 0x410f8b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00405d20
mov eax, dword [0x4140c0]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x416188]
mov dword [ebp - 4], eax
jae 0x4110ce
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x4161a0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x4110ce
push 1
push esi
push ebx
call fcn.0040f979
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x4110d8
push 2
push esi
push ebx
call fcn.0040f979
add esp, 0xc
cmp eax, 0xffffffff
je 0x4110d8
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x411078
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00409440
push 0x8000
push ebx
call fcn.004119d3
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x411037
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0040f732
add esp, 0xc
cmp eax, 0xffffffff
je 0x411055
sub edi, eax
test edi, edi
jg 0x41102c
jmp 0x41106b
cmp dword [0x414c64], 5
jne 0x411068
mov dword [0x414c60], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.004119d3
pop ecx
pop ecx
jmp 0x4110b8
jge 0x4110b8
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0040f979
push ebx
call fcn.0040fe5b
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x4110b8
mov dword [0x414c60], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x414c64], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0040f979
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4110db
mov dword [0x414c60], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00404d66
leave
ret