joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453b37
add esp, 0xfffffff0
call fcn.004036d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421e28
mov eax, dword [0x4862a0]
cmp word [eax + 2], 0
jne 0x453b5f
mov eax, dword [0x4862a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455074
mov eax, dword [0x486398]
cmp word [eax + 2], 0
jne 0x453b79
mov eax, dword [0x486398]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045526c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419428]
call fcn.00403394
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419428]
call fcn.00403394
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x423ffc]
call fcn.00429c44
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453d00
mov eax, dword [0x486130]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a014
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45580c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x486130]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d28c
test eax, eax
je 0x453c6e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408e6c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d2b4
test eax, eax
je 0x453c82
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040436c
mov eax, dword [0x485f9c]
cmp byte [eax], 0
jne 0x453cb6
mov eax, ebx
call fcn.00453e28
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004559e8
mov eax, ebx
call fcn.004563ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453cf6
call fcn.00403728
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4540a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x487bb4]
cmp dword [eax + 0x30], 0
je 0x454152
cmp dword [ebx + 0x94], 0
jne 0x45414c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454038
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45414c
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_GetWindowLongA
test al, 8
je 0x454112
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45414c
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.0041b9d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454121
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454cb4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454ce9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004041ec
jmp 0x454cf6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404150
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455bc4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455c05
mov eax, esi
call fcn.0043c714
test al, al
je 0x455c05
mov eax, dword [ebx + 0x84]
call fcn.0043c4b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455c05
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c4b4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x476fcb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x485dc2
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x477023
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x485de3
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x477019
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x477027
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x406193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jbe 0x4061c0
test cl, 7
je 0x4061c0
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x42d2a0]
dec esi
inc ecx
jmp 0x4061a1
cmp esi, 8
jb 0x406263
mov edx, esi
shr edx, 3
mov dword [ebp + 8], edx
push ebx
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx edi, bl
mov edi, dword [edi*4 + 0x42d6a0]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x42d2a0]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x42daa0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x42e2a0]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edi, dword [ebx*4 + 0x42e6a0]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edi, dword [ebx*4 + 0x42eaa0]
movzx edx, dl
xor edi, dword [edx*4 + 0x42dea0]
movzx eax, al
xor edi, dword [eax*4 + 0x42eea0]
sub esi, 8
add ecx, 8
dec dword [ebp + 8]
mov eax, edi
jne 0x4061d2
pop ebx
jmp 0x406263
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x42d2a0]
dec esi
inc ecx
test esi, esi
ja 0x40624f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40658a
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d0
push ebx
push esi
mov esi, dword [ebp + 0xc]
push 0x40
pop ebx
cmp esi, ebx
jbe 0x4065d4
lea eax, [ebp - 0x1d0]
push eax
call fcn.00411088
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1d0]
push eax
call fcn.0041138a
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1d0]
push eax
call fcn.00411403
lea eax, [ebp - 0x80]
push 0x20
mov dword [ebp + 8], eax
pop esi
xor ecx, ecx
push edi
test esi, esi
jbe 0x4065f4
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x36
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x4065e3
cmp esi, ebx
jae 0x40660c
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x36
push eax
call fcn.0041acc0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
call fcn.00411088
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0041138a
push dword [ebp + 0x14]
lea eax, [ebp - 0xf0]
push dword [ebp + 0x10]
push eax
call fcn.0041138a
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.00411403
lea eax, [ebp - 0x160]
push eax
call fcn.00411088
xor ecx, ecx
test esi, esi
jbe 0x406676
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x40]
sub edi, eax
lea eax, [ebp + ecx - 0x40]
mov dl, byte [edi + eax]
xor dl, 0x5c
inc ecx
mov byte [eax], dl
cmp ecx, esi
jb 0x406665
pop edi
cmp esi, ebx
jae 0x40668f
mov ecx, ebx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x40]
push 0x5c
push eax
call fcn.0041acc0
add esp, 0xc
push ebx
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.0041138a
push 0x20
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x160]
push eax
call fcn.0041138a
push dword [ebp + 0x18]
lea eax, [ebp - 0x160]
push eax
call fcn.00411403
pop esi
pop ebx
leave
ret 0x14
Function at 0x4066c7
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x58]
sub esp, 0xbc
push esi
mov esi, dword [ebp + 0x6c]
push edi
push 0x40
pop eax
cmp esi, eax
jae 0x4066e0
mov eax, esi
push eax
push dword [ebp + 0x68]
lea eax, [ebp - 0x44]
push eax
call fcn.0041c700
add esp, 0xc
lea eax, [ebp + 0x20]
push eax
mov byte [ebp + esi - 0x44], 0
mov byte [ebp + esi - 0x43], 0
mov byte [ebp + esi - 0x42], 0
mov byte [ebp + esi - 0x41], 1
add esi, 4
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040658a
push 0x20
pop esi
push esi
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp]
push eax
call fcn.0041c700
mov eax, dword [ebp + 0x7c]
add esp, 0xc
dec eax
mov dword [ebp + 0x4c], eax
push 0x10
pop eax
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
mov dword [ebp + 0x48], eax
xor edi, edi
mov eax, dword [ebp + edi + 0x4c]
test eax, eax
jbe 0x406797
mov dword [ebp + 0x6c], eax
lea eax, [ebp - 0x64]
push eax
push esi
lea eax, [ebp + 0x20]
push eax
push dword [ebp + 0x64]
push dword [ebp + 0x60]
call fcn.0040658a
push esi
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.0041c700
add esp, 0xc
xor eax, eax
mov cl, byte [ebp + eax + 0x20]
xor byte [ebp + eax], cl
inc eax
cmp eax, esi
jb 0x406785
dec dword [ebp + 0x6c]
jne 0x40675e
push esi
lea eax, [ebp]
push eax
push dword [ebp + edi + 0x40]
call fcn.0041c700
add edi, 4
add esp, 0xc
cmp edi, 0xc
jb 0x406753
push 0x44
lea eax, [ebp - 0x44]
push eax
call fcn.0040d8b3
push esi
lea eax, [ebp]
push eax
call fcn.0040d8b3
push esi
lea eax, [ebp + 0x20]
push eax
call fcn.0040d8b3
push esi
lea eax, [ebp - 0x64]
push eax
call fcn.0040d8b3
pop edi
pop esi
add ebp, 0x58
leave
ret 0x20
Function at 0x4067e2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
push ebx
push edi
mov edi, dword [ebp + 0x1c]
mov ebx, ecx
mov dword [ebp - 4], ebx
cmp edi, 0x18
ja 0x40698b
and dword [ebp + 0x1c], 0
push esi
lea esi, [ebx + 0x102]
cmp dword [esi + 0x12], edi
jne 0x406832
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.0040d982
test al, al
je 0x406832
push 0x10
push dword [ebp + 0x14]
push esi
call fcn.0041b074
add esp, 0xc
test eax, eax
je 0x406991
inc dword [ebp + 0x1c]
add ebx, 0x178
cmp dword [ebp + 0x1c], 4
jb 0x406803
mov esi, 0x200
push esi
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 0x10]
call fcn.00412028
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
push 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0x264]
push eax
call fcn.0041aed0
pop ecx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.004066c7
push esi
lea eax, [ebp - 0x264]
push eax
call fcn.0040d8b3
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
lea eax, [edx + 0x5e0]
mov ecx, dword [eax]
mov ebx, ecx
and ebx, 3
imul ebx, ebx, 0x178
add ebx, edx
inc ecx
mov dword [eax], ecx
push 0x40
mov dword [ebx + 0x114], edi
pop ecx
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push 0x10
push dword [ebp + 0x14]
lea eax, [ebx + 0x102]
push eax
movsw word es:[edi], word [esi]
call fcn.0041c700
push 0x20
pop esi
push esi
lea eax, [ebp - 0x24]
push eax
lea edi, [ebx + 0x118]
push edi
call fcn.0041c700
push esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebx + 0x138]
push eax
call fcn.0041c700
push esi
lea eax, [ebp - 0x64]
push eax
add ebx, 0x158
push ebx
call fcn.0041c700
add esp, 0x30
push 1
push esi
push edi
call fcn.0040d80d
xor ebx, ebx
cmp dword [ebp + 0x20], ebx
je 0x40692d
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x20]
call fcn.0041c700
add esp, 0xc
mov edi, dword [ebp + 0x24]
cmp edi, ebx
je 0x40695e
push 8
push ebx
push edi
call fcn.0041acc0
add esp, 0xc
xor ecx, ecx
mov dl, byte [ebp + ecx - 0x44]
mov eax, ecx
and eax, 7
add eax, edi
xor byte [eax], dl
inc ecx
cmp ecx, esi
jb 0x406942
push esi
lea eax, [ebp - 0x44]
push eax
call fcn.0040d8b3
cmp dword [ebp + 0x18], ebx
je 0x406980
push dword [ebp + 0x18]
mov ecx, dword [ebp - 4]
push 0x100
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
add ecx, 0x5e8
call fcn.0040d660
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.0040d8b3
pop esi
pop edi
pop ebx
leave
ret 0x20
push 0
push 0x20
pop esi
push esi
lea edi, [ebx + 0x118]
push edi
call fcn.0040d80d
push esi
lea eax, [ebp - 0x24]
push edi
push eax
call fcn.0041c700
add esp, 0xc
push 1
push esi
push edi
call fcn.0040d80d
push esi
lea eax, [ebx + 0x138]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0041c700
push esi
add ebx, 0x158
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.0041c700
add esp, 0x18
jmp 0x406916
Function at 0x406a5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 2
jne 0x406ab0
lea eax, [ebp + 8]
push eax
push dword [esi + 4]
call fcn.00405497
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp + 8]
push eax
push 0x20
push dword [ebp + 0xc]
call fcn.0040658a
xor edx, edx
mov dword [esi + 4], edx
xor eax, eax
push ebx
movzx ebx, byte [ebp + eax - 0x20]
mov ecx, eax
and ecx, 3
shl ecx, 3
shl ebx, cl
xor edx, ebx
inc eax
cmp eax, 0x20
jb 0x406a95
mov dword [esi + 4], edx
pop ebx
cmp dword [esi], 3
jne 0x406ad8
lea eax, [ebp - 0x20]
push eax
push 0x20
add esi, 4
push esi
push 0x20
push dword [ebp + 0xc]
call fcn.0040658a
push 0x20
lea eax, [ebp - 0x20]
push eax
push esi
call fcn.0041c700
add esp, 0xc
pop esi
leave
ret 8

Function at 0x40b800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
and dword [edi + 4], 0
and dword [edi], 0
mov eax, 0x8000
cmp dword [ebp + 0xc], eax
jae 0x40b81c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push esi
push dword [edi + 0xc]
call fcn.0041c700
xor eax, eax
inc eax
add esp, 0xc
xor bl, bl
cmp dword [ebp + 0xc], eax
jbe 0x40b83f
xor bl, byte [eax + esi]
inc eax
cmp eax, dword [ebp + 0xc]
jb 0x40b836
push 8
mov ecx, edi
call fcn.0040a34f
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
and dword [esi + 0x14], 0
cmp bl, byte [eax]
jne 0x40b89d
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0040b6f5
mov edi, eax
test edi, edi
je 0x40b89d
push 1
mov ecx, esi
call fcn.0040b786
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
imul eax, eax, 0x28
add eax, dword [esi]
mov dword [esi + 0x14], ecx
lea ecx, [eax + 0xc]
mov dword [ecx], edi
mov dword [eax + 0x14], ecx
lea ecx, [eax + 0x1c]
push 3
mov dword [eax + 0x24], ecx
pop ecx
mov dword [eax], 0x28
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
jmp 0x40b8fd
push 1
mov ecx, esi
call fcn.0040b786
mov eax, dword [esi + 0x14]
lea ecx, [eax + 1]
imul eax, eax, 0x28
add eax, dword [esi]
mov dword [esi + 0x14], ecx
lea ecx, [eax + 0xc]
mov dword [eax + 0x14], ecx
lea ecx, [eax + 0x1c]
mov dword [eax + 0x24], ecx
push 3
pop ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 8], ecx
xor edx, edx
mov dword [eax], 0x16
xor ecx, ecx
cmp dword [esi + 0x14], edx
jle 0x40b8fd
xor edi, edi
mov eax, dword [esi]
add eax, edi
cmp dword [eax + 0x14], edx
jne 0x40b8e9
lea ebx, [eax + 0xc]
mov dword [eax + 0x14], ebx
cmp dword [eax + 0x24], edx
jne 0x40b8f4
lea ebx, [eax + 0x1c]
mov dword [eax + 0x24], ebx
inc ecx
add edi, 0x28
cmp ecx, dword [esi + 0x14]
jl 0x40b8da
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40ce5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x20
push dword [ebp + 8]
mov edi, ecx
mov ebx, dword [edi]
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], edi
sub ebx, 6
call fcn.0041c700
xor eax, eax
add esp, 0xc
xor edx, edx
cmp ebx, eax
mov dword [ebp + 8], eax
jle 0x40cecd
cmp edx, dword [edi]
jg 0x40d018
cmp eax, ebx
jge 0x40cebe
lea ecx, [ebp + eax*4 - 0x38]
mov esi, dword [ebp + 8]
cmp esi, 4
jge 0x40cebe
lea esi, [esi + edx*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, ecx
inc eax
add ecx, 4
inc dword [ebp + 8]
cmp eax, ebx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
jl 0x40ce9e
cmp dword [ebp + 8], 4
jne 0x40cec9
inc edx
and dword [ebp + 8], 0
cmp eax, ebx
jl 0x40ce8e
cmp edx, dword [edi]
jg 0x40d018
mov eax, ebx
shl eax, 2
lea ecx, [ebp + eax - 0x3b]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + eax - 0x3a]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + eax - 0x39]
lea eax, [ebp + eax - 0x3c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0x434798
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
mov al, byte [ebp - 0x38]
xor al, byte [ecx + 0x4348b8]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 0x38], al
movzx ecx, byte [ecx]
mov cl, byte [ecx + 0x4348b8]
xor byte [ebp - 0x37], cl
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx]
mov cl, byte [ecx + 0x4348b8]
xor byte [ebp - 0x36], cl
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx]
mov cl, byte [ecx + 0x4348b8]
xor byte [ebp - 0x35], cl
mov ecx, dword [ebp - 8]
xor al, byte [ecx]
inc dword [ebp - 8]
mov byte [ebp - 0x38], al
cmp ebx, 8
je 0x40cf6e
cmp ebx, 1
jle 0x40cfcf
lea ecx, [ebp - 0x34]
lea edi, [ebx - 1]
xor esi, esi
mov al, byte [ecx + esi - 4]
xor byte [ecx + esi], al
inc esi
cmp esi, 4
jl 0x40cf59
add ecx, 4
dec edi
jne 0x40cf57
jmp 0x40cfcc
push 3
lea ecx, [ebp - 0x34]
pop edi
push 4
pop esi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
dec esi
jne 0x40cf77
dec edi
jne 0x40cf74
movzx eax, byte [ebp - 0x2c]
mov al, byte [eax + 0x4348b8]
xor byte [ebp - 0x28], al
movzx eax, byte [ebp - 0x2b]
mov al, byte [eax + 0x4348b8]
xor byte [ebp - 0x27], al
movzx eax, byte [ebp - 0x2a]
mov al, byte [eax + 0x4348b8]
xor byte [ebp - 0x26], al
movzx eax, byte [ebp - 0x29]
mov al, byte [eax + 0x4348b8]
xor byte [ebp - 0x25], al
push 3
lea ecx, [ebp - 0x24]
pop edi
push 4
pop esi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
dec esi
jne 0x40cfc0
dec edi
jne 0x40cfbd
mov edi, dword [ebp - 4]
xor ecx, ecx
test ebx, ebx
jle 0x40d010
cmp edx, dword [edi]
jg 0x40d018
cmp ecx, ebx
jge 0x40d001
lea eax, [ebp + ecx*4 - 0x38]
mov esi, dword [ebp + 8]
cmp esi, 4
jge 0x40d001
lea esi, [esi + edx*4]
lea edi, [edi + esi*4 + 0x14]
mov esi, eax
inc ecx
add eax, 4
inc dword [ebp + 8]
cmp ecx, ebx
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 4]
jl 0x40cfe1
cmp dword [ebp + 8], 4
jne 0x40d00c
inc edx
and dword [ebp + 8], 0
cmp ecx, ebx
jl 0x40cfd5
cmp edx, dword [edi]
jle 0x40cefd
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40d01f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
xor eax, eax
push edi
inc eax
mov edi, ecx
cmp dword [edi], eax
mov dword [ebp - 8], eax
jle 0x40d0ac
lea eax, [edi + 0x24]
push ebx
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov ecx, dword [ebp - 4]
lea esi, [ebp + eax - 0x1c]
add ecx, 2
mov dword [ebp - 0xc], 4
movzx edx, byte [ecx + 1]
movzx ebx, byte [ecx - 1]
mov dl, byte [eax + edx*4 + 0x431798]
xor dl, byte [eax + ebx*4 + 0x431f98]
movzx ebx, byte [ecx - 2]
xor dl, byte [eax + ebx*4 + 0x432398]
movzx ebx, byte [ecx]
xor dl, byte [eax + ebx*4 + 0x431b98]
add ecx, 4
mov byte [esi], dl
add esi, 4
dec dword [ebp - 0xc]
jne 0x40d04d
inc eax
cmp eax, 4
jl 0x40d03c
push 0x10
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call fcn.0041c700
add dword [ebp - 4], 0x10
add esp, 0xc
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [edi]
jl 0x40d03a
pop esi
pop ebx
pop edi
leave
ret
Function at 0x40d80d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
cmp dword [0x4349c0], ebx
jne 0x40d826
mov ecx, 0x4349b8
call fcn.0040d7ce
mov esi, dword [ebp + 0xc]
mov ecx, esi
and ecx, 0xf
mov eax, esi
sub eax, ecx
cmp byte [ebp + 0x10], bl
je 0x40d870
mov ecx, dword [0x4349c0]
cmp ecx, ebx
je 0x40d88c
push ebx
push eax
push dword [ebp + 8]
call ecx
test eax, eax
jne 0x40d8ad
push 0x4277d8
mov esi, 0x42f76c
push esi
call fcn.00407009
pop ecx
pop ecx
mov ecx, esi
call fcn.00401c00
push 2
mov ecx, esi
call fcn.004070c5
jmp 0x40d8ad
mov ecx, dword [0x4349c4]
cmp ecx, ebx
je 0x40d88c
push ebx
push eax
push dword [ebp + 8]
call ecx
test eax, eax
jne 0x40d8ad
push 0x4277a0
jmp 0x40d851
call dword [0x427090]
xor ecx, ecx
cmp esi, ebx
jbe 0x40d8ad
mov dl, al
add dl, 0x4b
mov eax, dword [ebp + 8]
add eax, ecx
mov bl, dl
add bl, cl
xor byte [eax], bl
inc ecx
cmp ecx, esi
jb 0x40d89d
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x410eb2
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x411088
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4
Function at 0x417ec7
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x425fc0
call fcn.0041a948
push ecx
push ebx
push esi
mov esi, ecx
push 1
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
call fcn.0040a2b5
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
lea ecx, [esi + 0x4b38]
call fcn.00412952
lea ecx, [esi + 0x98d0]
call fcn.00413343
lea ecx, [esi + 0xe678]
mov byte [ebp - 4], 5
call fcn.0040b5d7
push 1
lea ecx, [esi + 0xe6b0]
mov byte [ebp - 4], 6
call fcn.0040a2b5
lea eax, [esi + 0xe6c0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6d0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea eax, [esi + 0xe6e0]
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xa
mov dword [esi], eax
mov dword [esi + 0x4b34], ebx
mov byte [esi + 0x4c38], bl
mov byte [esi + 0x4c48], bl
mov byte [esi + 0x4c49], bl
mov byte [esi + 0x4c4a], bl
mov dword [esi + 0x1c], 1
call fcn.00411c41
push ebx
mov ecx, esi
mov dword [esi + 0x14], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xe6f4], ebx
mov dword [esi + 0xe6f8], ebx
call fcn.00416017
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4