joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43439e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x4343d3
cmp edi, dword [esi + 0xc]
jge 0x4343d3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4343d3
cmp edi, dword [eax + 8]
jge 0x4343d3
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x4343d5
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x4344d9
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x43450d
jmp fcn.00420543
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x43457e
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x434677
cmp eax, dword [edi + 0xc]
jge 0x434677
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x4345cf
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x434660
cmp dword [ebp + 0xc], ebx
je 0x434660
jmp 0x4345f9
push 0x10
call fcn.0043426a
cmp eax, ebx
je 0x4345e5
mov ecx, eax
call fcn.004344d0
mov esi, eax
jmp 0x4345e7
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x434610
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x434620
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x434632
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00420543
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.004150a0
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x434672
cmp ecx, dword [esi + 8]
jge 0x434672
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x434678
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6cc87b8d
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7e620456
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x402e41
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, esi
lea eax, [ebp - 4]
and esi, 0x300
push eax
mov eax, esi
and edi, 1
or al, 9
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063ce
xor ebx, ebx
cmp eax, ebx
jne 0x402f24
test byte [ebp + 0x10], 2
je 0x402ea2
push ebx
push ebx
push ebx
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 8], ebx
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x402f09
lea eax, [ebp - 0x214]
push 0x105
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x402ede
test edi, edi
jne 0x402f09
push dword [ebp + 0x10]
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 4]
call fcn.00402e41
test eax, eax
jne 0x402ee7
lea eax, [ebp - 0x214]
push 0x105
push eax
push edi
push dword [ebp - 4]
call ebx
test eax, eax
je 0x402eb7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406956
test eax, eax
jne 0x402f19
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x402f24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x3eb
jmp 0x402f24
push 0
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40332e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x403359
mov ecx, dword [0x434fb8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x42aa54], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.00403436
cmp eax, esi
jl 0x403430
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004060da
test eax, eax
je 0x403420
push dword [ebp + 8]
add dword [0x42aa54], 4
call fcn.00403436
mov ebx, eax
cmp ebx, esi
jl 0x40342e
cmp dword [ebp + 0x10], esi
jne 0x4033fc
cmp dword [ebp + 8], esi
jle 0x40342e
mov esi, 0x41ea50
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x4033be
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004060da
test eax, eax
je 0x403420
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00406109
test eax, eax
je 0x4033f8
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x42aa54], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033ad
jmp 0x40342e
push 0xfffffffffffffffe
jmp 0x403422
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403407
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403425
push 0xfffffffffffffffd
pop eax
jmp 0x403430
mov ebx, dword [ebp - 4]
add dword [0x42aa54], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x405a98
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0x4083f8
and byte [ebp - 0x1f], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push esi
push eax
mov byte [ebp - 0x20], 1
push dword [ebp + 8]
mov word [ebp - 0x1e], 4
mov dword [ebp - 0x10], 0x4083e8
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x405ae9
xor eax, eax
jmp 0x405b10
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x405b10
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x405ae5
call esi
pop esi
leave
ret 4

Function at 0x405b4a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4302b0], 0x44
push eax
xor eax, eax
push 0x4302b0
push eax
push eax
push 0x4000000
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x405b89
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405b8d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret 4

Function at 0x405c2b
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00406032
mov edi, eax
cmp edi, 0xffffffff
je 0x405c6c
test byte [esp + 0x10], 1
push esi
je 0x405c4e
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405c54
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x405c5d
xor eax, eax
inc eax
jmp 0x405c6e
test byte [esp + 0x10], 4
jne 0x405c6c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405c73
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405f3e
test bl, 8
mov dword [ebp - 8], eax
je 0x405cb2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x434fe8], eax
jmp 0x405e2f
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405ccc
test eax, eax
je 0x405ddd
test bl, 2
je 0x405ddd
mov esi, 0x42f2b0
push edi
push esi
call fcn.00406561
cmp dword [ebp + 8], 0
je 0x405ceb
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405cf1
push edi
call fcn.00405e82
cmp word [edi], 0
jne 0x405d01
cmp word [0x42f2b0], 0x5c
jne 0x405d0c
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405dd2
cmp word [ebp - 0x22c], 0x2e
jne 0x405d56
cmp word [ebp - 0x22a], 0
je 0x405db5
cmp word [ebp - 0x22a], 0x2e
jne 0x405d56
cmp word [ebp - 0x228], 0
je 0x405db5
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406561
test byte [ebp - 0x258], 0x10
je 0x405d81
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405db5
push dword [ebp + 0xc]
push edi
call fcn.00405c73
jmp 0x405db5
push dword [ebp - 4]
push edi
call fcn.00405c2b
test eax, eax
jne 0x405dad
cmp dword [ebp - 4], eax
je 0x405da5
push edi
push 0xfffffffffffffff1
call fcn.004055c9
push 0
push edi
call fcn.00406327
jmp 0x405db5
inc dword [0x434fe8]
jmp 0x405db5
push edi
push 0xfffffffffffffff2
call fcn.004055c9
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405d2e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405ddd
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405e2f
cmp dword [ebp - 8], esi
jne 0x405df1
inc dword [0x434fe8]
jmp 0x405e2f
push edi
call fcn.004068bf
test eax, eax
je 0x405e2f
push edi
call fcn.00405e36
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405c2b
test eax, eax
jne 0x405e27
cmp dword [ebp - 4], esi
je 0x405de9
push edi
push 0xfffffffffffffff1
call fcn.004055c9
push esi
push edi
call fcn.00406327
jmp 0x405e2f
push edi
push 0xffffffffffffffe5
call fcn.004055c9
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405f3e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fab0
push esi
call fcn.00406561
push esi
call fcn.00405ee1
mov edi, eax
test edi, edi
jne 0x405f5f
xor eax, eax
jmp 0x405fb7
push edi
call fcn.00406810
test byte [0x434f5c], 0x80
je 0x405f7c
mov ax, word [edi]
test ax, ax
je 0x405f5b
cmp ax, 0x5c
je 0x405f5b
sub edi, esi
sar edi, 1
jmp 0x405f96
call fcn.004068bf
test eax, eax
je 0x405f90
test byte [eax], 0x10
je 0x405f5b
push esi
call fcn.00405e82
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405f82
call fcn.00405e36
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x406032
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406051
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x406057
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x406086
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40a5a8]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x40a5ac]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x4060d6
test edi, edi
jne 0x406093
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x4060d0
Function at 0x4061ad
Capabilities:
Get file size

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
test esi, esi
mov dword [0x430948], 0x55004e
mov dword [0x43094c], 0x4c
mov edi, 0x400
mov ebp, 0x430948
je 0x406203
push 1
push 0
push esi
call fcn.00406057
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x406322
cmp eax, edi
jg 0x406322
mov esi, 0x431148
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x406322
cmp eax, edi
jg 0x406322
push esi
push ebp
push str._ls_ls_r_n
push 0x430548
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x434f54]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.0040659e
push 4
push 0xc0000000
push esi
call fcn.00406057
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x406322
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40631b
push edi
push esi
push ebp
call fcn.004060da
test eax, eax
je 0x40631b
push str._Rename__r_n
push esi
call fcn.00405fbc
test eax, eax
jne 0x4062b9
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x4062ee
add eax, 0xa
push 0x40a5b0
push eax
call fcn.00405fbc
mov ebp, eax
test ebp, ebp
je 0x4062ea
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x4062db
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x4062d5
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x18]
jmp 0x4062f0
mov ebp, dword [esp + 0x18]
mov eax, edi
push ebx
add eax, esi
push 0x430548
push eax
call fcn.00406012
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
add edi, ebx
push edi
push esi
push ebp
call fcn.00406109
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x406327
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x40634a
push dword [esp + 8]
push dword [esp + 8]
call fcn.004061ad
pop ecx
pop ecx
inc dword [0x434ff0]
ret 8
Function at 0x40642f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
mov dword [ebp - 4], 0x800
and eax, 0x100
or eax, 0x20019
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004063ce
mov esi, dword [ebp + 0x14]
test eax, eax
jne 0x40649f
lea eax, [ebp - 4]
push edi
push eax
lea eax, [ebp + 0xc]
push esi
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x18]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x40649f
cmp dword [ebp + 0xc], 1
je 0x4064a3
cmp dword [ebp + 0xc], 2
je 0x4064a3
and word [esi], 0
pop esi
leave
ret 0x14
Function at 0x4068e6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x40690a
xor eax, eax
test eax, eax
je 0x40691d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40691d
xor ecx, ecx
jmp 0x406920
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406a43
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43194c], 0
push esi
jne 0x406a7a
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 0x406a54
mov dword [ecx*4 + 0x431948], eax
inc ecx
cmp ecx, 0x100
jl 0x406a4f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406aab
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 + 0x431948]
xor eax, esi
inc ecx
dec edx
jne 0x406a8d
pop edi
not eax
pop esi
ret 0xc
Function at 0x401060
Capabilities:
Allocate or change rwx memory
Terminate process

