joyce8/EMBER2024-capa huggingface dataset:
Function at 0x462620
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404d30
xor eax, eax
push ebp
push 0x46274e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x462721
xor eax, eax
push ebp
push 0x46271a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b40
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4626ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4626de
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404b40
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404d40
mov edx, ebx
pop ecx
call fcn.00402a78
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4626e5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4aef84]
mov dl, 1
mov eax, dword [0x4080a4]
call fcn.0040d2d4
call fcn.004042ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462755
lea eax, [ebp - 4]
call fcn.00404870
ret
Function at 0x46275c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46290d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404f30
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x462924
call fcn.00404b8c
mov eax, ebx
call fcn.00421fa4
mov edi, eax
dec edi
test edi, edi
jl 0x462814
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00421f78
mov edx, dword [0x439c58]
call fcn.00403cac
test al, al
je 0x462810
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00421f78
lea edx, [ebp - 0x14]
call fcn.0044101c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404f30
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c00
inc esi
dec edi
jne 0x4627c2
mov al, byte [0x462928]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x462934
mov eax, dword [ebp - 0xc]
call fcn.0040e9d4
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404908
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044101c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x462924
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0044101c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x462924
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x462924
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x462940
call fcn.0040a268
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462914
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404894
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404894
lea eax, [ebp - 0x14]
call fcn.00404870
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404894
ret
Function at 0x467060
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4670c4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404af0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00467048
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4670cb
lea eax, [ebp - 0xc]
call fcn.00404870
ret

Function at 0x4694d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor edi, edi
push ebp
push 0x46959a
push dword fs:[edi]
mov dword fs:[edi], esp
mov byte [ebp - 9], 0
cmp byte [0x4ad054], 0
jne 0x46950c
pop dword fs:[0]
add esp, 8
jmp 0x4695f6
xor esi, esi
xor edx, edx
sub ecx, 1
jae 0x46951a
call fcn.00403a60
test ecx, ecx
jb 0x46958c
inc ecx
mov dword [ebp - 0x10], ecx
xor eax, eax
add esi, 1
jae 0x46952e
call fcn.00403a60
and esi, 0xff
xor ecx, ecx
mov cl, byte [esi + 0x4b0c6c]
add edx, ecx
jae 0x469545
call fcn.00403a60
and edx, 0xff
mov bl, byte [edx + 0x4b0c6c]
mov byte [esi + 0x4b0c6c], bl
mov byte [edx + 0x4b0c6c], cl
xor ebx, ebx
mov bl, byte [esi + 0x4b0c6c]
add ecx, ebx
jae 0x46956e
call fcn.00403a60
and ecx, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + eax]
xor bl, byte [ecx + 0x4b0c6c]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], bl
inc eax
dec dword [ebp - 0x10]
jne 0x469524
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4695f6
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46bf07
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
pop ebp
ret

Function at 0x46c0f8
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x46c117
add edx, 3
sar edx, 2
test edx, edx
jle 0x46c224
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
xor ecx, ecx
mov cl, byte [edi + esi]
cmp ecx, 0x3d
jg 0x46c14d
je 0x46c18d
sub ecx, 0x2b
je 0x46c183
sub ecx, 4
je 0x46c188
dec ecx
sub ecx, 0xa
jb 0x46c176
jmp 0x46c190
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x46c15f
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x46c169
jmp 0x46c190
mov cl, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x46c190
mov cl, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x46c190
mov cl, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x46c190
mov byte [eax], 0x3e
jmp 0x46c190
mov byte [eax], 0x3f
jmp 0x46c190
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x46c12f
mov al, byte [esp + 4]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
mov dl, byte [esp + 6]
cmp dl, 0xff
je 0x46c1e1
cmp byte [esp + 7], 0xff
jne 0x46c1e1
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x46c219
cmp dl, 0xff
je 0x46c219
mov al, byte [esp + 5]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x46c126
add esp, 0x10
pop ebp
pop edi
pop esi
ret
Function at 0x46cc26
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x3c
mov dword [ebp - 4], eax
mov esi, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
cmp esi, dword [edx]
jbe 0x46cc8b
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
add dword [eax + 0x38], edx
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
mov dword [ecx], ebx
xor eax, eax
jmp 0x46cdaf
cmp ebx, edi
jne 0x46cc99
mov eax, 0x1001
jmp 0x46cdaf
mov edx, esi
sub edx, dword [ebp - 8]
push edx
push edi
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov ecx, esi
sub ecx, dword [ebp - 8]
add edi, ecx
mov eax, esi
sub eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0x28]
mov dword [ebx], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0x2c]
mov dword [ebx + 4], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x20]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0x30]
mov dword [ebx + 8], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x24]
mov eax, dword [ebp + 8]
xor ecx, dword [eax + 0x34]
mov dword [ebx + 0xc], ecx
push ebx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
add ebx, esi
cmp esi, dword [ebp + 0x10]
ja 0x46cd58
mov edx, ebx
sub edx, esi
mov ecx, dword [edx]
xor ecx, dword [edi]
mov dword [ebx], ecx
mov eax, ebx
sub eax, esi
mov edx, dword [eax + 4]
xor edx, dword [edi + 4]
mov dword [ebx + 4], edx
mov ecx, ebx
sub ecx, esi
mov eax, dword [ecx + 8]
xor eax, dword [edi + 8]
mov dword [ebx + 8], eax
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 0xc]
xor ecx, dword [edi + 0xc]
mov dword [ebx + 0xc], ecx
push ebx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
add edi, esi
add ebx, esi
sub dword [ebp + 0x10], esi
cmp esi, dword [ebp + 0x10]
jbe 0x46cd0f
mov eax, ebx
sub eax, esi
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov edx, ebx
sub edx, esi
mov ecx, dword [edx + 8]
mov eax, dword [ebp + 8]
mov dword [eax + 0x20], ecx
sub ebx, esi
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], edx
push dword [ebp + 0x10]
push edi
mov eax, dword [ebp + 8]
add eax, 0x28
push eax
call fcn.0046c2c8
add esp, 0xc
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x46cdb6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x46ce19
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [edx], eax
xor eax, eax
jmp 0x46cefb
cmp esi, edi
jne 0x46ce27
mov eax, 0x1001
jmp 0x46cefb
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add edi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jb 0x46ced3
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov ecx, dword [edi]
xor ecx, dword [ebx + 0x18]
mov dword [esi], ecx
mov eax, dword [edi + 4]
xor eax, dword [ebx + 0x1c]
mov dword [esi + 4], eax
mov edx, dword [edi + 8]
xor edx, dword [ebx + 0x20]
mov dword [esi + 8], edx
mov ecx, dword [edi + 0xc]
xor ecx, dword [ebx + 0x24]
mov dword [esi + 0xc], ecx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub dword [ebp + 0x10], eax
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jae 0x46ce8e
push dword [ebp + 0x10]
push edi
lea ecx, [ebx + 0x28]
push ecx
call fcn.0046c2c8
add esp, 0xc
mov eax, dword [ebx + 0x38]
and eax, 0xf0000000
add eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
sub dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46cf02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp + 0x18]
mov ecx, dword [edx]
cmp ecx, dword [ebp - 8]
jae 0x46cf65
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov eax, dword [ebp + 0x10]
add dword [ebx + 0x38], eax
mov edx, dword [ebp + 0x18]
xor eax, eax
mov dword [edx], eax
xor eax, eax
jmp 0x46d060
cmp esi, edi
jne 0x46cf73
mov eax, 0x1001
jmp 0x46d060
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
push edx
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add edi, ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
sub dword [ebp + 0x10], eax
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov ecx, dword [ebx + 0x28]
xor dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
xor dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
jb 0x46d037
lea ecx, [ebx + 0x18]
push ecx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov eax, dword [edi]
xor dword [ebx + 0x18], eax
mov edx, dword [edi + 4]
xor dword [ebx + 0x1c], edx
mov ecx, dword [edi + 8]
xor dword [ebx + 0x20], ecx
mov eax, dword [edi + 0xc]
xor dword [ebx + 0x24], eax
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jae 0x46cfe6
push dword [ebp + 0x10]
push edi
lea edx, [ebx + 0x28]
push edx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d1e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], 0x10
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
mov dword [edx], ecx
lea edx, [ebx + 0x18]
push edx
push eax
call fcn.0046e8e0
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x46d226
mov cl, byte [ebx + eax + 0x28]
xor cl, byte [ebx + eax + 0x18]
mov byte [edi + eax], cl
inc eax
cmp esi, eax
ja 0x46d216
mov edi, dword [ebp + 0x10]
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46d69d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x46d701
push dword [ebp + 0x10]
push edi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x46d7ef
cmp edi, esi
jne 0x46d70f
mov eax, 0x1001
jmp 0x46d7ef
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
push ecx
push edi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c2c8
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add edi, edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sub dword [ebp + 0x10], ecx
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov edx, dword [ebx + 0x18]
xor edx, dword [ebx + 0x28]
mov dword [esi], edx
mov ecx, dword [ebx + 0x1c]
xor ecx, dword [ebx + 0x2c]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x20]
xor eax, dword [ebx + 0x30]
mov dword [esi + 8], eax
mov edx, dword [ebx + 0x24]
xor edx, dword [ebx + 0x34]
mov dword [esi + 0xc], edx
add esi, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jbe 0x46d7c6
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
add edi, dword [ebp - 8]
add esi, dword [ebp - 8]
mov ecx, dword [ebp - 8]
sub dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
ja 0x46d781
push dword [ebp + 0x10]
push edi
lea edx, [ebx + 0x28]
push edx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp + 0x10]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46d7f6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x10
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 8]
ja 0x46d85a
push dword [ebp + 0x10]
push esi
mov ecx, dword [ebp - 0xc]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.0046c2c8
add esp, 0xc
mov ecx, dword [ebp + 0x10]
add dword [ebx + 0x38], ecx
mov eax, dword [ebp + 0x18]
xor edx, edx
mov dword [eax], edx
xor eax, eax
jmp 0x46d977
cmp esi, edi
jne 0x46d868
mov eax, 0x1001
jmp 0x46d977
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
push ecx
push esi
mov eax, dword [ebp - 0xc]
add eax, ebx
add eax, 0x28
push eax
call fcn.0046c2c8
add esp, 0xc
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add esi, edx
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
sub dword [ebp + 0x10], ecx
lea eax, [ebx + 0x18]
push eax
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov edx, dword [ebx + 0x18]
xor edx, dword [ebx + 0x28]
mov dword [edi], edx
mov ecx, dword [ebx + 0x1c]
xor ecx, dword [ebx + 0x2c]
mov dword [edi + 4], ecx
mov eax, dword [ebx + 0x20]
xor eax, dword [ebx + 0x30]
mov dword [edi + 8], eax
mov edx, dword [ebx + 0x24]
xor edx, dword [ebx + 0x34]
mov dword [edi + 0xc], edx
mov ecx, dword [ebx + 0x28]
mov dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
mov dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x24], ecx
add edi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jbe 0x46d94e
lea edx, [ebx + 0x18]
push edx
push dword [ebp - 4]
call fcn.0046e8e0
add esp, 8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
add esi, dword [ebp - 8]
add edi, dword [ebp - 8]
mov edx, dword [ebp - 8]
sub dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
ja 0x46d8f2
push dword [ebp + 0x10]
push esi
lea eax, [ebx + 0x28]
push eax
call fcn.0046c2c8
add esp, 0xc
mov edx, dword [ebx + 0x38]
and edx, 0xf0000000
add edx, dword [ebp + 0x10]
mov dword [ebx + 0x38], edx
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46db4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x3c]
mov esi, dword [ebx + 0x38]
mov edx, dword [ebp + 0x10]
mov dword [edx], esi
lea ecx, [ebx + 0x18]
push ecx
push eax
call fcn.0046e8e0
add esp, 8
xor eax, eax
cmp esi, eax
jbe 0x46db88
mov dl, byte [ebx + eax + 0x28]
xor dl, byte [ebx + eax + 0x18]
mov byte [edi + eax], dl
inc eax
cmp esi, eax
ja 0x46db78
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x474b6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x474bfe
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [esi + 0x30], 0
jne 0x474bb3
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.00408dec
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004048c4
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x34]
call fcn.004090d8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00404e84
mov esi, eax
push ebx
mov ecx, esi
sub ecx, 1
jno 0x474bd7
call fcn.00403a60
mov eax, dword [ebx]
mov edx, 1
call fcn.00404da0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474c05
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404894
ret