joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a8258
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8403
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4a83e4
mov dl, 1
mov eax, dword [0x431420]
call fcn.0043dad0
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
call fcn.00406894
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4a83d3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047afdc
test al, al
je 0x4a83c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4a8414
lea eax, [ebp - 0x394]
call fcn.0041bda4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4a83c6
xor eax, eax
push ebp
push 0x4a83bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4a8484
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4a83a8
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407264
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4a83a8
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407264
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a83c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4a82c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0043da0c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a840a
lea eax, [ebp - 0x3a0]
call fcn.00406894
ret

Function at 0x4a8f60
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4bc24c]
cmp byte [eax + 0xad], 0
jne 0x4a8fd2
cmp dword [0x4bc264], 0
jne 0x4a8f92
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x4b5de0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x4bc264], eax
cmp dword [0x4bc260], 0
jne 0x4a8fad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x4bc260], eax
cmp dword [0x4bc268], 0
jne 0x4a8fd2
push esp
push 0
push 0
mov eax, dword [0x4b5ddc]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4bc268], eax
pop edx
ret
Function at 0x4a92e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4a92ff
add esp, 0xfffffff0
call fcn.004053a4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00446280
mov eax, dword [0x4b5e44]
cmp byte [eax], 0
jne 0x4a932c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x4b6074]
cmp word [eax + 2], 0
jne 0x4a9346
mov eax, dword [0x4b6074]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab3b0
mov eax, dword [0x4b6144]
cmp word [eax + 2], 0
jne 0x4a9360
mov eax, dword [0x4b6144]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004ab5b4
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x44d0fc]
call fcn.00452390
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4abb2c
mov dl, 1
mov eax, dword [0x42ec44]
call fcn.00404e5c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42ec44]
call fcn.00404e5c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4509f4]
call fcn.004591d8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4a9540
mov eax, dword [0x4b5f78]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0045966c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4abe14
mov dl, 1
mov eax, dword [0x42ec44]
call fcn.00404e5c
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x4b5f78]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041bbcc
test eax, eax
je 0x4a9471
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041b980
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041bbb0
test eax, eax
je 0x4a9489
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407264
push ebx
push 0x4aad9c
call fcn.0049f0f8
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x4b5e44]
cmp byte [eax], 0
jne 0x4a94da
mov eax, ebx
call fcn.004a96b4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004ac040
mov eax, ebx
call fcn.004acc70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4a9537
call fcn.004053fc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a9980
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4a9a22
cmp dword [ebx + 0x94], 0
jne 0x4a9a1c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4a98cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4a9a1c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4a99e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4a9a1c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00439fb0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4a99f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4a9c40
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4bc24c]
cmp dword [eax + 0x170], 0
je 0x4a9da5
test bl, bl
jne 0x4a9cf3
cmp dword [esi + 0x9c], 0
jne 0x4a9ce8
mov eax, esi
call fcn.004acac0
push eax
push 0x4a9b4c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4a9cb9
mov eax, dword [0x4bc24c]
cmp byte [eax + 0xd3], 0
je 0x4a9cb9
mov eax, dword [esi + 0xd8]
call fcn.00408144
mov edi, eax
cmp edi, 0
jl 0x4a9cb9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9ca2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9ce8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00439fb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9cc8
inc dword [esi + 0x9c]
jmp 0x4a9da5
cmp dword [esi + 0x9c], 0
jle 0x4a9da5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4a9da5
cmp dword [esi + 0x44], 0
je 0x4a9d50
mov eax, dword [0x4bc24c]
cmp byte [eax + 0xd3], 0
je 0x4a9d50
mov eax, dword [esi + 0xd8]
call fcn.00408144
mov edi, eax
cmp edi, 0
jl 0x4a9d50
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4a9d39
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4a9d7f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00439fb0
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4a9d5f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x49cfd0]
call fcn.00408304
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4aa9e8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4aaa53
cmp byte [ebx + 0xd3], 0
jne 0x4aaa53
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004069fc
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4aaa40
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4aaa60
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
jmp 0x4aaa60
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406c54
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4ac228
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4ac296
mov eax, esi
call fcn.0047501c
test al, al
je 0x4ac296
mov eax, dword [ebx + 0x84]
call fcn.00474c9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4ac296
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4ac28a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00474c9c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046bc84
jmp 0x4ac296
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004ac060
pop esi
pop ebx
ret

Function at 0x4ad420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00406978
xor eax, eax
push ebp
push 0x4ad4d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.00404870
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404870
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x220
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004071d8
push eax
push 0
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x4ad4ae
push 0xffffffffffffffff
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad4dd
lea eax, [ebp - 4]
call fcn.00406894
ret

Function at 0x40896b
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, 0x4085d8
call fcn.00408992
push esi
mov esi, dword [esp]
add esp, 4
and esi, ecx
xor dword [edi], eax
sub ecx, esi
mov ecx, esi
inc edi
cmp edi, ebx
jne fcn.0040896b
push 0x10480491
pop ecx
sub esi, esi
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x100326c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x1050008], 0x8088405
inc edx
mov dword [ebx + 0x1050008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x101c234
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x101c322
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
mov ecx, 0
call fcn.010051d8
lea eax, [ebp - 8]
mov edx, edi
mov ecx, 0
call fcn.010051d8
mov eax, dword [ebp - 8]
test eax, eax
je 0x101c297
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x101c297
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 8]
call fcn.01004748
test eax, eax
je 0x101c2a0
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x101c2c2
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x101c2c2
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.01004748
test eax, eax
je 0x101c2cb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x101c2fc
mov ebx, 1
lea eax, [ebp - 4]
call fcn.01004b0c
lea eax, [eax + ebx - 1]
push eax
mov eax, ebx
dec eax
cdq
idiv dword [ebp - 0x10]
movzx eax, word [edi + edx*2]
mov edx, dword [ebp - 4]
xor al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
inc ebx
dec esi
jne 0x101c2d6
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.010051b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x101c329
lea eax, [ebp - 8]
mov edx, 2
call fcn.0100458c
ret
Function at 0x10035f8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push edi
push 6
pop ecx
xor ebx, ebx
push 2
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x1003629
push 0x1001b54
call fcn.010028f4
pop ecx
jmp 0x1003632
call fcn.010026d2
test eax, eax
jne 0x1003639
xor eax, eax
jmp 0x1003782
mov eax, dword [ebp + 0x10]
cmp byte [eax], bl
je 0x1003654
push 0x104
push eax
push 0x10050a8
call dword [sym.imp.msvcrt.dll__mbsnbcpy]
add esp, 0xc
push esi
push 0xa
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push 0x7f00
mov esi, 0x1001b40
push ebx
mov dword [0x1005020], 3
mov dword [ebp - 0x34], edi
mov dword [0x10050a0], edi
mov dword [ebp - 0x40], 0x1003388
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], 0x65
call dword [sym.imp.USER32.dll_LoadCursorA]
push 0x64
push edi
mov dword [ebp - 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x10036d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001b1c
call fcn.010028f4
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 1
call dword [sym.imp.msvcrt.dll_exit]
push ebx
push dword [0x10050a0]
mov eax, 0x80000000
push ebx
push ebx
push 0x78
push 0xf0
push eax
push eax
push 0x12cf0000
push 0x10016bc
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, ebx
mov dword [0x1005098], eax
je 0x1003765
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push ebx
mov dword [0x100509c], eax
call fcn.01002a8c
cmp byte [0x10050a8], bl
pop ecx
je 0x100373a
push ebx
push 0x9c41
push 0x111
push dword [0x1005098]
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x1003756
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
lea eax, [ebp - 0x1c]
push ebx
push eax
call esi
test eax, eax
jne 0x1003742
jmp 0x1003778
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1001aec
call fcn.010028f4
pop ecx
pop ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x14]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x43b645
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
push 0x6c9a2c4f
mov esi, dword [esp]
add esp, 4
call fcn.0043b697
add ebx, 0xb881c6c3
push 0x353db180
pop esi
xor dword [ecx], eax
add esi, 0x43d73654
and esi, ebx
add ecx, 1
sub ebx, ebx
add esi, 0xdfe9fad5
sub ebx, 1
cmp ecx, edi
jne fcn.0043b645
mov esi, 0xb1444126
ret
Function at 0x403ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x403af9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + section..data]
inc esi
xor eax, edx
dec ecx
jne 0x403ae4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x41d181
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x41d181
lcall 0x5de5, 0x8b10c483
jmp loc.0081ca48
Function at 0x100092b3
Capabilities:
Encode data using xor

Disassembly:
adc bl, ch
pop es
mov dword [eax + 4], 0x10676668
pop esi
pop ebp
ret 8
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0xfe7
cmp dword [ebp - 4], 0x1d69
jle 0x10009341
adc dword [eax + 0x6fc28ddf], ecx
outsd dx, dword [esi]
sbb byte [eax + 0x73], cl
mov dl, 8
xor eax, 0xba839ed0
jb 0x100092fb
inc eax
or byte [ecx], cl
loope 0x100092ce
sub eax, 0xfc1086aa
mov al, byte [edi]
jge 0x1000935a
push esp
cli
add esp, dword [edi + 0x56]
popfd
loope 0x100092a2
retf 0x650f
mov edi, cs
mov ebp, 0x4ec0d354
cmp ah, byte [esi + 0x3e65050e]
inc ebp
les ebp, [esi]
mov ecx, 0x4fad2629
mov ah, 0xd
add dl, byte [eax*8 + 0x777f1c58]
fdivr qword [edx + 0x36]
mov edi, 0xe59f9740
push ss
imul esp, ebp, 0xfffffff9
cmp esp, dword [edi + 0x50b5a220]
out dx, eax
nop
cmc
int 0x7e
sub dh, byte [ebx]
call 0x8b07a80f
cmp al, 0xee
out dx, al
jae 0x1000937d
dec ebp
lcall 0xc45, 0x308458b
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0xee8
cmp dword [ebp - 8], 0x1818
jle 0x1000944e
lock add byte [eax], al
add byte [ebx], ah
inc edx
xchg ebx, eax
and eax, dword [edx - 0x6d]
mov ebx, 0xb3c83dfe
mov dword [edi + 0xe], ecx
div byte [ecx + 0x4c]
xchg al, ah
shr ah, cl
pushal
or byte [eax + 0x3626a2fd], 0xa6
push ss
mov ch, bh
mov byte [0x16a63626], al
jne 0x1000933a
pushfd
pushfd
jge 0x10009373
fcom st(5)
inc edi
mov dh, 0xa8
mov byte fs:[0xafc40951], al
cmp al, 0x2b
inc edx
lds edi, [edi]
out 0xb7, al
sbb eax, 0x1de6a1c
cmp esp, eax
mul dword [ecx]
invalid
mov eax, dword [ebp + 8]
and eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
and eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0xb9b
cmp dword [ebp - 0xc], 0x1399
jle 0x100094d4
inc ebx
adc byte es:[ebp + esi*2 - 0x49203e92], ch
mov edx, 0x37532a34
out 0x7e, eax
mov esi, 0xb86a756a
push edx
dec ebp
xchg byte [0x4f3467a2], cl
mov ebp, 0xe3b83cff
adc bh, cl
loopne 0x1000944e
in al, 0x45
test al, 0xbd
insd dword es:[edi], dx
xor byte [esi - 0x7e], al
js 0x100094ba
cmp cl, byte [eax + 0x3baae4d1]
out 0xe6, eax
pop ebx
and byte [ebp + esi + 0x65], bh
mov al, byte [esi]
invalid
aad 0xbe
mov esp, 0xe0c7a7e9
mov al, byte [0x8dc89866]
lodsb al, byte [esi]
xchg byte [edi + 0x79cd7f8d], dh
push edx
fiadd word [eax + 0x4a]
in al, dx
or al, 0x8b
inc ebp
lock sub eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0x327
cmp dword [ebp - 0x20], 0x14fd
jle 0x10009586
and byte [ebx - 0x33], dl
ret
mov eax, dword [ebp - 0x24]
mov esp, ebp
pop ebp
ret