joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x585043
mov eax, dword fs:[0]
push eax
sub esp, 0x380
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
xor esi, esi
push esi
push esi
push 6
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x446a60
xor al, al
jmp 0x446c6d
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], cx
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], esi
call fcn.00401e40
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x234]
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.00401b40
cmp dword [ebp - 0x220], 8
mov dword [ebp - 4], 0xffffffff
jb 0x446ac6
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0055ae44
add esp, 4
lea ecx, [ebp - 0x364]
call fcn.004f9960
mov ecx, eax
call fcn.004f9a90
test al, al
jne 0x446c5c
xor edx, edx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], dx
push str.SoftwareMicrosoftInternet_ExplorerToolbar
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 2
call fcn.00401e40
mov dword [ebp - 4], 3
mov dword [ebp - 0x370], esi
mov dword [ebp - 0x36c], esi
mov dword [ebp - 0x368], esi
push 0x2001f
push reloc.WS2_32.dll_accept
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 4
call fcn.00407ea0
cmp dword [ebp - 0x220], 8
mov byte [ebp - 4], 6
jb 0x446b61
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.0055ae44
add esp, 4
push 0xf
xor edx, edx
push str.LinksFolderName
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], dx
call fcn.00401c40
xor eax, eax
mov dword [ebp - 0x378], edi
mov dword [ebp - 0x37c], esi
mov word [ebp - 0x38c], ax
lea ecx, [ebp - 0x38c]
push ecx
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 8
call fcn.004062e0
cmp dword [ebp - 0x378], 8
jb 0x446bd9
mov ecx, dword [ebp - 0x38c]
push ecx
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x220], 8
mov byte [ebp - 4], 0xb
jb 0x446bf5
mov edx, dword [ebp - 0x234]
push edx
call fcn.0055ae44
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x250]
xor eax, eax
push ecx
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], esi
mov word [ebp - 0x234], ax
call fcn.00401b40
cmp dword [ebp - 0x23c], 8
jb 0x446c34
mov edx, dword [ebp - 0x250]
push edx
call fcn.0055ae44
add esp, 4
xor eax, eax
mov word [ebp - 0x250], ax
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], esi
cmp eax, esi
je 0x446c6b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x446c6b
push 5
push str.Links
lea ecx, [ebx + 0x1c]
call fcn.00401c40
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret 4
Function at 0x44b5d0
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x44b5e6
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x44b5e9
mov dword [ebp - 4], eax
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0x59e270
lea ecx, [ebp - 8]
push ecx
mov dword [ebp - 8], edx
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
jne 0x44b614
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
push edx
push eax
call fcn.00401850
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x44b640
Capabilities:
Encrypt data using dpapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5857e0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 0
jb 0x44b695
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
jmp 0x44b698
mov dword [ebp - 0x4c], eax
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x58]
push eax
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], edx
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x44b739
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x54]
push edx
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401850
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00414cf0
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004060b0
cmp dword [ebp - 0x34], 8
jb 0x44b70b
mov edx, dword [ebp - 0x48]
push edx
call fcn.0055ae44
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x44b71d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0055ae44
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x18], 0x10
jb 0x44b74b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0055ae44
add esp, 4
xor al, al
jmp 0x44b71f
Function at 0x453780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push 2
push 0
push ebx
mov dword [ebp - 4], ecx
call fcn.0055e5e4
add esp, 0xc
test eax, eax
je 0x4537a8
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
push ebx
call fcn.0055e4f5
mov esi, eax
add esp, 4
test esi, esi
jns 0x4537c5
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
jne 0x4537d1
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push edi
push esi
call fcn.00523abd
mov edi, eax
add esp, 4
test edi, edi
jne 0x4537ed
lea eax, [edi - 2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push ebx
call fcn.0055e5e4
push ebx
push esi
push 1
push edi
call fcn.0055e344
add esp, 0x1c
cmp eax, esi
je 0x45381f
push edi
call fcn.0055be68
add esp, 4
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.00453390
push edi
mov esi, eax
call fcn.0055be68
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45aa80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586c10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x50], eax
test ebx, ebx
je 0x45abf5
test eax, eax
je 0x45abf5
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NSS_Init
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x28]
push str.NSS_Shutdown
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x28]
push str.PK11_GetInternalKeySlot
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x28]
push str.PK11_FreeSlot
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x28]
push str.PK11_Authenticate
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x28]
push str.PK11SDR_Decrypt
push eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x28]
push str.SECITEM_FreeItem
push eax
call edi
push str.PL_ArenaFinish
push ebx
mov dword [esi + 0x1c], eax
call edi
mov ecx, dword [ebp - 0x50]
push str.PR_Cleanup
push ecx
mov dword [esi + 0x20], eax
call edi
cmp dword [esi], 0
mov dword [esi + 0x24], eax
je 0x45abf3
cmp dword [esi + 4], 0
je 0x45abf3
cmp dword [esi + 8], 0
je 0x45abf3
cmp dword [esi + 0x10], 0
je 0x45abf3
cmp dword [esi + 0x14], 0
je 0x45abf3
cmp dword [esi + 0x18], 0
je 0x45abf3
cmp dword [esi + 0x1c], 0
je 0x45abf3
cmp dword [esi + 0x20], 0
je 0x45abf3
test eax, eax
je 0x45abf3
mov ecx, dword [ebp - 0x4c]
lea edx, [ebp - 0x2c]
push edx
call fcn.00407200
mov edi, eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x4c], eax
push edi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004020b0
cmp dword [eax + 0x14], 0x10
mov bl, 1
mov byte [ebp - 4], bl
jb 0x45abc7
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
call ecx
add esp, 4
lea ecx, [ebp - 0x48]
mov edi, eax
call fcn.0054b8f0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.00413b90
test edi, edi
jne 0x45abf3
mov byte [esi + 0x30], bl
mov al, bl
jmp 0x45abfc
mov ecx, esi
call fcn.0045a820
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463120
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5878c6
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x5ed80c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
cmp dword [ebx + 0x38], 8
lea eax, [ebx + 0x24]
mov dword [ebp - 4], 0
jb 0x463165
mov eax, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, eax
mov eax, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1b0], esi
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 0x1a8], 1
mov byte [ebp - 4], 1
test esi, esi
je 0x46319b
cmp esi, 0xffffffff
jne 0x4631ad
lea ecx, [ebp - 0x1b0]
call fcn.00402930
xor al, al
jmp 0x4632fe
push 4
lea edi, [ebx + 0x1c]
push edi
push 2
push esi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
test eax, eax
jne 0x4631eb
push 1
push str.mailru::net::send_request::proceed
push str.upload_statistic_send_req.cpp
push 0x15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x78]
call fcn.004053a0
push 0x5ccbe8
lea ecx, [ebp - 0x78]
push ecx
call fcn.0055b802
push 4
push edi
mov edi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 6
push esi
call edi
test eax, eax
jne 0x46322e
push 1
push str.mailru::net::send_request::proceed
push str.upload_statistic_send_req.cpp
push 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0xdc]
call fcn.004053a0
push 0x5ccbe8
lea edx, [ebp - 0xdc]
push edx
call fcn.0055b802
push 4
lea eax, [ebx + 0x20]
push eax
push 3
push esi
call edi
test eax, eax
jne 0x46326e
push 1
push str.mailru::net::send_request::proceed
push str.upload_statistic_send_req.cpp
push 0x1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x140]
call fcn.004053a0
push 0x5ccbe8
lea ecx, [ebp - 0x140]
push ecx
call fcn.0055b802
cmp dword [ebx + 0x14], 8
jb 0x463276
mov ebx, dword [ebx]
push 0
push SysReAllocStringLen
push 0
push 0
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1b8], edx
mov byte [ebp - 0x1b4], 1
mov byte [ebp - 4], 2
test eax, eax
je 0x4632af
cmp eax, 0xffffffff
jne 0x4632e6
push 1
push str.mailru::net::send_request::proceed
push str.upload_statistic_send_req.cpp
push 0x21
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1a4]
call fcn.004053a0
push 0x5ccbe8
lea eax, [ebp - 0x1a4]
push eax
call fcn.0055b802
mov eax, 0x4631a6
ret
lea ecx, [ebp - 0x1bc]
call fcn.00402930
lea ecx, [ebp - 0x1b0]
call fcn.00402930
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055bc32
mov esp, ebp
pop ebp
ret
Function at 0x463810
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5879b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5ed80c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], eax
je 0x46385e
mov dword [ebx], 0x59dae4
mov dword [ebx + 0x60], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edx, dword [ebx]
mov edi, dword [edx + 4]
add edi, ebx
mov ecx, edi
call fcn.004030f0
lea esi, [ebx + 4]
push 0x20
mov ecx, edi
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], 0
call fcn.00404720
cmp dword [edi + 0x38], 0
mov byte [edi + 0x40], al
jne 0x4638aa
mov eax, dword [edi + 0xc]
or eax, 4
or eax, 4
push 0
push eax
mov ecx, edi
call fcn.00402fc0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.004035a0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x50], 0
mov byte [esi + 0x49], 0
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
xor ecx, ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x54], ecx
mov edx, dword [0x5eed8c]
mov dword [esi + 0x4c], edx
mov dword [esi + 0x44], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4641e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push esi
push 0x4641c0
push 0
push 0
mov dword [esi + 0x60], eax
call fcn.0055ea02
add esp, 0x18
mov dword [esi + 0x64], eax
pop esi
test eax, eax
jne 0x464240
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], str._beginthreadex_failed
call fcn.0055b5ba
push 0x5cc994
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], vtable.std::runtime_error.0
call fcn.0055b802
mov esp, ebp
pop ebp
ret

Function at 0x4664f0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x46651d
push esi
push edi
jmp 0x466500
movzx esi, byte [edx]
movzx esi, byte [esi + 0x5a5cf0]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x466500
pop edi
pop esi
ret

Function at 0x46e200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x46e21e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x46e234
cmp byte [edi], al
je 0x46e227
inc ecx
cmp byte [ecx], al
jne 0x46e222
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x46e335
jmp 0x46e253
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x46e25b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x46e2bb
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x46e29d
jmp 0x46e280
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x5a5cf0]
cmp dl, byte [eax + 0x5a5cf0]
jne 0x46e29d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x46e280
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x5a5cf0]
movzx ecx, byte [ecx + 0x5a5cf0]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x46e325
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x46e308
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x46e2fe
jmp 0x46e2e0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x46e2e0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 8]
jmp 0x46e30a
xor edx, edx
push ebx
push edi
lea eax, [esi + 8]
call fcn.00466580
add esp, 8
test eax, eax
je 0x46e33c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x46e335
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x46e250
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x46e325
Function at 0x46e350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x46e36d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x46e385
cmp byte [eax], 0
je 0x46e378
inc ecx
cmp byte [ecx], 0
jne 0x46e372
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x46e467
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x46e3aa
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x46e3fa
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x46e3e2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x5a5cf0]
cmp cl, byte [eax + 0x5a5cf0]
jne 0x46e3df
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x46e3c2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x5a5cf0]
movzx edx, byte [edx + 0x5a5cf0]
sub edx, ecx
jne 0x46e456
cmp dword [edi + 0x24], 0
lea esi, [edi + 0x18]
je 0x46e434
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x46e42e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x46e410
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x46e436
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.00466580
add esp, 8
test eax, eax
je 0x46e46d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x46e466
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x46e3a0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x46e453
Function at 0x472cf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x472d11
mov esi, 0x80
cmp esi, dword [edi]
jne 0x472d1d
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5ef6bc]
test eax, eax
je 0x472d28
call eax
lea ecx, [esi*8]
push ecx
call fcn.00472380
mov esi, eax
mov eax, dword [0x5ef6c0]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x472d48
call eax
test esi, esi
je 0x472d15
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.00465180
push esi
mov dword [edi + 0xc], esi
call dword [0x5ea1c0]
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.0055bc50
mov ecx, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test ecx, ecx
je 0x472e2d
nop
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x472dc1
lea esp, [esp]
movzx edi, byte [esi]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x472da0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x472e09
mov esi, dword [eax]
test esi, esi
je 0x472ddf
mov edx, dword [eax + 4]
jmp 0x472de1
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x472e09
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x472e01
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x472e22
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x472e22
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x472e18
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x472d90
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4800f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x48028f
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x480113
cmp dword [esi + 0x1f0], 0
jne 0x480122
mov eax, 0xffff
add word [ebx + 0x20], ax
jne 0x48028e
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], edi
test edi, edi
je 0x4801f4
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x480148
cmp dword [esi + 0x1f0], 0
jne 0x4801d3
mov ecx, dword [edi]
mov eax, ecx
test ecx, ecx
jne 0x480155
mov dword [ebp - 4], ecx
jmp 0x480170
cmp byte [ecx], 0
je 0x480166
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x480160
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x18]
cmp dword [esi + 0x18], 0
je 0x4801a9
mov edx, dword [ebp - 4]
xor eax, eax
cmp edx, eax
jle 0x4801a0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x5a5cf0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x480182
mov edi, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x18]
mov ebx, edx
jmp 0x4801ab
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edi]
push edx
push eax
mov edx, ebx
lea eax, [esi + 0x18]
call fcn.00466580
add esp, 8
test eax, eax
je 0x4801cd
mov edx, ebx
lea ecx, [esi + 0x18]
call fcn.00466620
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x10]
mov ecx, esi
call fcn.00465220
mov eax, edi
mov ecx, esi
call fcn.00465220
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
test edi, edi
jne 0x480131
push ebx
mov eax, esi
call fcn.00479030
push ebx
mov edi, esi
call fcn.00478560
mov eax, dword [ebx]
add esp, 8
mov ecx, esi
call fcn.00465220
mov eax, dword [ebx + 0x28]
mov ecx, esi
call fcn.00465220
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x480234
push edi
push esi
call fcn.0046f500
add esp, 8
mov eax, edi
mov ecx, esi
call fcn.00465220
mov eax, dword [ebx + 0x2c]
push eax
push esi
call fcn.004774b0
add esp, 8
test esi, esi
je 0x48024e
cmp dword [esi + 0x1f0], 0
jne 0x48025a
push 0
mov edi, ebx
call fcn.0046fff0
add esp, 4
cmp dword [ebx + 0x3c], 0
je 0x480284
xor edi, edi
cmp dword [ebx + 0x38], edi
jle 0x48027a
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ecx + edi*4]
mov ecx, esi
call fcn.00465220
inc edi
cmp edi, dword [ebx + 0x38]
jl 0x480267
mov eax, dword [ebx + 0x3c]
mov ecx, esi
call fcn.00465220
mov eax, ebx
mov ecx, esi
call fcn.00465220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret