joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461396
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.0044eabb
call fcn.00410ed0
cmp eax, esi
pop esi
jne 0x4613b2
mov ecx, 0x614550
jmp fcn.0047bd0c
ret

Function at 0x4630ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00467cde
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x463128
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00462d31
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x463186
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x4631aa
cmp dword [edi + 0x74], 0
jne 0x4631aa
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00467cde
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00463147
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x465834
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004651bc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x46587e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004474f5
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401e80
jmp 0x465889
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004d01ef
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x46588f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00450d13
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4658cc
call fcn.004651bc
mov dword [esi + 0xc], 1
jmp 0x4658d1
call fcn.004651bc
cmp dword [esi], 0
je 0x46591a
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4658f2
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004474f5
jmp 0x465904
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.004023e0
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00401e80
jmp 0x46593e
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x46593e
push dword [esi]
push dword [ebp + 8]
call fcn.004d01ef
pop esi
pop ebp
ret 0xc

Function at 0x47b118
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x47b14d
xor eax, eax
jmp 0x47b1a0
lea eax, [ebp - 0x210]
push eax
call fcn.0057cee6
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x47b17e
push 0x5b5850
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0057fcc2
add esp, 0xc
test eax, eax
jne 0x47b149
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0057fcc2
add esp, 0xc
test eax, eax
jne 0x47b149
lea eax, [ebp - 0x210]
push eax
call fcn.0044bd08
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057a982
leave
ret

Function at 0x4860d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4860ee
call fcn.00467cde
mov esi, dword [eax + 0xc]
push dword [0x614898]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x48610c
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x486104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x486139
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x486106
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00486002
mov esi, eax
jmp 0x48612b
Function at 0x4c5207
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x11c], eax
mov esi, ecx
lea eax, [ebp - 0x120]
jne 0x4c524f
push 0x5bb520
push 4
push eax
call fcn.0057af4d
push eax
call fcn.0040d9f0
add esp, 0x10
jmp 0x4c5265
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4c52e8
push edi
call fcn.0057d91e
mov edi, dword [eax]
call fcn.0057d91e
and dword [eax], 0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x11c]
lea eax, [ebp - 0x118]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0057af2c
add esp, 0x18
mov dword [ebp - 0x11c], eax
call fcn.0057d91e
cmp dword [eax], 0
je 0x4c52bc
call fcn.0057d91e
push dword [eax]
call fcn.00440b7e
pop ecx
jmp 0x4c52c3
call fcn.0057d91e
mov dword [eax], edi
cmp dword [ebp - 0x11c], 0xffffffff
pop edi
je 0x4c52e8
cmp dword [ebp - 0x11c], esi
jae 0x4c52e8
push 0
push 0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x4c52ea
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057a982
leave
ret
Function at 0x4c52f7
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0044bc82
pop ecx
cmp eax, esi
je 0x4c53e1
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x4c53e1
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.0057da80
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x4c53e1
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x4c53e1
cmp esi, 0x14
jge 0x4c53e1
push 0x10
push 0
push edi
call fcn.00580a28
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4c53d0
call fcn.0057d91e
cmp dword [eax], 0x22
je 0x4c53d0
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.0057cee6
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x4c53a6
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x614c04], 0
jne 0x4c546c
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x4c5495
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.004c5207
pop ecx
pop ecx
test eax, eax
jne 0x4c5497
inc edi
cmp edi, esi
jl 0x4c5472
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057a982
leave
ret 8
Function at 0x4c6e41
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4c6e89
call fcn.00467cde
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4c6e89
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4c6ecc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4c6eb5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4c6eb5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x4c6ec9
mov ecx, dword [esi + 0x68]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4c9e02
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x4c9e26
mov eax, dword [esi]
push 0
call dword [eax + 0xe0]
test eax, eax
jne 0x4c9e34
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0xe0]
jmp 0x4c9e20
xor eax, eax
inc eax
pop esi
ret

Function at 0x4cd38e
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x4cd3cc
push 0x5bc280
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x4cd3da
push str.MoveFileTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4cd3da
push dword [esi]
push 2
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4cd3dc
cmp dword [esi + 4], 0
je 0x4cd3da
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileA]
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x4ced87
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x59c084
call fcn.0057d47f
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402570
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4cede9
call fcn.004675a1
cmp eax, 1
jne 0x4cede9
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004a2913
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402c20
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402990
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402990
mov eax, esi
call fcn.0057d557
ret 0x10
Function at 0x4cee12
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x59c084
call fcn.0057d47f
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00402570
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4cee74
call fcn.004675a1
cmp eax, 1
jne 0x4cee74
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004a2913
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00402c20
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00402990
mov dword [ebp + 8], reloc.WS2_32.dll_accept
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402990
mov eax, esi
call fcn.0057d557
ret 0x14

Function at 0x52be5a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x52be72
mov edi, dword [esi + 0xc]
jmp 0x52beb2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x52be8b
call fcn.00463872
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x52bea0
call fcn.00463872
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x52beb2
call fcn.00463872
call fcn.00467cde
cmp dword [eax + 0x3c], 0
je 0x52bec7
push edi
mov ecx, ebx
call fcn.0052ad20
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0052bd74
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x52bee5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x52bef1
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x57a982
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x610044]
jne 0x57a98c
repz ret
jmp fcn.005824c4
Function at 0x590ef7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x610044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0058429d
and dword [ebp - 0x14], 0
cmp dword [0x6180e4], 0
mov dword [ebp - 0x18], eax
jne 0x590faa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x591052
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x591052
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5db010
push ebx
mov dword [0x6180e4], eax
call edi
push eax
call esi
push 0x5daffc
push ebx
mov dword [0x6180e8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x6180ec], eax
call edi
push eax
call esi
mov dword [0x6180f4], eax
test eax, eax
je 0x590faa
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x6180f0], eax
mov eax, dword [0x6180f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x591003
cmp dword [0x6180f4], ecx
je 0x591003
push eax
call esi
push dword [0x6180f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x591003
test ebx, ebx
je 0x591003
call edi
test eax, eax
je 0x590ffa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x590ffa
test byte [ebp - 8], 1
jne 0x591003
or dword [ebp + 0x10], 0x200000
jmp 0x591036
mov eax, dword [0x6180e8]
cmp eax, dword [ebp - 0x18]
je 0x591036
push eax
call esi
test eax, eax
je 0x591036
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x591036
mov eax, dword [0x6180ec]
cmp eax, dword [ebp - 0x18]
je 0x591036
push eax
call esi
test eax, eax
je 0x591036
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x6180e4]
call esi
test eax, eax
je 0x591052
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x591054
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057a982
leave
ret
Function at 0x10002210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp byte [esi + 4], 0
je 0x100022b5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100022b5
xor edx, edx
div dword [esi + 0x3cc]
test edx, edx
jne 0x100022b5
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test eax, eax
je 0x100022b4
push ebx
lea ebx, [esi + 0x3f4]
mov edx, dword [ebp + 8]
push edx
mov ecx, edi
call fcn.10001a90
cmp byte [esi + 4], 0
mov eax, dword [ebp + 8]
je 0x10002281
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x10002281
mov dl, byte [ebx + ecx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esi + 0x3cc]
jl 0x10002272
mov eax, dword [esi + 0x3cc]
push eax
push edi
push ebx
call sub.MSVCR100.dll_memcpy
mov eax, dword [esi + 0x3cc]
add dword [ebp + 8], eax
add edi, eax
mov eax, dword [ebp + 0x10]
xor edx, edx
div dword [esi + 0x3cc]
mov ecx, dword [ebp - 4]
inc ecx
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ecx, eax
jb 0x10002254
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100411cb
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x1005b034]
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 dword [ebp - 0x490], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x488], eax
mov eax, dword [eax + 0x10]
mov esi, eax
shr esi, 4
lea ebx, [esi + 1]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x48c], eax
shl ebx, 4
lea eax, [ebx + 1]
push eax
call fcn.1003e3cc
mov edi, eax
lea eax, [ebx + 1]
push eax
push 0
push edi
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x488]
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x100027d6
mov eax, dword [eax]
mov edx, edi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100027e0
mov ecx, dword [ebp - 0x48c]
and ecx, 0xf
mov eax, 0x10
sub eax, ecx
test eax, eax
jle 0x10002810
shl esi, 4
push eax
add esi, ecx
push eax
add esi, edi
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
xor ecx, ecx
mov byte [ebx + edi], 0
mov word [ebp - 0x488], 0x3416
mov byte [ebp - 0x486], 0x96
test ebx, ebx
jle 0x10002854
lea ebx, [ebx]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
sub eax, edx
mov dl, byte [ebp + eax - 0x488]
xor byte [ecx + edi], dl
inc ecx
cmp ecx, ebx
jl 0x10002830
lea esi, [ebx + 1]
push esi
call fcn.1003e3cc
push esi
xor esi, esi
push esi
push eax
mov dword [ebp - 0x48c], eax
call sub.MSVCR100.dll_memset
add esp, 0x10
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x480], 0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 4], esi
push str.__is2ssy_uperecure2J__.123__
lea esi, [ebp - 0x484]
call fcn.10001d40
mov esi, dword [ebp - 0x48c]
push ebx
push esi
push edi
lea eax, [ebp - 0x484]
call fcn.10002150
push ebx
mov ebx, dword [ebp - 0x490]
push esi
push ebx
call fcn.100085b0
push edi
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
call edi
push esi
call edi
add esp, 0x14
mov eax, ebx
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.1003e6b0
mov esp, ebp
pop ebp
ret
Function at 0x100076e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040158
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1005b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10007802
cmp byte [edi + 0x49], bl
je 0x10007802
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x100077f6
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10007754
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov ecx, eax
cmp edx, 0x10
jae 0x1000776c
lea ecx, [ebp - 0x2c]
mov eax, ecx
add ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
push edx
push ecx
mov ecx, dword [edi + 0x44]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, ebx
je 0x10007793
dec eax
je 0x10007796
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x100077f1
jmp 0x100077fd
mov byte [edi + 0x49], bl
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp edx, 0x10
jae 0x100077a6
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x100077d0
cmp edx, 0x10
jae 0x100077b5
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x100077ee
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], bl
je 0x100077fa
cmp esi, ebx
jne 0x10007760
push ebx
mov ebx, 8
lea esi, [ebp - 0x2c]
call fcn.10008270
xor ebx, ebx
jmp 0x1000775a
lea ecx, [ebp - 0x2c]
call fcn.10003310
xor al, al
jmp 0x10007804
lea ecx, [ebp - 0x2c]
call fcn.10003310
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e6b0
mov esp, ebp
pop ebp
ret