joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000692d
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.10004460
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x100069c8
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 [0x1000aa9c]
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 0x100069c8
cmp eax, 1
je 0x100069e9
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 0x100069c8
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x10006995
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x100069c4
xor eax, eax
inc eax
jmp 0x10006a08
cmp edi, eax
jae 0x100069cc
xor eax, eax
jmp 0x10006a08
cmp eax, esi
jae 0x100069d3
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 [0x1000aa9c]
jmp 0x100069ec
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x441a2fc6
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x25710807
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x420880
Capabilities:
Encode data using xor

Disassembly:
fsub dword [edi + 0x559ee60d]
out 0x9e, al
push ebp
pushal
xor ebx, esi
mov eax, dword [0x60820f4c]
ja 0x420883
invalid

Function at 0x421af0
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
retf 0xc78b
call 0xc8c53989
jecxz 0x421991
mov ah, 0xe7
pop esi
out 0x5e, eax
and ebp, dword [eax + esi]
dec edi
push cs
mov eax, 0xcc501633
xor byte [ecx - 0x11], al
jl 0x4219dc
shl byte [esi - 0x6c], cl
xchg ecx, eax
sub ebx, ebp
inc eax
invalid
xchg ebp, eax
insd dword es:[edi], dx
imul ebx, dword [ebp - 0x6cd697ba], 0x9a9e8f12
or al, 0x49
cld
fnstcw word [esi - 0x65ec731b]
js 0x421a86
add eax, dword [ebx + 0x217977a]
sbb al, 0x12
aam 0xcf
aaa
jmp 0x4219d6
jmp 0x421ae8
sub al, byte [edx + 0x37]
inc ebx
movsb byte es:[edi], byte [esi]
mov dword [eax - 0x2664d740], ecx
pushfd
jg 0x421a1c
clc
pop es
pop edx
jl 0x421acb
add byte [eax + 0x1d], 0x90
neg byte [edx + 0x4f0003c7]
int3
mov ecx, 0xd0070f9f
mov edx, 0x692e2e2a
invalid
inc ecx
dec edx
inc edx
add eax, dword [ebx - 0x14142507]
jmp 0x421a8e
out 0xe2, eax
salc
push es
add bl, byte [edi - 0x2b]
cld
push 0x87e2028e
ret
jmp 0x421a8e
Function at 0x405cfc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405d62
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004044ac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f40
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405d69
lea eax, [ebp - 0x10]
call fcn.0040423c
ret

Function at 0x4078b8
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.004046fc
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4078da
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40a0fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a135
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040432c
jmp 0x40a13e
mov eax, ebx
mov edx, esi
call fcn.00404290
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40a148
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40a169
mov al, byte [esp]
jmp 0x40a16b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a800
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a668
mov eax, dword [0x41b5e4]
cmp byte [eax], 0
je 0x40a87c
mov eax, dword [0x41b4e4]
call fcn.00402e30
call fcn.00402b08
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407a3c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a8c4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a8b2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41b4c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41c660]
call fcn.004051a4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b5c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b628
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004044ac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004075b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b62f
lea eax, [ebp - 0xc]
call fcn.0040423c
ret

Function at 0x417670
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push edi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x41d908]
shl edi, 2
xor edx, dword [esi + 0x41c880]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x41c908]
mov bl, dl
add ecx, dword [ebx*4 + 0x41cd08]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x41d108]
mov bl, dl
add ecx, dword [ebx*4 + 0x41d508]
xor eax, ecx
xchg edx, eax
add esi, 4
cmp esi, edi
jne 0x41768d
xchg edx, eax
xor eax, dword [esi + 0x41c880]
xor edx, dword [esi + 0x41c884]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x4176e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ecx
push esi
push eax
push edx
mov eax, dword [eax]
mov edx, dword [edx]
mov ebx, 0
mov esi, dword [0x41d908]
inc esi
shl esi, 2
xor edx, dword [esi + 0x41c880]
ror edx, 0x10
mov bl, dh
mov ecx, dword [ebx*4 + 0x41c908]
mov bl, dl
add ecx, dword [ebx*4 + 0x41cd08]
rol edx, 0x10
mov bl, dh
xor ecx, dword [ebx*4 + 0x41d108]
mov bl, dl
add ecx, dword [ebx*4 + 0x41d508]
xor eax, ecx
xchg edx, eax
sub esi, 4
cmp esi, 4
jne 0x417700
xchg edx, eax
xor eax, dword [0x41c884]
xor edx, dword [0x41c880]
mov ebx, edx
pop edx
mov dword [edx], ebx
mov ebx, eax
pop eax
mov dword [eax], ebx
pop esi
pop ecx
pop ebx
ret
Function at 0x4179e0
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov dword [0x41d908], 0x10
mov esi, 0x41a3cc
mov edi, 0x41c880
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
ret

Function at 0x418b88
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x418bce
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00418aec
mov eax, dword [ebp - 4]
call fcn.004046fc
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418bd5
lea eax, [ebp - 4]
call fcn.0040423c
ret

Function at 0x418c98
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.00407b50
add esp, 0x104
pop ebx
ret

Function at 0x418f4c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0
push 0
push 0x1c
push 0
call sub.SHFolder.dll_SHGetFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x101
call fcn.004044ac
add esp, 0x104
pop ebx
ret
Function at 0x403790
Capabilities:
Identify system language via api

Disassembly:
cmp byte [0x436000], 0
push ebx
push ebp
push esi
push edi
mov edi, pe_overlay
mov ebx, 0x436000
je 0x4037af
push ebx
call fcn.004058d7
jmp 0x4037b5
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
xor ecx, ecx
mov esi, dword [0x42f064]
test esi, esi
je 0x403808
mov ecx, dword [0x42f028]
mov ecx, dword [ecx + 0x64]
mov edx, ecx
imul ecx, esi
neg edx
add ecx, dword [0x42f060]
add ecx, edx
dec esi
mov bp, word [ecx]
xor bp, ax
and ebp, edi
test bp, bp
je 0x4037ed
test esi, esi
jne 0x4037d7
jmp 0x403808
mov edx, dword [ecx + 2]
mov dword [0x42e800], edx
mov edx, dword [ecx + 6]
mov dword [0x42f0c8], edx
lea edx, [ecx + 0xa]
mov dword [0x42e7fc], edx
cmp dword [0x42e7fc], 0
jne 0x403823
cmp di, 0xffff
jne 0x40381f
mov edi, 0x3ff
jmp 0x4037b7
xor edi, edi
jmp 0x4037b7
movzx eax, word [ecx]
push eax
push ebx
call fcn.004058be
push 0xfffffffffffffffe
push 0x42e820
call fcn.00405972
push eax
push dword [0x42a470]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x42f04c]
mov esi, dword [0x42f048]
test eax, eax
je 0x403870
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x403867
push eax
lea eax, [esi + 0x18]
push eax
call fcn.00405972
add esi, 0x418
dec edi
jne 0x403857
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x405212
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x42c498], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x405236
test al, 0x10
jne 0x405239
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x42c498
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405264
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x405cd9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42ca24], 0
push esi
jne 0x405d10
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405cea
mov dword [ecx*4 + 0x42ca20], eax
inc ecx
cmp ecx, 0x100
jl 0x405ce5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d41
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42ca20]
xor eax, esi
inc ecx
dec edx
jne 0x405d23
pop edi
not eax
pop esi
ret 0xc
Function at 0x4015fe
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
test esi, esi
je 0x401628
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x434f00]
inc edi
sub esi, 1
jne 0x401610
pop edi
mov eax, edx
pop esi
ret 0xc
Function at 0x4054dd
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00416c50
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x40555d
cmp ebx, dword [ebp + 4]
jg 0x4056c1
cmp edi, esi
jge 0x40554a
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x405546
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x405526
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x405550
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x405511
cmp ebx, dword [ebp + 4]
jg 0x4056c1
mov edi, 0x434108
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x434008]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x4055ee
cmp esi, 1
jle 0x4055e2
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4055d0
sub dword [esp + 0x14], 1
jne 0x4055cd
xor edi, edi
test esi, esi
jle 0x4056b4
jmp 0x40566c
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4055fd
sub dword [esp + 0x14], 1
jne 0x4055fa
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x434008]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x434008]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x40565a
sub dword [esp + 0x14], 1
jne 0x405657
cmp ebx, dword [ebp + 4]
jg 0x4056b7
cmp edi, esi
jge 0x4056a1
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x40569d
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x40567d
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4056a7
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x40566c
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x40556b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x40596f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x43e030]
test esi, esi
jne 0x40598d
mov ecx, 0x43e028
call fcn.004058fa
mov esi, dword [0x43e030]
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
and eax, 0xfffffff0
cmp byte [ebp + 0x10], 0
je 0x4059d8
test esi, esi
je 0x4059fc
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x42922c]
call esi
test eax, eax
jne 0x405a20
push str.CryptProtectMemory_failed
mov esi, 0x45ad9c
push esi
call fcn.00401853
pop ecx
pop ecx
mov ecx, esi
call fcn.004019e9
push 2
mov ecx, esi
call fcn.0040184e
jmp 0x405a20
mov esi, dword [0x43e034]
test esi, esi
je 0x4059fc
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call dword [0x42922c]
call esi
test eax, eax
jne 0x405a20
push str.CryptUnprotectMemory_failed
jmp 0x4059b9
push ebx
call dword [0x429034]
xor edx, edx
mov ebx, eax
cmp dword [ebp + 0xc], edx
jbe 0x405a1f
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x4b]
add al, dl
lea ecx, [edx + esi]
xor byte [ecx], al
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x405a0f
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x40f727
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x42922c]
mov ecx, edi
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
push 0x40
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x42922c]
mov ecx, edi
call esi
cmp eax, 0x40
jne 0x40f828
cmp byte [ebp - 0x108], 0x4d
jne 0x40f828
cmp byte [ebp - 0x107], 0x5a
jne 0x40f828
mov eax, dword [edi]
push ebx
push ebx
push dword [ebp - 0xcc]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x42922c]
mov ecx, edi
call esi
mov eax, dword [edi]
lea ecx, [ebp - 0x108]
mov ebx, 0x108
push ebx
push ecx
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x42922c]
mov ecx, edi
call esi
cmp eax, ebx
jne 0x40f828
cmp byte [ebp - 0x108], 0x50
jne 0x40f828
cmp byte [ebp - 0x107], 0x45
jne 0x40f828
cmp byte [ebp - 0x106], 0
jne 0x40f828
cmp byte [ebp - 0x105], 0
jne 0x40f828
cmp byte [ebp - 0xf0], 0xb
jne 0x40f828
cmp byte [ebp - 0xef], 1
jne 0x40f808
cmp dword [ebp - 0x94], 4
jbe 0x40f808
mov eax, dword [ebp - 0x70]
jmp 0x40f82a
cmp byte [ebp - 0xf0], 0xb
jne 0x40f828
cmp byte [ebp - 0xef], 2
jne 0x40f828
cmp dword [ebp - 0x84], 4
jbe 0x40f828
mov eax, dword [ebp - 0x60]
jmp 0x40f82a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x416113
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x42906c]
test eax, eax
je 0x416152
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x416152
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x416152
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x416152
cmp dword [ecx + 0x74], 0xe
jbe 0x416152
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428520
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42854d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42854d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x405230
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov ebx, dword [0x421818]
xorps xmm0, xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
mov eax, dword [ebx + 0x3c]
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x60], 0x44
movups xmmword [ebp - 0x18], xmm0
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 4], ecx
push esi
push edi
xor edi, edi
mov dword [ebp - 8], eax
mov esi, dword [eax + 0x20]
add esi, ebx
nop dword [eax + eax]
mov ecx, dword [esi]
mov edx, 0x33195a30
add ecx, ebx
mov al, byte [ecx]
inc ecx
test al, al
je 0x4052bd
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x4052a0
cmp edx, 0xb596daba
je 0x4052c3
inc edi
add esi, 4
jmp 0x405290
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push eax
mov eax, dword [edx + 0x24]
push 0
push 0
push 0
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
push 0
push 0
push 0
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
push 0
push dword [ebp - 4]
add eax, ebx
call eax
mov ebx, dword [0x421818]
xor edi, edi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 8], eax
mov esi, dword [eax + 0x20]
add esi, ebx
nop
mov ecx, dword [esi]
mov edx, 0xbc6d81a3
add ecx, ebx
mov al, byte [ecx]
inc ecx
test al, al
je 0x40533d
movsx eax, al
lea ecx, [ecx + 1]
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [ecx - 1]
test al, al
jne 0x405320
cmp edx, 0x14b876f7
je 0x405343
inc edi
add esi, 4
jmp 0x405310
mov edx, dword [ebp - 8]
push dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
call eax
mov ebx, dword [0x421818]
xor edi, edi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 8], eax
mov esi, dword [eax + 0x20]
add esi, ebx
nop dword [eax]
mov eax, dword [esi]
mov edx, 0x926b6491
add eax, ebx
mov cl, byte [eax]
inc eax
test cl, cl
je 0x4053ad
movsx ecx, cl
lea eax, [eax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
mov cl, byte [eax - 1]
test cl, cl
jne 0x405390
cmp edx, 0x83c3b1f1
je 0x4053b3
inc edi
add esi, 4
jmp 0x405380
mov edx, dword [ebp - 8]
push dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret