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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 2
push 0x104
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0046dd84
mov esi, eax
add esp, 8
test esi, esi
je 0x4256a9
push edi
push 2
push 0x104
call fcn.0046dd84
mov edi, eax
add esp, 8
test edi, edi
je 0x4255dd
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push esi
push ebx
push 0x4b0b28
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.0046d5c7
add esp, 4
cmp word [esi], bx
je 0x42569a
push esi
call fcn.0046f046
mov ecx, esi
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4255f4
sub ecx, edx
sar ecx, 1
cmp word [esi + ecx*2 - 2], 0x5c
je 0x425623
lea edi, [esi - 2]
mov edi, edi
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x425610
mov eax, dword [0x491e18]
mov dword [edi], eax
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x425630
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425630
sub ecx, edx
sar ecx, 1
lea edi, [ecx*2 + 4]
push edi
call fcn.0046d535
mov edx, eax
add esp, 4
test edx, edx
jne 0x425665
call fcn.00470c31
push edi
call fcn.0046d535
add esp, 4
mov edx, eax
mov eax, dword [ebp - 4]
mov ecx, esi
mov dword [eax], edx
sub edx, esi
mov edi, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x425670
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call fcn.0046d5c7
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov ebx, 0xe
call fcn.0046d5c7
add esp, 4
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4257d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push esi
push 2
push 0x104
call fcn.0046dd84
mov esi, eax
add esp, 8
test esi, esi
je 0x42580e
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x491e1c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call fcn.0046fafb
push esi
call fcn.0046d5c7
add esp, 8
pop esi
ret
push 0x491e1c
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
pop esi
ret
Function at 0x425820
Capabilities:
Enumerate files on windows

Disassembly:
push esi
push edi
push 1
push 0x250
mov esi, ecx
call fcn.0046dd84
mov edi, eax
add esp, 8
test edi, edi
je 0x4258f9
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4258ef
test byte [edi], 0x10
jne 0x4258d8
lea esi, [edi + 0x2c]
mov ecx, 0x491e24
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42588a
test dx, dx
je 0x425886
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42588a
add eax, 4
add ecx, 4
test dx, dx
jne 0x425864
xor eax, eax
jmp 0x42588f
sbb eax, eax
or eax, 1
test eax, eax
je 0x4258d8
mov eax, 0x491e1c
mov ecx, esi
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4258c6
test dx, dx
je 0x4258c2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4258c6
add ecx, 4
add eax, 4
test dx, dx
jne 0x4258a0
xor eax, eax
jmp 0x4258cb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4258d8
push esi
call fcn.0046f046
add esp, 4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425851
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call fcn.0046d5c7
add esp, 4
pop ebx
pop edi
pop esi
ret
Function at 0x440dd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
rol ax, 8
movzx eax, ax
mov dword [0x4b3b9c], eax
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440e43
cmp dword [ebp - 0x108], 2
jne 0x440e43
mov eax, dword [ebp - 0x114]
mov dword [0x4b3b98], 1
cmp eax, 5
ja 0x440e39
jne 0x440e43
cmp dword [ebp - 0x110], 0
je 0x440e43
mov dword [0x4b3b94], 1
call fcn.00440d50
call fcn.00424c60
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046d526
mov esp, ebp
pop ebp
ret

Function at 0x440e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 2
push 0x104
mov esi, ecx
call fcn.0046dd84
mov edi, eax
add esp, 8
test edi, edi
je 0x440ea6
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
mov esi, eax
call fcn.0046d5c7
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
ret
pop edi
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4410c0
Capabilities:
Delete directory

Disassembly:
mov eax, dword [0x4b3b30]
test eax, eax
je 0x4410f5
cmp dword [0x4b3b64], 0
je 0x4410de
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [0x4b3b30]
test eax, eax
je 0x4410f5
push eax
call fcn.0046d5c7
add esp, 4
mov dword [0x4b3b30], 0
mov eax, dword [0x4b39e4]
test eax, eax
je 0x441111
push eax
call fcn.0046d5c7
add esp, 4
mov dword [0x4b39e4], 0
mov eax, dword [0x4b3b78]
test eax, eax
je 0x441121
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x4b3b7c]
test eax, eax
je 0x441131
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
ret

Function at 0x441980
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b3b70]
sub esp, 0x40
push esi
mov esi, ecx
test eax, eax
je 0x4419d2
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4419bc
cmp dword [ebp - 4], 0x103
jne 0x4419bc
cmp dword [0x4b3b70], 0
jne 0x441a35
jmp 0x4419d2
push dword [0x4b3b70]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4b3b70], 0
push 0x3c
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.00472320
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x34], str.open
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 0x491e00
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
mov dword [0x4b3b74], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [0x4b3b70]
test eax, eax
cmovne ecx, dword [ebp - 8]
mov dword [0x4b3b70], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x462da0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 8]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x462de8
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.004722f2
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046d526
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.0046d526
mov esp, ebp
pop ebp
ret

Function at 0x469130
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test ebx, ebx
je 0x4691ce
mov edi, dword [ebp + 8]
test edi, edi
je 0x4691ce
push 0x40
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4691ce
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x4691ce
push esi
mov esi, dword [edi + 0x3c]
push pe_nt_image_headers32
add esi, edi
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x4691bd
cmp dword [esi], 0x4550
jne 0x4691bd
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4691c7
lea esi, [eax + edi]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4691ae
add eax, edi
push ebx
push eax
call fcn.00470cb1
add esp, 8
test eax, eax
je 0x4691ae
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x469194
xor eax, eax
cmp dword [esi + 0xc], eax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
push 1
push 0x57
call dword [sym.imp.USER32.dll_SetLastErrorEx]
pop edi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x469570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2a58]
push edi
test eax, eax
je 0x4695e9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x4695e9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x4695e9
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4695d1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4695d1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4695d1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18
Function at 0x4699f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2a58]
push edi
test eax, eax
je 0x469a54
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x469a54
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x469a54
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x469a45
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x469a45
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x469a45
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x469a4e
push dword [ebp + 0x10]
mov eax, dword [edi + 0x3c]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x469a60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b2a58]
push edi
test eax, eax
je 0x469ac4
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x469ac4
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x469ac4
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x469ab5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x469ab5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x469ab5
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x469abe
push dword [ebp + 0x10]
mov eax, dword [edi + 0x40]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x4780a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0047724a
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x4780dc
xor eax, eax
jmp 0x478108
cmp esi, dword [ebp - 4]
je 0x478105
cmp dword [ebp + 0xc], 0
je 0x478105
push dword [edi + 0x9c]
call fcn.00477cb2
push dword [edi + 0x9c]
mov esi, eax
call fcn.00476e2c
pop ecx
pop ecx
cmp esi, eax
je 0x4780d8
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x47ef08
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00478814
mov dword [ebp - 0x14], eax
cmp dword [0x4b3800], edi
jne 0x47eff9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x47ef86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x47f0d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x47f0d9
push 0x491480
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x47f0d9
push eax
call ebx
push 0x49148c
push esi
mov dword [0x4b3800], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4b3804], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4b3808], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3810], eax
test eax, eax
je 0x47eff6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b380c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x47f01e
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x47f011
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x47f033
push 4
pop eax
jmp 0x47f0db
cmp dword [ebp - 0x14], edi
je 0x47f033
push dword [0x4b3800]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x47f018
mov eax, dword [0x4b380c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x47f091
cmp dword [0x4b3810], esi
je 0x47f091
push eax
call ebx
push dword [0x4b3810]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x47f091
test eax, eax
je 0x47f091
call ecx
test eax, eax
je 0x47f086
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x47f086
test byte [ebp - 8], 1
jne 0x47f091
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x47f0c1
mov eax, dword [0x4b3804]
cmp eax, esi
je 0x47f0be
push eax
call ebx
test eax, eax
je 0x47f0be
call eax
mov edi, eax
test edi, edi
je 0x47f0be
mov eax, dword [0x4b3808]
cmp eax, esi
je 0x47f0be
push eax
call ebx
test eax, eax
je 0x47f0be
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4b3800]
call ebx
test eax, eax
je 0x47f0d9
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x47f0db
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046d526
leave
ret
Function at 0x73b1c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1cb000]
mov dword [edi + 0x23fe90], 0x17ed6222
push edi
or ebp, 0xffffffff
jmp 0x73b1ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x73b1f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73b1e0
mov eax, 1
add ebx, ebx
jne 0x73b203
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x73b214
jne 0x73b233
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73b233
dec eax
add ebx, ebx
jne 0x73b220
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x73b1f8
add ebx, ebx
jne 0x73b22f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x73b285
xor ecx, ecx
sub eax, 3
jb 0x73b24b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x73b2ba
sar eax, 1
mov ebp, eax
jmp 0x73b256
add ebx, ebx
jne 0x73b256
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73b224
inc ecx
add ebx, ebx
jne 0x73b264
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x73b224
add ebx, ebx
jne 0x73b271
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x73b266
jne 0x73b282
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x73b266
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x73b2a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x73b296
jmp 0x73b1e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x73b2a4
add edi, ecx
jmp 0x73b1e6
pop esi
mov edi, esi
mov ecx, 0xe015
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x73b2c2
cmp byte [edi], 0x2a
jne 0x73b2c2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x73b2c7
lea edi, [esi + 0x32a000]
mov eax, dword [edi]
or eax, eax
je 0x73b33f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36731c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x367528]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x73b2f4
mov ecx, edi
jns 0x73b323
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x367530]
or eax, eax
je 0x73b339
mov dword [ebx], eax
add ebx, 4
jmp 0x73b311
call dword [esi + 0x36752c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x73b370
cmp al, 0xef
ja 0x73b363
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x73b345
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x73b352
mov ebp, dword [esi + 0x367534]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x73b3a4
sub esp, 0xffffff80
jmp 0x4a423c
Function at 0x401070
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push esi
push edi
mov edi, eax
mov esi, ecx
xor eax, eax
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
inc eax
and dl, 1
cmp eax, 0x40
mov byte [eax + 0x57d0cf], dl
jl 0x401078
xor eax, eax
jmp 0x4010a0
movsx ecx, byte [eax + 0x5547d0]
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x5547d1]
mov byte [eax + 0x57d120], dl
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x5547d2]
mov byte [eax + 0x57d121], dl
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x5547d3]
mov byte [eax + 0x57d122], dl
movzx edx, byte [ecx + 0x57d0cf]
mov byte [eax + 0x57d123], dl
add eax, 4
cmp eax, 0x40
jl 0x4010a0
push ebx
push ebp
push 0x40
push 0x57d120
push 0x57d0d0
call fcn.005054c0
add esp, 0xc
cmp byte [esp + 0x18], 0
jne 0x40119a
mov ebx, edi
mov ebp, 0x10
mov ecx, 8
mov esi, 0x57d0f0
mov edi, 0x57d978
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov esi, 0x57d0f0
call fcn.00401490
xor eax, eax
nop
movzx ecx, byte [eax + 0x57d0d0]
movzx edx, byte [eax + 0x57d0d1]
xor byte [eax + 0x57d0f0], cl
xor byte [eax + 0x57d0f1], dl
movzx ecx, byte [eax + 0x57d0d2]
movzx edx, byte [eax + 0x57d0d3]
xor byte [eax + 0x57d0f2], cl
xor byte [eax + 0x57d0f3], dl
add eax, 4
cmp eax, 0x20
jl 0x401140
mov ecx, 8
mov esi, 0x57d978
mov edi, 0x57d0d0
add ebx, 0x30
sub ebp, 1
rep movsd dword es:[edi], dword [esi]
jne 0x401120
jmp 0x401225
mov ebp, 0xf
lea ebx, [edi + 0x2d0]
jmp 0x4011b0
mov ecx, 8
mov esi, 0x57d0d0
mov edi, 0x57d978
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov esi, 0x57d0d0
call fcn.00401490
xor eax, eax
nop
movzx ecx, byte [eax + 0x57d0f0]
movzx edx, byte [eax + 0x57d0f1]
xor byte [eax + 0x57d0d0], cl
xor byte [eax + 0x57d0d1], dl
movzx ecx, byte [eax + 0x57d0f2]
movzx edx, byte [eax + 0x57d0f3]
xor byte [eax + 0x57d0d2], cl
xor byte [eax + 0x57d0d3], dl
add eax, 4
cmp eax, 0x20
jl 0x4011d0
dec ebp
mov ecx, 8
mov esi, 0x57d978
mov edi, 0x57d0f0
sub ebx, 0x30
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
jge 0x4011b0
pop ebp
xor eax, eax
pop ebx
lea esp, [esp]
movsx ecx, byte [eax + 0x554810]
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x554811]
mov byte [eax + 0x57d120], dl
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x554812]
mov byte [eax + 0x57d121], dl
movzx edx, byte [ecx + 0x57d0cf]
movsx ecx, byte [eax + 0x554813]
mov byte [eax + 0x57d122], dl
movzx edx, byte [ecx + 0x57d0cf]
mov byte [eax + 0x57d123], dl
add eax, 4
cmp eax, 0x40
jl 0x401230
push 0x40
push 0x57d120
push 0x57d0d0
call fcn.005054c0
mov esi, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x57d0d0
call fcn.00401680
pop edi
pop esi
ret
Function at 0x4012b0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
mov esi, eax
push edi
xor eax, eax
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
inc eax
and dl, 1
cmp eax, 0x40
mov byte [eax + 0x57d08f], dl
jl 0x4012b7
xor eax, eax
jmp 0x4012e0
movsx ecx, byte [eax + str.91__]
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548a1]
mov byte [eax + 0x57d120], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548a2]
mov byte [eax + 0x57d121], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548a3]
mov byte [eax + 0x57d122], dl
movzx edx, byte [ecx + 0x57d08f]
mov byte [eax + 0x57d123], dl
add eax, 4
cmp eax, 0x38
jl 0x4012e0
push 0x38
push 0x57d120
push 0x57d090
call fcn.005054c0
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor edi, edi
movsx esi, byte [edi + 0x554908]
push esi
push 0x57d090
push 0x57d120
call fcn.005054c0
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esi + 0x57d090]
push ecx
push 0x57d090
call fcn.005054c0
push esi
mov edx, 0x57d0ac
sub edx, esi
push 0x57d120
push edx
call fcn.005054c0
movsx esi, byte [edi + 0x554908]
push esi
push 0x57d0ac
push 0x57d120
call fcn.005054c0
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esi + 0x57d0ac]
push ecx
push 0x57d0ac
call fcn.005054c0
push esi
mov edx, 0x57d0c8
sub edx, esi
push 0x57d120
push edx
call fcn.005054c0
add esp, 0x48
xor eax, eax
lea ecx, [ecx]
movsx ecx, byte [eax + 0x5548d8]
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548d9]
mov byte [eax + 0x57d120], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548da]
mov byte [eax + 0x57d121], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548db]
mov byte [eax + 0x57d122], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548dc]
mov byte [eax + 0x57d123], dl
movzx edx, byte [ecx + 0x57d08f]
movsx ecx, byte [eax + 0x5548dd]
mov byte [eax + 0x57d124], dl
movzx edx, byte [ecx + 0x57d08f]
mov byte [eax + 0x57d125], dl
add eax, 6
cmp eax, 0x30
jl 0x4013e0
push 0x30
push 0x57d120
push ebx
call fcn.005054c0
inc edi
add esp, 0xc
add ebx, 0x30
cmp edi, 0x10
jl 0x401352
pop edi
pop esi
pop ebx
ret