joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b420
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x48b45d
cmp dword [ebp + 0x14], edi
je 0x48b45d
cmp ecx, edi
jne 0x48b464
call fcn.00491060
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0048b0ba
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x48b478
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x48b499
cmp ebx, 0xffffffff
je 0x48b488
push ebx
push edi
push ecx
call fcn.0048b6e0
add esp, 0xc
cmp esi, edi
je 0x48b445
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x48b445
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x48b4b5
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x48b4bc
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x48b5ad
test word [esi + 0xc], 0x10c
je 0x48b510
mov eax, dword [esi + 4]
test eax, eax
je 0x48b510
jl 0x48b60e
cmp ebx, eax
mov edi, ebx
jb 0x48b4e1
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x48b5b5
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0048a9c8
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x48b5a5
cmp ebx, dword [ebp - 0xc]
jb 0x48b57d
cmp dword [ebp - 0xc], 0
je 0x48b53a
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x48b52f
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x48b536
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x48b545
mov eax, SysReAllocString
cmp ebx, eax
ja 0x48b545
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x48b5e1
push eax
push dword [ebp - 8]
push esi
call fcn.0048d60f
pop ecx
push eax
call fcn.00497a5a
add esp, 0xc
test eax, eax
je 0x48b620
cmp eax, 0xffffffff
je 0x48b60e
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x48b5a5
push esi
call fcn.00497379
cmp eax, 0xffffffff
pop ecx
je 0x48b612
cmp dword [ebp - 4], 0
je 0x48b5e1
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x48b4c4
mov eax, dword [ebp + 0x14]
jmp 0x48b45f
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x48b5cc
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0048b6e0
add esp, 0xc
call fcn.00491060
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x48b455
cmp dword [ebp + 0xc], 0xffffffff
je 0x48b5f7
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0048b6e0
add esp, 0xc
call fcn.00491060
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x48b455
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x48b45f
or dword [esi + 0xc], 0x10
jmp 0x48b612
Function at 0x48e853
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x48e880
call fcn.00491073
mov dword [eax], esi
call fcn.00491060
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0048b0ba
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x48e85c
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x48e8af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00491086
pop ecx
call fcn.00491060
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x48e8d6
test al, 1
je 0x48e8d6
test byte [esp + 0xc], 2
je 0x48e8d6
call fcn.00491073
mov dword [eax], 5
call fcn.00491060
mov dword [eax], 0xd
jmp 0x48e8a6
xor eax, eax
pop esi
ret

Function at 0x490045
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d315c]
jne 0x49004f
repz ret
jmp fcn.0049f13d

Function at 0x494e26
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4d3cb8]
je 0x494e41
inc edi
cmp edi, 0x17
jb 0x494e32
cmp edi, 0x17
jae 0x494fc1
push ebp
push 3
call fcn.004a11a9
cmp eax, 1
pop ecx
je 0x494f8d
push 3
call fcn.004a11a9
test eax, eax
pop ecx
jne 0x494e75
cmp dword [0x4d3158], 1
je 0x494f8d
cmp ebx, 0xfc
je 0x494fc0
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4d8190
push ebp
call fcn.0048ea21
add esp, 0xc
test eax, eax
je 0x494eab
push esi
push esi
push esi
push esi
push esi
call fcn.0048afbe
add esp, 0x14
push 0x104
mov esi, 0x4d81a9
push esi
push 0
mov byte [0x4d82ad], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x494eef
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0048ea21
add esp, 0xc
test eax, eax
je 0x494eef
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0048afbe
add esp, 0x14
push esi
call fcn.00488ba0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x494f34
push esi
call fcn.00488ba0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4d84a4
push 0x4b195c
sub ecx, eax
push ecx
push eax
call fcn.004a064d
add esp, 0x14
test eax, eax
je 0x494f34
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0048afbe
add esp, 0x14
jmp 0x494f36
xor esi, esi
push 0x4b1958
push ebx
push ebp
call fcn.004a09a5
add esp, 0xc
test eax, eax
je 0x494f56
push esi
push esi
push esi
push esi
push esi
call fcn.0048afbe
add esp, 0x14
push dword [edi*8 + 0x4d3cbc]
push ebx
push ebp
call fcn.004a09a5
add esp, 0xc
test eax, eax
je 0x494f78
push esi
push esi
push esi
push esi
push esi
call fcn.0048afbe
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004a0fec
add esp, 0xc
jmp 0x494fc0
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x494fc0
cmp ebp, 0xffffffff
je 0x494fc0
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4d3cbc]
push dword [esi]
call fcn.00488ba0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4a0fec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004948a7
xor ebx, ebx
cmp dword [0x4d8c40], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4a10c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4a11a2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4a11a2
push eax
call fcn.00494839
mov dword [esp], 0x4b1d44
push edi
mov dword [0x4d8c40], eax
call esi
push eax
call fcn.00494839
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4d8c44], eax
call esi
push eax
call fcn.00494839
mov dword [0x4d8c48], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0048fb84
test eax, eax
pop ecx
pop ecx
je 0x4a1090
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048afbe
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4a10c2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00494839
cmp eax, ebx
pop ecx
mov dword [0x4d8c50], eax
je 0x4a10c2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00494839
pop ecx
mov dword [0x4d8c4c], eax
mov eax, dword [0x4d8c4c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4a1147
cmp dword [0x4d8c50], ecx
je 0x4a1147
push eax
call fcn.004948b0
push dword [0x4d8c50]
mov esi, eax
call fcn.004948b0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4a1147
cmp edi, ebx
je 0x4a1147
call esi
cmp eax, ebx
je 0x4a1114
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4a1114
test byte [ebp - 0x18], 1
jne 0x4a1147
lea eax, [ebp - 0x10]
push eax
call fcn.0048fbbb
test eax, eax
pop ecx
je 0x4a112f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0048afbe
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4a113e
or dword [ebp + 0x10], 0x200000
jmp 0x4a1182
or dword [ebp + 0x10], 0x40000
jmp 0x4a1182
mov eax, dword [0x4d8c44]
cmp eax, dword [ebp - 8]
je 0x4a1182
push eax
call fcn.004948b0
cmp eax, ebx
pop ecx
je 0x4a1182
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4a1182
mov eax, dword [0x4d8c48]
cmp eax, dword [ebp - 8]
je 0x4a1182
push eax
call fcn.004948b0
cmp eax, ebx
pop ecx
je 0x4a1182
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4d8c40]
call fcn.004948b0
cmp eax, ebx
pop ecx
je 0x4a11a2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4a11a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4027f0
Capabilities:
Accept command line arguments
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x402840
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x402860
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x4028b7
xor ecx, ecx
xor edx, edx
jmp 0x402899
cmp ax, 0x5c
jne 0x402920
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x4028b7
cmp ax, 9
je 0x4028a5
cmp ax, 0x20
jne 0x402880
test ecx, ecx
je 0x40290b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x402899
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x402940
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004016c0
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x402908
cmp ax, 0x20
je 0x402908
jmp 0x4028b7
cmp ax, 0x22
jne 0x4028a9
and edx, 1
jne 0x4028a9
xor ecx, 1
jmp 0x40288d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x4028d0
Function at 0x402860
Capabilities:
Accept command line arguments
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov edx, 2
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x3c]
cmp word [eax + ecx + 0x5c], 2
je 0x402840
mov edx, 1
mov dword [esp], edx
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call 0x402860
mov dword [esp], eax
call sub.ucrtbase.dll_exit
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x54
call dword [sym.imp.kernel32.dll_GetCommandLineW]
mov ebx, eax
movzx eax, word [eax]
test ax, ax
je 0x4028b7
xor ecx, ecx
xor edx, edx
jmp 0x402899
cmp ax, 0x5c
jne 0x402920
add edx, 1
movzx eax, word [ebx + 2]
add ebx, 2
test ax, ax
je 0x4028b7
cmp ax, 9
je 0x4028a5
cmp ax, 0x20
jne 0x402880
test ecx, ecx
je 0x40290b
movzx eax, word [ebx + 2]
add ebx, 2
xor edx, edx
test ax, ax
jne 0x402899
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
sub esp, 4
test byte [ebp - 0x20], 1
je 0x402940
movzx esi, word [ebp - 0x1c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004016c0
sub esp, 0x10
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
add ebx, 2
movzx eax, word [ebx]
cmp ax, 9
je 0x402908
cmp ax, 0x20
je 0x402908
jmp 0x4028b7
cmp ax, 0x22
jne 0x4028a9
and edx, 1
jne 0x4028a9
xor ecx, 1
jmp 0x40288d
mov eax, 1
mov esi, 1
mov word [ebp - 0x1c], ax
jmp 0x4028d0
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x56fc6b8c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x2dac1b25
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x403490
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x432dec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00405240
xor eax, eax
push ebp
push 0x432ed6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00405050
dec eax
jle 0x432e55
mov edx, dword [ebp - 4]
mov eax, 0x432eec
call fcn.00405394
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405050
dec eax
cmp ebx, eax
jne 0x432e55
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.00405050
mov ecx, eax
sub ecx, 2
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004052b0
mov eax, dword [ebp - 4]
call fcn.00405050
mov ebx, eax
test ebx, ebx
jle 0x432e8c
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
call fcn.004052a8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 8]
dec ebx
jne 0x432e6a
mov eax, dword [ebp - 4]
call fcn.00405050
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov ecx, 4
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp dword [ebp - 8], 0
jle 0x432ec0
lea eax, [ebp - 4]
call fcn.004052a8
mov edx, eax
mov ecx, dword [ebp - 8]
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432edd
lea eax, [ebp - 4]
call fcn.00404d64
ret

Function at 0x43347c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
lea edx, [ebp - 4]
mov ecx, 4
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004053dc
cmp dword [ebp - 4], 0
jle 0x4334b9
mov eax, ebx
call fcn.004052a8
mov edx, eax
mov ecx, dword [ebp - 4]
mov eax, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx]
call fcn.00405050
mov esi, eax
test esi, esi
jle 0x4334ed
mov dword [ebp - 4], 1
mov eax, ebx
call fcn.004052a8
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov edi, dword [ebp - 4]
mov cl, byte [ecx + edi - 1]
xor cl, 0x62
mov byte [eax + edx - 1], cl
inc dword [ebp - 4]
dec esi
jne 0x4334cd
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x43abfc
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov edx, 0x40
mov eax, ebx
call fcn.00431a98
test al, al
je 0x43ac40
mov eax, ebx
cmp word [eax], 0x5a4d
jne 0x43ac40
cmp dword [eax + 0x3c], 0
je 0x43ac40
mov esi, dword [eax + 0x3c]
add esi, ebx
mov edx, 0xf8
mov eax, esi
call fcn.00431a98
test al, al
je 0x43ac3e
cmp dword [esi], 0x4550
je 0x43ac40
xor esi, esi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x43ec98
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
cmp dword [0x5f9310], 0
je 0x43edba
xor eax, eax
xor esi, esi
mov dword [0x5f9310], eax
mov eax, 0x5f9314
xor ebx, ebx
xor edx, edx
mov ecx, 0x1f
mov dl, byte [eax]
inc eax
sub ecx, edx
mov edx, 1
shl edx, cl
or esi, edx
inc ebx
cmp ebx, 0xe
jl 0x43ecb9
xor ebx, ebx
mov ecx, 0x606930
mov eax, ebx
xor edx, edx
test al, 1
je 0x43eceb
mov edi, eax
shr edi, 1
xor edi, esi
jmp 0x43ecef
mov edi, eax
shr edi, 1
mov eax, edi
inc edx
cmp edx, 8
jl 0x43ecdf
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jl 0x43ecdb
xor ebx, ebx
mov esi, 0x606930
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
shl ecx, 8
add edx, ecx
mov ecx, eax
and ecx, 0xff
shl ecx, 0x18
add edx, ecx
lea ecx, [esi + 0x400]
mov dword [esi + 0x1000], edx
mov edx, 1
mov edi, eax
and edi, 0xff
shr eax, 8
mov edi, dword [edi*4 + 0x606930]
xor edi, eax
mov eax, edi
mov ebp, eax
mov edi, eax
shr ebp, 8
mov dword [ecx], eax
shr edi, 0x18
and ebp, 0xff00
add edi, ebp
mov ebp, eax
and ebp, 0xff00
shl ebp, 8
add edi, ebp
mov ebp, eax
and ebp, 0xff
shl ebp, 0x18
add edi, ebp
mov dword [ecx + 0x1000], edi
inc edx
add ecx, 0x400
cmp edx, 4
jl 0x43ed4b
inc ebx
add esi, 4
cmp ebx, 0x100
jl 0x43ed0c
xor eax, eax
mov dword [0x5f930c], eax
jmp 0x43edc3
cmp dword [0x5f930c], 0
jne 0x43edba
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4445d8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4445e7
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x5fa2d0], 0
jne 0x4445f5
call fcn.0044457c
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x6091c0]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x4445f8
xor eax, 0xffffffff
pop esi
pop ebx
ret
Function at 0x444f40
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x58], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x40
call fcn.00403470
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x10
call fcn.00403470
mov dword [ebp - 0x50], 0x67452301
mov dword [ebp - 0x4c], 0xefcdab89
mov dword [ebp - 0x48], 0x98badcfe
mov dword [ebp - 0x44], 0x10325476
mov eax, ebx
shr eax, 0x1d
add dword [ebp - 0x5c], eax
mov eax, ebx
shl eax, 3
add dword [ebp - 0x60], eax
cmp eax, dword [ebp - 0x60]
jbe 0x444fb0
inc dword [ebp - 0x5c]
test ebx, ebx
jbe 0x444ffe
mov eax, 0x40
sub eax, dword [ebp - 0x54]
cmp eax, ebx
ja 0x444fe5
mov ecx, eax
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
call fcn.00402bc4
mov eax, 0x40
sub eax, dword [ebp - 0x54]
sub ebx, eax
add esi, eax
push ebp
call fcn.00444684
pop ecx
jmp 0x444ffa
mov eax, dword [ebp - 0x54]
lea edx, [ebp + eax - 0x40]
mov eax, esi
mov ecx, ebx
call fcn.00402bc4
add dword [ebp - 0x54], ebx
xor ebx, ebx
test ebx, ebx
ja 0x444fb4
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x40], 0x80
cmp dword [ebp - 0x54], 0x38
jb 0x445013
push ebp
call fcn.00444684
pop ecx
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x60]
mov dword [eax], edx
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x5c]
mov dword [eax], edx
push ebp
call fcn.00444684
pop ecx
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x50]
mov ecx, 0x10
call fcn.00402bc4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x445078
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x445098
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x445086
pop edi
pop esi
pop ebx
ret

Function at 0x4450d0
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0044509c
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0044509c
mov esi, eax
xor eax, eax
mov ecx, dword [0x6095cc]
mov edx, dword [0x6095d0]
mov dword [esp + 4], edx
mov edx, dword [0x6095d4]
mov dword [esp + 8], edx
mov edx, dword [0x6095d8]
mov dword [esp + 0xc], edx
mov edx, 0x20
add eax, 0x9e3779b9
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
add ebx, edi
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
add esi, edi
dec edx
jne 0x44511c
mov eax, ebx
call fcn.0044509c
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0044509c
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret