joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405731
Capabilities:
Create process on windows
Resume thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x790]
mov ebx, 1
cmp al, bl
je 0x405807
cmp byte [esi + 0x98c], bl
je 0x405807
mov al, byte [esi + 0x14c0]
test al, al
jne 0x40578f
mov al, byte [esi + 0x791]
test al, al
push 0x43bb83
lea ecx, [esi + 0xb6c]
push 0x43bb83
je 0x40577e
push str.launcher_update
jmp 0x405783
push str.launcher_patch
push 0x50
push str.elitegunz.net
call fcn.0040c980
mov al, byte [esi + 0x17dc]
push ebp
push edi
xor edi, edi
cmp al, bl
jne 0x4057b7
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jg 0x4057ef
push 0x64
call ebp
mov al, byte [esi + 0x17dc]
inc edi
cmp al, bl
je 0x4057a3
push 0
push 0
push 0
push 0
push esi
push 0x405350
mov byte [esi + 0x17dc], bl
call fcn.0043028e
mov dword [esi + 0x17d8], eax
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop ebp
lea ecx, [esi + 0x794]
pop esi
pop ebx
jmp fcn.0042ed16
push str._APP__ERROR___The_thread_is_not_terminating.
call fcn.00402f00
add esp, 4
pop edi
pop ebp
mov dword [esi + 0xb68], ebx
pop esi
pop ebx
ret
mov dword [esi + 0xb68], 8
mov ecx, esi
pop esi
pop ebx
jmp fcn.00404a10

Function at 0x406d80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439652
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
push eax
mov ebp, ecx
push 0x69
mov dword [esp + 0x14], ebp
call fcn.00409d60
lea esi, [ebp + 0x758]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x5c], ebx
mov dword [ebp], method.CDialog.virtual_0
call fcn.0042c1fc
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x7a8]
mov ecx, esi
mov byte [esp + 0x5c], 1
call fcn.0042c1fc
mov dword [esi], vtable.CListBox.0
lea ecx, [ebp + 0x7f8]
mov byte [esp + 0x5c], 2
call fcn.004093a0
lea ecx, [ebp + 0x8e4]
mov byte [esp + 0x5c], 3
call fcn.004093a0
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x9d0], eax
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x9d8], eax
cmp byte [ebp + 0x560], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], 0x258
mov dword [esp + 0x14], 0x1ae
mov dword [esp + 0x18], 0x84
mov dword [esp + 0x24], 0x969696
mov dword [esp + 0x28], 0x302f2e
jne 0x406ea2
push edi
lea edi, [ebp + 0x49c]
mov ecx, 0x11
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x9e0], ebx
mov dword [ebp + 0x9dc], ebx
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x407310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4396a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
push eax
mov ebp, ecx
push 0x67
mov dword [esp + 0x14], ebp
call fcn.00409d60
lea esi, [ebp + 0x758]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x5c], ebx
mov dword [ebp], method.CDialog.virtual_0
call fcn.0042c1fc
mov dword [esi], vtable.CStatic.0
lea ecx, [ebp + 0x7a8]
mov byte [esp + 0x5c], 1
call fcn.004093a0
lea ecx, [ebp + 0x894]
mov byte [esp + 0x5c], 2
call fcn.004093a0
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x980], eax
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x984], eax
cmp byte [ebp + 0x560], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], 0x14a
mov dword [esp + 0x14], 0x96
mov dword [esp + 0x18], 0x84
mov dword [esp + 0x24], 0x969696
mov dword [esp + 0x28], 0x302f2e
mov dword [ebp + 0x98c], ebx
mov eax, ebp
jne 0x407422
push edi
lea edi, [ebp + 0x49c]
mov ecx, 0x11
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x407cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439722
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
push eax
mov ebp, ecx
push 0x6a
mov dword [esp + 0x14], ebp
call fcn.00409d60
lea esi, [ebp + 0x758]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x5c], ebx
mov dword [ebp], method.CDialog.virtual_0
call fcn.0042c1fc
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x7a8]
mov ecx, esi
mov byte [esp + 0x5c], 1
call fcn.0042c1fc
mov dword [esi], vtable.CButton.0
lea ecx, [ebp + 0x7f8]
mov byte [esp + 0x5c], 2
call fcn.004093a0
lea ecx, [ebp + 0x8e4]
mov byte [esp + 0x5c], 3
call fcn.004093a0
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x9d0], eax
call fcn.0042ab48
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0x9d4], eax
cmp byte [ebp + 0x560], bl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x10], 0x17c
mov dword [esp + 0x14], 0xe6
mov dword [esp + 0x18], 0x84
mov dword [esp + 0x24], 0x969696
mov dword [esp + 0x28], 0x302f2e
mov byte [ebp + 0x9dc], bl
mov eax, ebp
jne 0x407dfa
push edi
lea edi, [ebp + 0x49c]
mov ecx, 0x11
lea esi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
pop edi
mov ecx, dword [esp + 0x54]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 4
Function at 0x408150
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x439798
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x38]
test edi, edi
mov esi, ecx
jne 0x408178
xor eax, eax
jmp 0x40817b
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0043241b
test eax, eax
je 0x4081e5
mov dword [esi + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], vtable.CBitmap.0
mov dword [esp + 0x30], 0
call fcn.004365bf
movzx ecx, word [esp + 0x3c]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0xc]
call fcn.00432718
test eax, eax
jne 0x4081fa
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.CGdiObject.0
call fcn.0043276f
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 4]
push edx
push eax
call fcn.004327a1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x18], ecx
push 1
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00431f33
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 8], vtable.CGdiObject.0
call fcn.0043276f
mov ecx, dword [esp + 0x28]
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x4083f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4397c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call fcn.00432037
test edi, edi
mov dword [esp + 0x3c], 0
jne 0x408424
xor eax, eax
jmp 0x408427
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x10]
call fcn.0043241b
mov dword [esp + 8], 0
mov dword [esp + 4], vtable.CBitmap.0
mov byte [esp + 0x3c], 1
call fcn.004365bf
movzx ecx, word [esp + 0x4c]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 8]
call fcn.00432718
test eax, eax
jne 0x4084aa
lea ecx, [esp + 4]
mov byte [esp + 0x3c], al
mov dword [esp + 4], vtable.CGdiObject.0
call fcn.0043276f
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00432499
xor al, al
pop edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x2c
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x10]
push ebx
push esi
push edx
push eax
call fcn.004327a1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 0x18
push edx
mov esi, eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0x34]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004082f0
test esi, esi
mov bl, al
je 0x408516
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x18]
push esi
push edx
call fcn.004327a1
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
mov dword [esp + 0xc], vtable.CGdiObject.0
call fcn.0043276f
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call fcn.00432499
mov ecx, dword [esp + 0x3c]
pop esi
mov al, bl
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x2c
Function at 0x40ad70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
call fcn.004365bf
movzx ecx, word [esp + 8]
mov eax, dword [eax + 0xc]
push 0x43d3d4
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40adb5
call fcn.004365bf
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40adb5
push 7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
pop esi
ret 4
Function at 0x40bbb0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x510
lea eax, [esp + 0x104]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x204]
push ecx
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 0x51c]
lea eax, [esp + 0x310]
push eax
lea ecx, [esp + 0x418]
push ecx
push edx
call fcn.0041cce4
lea eax, [esp + 0x218]
push eax
mov eax, dword [esp + 0x530]
lea ecx, [esp + 0x18]
push ecx
push str.PATCH
lea edx, [esp + 0x124]
push edx
push 0x43d94c
push eax
call fcn.0041b77b
add esp, 0x53c
ret

Function at 0x40c4c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x439c8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
mov esi, dword [esp + 0x11c]
push esi
lea ecx, [esp + 8]
mov dword [esp + 8], 0
call fcn.00405a80
lea eax, [esp + 8]
push eax
push 0x100
mov dword [esp + 0x118], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c517
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
push esi
call fcn.0041cf70
add esp, 0xc
test eax, eax
jne 0x40c584
push 1
push 0x43c63c
lea ecx, [esp + 0xc]
call fcn.00401b80
lea eax, [esp + 8]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c550
sub eax, edx
lea edx, [eax + esi]
test edx, edx
jne 0x40c564
xor eax, eax
jmp 0x40c579
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c570
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xc]
call fcn.00405120
mov eax, dword [esp + 4]
add eax, 0xfffffff0
push eax
call fcn.00403430
mov esi, dword [esp + 0x11c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x110], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c5c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x108]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret
Function at 0x40def0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3c
push esi
push 0
push 0x10000000
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x40df8c
cmp esi, 0xffffffff
je 0x40df8c
push ebx
push edi
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, dword [esp + 0x38]
push 0
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x20], 0
call ebx
test eax, eax
je 0x40df7c
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
add edi, ecx
test eax, eax
je 0x40df7c
push 0
lea ecx, [esp + 0x14]
push ecx
push 4
lea edx, [esp + 0x18]
push edx
push esi
mov dword [esp + 0x20], 0
call ebx
test eax, eax
jne 0x40df51
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
add esp, 0x3c
ret
xor eax, eax
pop esi
add esp, 0x3c
ret

Function at 0x40e000
Capabilities:
Create directory

Disassembly:
sub esp, 0x208
mov eax, dword [0x450448]
push esi
mov esi, dword [esp + 0x210]
lea edx, [esp + 8]
mov dword [esp + 0x208], eax
push edi
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40e023
mov edi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
jne 0x40e04b
lea ecx, [esp + 0xc]
push ecx
call fcn.0040dfa0
add esp, 4
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e052
sub eax, edx
mov dword [esp + 8], eax
jne 0x40e078
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x204]
call fcn.0041d1f8
add esp, 0x208
ret
lea edx, [esp + 0xc]
push edx
call edi
test eax, eax
je 0x40e09a
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x204]
call fcn.0041d1f8
add esp, 0x208
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [esp + 0x10]
push eax
call edi
test eax, eax
jne 0x40e083
lea edx, [esp + 0x10c]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40e0b8
lea ecx, [esp + 0x10c]
push ecx
call fcn.0040dfa0
lea edx, [esp + 0x110]
push edx
call fcn.0040e000
add esp, 8
push 0
lea eax, [esp + 0x10]
push eax
call edi
mov ecx, dword [esp + 0x20c]
test eax, eax
pop edi
setne al
pop esi
call fcn.0041d1f8
add esp, 0x208
ret
Function at 0x411670
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [ebp + 0x38]
lea ecx, [eax + edx]
cmp ecx, 0x10
mov dword [esi], ecx
mov esi, dword [esp + 0x14]
push edi
jae 0x4116c0
lea edi, [eax + ebp + 0x28]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x38]
mov ecx, dword [esp + 0x20]
pop edi
add eax, edx
mov dword [ebp + 0x38], eax
pop esi
pop ebp
mov dword [ecx], 0
xor eax, eax
pop ebx
ret
cmp esi, ebx
jne 0x4116ce
pop edi
pop esi
pop ebp
mov eax, 0x1001
pop ebx
ret
mov ecx, 0x10
sub ecx, eax
mov dword [esp + 0x14], ecx
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
add edx, ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
lea edi, [edx + eax - 0x10]
mov eax, dword [ebp + 0x18]
xor eax, ecx
mov dword [ebx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x2c]
xor ecx, eax
mov dword [ebx + 4], ecx
mov edx, dword [ebp + 0x30]
xor edx, dword [ebp + 0x20]
mov dword [ebx + 8], edx
mov eax, dword [ebp + 0x34]
xor eax, dword [ebp + 0x24]
mov dword [ebx + 0xc], eax
lea eax, [ebp + 0x3c]
push ebx
push eax
mov dword [esp + 0x24], edi
call fcn.00410400
add esp, 8
add ebx, 0x10
cmp edi, 0x10
jb 0x4117a5
mov eax, edi
shr eax, 4
mov dword [esp + 0x1c], eax
jmp 0x411750
mov ecx, dword [ebx - 0x10]
mov esi, dword [esp + 0x18]
xor ecx, dword [esi]
mov dword [ebx], ecx
mov eax, dword [ebx - 0xc]
mov edx, dword [esi + 4]
xor edx, eax
mov dword [ebx + 4], edx
mov ecx, dword [ebx - 8]
mov eax, dword [esi + 8]
xor eax, ecx
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [ebx - 4]
lea eax, [ebp + 0x3c]
xor ecx, edx
push ebx
push eax
mov dword [ebx + 0xc], ecx
call fcn.00410400
mov eax, dword [esp + 0x24]
add esi, 0x10
add esp, 8
add ebx, 0x10
sub edi, 0x10
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
jne 0x411750
mov dword [esp + 0x1c], edi
mov edx, dword [ebx - 0x10]
mov esi, dword [esp + 0x18]
mov dword [ebp + 0x18], edx
mov eax, dword [ebx - 0xc]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx - 8]
mov dword [ebp + 0x20], ecx
mov edx, dword [ebx - 4]
mov ecx, edi
mov eax, ecx
mov dword [ebp + 0x24], edx
shr ecx, 2
lea edi, [ebp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x38], eax
mov edx, dword [ecx]
pop edi
pop esi
sub edx, eax
pop ebp
mov dword [ecx], edx
xor eax, eax
pop ebx
ret
Function at 0x4117f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [eax + edx]
cmp ecx, 0x10
mov dword [esi], ecx
mov esi, dword [esp + 0x10]
push edi
jae 0x41183e
lea edi, [eax + ebx + 0x28]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x20]
pop edi
add eax, edx
mov dword [ebx + 0x38], eax
pop esi
mov dword [ecx], 0
xor eax, eax
pop ebp
pop ecx
ret
cmp esi, ebp
jne 0x41184c
pop edi
pop esi
mov eax, 0x1001
pop ebp
pop ecx
ret
mov ecx, 0x10
sub ecx, eax
mov dword [esp + 0xc], ecx
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, edx
mov edx, dword [esp + 0x18]
add esi, ecx
mov dword [esp + 0x14], esi
lea edi, [edx + eax - 0x10]
lea esi, [ebx + 0x18]
lea eax, [ebx + 0x3c]
push esi
push eax
mov dword [esp + 0x20], edi
call fcn.00410400
mov ecx, dword [esi]
mov eax, dword [ebx + 0x28]
xor eax, ecx
mov dword [ebp], eax
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x2c]
xor ecx, edx
mov dword [ebp + 4], ecx
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
xor edx, eax
mov dword [ebp + 8], edx
mov eax, dword [ebx + 0x34]
xor eax, dword [ebx + 0x24]
mov dword [ebp + 0xc], eax
add esp, 8
add ebp, 0x10
cmp edi, 0x10
jb 0x411921
mov eax, edi
shr eax, 4
mov dword [esp + 0x18], eax
jmp 0x4118d0
lea eax, [ebx + 0x3c]
push esi
push eax
call fcn.00410400
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
xor ecx, dword [esi]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
xor edx, dword [ebx + 0x1c]
mov dword [ebp + 4], edx
mov ecx, dword [eax + 8]
xor ecx, dword [ebx + 0x20]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [ebx + 0x24]
add eax, 0x10
xor edx, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xc], edx
add esp, 8
add ebp, 0x10
sub edi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x4118d0
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x14]
mov ecx, edi
mov eax, ecx
shr ecx, 2
lea edi, [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, eax
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
pop edi
sub edx, eax
pop esi
mov dword [ecx], edx
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x411960
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [eax + edx]
cmp ecx, 0x10
mov dword [esi], ecx
mov esi, dword [esp + 0x10]
push edi
jae 0x4119ae
lea edi, [eax + ebx + 0x28]
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x38]
mov ecx, dword [esp + 0x20]
pop edi
add eax, edx
mov dword [ebx + 0x38], eax
pop esi
mov dword [ecx], 0
xor eax, eax
pop ebp
pop ecx
ret
cmp esi, ebp
jne 0x4119bc
pop edi
pop esi
mov eax, 0x1001
pop ebp
pop ecx
ret
mov ecx, 0x10
sub ecx, eax
mov dword [esp + 0xc], ecx
mov edx, ecx
shr ecx, 2
lea edi, [eax + ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, edx
mov edx, dword [esp + 0x18]
add esi, ecx
mov dword [esp + 0x14], esi
lea edi, [edx + eax - 0x10]
lea esi, [ebx + 0x18]
lea eax, [ebx + 0x3c]
push esi
push eax
mov dword [esp + 0x20], edi
call fcn.00410400
mov eax, dword [ebx + 0x28]
mov ecx, dword [esi]
mov edx, dword [ebx + 0x1c]
xor ecx, eax
mov dword [esi], ecx
mov eax, ecx
mov ecx, dword [ebx + 0x2c]
xor edx, ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x1c], edx
mov edx, dword [ebx + 0x30]
xor ecx, edx
mov edx, dword [ebx + 0x24]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 0x34]
xor edx, ecx
mov dword [ebx + 0x24], edx
mov dword [ebp], eax
mov edx, dword [ebx + 0x1c]
mov dword [ebp + 4], edx
mov eax, dword [ebx + 0x20]
mov dword [ebp + 8], eax
mov ecx, dword [ebx + 0x24]
mov dword [ebp + 0xc], ecx
add esp, 8
add ebp, 0x10
cmp edi, 0x10
jb 0x411ac0
mov eax, edi
shr eax, 4
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x3c]
push esi
push eax
call fcn.00410400
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov ecx, dword [esi]
xor ecx, edx
mov edx, dword [ebx + 0x1c]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
xor edx, ecx
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x1c], edx
mov edx, dword [eax + 8]
xor ecx, edx
mov edx, dword [ebx + 0x24]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax + 0xc]
xor edx, ecx
mov dword [ebx + 0x24], edx
mov edx, dword [esi]
mov dword [ebp], edx
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + 4], ecx
mov edx, dword [ebx + 0x20]
add eax, 0x10
mov dword [ebp + 8], edx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 0xc], ecx
add esp, 8
add ebp, 0x10
sub edi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x411a53
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, ecx
shr ecx, 2
lea edi, [ebx + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, eax
mov dword [ebx + 0x38], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
pop edi
sub edx, eax
pop esi
mov dword [ecx], edx
xor eax, eax
pop ebp
pop ecx
ret