joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4787b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebx + 0x80]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x84]
cdq
cmp edx, dword [esp + 4]
jne 0x4787e4
cmp eax, dword [esp]
pop edx
pop eax
jae 0x478820
jmp 0x4787e8
pop edx
pop eax
jge 0x478820
mov eax, dword [0x48a438]
mov eax, dword [eax]
mov dword [eax + 0x44], 2
call sub.kernel32.dll_GetTickCount
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00473560
mov eax, dword [ebx + 0xf4]
test eax, eax
je 0x478845
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x478845
cmp dword [ebx + 0x11c], 0
je 0x478845
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0042c7c8
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x12c]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4833c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x483531
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x9c], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x483516
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.00408d48
mov dl, 1
mov eax, dword [0x45b42c]
call fcn.0045b484
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
mov dl, 1
mov eax, dword [0x41307c]
call fcn.00403470
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x98]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.0045b500
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x483513
mov dl, 1
mov eax, dword [0x45c80c]
call fcn.0045c874
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
mov edx, 0x483548
call fcn.0045b9b0
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404558
xor eax, eax
push ebp
push 0x48350c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
xor ecx, ecx
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.0045cb74
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00483550
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483513
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
call fcn.004034a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.004034a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004034a0
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483538
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404270
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x393d4ec8
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x281820a2
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x71609ef
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x431f2d4b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x401250
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 4]
ret

Function at 0x4015c7
Capabilities:
Get disk information

Disassembly:
push 2
push 0x408900
call fcn.00405588

Function at 0x4015d3
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
lea eax, [ebp - 8]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
lea eax, [ebp - 0x28]
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x20
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x401635
push 7
lea eax, [ebp - 0x28]
push str.PKBACK
push eax
call fcn.00401193
add esp, 0xc
test eax, eax
jne 0x401635
mov al, byte [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmp al, bl
je 0x401631
cmp al, 0x2e
je 0x401631
cmp al, 0x20
je 0x401631
mov al, byte [ecx + 1]
inc ecx
jmp 0x40161f
cmp byte [ecx], bl
jne 0x40163e
or ax, 0xffff
pop ebx
leave
ret 4
mov al, byte [ecx]
cmp al, 0x30
jb 0x401648
cmp al, 0x39
jbe 0x40164b
inc ecx
jmp 0x40163e
xor eax, eax
mov dl, byte [ecx]
cmp dl, bl
je 0x401639
movzx edx, dl
lea eax, [eax + eax*4]
shl eax, 1
sub edx, 0x30
js 0x401639
cmp edx, 9
jg 0x401639
add eax, edx
inc ecx
jmp 0x40164d

Function at 0x4017b9
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
push 8
xor eax, eax
shl ecx, 1
pop esi
sar ecx, 1
mov edx, eax
xor edx, ecx
test dl, 1
je 0x4017d9
shr eax, 1
xor eax, 0xedb88320
jmp 0x4017db
shr eax, 1
dec esi
jne 0x4017c5
pop esi
ret 4

Function at 0x401802
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [0x408520]
mov edx, ecx
dec ecx
test edx, edx
je 0x401835
push esi
lea edx, [ecx + 1]
mov ecx, dword [esp + 8]
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x408120]
xor eax, esi
inc ecx
dec edx
jne 0x40181b
pop edi
pop esi
mov dword [0x408520], eax
ret
Function at 0x401fee
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x5c8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [ebp + 0xc]
cmp byte [esi], 0
je 0x402031
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x5c8]
push 0x407a48
push eax
call edi
lea eax, [ebp - 0x5c8]
push esi
push eax
call edi
mov edi, dword [ebp + 0x10]
cmp edi, 0xffffffff
jne 0x40204d
lea eax, [ebp - 0x5c8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x4020f3
lea eax, [ebp - 0x2e4]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x1f
jne 0x40207f
push ebx
push 0x2e
call fcn.004011fa
push eax
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
jmp 0x4020d9
cmp eax, 0x20
jbe 0x4020bd
mov al, byte [esi]
push 1
neg al
sbb eax, eax
push 0
and eax, esi
push eax
mov eax, dword [0x4079a4]
and eax, 0x20000
push ebx
neg eax
sbb eax, eax
and eax, str.Install
push eax
push dword [0x408940]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
test edi, edi
je 0x4020b8
mov dword [edi], eax
cmp eax, 0x20
ja 0x4020f3
push ebx
push eax
push 0xe
call fcn.004011fa
push eax
lea eax, [ebp - 0x2e4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
lea eax, [ebp - 0x2e4]
push str.WinZip_Self_Extractor
push eax
push dword [0x408940]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4020f8
Capabilities:
Log keystrokes via polling
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x402134
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x105
push eax
lea eax, [ebp - 0x10c]
push eax
push str.winzip_shellopencommand
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x402153
push 0
push str.WinZip_Self_Extractor
push 0x1b
call fcn.004011fa
push eax
push dword [0x408940]
call dword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
leave
ret
mov cl, byte [ebp - 0x10c]
lea eax, [ebp - 0x10c]
test cl, cl
je 0x40216e
cmp cl, 0x20
je 0x40216e
mov cl, byte [eax + 1]
inc eax
jmp 0x40215f
push 0x4086c0
inc eax
push str.__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x4079a4]
mov ecx, 0x1000
mov edx, eax
add esp, 0xc
and edx, ecx
cmp edx, ecx
jne 0x4021c3
mov ecx, 0x8000
and eax, ecx
cmp eax, ecx
je 0x4021c3
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x10c]
sub ecx, 4
add eax, ecx
mov byte [eax], 0x7a
inc eax
mov byte [eax], 0x69
mov byte [eax + 1], 0x70
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push 0x4080cc
push eax
call fcn.00401fee
add esp, 0xc
neg eax
sbb eax, eax
neg eax
leave
ret

Function at 0x402463
Capabilities:
Query environment variable

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
ret
Function at 0x403930
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov bl, 0x22
cmp byte [eax], bl
je 0x403940
add bl, 0xfe
mov cl, byte [eax + 1]
inc eax
xor edx, edx
cmp cl, dl
je 0x403954
cmp cl, bl
je 0x403954
mov cl, byte [eax + 1]
inc eax
jmp 0x403946
cmp byte [eax], dl
pop ebx
je 0x40395a
inc eax
push edx
push eax
push edx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403ad0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x40868e]
test eax, eax
jg 0x403ae3
and dword [0x408654], 0
xor eax, eax
ret
push esi
mov esi, 0x800
cmp eax, esi
push edi
ja 0x403af0
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll__lread]
push esi
push dword [0x408650]
push dword [0x408070]
call edi
cmp dword [0x408080], 0
mov ecx, eax
mov dword [0x408654], ecx
je 0x403b5f
cmp ecx, 0xffffffff
je 0x403b5f
cmp ecx, esi
je 0x403b70
test ecx, ecx
jl 0x403b5f
mov ax, word [0x407942]
push dword [0x408084]
inc ax
push eax
call fcn.00401428
mov ecx, dword [0x408654]
test ecx, ecx
jne 0x403b58
push esi
push dword [0x408650]
push dword [0x408070]
call edi
mov ecx, eax
mov dword [0x408654], ecx
cmp ecx, 0xffffffff
je 0x403b5f
mov esi, ecx
cmp ecx, esi
je 0x403b70
push 2
call fcn.00401eab
mov ecx, dword [0x408654]
sub dword [0x40868e], ecx
mov esi, dword [0x408650]
cmp dword [0x408074], 0
mov dword [0x40869c], esi
je 0x403bb2
mov eax, ecx
mov edx, eax
dec eax
test edx, edx
je 0x403bb2
lea edi, [eax + 1]
call fcn.00405418
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040542e
inc esi
dec edi
pop ecx
jne 0x403b97
mov ecx, dword [0x408654]
mov eax, ecx
dec ecx
pop edi
mov dword [0x408654], ecx
pop esi
ret

Function at 0x40542e
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [0x4080e0]
mov edx, 0xff
mov eax, ecx
push esi
xor eax, dword [esp + 8]
shr ecx, 8
and eax, edx
mov eax, dword [eax*4 + 0x408120]
xor eax, ecx
mov ecx, dword [0x4080e8]
mov dword [0x4080e0], eax
and eax, edx
add eax, dword [0x4080e4]
mov esi, ecx
and esi, edx
imul eax, eax, 0x8088405
inc eax
mov dword [0x4080e4], eax
shr eax, 0x18
xor eax, esi
pop esi
shr ecx, 8
mov eax, dword [eax*4 + 0x408120]
xor eax, ecx
mov dword [0x4080e8], eax
ret

Function at 0x405515
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
push dword [0x40807c]
call fcn.00405489
push 0xc
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0040116b
add esp, 0x10
xor edi, edi
lea esi, [ebp + edi - 0xc]
call fcn.00405418
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040542e
inc edi
pop ecx
cmp edi, 0xc
jl 0x40553b
cmp dword [0x408078], 0
pop edi
movzx ax, byte [ebp - 1]
pop esi
je 0x405570
xor ecx, ecx
mov cl, byte [0x408687]
jmp 0x405579
mov ecx, dword [0x40868a]
shr ecx, 0x18
cmp ax, cx
je 0x405583
or eax, 0xffffffff
leave
ret
xor eax, eax
leave
ret
Function at 0x4018ed
Capabilities:
Encode data using base64 via winapi
Get common file path
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x4d4, 0
lea eax, [ebp - 0x2cc]
push eax
push 2
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x104
lea eax, [ebp - 0x4d4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassA]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x401c44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
mov edx, dword [0x403050]
or dl, 1
imul edx, eax
mov edi, dword [0x403050]
mov ebx, eax
sub edi, edx
mov eax, 0x403054
mov edx, edi
call fcn.00401b81
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x402d2c
push edx
sub edi, fcn.004024f7
push edi
xor eax, eax
push fcn.004024f7
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x401cbc
mov eax, fcn.004024f7
mov ebx, esi
mov edx, edi
call fcn.00401b81
mov edx, 0x1be00
mov eax, 0x403054
mov ebx, esi
call fcn.00401343
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x1002bbb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x1019bfd8]
xor edx, edx
cmp eax, edx
jne 0x1002bbd6
xor eax, eax
mov byte [eax + 0x1019bed8], al
inc eax
cmp eax, 0x100
jl 0x1002bbbe
mov dword [0x1019bfd8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x1019bed8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1002bc67
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x1002bc3a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x1002bc08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1002bc70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x1002bcc3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x1002bcaa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10032d10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x10032ea8
cmp ebp, ebx
jle 0x10032ea8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x10032d6e
dec eax
or eax, 0xfffffff8
inc eax
je 0x10032d75
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x10032d84
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x10032d8b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.100d1ee9
add esp, 4
cmp eax, ebx
je 0x10032dac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.100d1ee9
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x10032e9e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x10032e85
mov al, byte [edx]
cmp al, 0xc0
jbe 0x10032e71
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x10032e66
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x10032e74
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x10032e74
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x10032e10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x10032e01
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x10041080
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100dfe58
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x100410b9
inc eax
mov dword [esi + 0x10], eax
jmp 0x100411cc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x100410cd
mov eax, 0xffffffc7
jmp 0x100411ce
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x100410de
cmp dword [esi + 8], eax
jne 0x100410cd
cmp dword [esi + 8], eax
jne 0x100410f7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x100410f7
mov eax, 0xffffffc7
jmp 0x100411ce
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1004110b
push eax
mov ecx, ebx
call fcn.100408b0
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1000da20
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x1004113c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1000da40
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.10040020
test eax, eax
mov dword [esp + 0x38], eax
je 0x1004116f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101545d0
call fcn.1000dc20
mov eax, dword [esp + 0x38]
jmp 0x100411ce
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10040ee0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x100411b3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10040f00
mov esi, eax
test esi, esi
jne 0x100411e3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10040ee0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10041185
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101545d0
call fcn.1000dc20
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x101545d0
call fcn.1000dc20
mov eax, esi
jmp 0x100411ce
Function at 0x10054a00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x10054a0b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x10054b0e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x101562a0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101562a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101562a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101562a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101562a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x101562a0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x101562a0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x101562a0]
xor eax, edx
inc ecx
dec edi
jne 0x10054a26
pop edi
test esi, esi
je 0x10054b30
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x101562a0]
xor eax, edx
inc ecx
dec esi
jne 0x10054b12
pop esi
pop ebx
not eax
ret