Disassembly:
push ebx
push esi
push 4
push 0x3000
push 0x17c841c0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
push eax
cmp eax, 0x11
je 0x401023
mov eax, eax
cld
test ecx, ecx
or eax, eax
clc
pop eax
test esi, esi
je 0x401056
nop
mov al, al
push 0x5e69ec0
push 0
push esi
call fcn.0042a0b0
add esp, 0xc
push ebx
mov cl, cl
mov cl, cl
cld
pop ebx
push 0x8000
push 0x17c841c0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
pop esi
pop ebx
ret
push 0
push 0x40
push 0x3000
push 0x7d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test eax, eax
jne 0x401088
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp section..text
Function at 0x401160
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1398
call fcn.0042a240
mov eax, dword [0x456900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x1388
lea ecx, [ebp - 0x138c]
push 0
push ecx
mov dword [ebp - 0x1394], eax
call fcn.0042a0b0
lea edx, [ebp - 0x138c]
push str.Epworth_HealthCare_is_a_provider_of_acute_medical__surgical_and_rehabilitation_services_in_Melbourne__Australia.
push edx
call fcn.0042a150
lea eax, [ebp - 0x138c]
push str.Robert_Louis_Brudzinski__born_January_1__1955__is_a_former_American_football_linebacker_who_played_13_seasons_in_the_National_Football_League__NFL_
push eax
call fcn.0042a150
lea ecx, [ebp - 0x138c]
push str.Phineas_and_Ferb:_Quest_for_Cool_Stuff_is_a_platform_video_game_based_on_the_animated_television_series
push ecx
call fcn.0042a150
lea edx, [ebp - 0x138c]
push edx
call fcn.00420280
lea eax, [ebp - 0x138c]
push eax
call fcn.00420280
add esp, 0x2c
lea ecx, [ebx + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
lea edx, [ebp - 0x138c]
mov edi, eax
push edx
mov dword [ebp - 0x1390], edi
call fcn.00420280
lea eax, [ebp - 0x138c]
push eax
call fcn.00420280
lea ecx, [ebp - 0x138c]
push ecx
call fcn.00420280
lea edx, [ebp - 0x138c]
push edx
mov byte [ebx + edi], 0
call fcn.00420280
lea eax, [ebp - 0x138c]
push eax
call fcn.00420280
add esp, 0x14
xor esi, esi
test ebx, ebx
je 0x4012b8
mov eax, dword [ebp + 8]
sub eax, edi
mov dword [ebp - 0x1398], eax
nop
lea ecx, [ebp - 0x138c]
push ecx
call fcn.00420280
lea edx, [ebp - 0x138c]
push edx
call fcn.00420280
mov eax, dword [ebp - 0x1394]
push eax
add edi, esi
call fcn.00420280
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp - 0x1394]
mov cl, byte [edx + eax]
mov edx, dword [ebp - 0x1398]
xor cl, byte [edx + edi]
lea eax, [ebp - 0x138c]
push eax
mov byte [edi], cl
call fcn.00420280
lea ecx, [ebp - 0x138c]
push ecx
call fcn.00420280
mov edi, dword [ebp - 0x1390]
inc esi
add esp, 0x14
cmp esi, ebx
jb 0x401250
lea edx, [ebp - 0x138c]
push edx
call fcn.00420280
lea eax, [ebp - 0x138c]
push eax
call fcn.00420280
lea ecx, [ebp - 0x138c]
push ecx
call fcn.00420280
push 0x1388
lea edx, [ebp - 0x138c]
push 0
push edx
call fcn.0042a0b0
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a12a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404600
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x40461f
mov eax, 1
pop ebx
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4046cb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4046cb
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x404657
pop edi
mov eax, 1
pop ebx
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x4046c2
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x4046c2
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4046c2
lea edi, [eax + eax*4]
add edi, edi
add edi, edi
add edi, edi
push edi
mov dword [esi + 0x140], edi
call fcn.0042a26b
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x40469e
pop edi
mov eax, 3
pop ebx
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
push ebx
lea ecx, [edx + ecx + 0x18]
push edi
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
pop edi
inc eax
pop ebx
pop ebp
ret
pop edi
mov eax, 2
pop ebx
pop ebp
ret
mov eax, 2
pop ebx
pop ebp
ret