joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51805f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004d1672
xor edi, edi
push 0xa
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call fcn.004c05f4
push 0xa
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004c05f4
mov dword [esi + 0x4c], vtable.CArray_struct_stLnkItem__struct_stLnkItem__.0
mov dword [esi + 0x50], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.004d1672
mov byte [esp + 0x14], 4
call fcn.004c01dc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41fdfb
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x74], eax
push esi
mov byte [esp + 0x18], 5
call fcn.0041fed0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x41fe30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x512819
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], 3
mov eax, dword [edi + 0x74]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [edi + 0x60]
call fcn.004d1829
lea esi, [edi + 0x4c]
call fcn.00420600
lea ecx, [edi + 0x30]
mov byte [esp + 0x14], 1
call fcn.004c0725
lea ecx, [edi + 0x14]
mov byte [esp + 0x14], 0
call fcn.004c0725
mov ecx, edi
mov dword [esp + 0x14], 0xffffffff
call fcn.004d1829
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x425d00
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [eax], 0
cmp dword [0x54b4e0], 0
push esi
je 0x425d63
mov eax, dword [0x550798]
test eax, eax
je 0x425d30
push eax
call dword [0x54b538]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 0x14
call fcn.00423850
mov eax, dword [0x550798]
test eax, eax
je 0x425d51
push eax
call dword [0x54b540]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x425d72
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
call dword [0x54b508]
add esp, 4
mov esi, eax
jmp 0x425d55
cmp dword [0x54b4e4], 0
je 0x425db6
mov eax, dword [0x54b5e8]
test eax, eax
je 0x425d92
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x425db6
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x425cd0
push 0
push 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.004e1bd9
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x425dc6
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x425dde
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x427bb0
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x427bdd
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x528550]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x427bc0
pop esi
ret
Function at 0x427c40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, eax
lea eax, [esi*8]
cmp eax, 0x400
jbe 0x427c5b
mov esi, 0x80
cmp esi, dword [edi]
jne 0x427c68
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [0x550638]
test eax, eax
je 0x427c73
call eax
lea ecx, [esi*8]
push 0
push ecx
call fcn.00423910
mov esi, eax
mov eax, dword [0x55063c]
add esp, 8
mov dword [esp + 0x10], esi
test eax, eax
je 0x427c96
call eax
test esi, esi
je 0x427c5f
mov edx, dword [edi + 0xc]
push edx
call fcn.00423c10
add esp, 4
push esi
mov dword [edi + 0xc], esi
call dword [0x54b514]
mov ebx, eax
shr ebx, 3
add esp, 4
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [edi], ebx
call fcn.004e57c0
mov ecx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 8], 0
test ecx, ecx
je 0x427d75
mov esi, dword [ecx + 0xc]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x427d0c
lea ebx, [ebx]
movzx edx, dl
movzx edx, byte [edx + 0x528550]
lea ebp, [eax*8]
xor edx, ebp
inc esi
xor eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x427cf0
xor edx, edx
div ebx
mov eax, dword [esp + 0x10]
mov ebp, dword [ecx]
lea eax, [eax + edx*8]
test eax, eax
je 0x427d52
mov esi, dword [eax]
test esi, esi
je 0x427d28
mov edx, dword [eax + 4]
jmp 0x427d2a
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x427d52
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x427d4a
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x427d6b
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x427d6b
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x427d61
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, ebp
test ebp, ebp
jne 0x427cdf
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x4403b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
movzx ebx, word [ecx + 0x20]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, edx
movsx edx, byte [ecx + 0x44]
mov edx, dword [ecx + edx*4 + 0x78]
mov edx, dword [edx + 0x3c]
push edi
mov edi, dword [ecx + 0x18]
sub edx, edi
cmp ebx, edx
jae 0x4403d5
mov edx, ebx
lea ebx, [esi + ebp]
cmp ebx, edx
ja 0x4403f5
add edi, ebp
mov ecx, 0x1010
mov dword [eax + 0x10], edi
mov word [eax + 8], cx
mov dword [eax + 0xc], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x1c]
push edx
push ebp
call fcn.00440310
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4450b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, eax
call fcn.004384b0
movsx edx, byte [edi + 0x44]
mov ecx, dword [esp + 0x68]
mov esi, dword [edi + 0x10]
xor eax, eax
mov word [esp + 0x18], ax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [edi + edx*4 + 0x78]
mov eax, dword [eax + 0x3c]
movzx edx, word [edi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x4450ee
mov eax, edx
cmp esi, eax
ja 0x44510a
mov edi, ecx
mov ecx, 0x1010
mov ebp, esi
mov dword [esp + 0x20], edi
mov word [esp + 0x18], cx
mov dword [esp + 0x1c], ebp
jmp 0x44512c
push 1
push 0
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.00440310
add esp, 8
test eax, eax
jne 0x4451f8
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov al, byte [edi]
cmp al, 0x80
jae 0x445137
movzx ebx, al
jmp 0x445146
lea esi, [esp + 0x68]
mov ecx, edi
call fcn.00427640
mov ebx, dword [esp + 0x68]
cmp ebx, 3
jb 0x4451bb
cmp ebx, ebp
jg 0x4451bb
mov al, byte [ebx + edi - 1]
lea ecx, [ebx + edi - 1]
cmp al, 0x80
jae 0x445160
movzx edx, al
jmp 0x44516d
lea esi, [esp + 0x68]
call fcn.00427640
mov edx, dword [esp + 0x68]
lea eax, [edx - 1]
cmp eax, 8
ja 0x4451bb
cmp edx, 7
je 0x4451bb
movzx eax, byte [edx + 0x528ce8]
lea ecx, [eax + ebx]
cmp ebp, ecx
jb 0x4451bb
mov ecx, ebp
sub ecx, eax
add ecx, edi
lea eax, [esp + 0x38]
call fcn.00443f70
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0x10]
call fcn.0043fa90
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
test dword [esp + 0x18], 0x2460
jne 0x4451cc
cmp dword [esp + 0x28], 0
je 0x4451d5
lea eax, [esp + 0x10]
call fcn.0043f9f0
push 0x532e08
push 0x11ab5
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.00425af0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x445200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push esi
push edi
mov edi, dword [eax + 0x14]
mov eax, edi
call fcn.004384b0
mov esi, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov ecx, esi
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x4452cb
jb 0x445233
cmp ecx, 0x7ffffffe
ja 0x4452cb
mov edx, dword [esp + 0x38]
xor ecx, ecx
mov word [esp + 0x10], cx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
movsx eax, byte [edi + 0x44]
mov edx, dword [edi + eax*4 + 0x78]
mov eax, dword [edx + 0x3c]
mov ecx, dword [edi + 0x18]
movzx edx, word [edi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x445260
mov eax, edx
cmp esi, eax
ja 0x445278
mov eax, 0x1010
mov dword [esp + 0x18], ecx
mov word [esp + 0x10], ax
mov dword [esp + 0x14], esi
jmp 0x44528e
push 1
push 0
lea eax, [esp + 0x10]
mov ecx, edi
call fcn.00440310
add esp, 8
test eax, eax
jne 0x4452f4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 0
push ecx
push edx
push eax
call fcn.00444780
add esp, 0x10
test dword [esp + 0x10], 0x2460
mov dword [ebx], eax
jne 0x4452ba
cmp dword [esp + 0x20], 0
je 0x4452c3
lea eax, [esp + 8]
call fcn.0043f9f0
xor eax, eax
pop edi
pop esi
add esp, 0x2c
ret
push 0x532e08
push 0x11ad7
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
mov dword [ebx], 0
call fcn.00425af0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x495f50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x512fe8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x495f94
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403270
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
setne cl
mov esi, ecx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x49600b
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x49600b
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x495ff8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret
push 0x80070057
call fcn.00401ff0
int3

Function at 0x496020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
call fcn.004c91ad
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x14]
push 0x52d584
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x49604d
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x49606c
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.004e9720
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x10]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4960c3
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4960c5
xor esi, esi
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop ebx
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
setne al
pop ebp
pop ecx
ret
Function at 0x496880
Capabilities:
Get common file path

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x19
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x496915
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x104
or ecx, edx
jge 0x4968c1
push 0x104
mov ecx, esi
call fcn.00403630
mov eax, dword [esi]
push edi
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x4968e9
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x49690b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x49690b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop ecx
ret
push 0x80070057
call fcn.00401ff0
xor eax, eax
pop ecx
ret
Function at 0x4990b0
Capabilities:
Create pipe
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5143f8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebp
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
call fcn.004c01dc
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4990f8
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x20], ebp
push esi
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0xa4], esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, esi
je 0x49921b
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x14]
xor edx, edx
lea ecx, [esp + 0x34]
push ecx
mov word [esp + 0x78], dx
lea edx, [esp + 0x48]
push edx
push esi
push esi
push 0x20
push 1
push esi
push esi
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x38]
push ebx
push esi
mov dword [esp + 0x98], 0x101
mov dword [esp + 0xa4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x49921b
cmp dword [esp + 0xa4], esi
jne 0x49921b
push ebx
lea ecx, [esp + 0x20]
call fcn.00402480
mov eax, dword [esp + 0x34]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, esi
je 0x4991e2
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4991fb
mov ecx, dword [esp + 0x34]
push ecx
call edi
mov edx, dword [esp + 0x38]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49921b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x49922a
push eax
call edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x499239
push eax
call edi
mov dword [esp + 0x14], esi
lea eax, [ebp - 0x10]
mov dword [esp + 0x9c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x499260
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x90
ret
Function at 0x499c40
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x7c
mov eax, dword [0x549950]
xor eax, esp
mov dword [esp + 0x78], eax
push 0x3f
lea eax, [esp + 0x3d]
push 0
push eax
mov byte [esp + 0x44], 0
call fcn.004e57c0
add esp, 0xc
xor eax, eax
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [esp + eax + 0x37], dl
cmp eax, 0x40
jb 0x499c66
push 0x37
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.004e57c0
add esp, 0xc
xor eax, eax
mov edi, edi
movsx ecx, byte [eax + str.91__]
movzx edx, byte [esp + ecx + 0x37]
movsx ecx, byte [eax + 0x5281dd]
mov byte [esp + eax], dl
movzx edx, byte [esp + ecx + 0x37]
movsx ecx, byte [eax + 0x5281de]
mov byte [esp + eax + 1], dl
movzx edx, byte [esp + ecx + 0x37]
movsx ecx, byte [eax + 0x5281df]
mov byte [esp + eax + 2], dl
movzx edx, byte [esp + ecx + 0x37]
mov byte [esp + eax + 3], dl
add eax, 4
cmp eax, 0x38
jl 0x499ca0
push edi
lea edx, [esp + 4]
call fcn.00499d00
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004df2ac
add esp, 0x7c
ret
Function at 0x499d00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xac
mov eax, dword [0x549950]
xor eax, esp
mov dword [esp + 0xa8], eax
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
push esi
push edi
mov ecx, 7
mov esi, edx
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1c]
mov ecx, 7
lea edi, [esp + 0x9c]
xor ebx, ebx
mov byte [esp + 0x2c], 0
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov word [esp + 0x45], ax
mov byte [esp + 0x47], al
mov byte [esp + 0x10], al
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov word [esp + 0x29], ax
mov byte [esp + 0x2b], al
rep movsd dword es:[edi], dword [esi]
inc ebp
movsx esi, byte [ebx + 0x528244]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esp + esi + 0x84]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.004e9720
push esi
lea eax, [esp + 0x90]
lea ecx, [esp + 0x58]
push eax
sub ecx, esi
push ecx
call fcn.004e9720
movsx esi, byte [ebx + 0x528244]
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [esp + esi + 0xb8]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.004e9720
push esi
lea edx, [esp + 0xc4]
lea eax, [esp + 0x54]
push edx
sub eax, esi
push eax
call fcn.004e9720
push 0x37
lea ecx, [esp + 0x7d]
push 0
push ecx
call fcn.004e57c0
mov ecx, 7
lea esi, [esp + 0x68]
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x4c]
lea edi, [esp + 0xa0]
add esp, 0x3c
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x499e40
movsx edx, byte [eax + 0x528214]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp - 1], cl
movsx edx, byte [eax + 0x528215]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp], cl
movsx edx, byte [eax + 0x528216]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp + 1], cl
movsx edx, byte [eax + 0x528217]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp + 2], cl
movsx edx, byte [eax + 0x528218]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp + 3], cl
movsx edx, byte [eax + 0x528219]
movzx ecx, byte [esp + edx + 0x47]
mov byte [eax + ebp + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x499e40
mov ecx, 7
lea esi, [esp + 0x2c]
lea edi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
inc ebx
mov ecx, 7
lea esi, [esp + 0x10]
lea edi, [esp + 0x9c]
add ebp, 0x30
cmp ebx, 0x10
rep movsd dword es:[edi], dword [esi]
jl 0x499d90
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2ac
add esp, 0xac
ret 4
Function at 0x499f00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xe8
mov eax, dword [0x549950]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
push esi
push edi
xor ebx, ebx
push 0x3f
lea eax, [esp + 0x19]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x20], bl
call fcn.004e57c0
push 0x3f
lea ecx, [esp + 0xc5]
push ebx
push ecx
mov byte [esp + 0xcc], bl
call fcn.004e57c0
push 0x3f
lea edx, [esp + 0x71]
push ebx
push edx
call fcn.004e57c0
add esp, 0x24
xor eax, eax
lea ecx, [ecx]
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [esp + eax + 0x13], dl
cmp eax, 0x40
jb 0x499f60
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x14]
call fcn.0049a3d0
mov ecx, 8
lea esi, [esp + 0xb4]
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0xd4]
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
lea esp, [esp]
lea eax, [esp + 0x94]
push eax
lea edx, [esp + 0x18]
mov ecx, 0xf
push edx
sub ecx, esi
mov edx, ebp
call fcn.0049a140
inc esi
cmp esi, 0x10
jl 0x499fc0
mov ecx, 8
lea esi, [esp + 0x94]
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x14]
lea edi, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
lea eax, [ebp + 0x641]
lea ebx, [ebx]
movsx edx, byte [ecx + 0x528508]
movzx edx, byte [esp + edx + 0x53]
mov byte [eax + ecx - 1], dl
movsx edx, byte [ecx + 0x528509]
movzx edx, byte [esp + edx + 0x53]
mov byte [eax + ecx], dl
movsx edx, byte [ecx + 0x52850a]
movzx edx, byte [esp + edx + 0x53]
mov byte [eax + ecx + 1], dl
movsx edx, byte [ecx + 0x52850b]
movzx edx, byte [esp + edx + 0x53]
mov byte [eax + ecx + 2], dl
add ecx, 4
cmp ecx, 0x40
jl 0x49a010
xor ecx, ecx
mov dword [ebp + 0x688], ecx
mov dword [ebp + 0x68c], ecx
lea esi, [ecx + 2]
mov ecx, 0xfffff9c2
sub ecx, ebp
mov ebx, 0xfffff9bf
mov dword [esp + 0x10], ecx
sub ebx, ebp
lea ebx, [ebx]
lea edx, [ebx + eax]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + ebp + 0x688]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax - 1]
shl dl, cl
lea ecx, [esi - 1]
shr ecx, 3
or byte [edi], dl
lea edi, [ecx + ebp + 0x688]
lea edx, [esi - 1]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax]
shl dl, cl
mov ecx, esi
shr ecx, 3
or byte [edi], dl
lea edi, [ecx + ebp + 0x688]
mov edx, esi
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + 1]
shl dl, cl
mov ecx, dword [esp + 0x10]
add esi, 4
or byte [edi], dl
lea edx, [ecx + eax]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + ebp + 0x688]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + 2]
shl dl, cl
add eax, 4
lea ecx, [ebx + eax]
or byte [edi], dl
cmp ecx, 0x40
jb 0x49a080
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004df2ac
add esp, 0xe8
ret 4