joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430d72
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4a03e0]
push ebx
push esi
push edi
mov edi, ecx
or eax, 0x2001b
lea ecx, [ebp - 4]
xor ebx, ebx
push ecx
push eax
push ebx
push dword [0x4a03dc]
mov dword [ebp - 4], ebx
push dword [0x4a03d8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x430e01
mov edx, dword [edi + 0x20]
mov ecx, dword [edx]
jmp 0x430db6
cmp byte [ecx + 8], bl
jne 0x430dbc
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x430daf
jmp 0x430e01
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
pop edi
push edi
push 0x4a042c
push edi
push ebx
push dword [0x4a0444]
push dword [ebp - 4]
call esi
push edi
push 0x4a0430
push edi
push ebx
push dword [0x4a0448]
push dword [ebp - 4]
call esi
mov esi, eax
mov eax, dword [0x4a042c]
mov dword [0x4a043c], eax
mov eax, dword [0x4a0430]
mov dword [0x4a0440], eax
cmp dword [ebp - 4], ebx
je 0x430e0f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x430e16
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push 0x2c
mov eax, 0x47ac46
call fcn.00450508
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push ecx
lea ecx, [ebp - 0x38]
call fcn.00434cd9
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x18]
cmp eax, dword [eax]
je 0x430f62
lea edi, [eax + 4]
mov ecx, dword [edi]
cmp byte [ecx + 0x14], 0
je 0x430f55
cmp byte [ecx + 0x15], 0
je 0x430e7e
cmp byte [ecx + 0x17], 0
je 0x430f55
mov ecx, dword [ecx + 0x10]
call fcn.0041f708
test al, al
je 0x430f55
mov eax, dword [edi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x430f55
cmp byte [ecx + 0x17], 0
je 0x430f12
mov ecx, dword [ecx + 0x10]
call fcn.0041f708
test al, al
je 0x430ecb
push 9
pop ebx
mov eax, dword [edi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x430ec8
cmp eax, 0x20
je 0x430eb8
cmp eax, 5
jne 0x430ec8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x430e97
mov ebx, dword [ebp - 0x10]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
call fcn.0041f708
test al, al
je 0x430f55
push 9
pop ebx
mov eax, dword [edi]
push dword [eax + 0x10]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x430f52
cmp eax, 0x20
je 0x430f00
cmp eax, 5
jne 0x430f52
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x430edc
jmp 0x430f52
mov ecx, dword [ecx + 0xc]
call fcn.0041f708
test al, al
je 0x430f55
push 9
pop ebx
mov eax, dword [edi]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x430f52
cmp eax, 0x20
je 0x430f42
cmp eax, 5
jne 0x430f52
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub ebx, 1
jns 0x430f21
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x430e3f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00434cfb
xor eax, eax
call fcn.004504d1
ret
Function at 0x430f76
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push str.advapi32.dll
mov edi, ecx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x430f9d
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov ecx, dword [edi + 0x28]
cmp ecx, dword [ecx]
je 0x431063
push ebx
and dword [ebp - 4], 0
lea ebx, [ecx + 4]
mov eax, dword [ebx]
mov edx, 0xf003f
cmp byte [eax + 0x1d], 0
je 0x431055
cmp dword [0x4a0604], 0
je 0x430fd3
mov edx, dword [eax + 0xc]
or edx, 0xf003f
cmp byte [eax + 8], 0
je 0x430ffc
cmp byte [eax + 0x1e], 0
je 0x431055
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
test esi, esi
je 0x430ff2
push 0
push edx
push ecx
push eax
call esi
jmp 0x431046
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x431046
cmp byte [eax + 0x41], 0
je 0x431055
lea ecx, [ebp - 4]
push ecx
push edx
push 0
push dword [eax + 0x14]
push dword [eax + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431046
mov eax, dword [ebx]
cmp byte [eax + 0x40], 0
je 0x43103a
push dword [eax + 0x3c]
push dword [eax + 0x28]
push dword [eax + 0x34]
push 0
push dword [eax + 0x20]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x431046
push dword [eax + 0x20]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [ebp - 4], 0
je 0x431055
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [edi + 0x28]
mov ecx, dword [ebx]
cmp ecx, dword [eax]
jne 0x430fa9
pop ebx
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x433270
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x47b673
call fcn.00450508
lea eax, [ebp - 0x1c]
xor edi, edi
push eax
push str.ReloadVersions
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
call fcn.0041dfa0
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
mov eax, dword [0x4a03e0]
push ecx
or eax, 0x20019
push eax
push edi
push dword [0x4a03dc]
push dword [0x4a03d8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4332d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Cannot_open_product_registry_key__gle_u
call fcn.0041dafb
pop ecx
pop ecx
jmp 0x43332e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push 4
pop ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push eax
push edi
push edi
push dword [0x4a0444]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x433305
mov eax, dword [ebp - 0x18]
mov dword [0x4a042c], eax
mov dword [0x4a043c], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push dword [0x4a0448]
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x43332e
mov eax, dword [ebp - 0x18]
mov dword [0x4a0430], eax
mov dword [0x4a0440], eax
cmp dword [ebp - 0x10], 0
je 0x43333d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0041e015
mov eax, esi
call fcn.004504d1
ret
Function at 0x434d41
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 4]
mov dword [esi + 8], eax
mov dword [edi], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
push str.kernel32.dll
mov dword [esi + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
test ebx, ebx
je 0x434e10
push str.GetSystemWow64DirectoryW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsWow64Process2
push ebx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x434e10
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 4]
test eax, eax
je 0x434e10
cmp dword [edi], 0
je 0x434e10
push str.Wow64EnableWow64FsRedirection
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64DisableWow64FsRedirection
push ebx
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push ebx
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [esi + 0x1c], eax
cmp dword [esi + 0x14], ecx
je 0x434e0e
cmp dword [esi + 0x18], ecx
je 0x434e0e
test eax, eax
je 0x434e0e
cmp dword [esi], ecx
jne 0x434e10
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47ba85
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x49d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], esi
cmp esi, 0x40
jb 0x435cf0
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x435cf0
mov ebx, dword [edi + 0x3c]
test ebx, ebx
js 0x435cee
cmp esi, ebx
jb 0x435cee
sub edx, ebx
lea ecx, [ebx + edi]
cmp edx, 4
jb 0x435cee
cmp dword [ecx], 0x4550
jne 0x435cee
sub edx, 4
cmp edx, 0x14
jb 0x435cee
movzx eax, word [ecx + 4]
sub edx, 0x14
mov dword [ebp - 0x34], 0x14c
cmp ax, word [ebp - 0x34]
jne 0x435c7d
cmp edx, 0xe0
jb 0x435cee
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x435cee
mov eax, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
jmp 0x435cb6
mov dword [ebp - 0x34], 0x8664
cmp ax, word [ebp - 0x34]
je 0x435c97
mov dword [ebp - 0x34], 0xaa64
cmp ax, word [ebp - 0x34]
jne 0x435cee
cmp edx, 0xf0
jb 0x435cee
mov eax, 0x20b
cmp word [ecx + 0x18], ax
jne 0x435cee
mov eax, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xac]
lea edx, [ebx + 0x58]
lea ebx, [ecx + eax]
mov dword [ebp - 0x34], ebx
mov ebx, edx
cmp dword [ebp - 0x34], esi
ja 0x435cf0
cmp dword [ebp - 0x34], eax
jb 0x435cf0
test eax, eax
jne 0x435cd4
test ecx, ecx
cmove eax, esi
dec eax
xor ecx, ecx
cmp eax, esi
jae 0x435ce8
cmp byte [eax + edi], 0
jne 0x435ce8
inc ecx
dec eax
cmp ecx, 8
jl 0x435cd7
inc eax
mov dword [ebp - 0x14], eax
jmp 0x435cf0
xor ebx, ebx
lea eax, [ebp - 0x14]
mov edx, edi
push eax
lea ecx, [ebp - 0x30]
call fcn.00434fc0
add esp, 4
mov dword [ebp - 4], 0
cmp byte [ebp - 0x24], 0
jne 0x435d12
xor bl, bl
jmp 0x435d90
push ebx
push dword [ebp - 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov edx, edi
movq qword [ebp - 0x20], xmm0
lea ecx, [ebp - 0x20]
call fcn.004352a0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.00435680
mov byte [ebp - 4], 0
add esp, 0xc
mov edx, dword [ebp - 0x20]
mov bl, al
test edx, edx
je 0x435d90
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x435d71
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435db6
push ecx
push edx
call fcn.0044f9a3
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
call fcn.00436070
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f515
mov esp, ebp
pop ebp
ret
call fcn.00454b7b
int3
Function at 0x435dc0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bad5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x49d034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov eax, ecx
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x435efa
mov esi, dword [ebp - 0x18]
mov eax, esi
or eax, dword [ebp - 0x14]
jne 0x435e15
xor al, al
jmp 0x435ee0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x40], 0xffffffff
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 4], 0
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
sub esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
call fcn.0043f060
mov dword [ebp - 4], 3
push dword [ebp - 0x14]
push esi
call fcn.00436100
add esp, 8
cmp byte [ebp - 0x24], 0
je 0x435f1c
push dword [ebp - 0x4c]
mov esi, dword [ebp - 0x20]
mov edx, eax
mov ecx, esi
call fcn.00435bc0
add esp, 4
mov byte [ebp - 0x41], al
mov dword [ebp - 4], 4
test esi, esi
je 0x435eb2
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x435ec7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x435edd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f515
mov esp, ebp
pop ebp
ret
push str.Unable_to_get_file_size_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00441060
push 0x49a7ec
lea eax, [ebp - 0x2c]
push eax
call fcn.00452264
push str.Unable_to_retrieve_pointer_of_the_unmapped_view_
lea ecx, [ebp - 0x60]
call fcn.00441020
push 0x49a7ec
lea eax, [ebp - 0x60]
push eax
call fcn.00452264
int3

Function at 0x4369b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x58
mov esi, ecx
call fcn.0044fbac
push 0x58
mov edi, eax
push 0
push edi
call fcn.00451b90
add esi, 4
lea eax, [ebp - 4]
add esp, 0x10
cmp esi, eax
je 0x4369e5
mov eax, dword [esi]
mov dword [esi], edi
test eax, eax
je 0x4369f0
push 0x58
push eax
jmp 0x4369e8
push 0x58
push edi
call fcn.0044f9a3
add esp, 8
mov eax, dword [esi]
pop edi
pop esi
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x439f00
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x49d034]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x25c]
mov dword [0x4a06bc], eax
mov eax, dword [ebp - 0x244]
mov dword [0x4a0240], eax
mov eax, dword [ebp - 0x254]
mov dword [0x49da70], eax
mov eax, dword [ebp - 0x24c]
push 0x118
mov dword [0x49da78], eax
lea eax, [ebp - 0x11c]
push 0
push eax
mov dword [0x49da74], 0
call fcn.00451b90
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x439f9e
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
mov esi, dword [0x4a06b8]
test esi, esi
jne 0x439fcc
push str.RtlGetVersion
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x4a06b8], esi
test esi, esi
je 0x43a016
push 0x118
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.00451b90
add esp, 0xc
mov dword [ebp - 0x23c], 0x11c
lea eax, [ebp - 0x23c]
mov ecx, esi
push eax
call dword [0x47d428]
call esi
test eax, eax
jne 0x43a016
push edi
mov ecx, 0x47
lea esi, [ebp - 0x23c]
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
pop edi
cmp dword [ebp - 0x110], 2
pop esi
jne 0x43a156
mov ecx, dword [ebp - 0x11c]
mov eax, 0xa
cmp ecx, 5
jb 0x43a1ab
mov eax, 0xb
cmp ecx, 6
jb 0x43a146
mov eax, 0xd
cmp ecx, 7
jb 0x43a10e
mov eax, 0x11
cmp ecx, 0xa
jb 0x43a1ab
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x4a38
jb 0x43a07a
mov eax, 0x1a
jmp 0x43a1ab
cmp ecx, 0x47bb
jb 0x43a08c
mov eax, 0x19
jmp 0x43a1ab
cmp ecx, 0x4650
jb 0x43a09e
mov eax, 0x18
jmp 0x43a1ab
cmp ecx, 0x44c0
jb 0x43a0b0
mov eax, 0x17
jmp 0x43a1ab
cmp ecx, 0x4268
jb 0x43a0c2
mov eax, 0x16
jmp 0x43a1ab
cmp ecx, 0x3e80
jb 0x43a0d4
mov eax, 0x15
jmp 0x43a1ab
cmp ecx, 0x3a98
jb 0x43a0e6
mov eax, 0x14
jmp 0x43a1ab
cmp ecx, 0x36b0
jb 0x43a0f8
mov eax, 0x13
jmp 0x43a1ab
cmp ecx, 0x295a
jb 0x43a1ab
mov eax, 0x12
jmp 0x43a1ab
mov ecx, dword [ebp - 0x118]
cmp ecx, 1
jb 0x43a1ab
mov eax, 0xe
cmp ecx, 2
jb 0x43a1ab
mov eax, 0xf
cmp ecx, 3
jb 0x43a1ab
mov eax, 0x10
cmp ecx, 4
jb 0x43a1ab
mov eax, 0x11
jmp 0x43a1ab
cmp dword [ebp - 0x118], 1
jb 0x43a1ab
mov eax, 0xc
jmp 0x43a1ab
cmp dword [ebp - 0x11c], 4
jne 0x43a1a9
mov ecx, dword [ebp - 0x118]
mov eax, 1
test ecx, ecx
jne 0x43a183
mov ecx, 0x457
cmp word [ebp - 0x114], cx
jb 0x43a1ab
mov eax, 2
jmp 0x43a1ab
cmp ecx, 0x5a
jae 0x43a1a2
mov ecx, 0x8ae
mov eax, 3
cmp word [ebp - 0x114], cx
jb 0x43a1ab
mov eax, 4
jmp 0x43a1ab
mov eax, 5
jmp 0x43a1ab
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [0x4a06c0], eax
xor ecx, ebp
xor eax, eax
call fcn.0044f515
mov esp, ebp
pop ebp
ret
Function at 0x43ef80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x49d034]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov esi, ecx
push eax
push edi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43f00e
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, eax
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x14], eax
mov eax, ecx
or eax, edx
je 0x43eff1
push 0
push ecx
push edx
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x43efea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
test edi, edi
je 0x43f030
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 0x18], 2
xor ecx, ebp
mov byte [esi + 4], 1
pop esi
call fcn.0044f515
mov esp, ebp
pop ebp
ret 0x14
push str.Unable_to_get_file_size_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.00441060
push 0x49a7ec
lea eax, [ebp - 0x28]
push eax
call fcn.00452264
push str.Unable_to_create_file_mapping_
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x28]
call fcn.00441060
push 0x49a7ec
lea eax, [ebp - 0x28]
push eax
call fcn.00452264
int3
Function at 0x4433d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
movzx esi, word [edx]
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, esi
xor eax, 0x7f0
shr esi, 4
shr eax, 4
mov dword [ebp - 8], ebx
mov ecx, dword [edi + esi*4]
mov eax, dword [edi + eax*4]
mov dword [ebp - 4], eax
movzx eax, word [edx + 0x10]
mov esi, dword [ebp - 4]
shr eax, 4
mov dword [ebp - 0x18], ecx
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x44345c
mov esi, edx
mov dword [ebp - 0xc], eax
add ebx, 4
push edi
push ebx
push ecx
push esi
call fcn.00447140
push edi
lea eax, [ebx + 0x20]
push eax
push dword [ebp - 0x14]
lea eax, [esi + 0x10]
push eax
call fcn.00447140
mov ecx, dword [ebp - 0x18]
add esp, 0x20
add ebx, 0x440
add esi, 0x20
sub dword [ebp - 0xc], 1
jne 0x443424
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx]
cmp ebx, 0x10
jbe 0x443539
mov eax, dword [ebp - 8]
add ebx, 0xfffffff1
add eax, 0x44
shr ebx, 1
mov dword [ebp - 0x14], eax
movzx eax, word [edx + 0x10]
xor eax, 0x7f0
shr eax, 4
add esi, dword [edi + eax*4]
lea eax, [ebx + 0x180]
mov dword [ebp - 4], esi
lea eax, [edx + eax*2]
dec ebx
sub eax, 2
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x80]
mov ebx, dword [ebp + 8]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x200]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
add esi, dword [edi + ecx*4]
cmp eax, 2
jae 0x4434a3
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx ecx, word [eax]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
mov eax, dword [edi + eax*4]
add eax, esi
mov dword [edx + ebx*8], eax
mov eax, dword [edi + ecx*4]
add eax, esi
mov esi, dword [ebp - 4]
mov dword [edx + ebx*8 + 4], eax
mov eax, dword [ebp - 0xc]
test ebx, ebx
jne 0x443490
mov ecx, dword [ebp - 8]
mov eax, dword [ecx]
lea ebx, [eax*4 - 0x40]
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x443539
lea esi, [ecx + 0x484]
lea edi, [eax - 1]
nop dword [eax]
push ebx
push edx
push esi
call fcn.00451610
mov edx, dword [ebp - 0x14]
add esp, 0xc
add esi, 0x440
sub edi, 1
jne 0x443520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov ebx, dword [ebp + 8]
or ecx, 0x100
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [ebx + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
add eax, dword [edi + edx*4]
cmp ecx, 2
jae 0x4457a7
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4457d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, 0x100
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
or ecx, esi
add edi, edi
mov edx, esi
and edx, edi
mov eax, ecx
add edx, esi
shr eax, 8
add eax, edx
mov edx, dword [ebp + 8]
movzx edx, word [edx + eax*2]
mov eax, ecx
shr eax, 7
add ecx, ecx
and eax, 1
shr edx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp + 0x14]
add ebx, dword [eax + edx*4]
mov edx, ecx
xor edx, edi
not edx
and esi, edx
cmp ecx, 0x10000
jb 0x4457e5
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret