joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4576a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047e08a
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00457040
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047dfb8
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047a881
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047a881
push 1
push 0
push 0
mov ecx, esi
call fcn.0047a829
push 1
push 0
push 1
mov ecx, esi
call fcn.0047a829
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047e0fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x457820
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485f48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047e08a
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00457040
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047dfb8
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4578e4
cmp dword [esp + 0x40], 1
jne 0x4578e2
cmp ecx, eax
jge 0x4578e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4578f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004576a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047e0fc
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x458060
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485fb3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00478c9a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047e332
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047f891
test eax, eax
je 0x45817c
mov ecx, dword [esp + 0x3c]
call fcn.0047e35f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x458140
push edi
mov ecx, esi
call fcn.0047b9c8
mov ecx, esi
call fcn.004582e0
cmp dword [esp + 0x38], 1
jne 0x458175
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047bb03
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x45aba0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45abd3
push esi
call fcn.0045dc90
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45abcc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45ac59
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45ac42
mov eax, dword [esi + 8]
test eax, eax
je 0x45abf7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45ac3e
cmp eax, 2
je 0x45ac42
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45abea
cmp eax, 3
je 0x45ac1d
cmp eax, 1
jne 0x45abea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45abea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45abea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045ac80
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45ac68
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045ac80
add esp, 4
pop esi
ret

Function at 0x479a8f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x479ac7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00477b1c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00477af4
jmp 0x479ad3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47b185
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47b1c7
call fcn.00480c96
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47b1c7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47b1be
xor eax, eax
jmp 0x47b1cf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047b1d5
pop edi
pop esi
pop ebx
ret 4

Function at 0x4811c6
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4811f4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x481212
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048112c
jmp 0x481212
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481212
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048112c
test edi, edi
mov eax, edi
jne 0x4811fc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4010b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x4010f4
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4010f0
lea ebx, [ebx]
cmp esi, eax
jae 0x4010f4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4010e0
cmp esi, eax
jb 0x4010fa
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x4038b0
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
lea ecx, [ebx + 2]
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add ecx, ecx
add ecx, ecx
cmp eax, ecx
jge 0x4038d6
xor eax, eax
pop ebx
ret
push esi
mov esi, dword [esp + 0x14]
push edi
push eax
push 0
push esi
call fcn.0042f6a0
add esp, 0xc
xor edi, edi
xor ecx, ecx
test ebx, ebx
jle 0x4039b5
push ebp
mov edx, dword [esp + 0x14]
mov al, byte [edx + edi]
lea ebp, [edi + 1]
movzx edx, al
mov ebx, edx
shr ebx, 2
cmp ebp, dword [esp + 0x18]
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi], bl
jge 0x40399a
mov eax, dword [esp + 0x14]
movzx eax, byte [edi + eax + 1]
and edx, 3
mov ebx, eax
shl edx, 4
shr ebx, 4
or ebx, edx
mov dl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 1], dl
lea edx, [ebp + 1]
mov ebp, dword [esp + 0x18]
and eax, 0xf
cmp edx, ebp
jge 0x403975
mov edx, dword [esp + 0x14]
movzx edx, byte [edi + edx + 2]
mov ebx, edx
add eax, eax
add eax, eax
shr ebx, 6
or ebx, eax
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov byte [ecx + esi + 2], al
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 3], dl
jmp 0x403985
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], 0x3d
add edi, 3
add ecx, 4
cmp edi, ebp
jl 0x4038f5
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret
and eax, 3
shl eax, 4
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov al, 0x3d
mov byte [ecx + esi + 1], dl
mov byte [ecx + esi + 2], al
mov byte [ecx + esi + 3], al
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x407d60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x46a74c]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x407dd9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.0042e802
add esp, 0x110
ret 0xc
Function at 0x4088a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44b838
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46a74c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x84], 0
jne 0x4089cb
call fcn.0041d031
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4088ed
push 0x80004005
call fcn.00401080
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x1c], 0
jge 0x40892b
push 0x104
lea ecx, [esp + 0x14]
call fcn.004013f0
mov esi, dword [esp + 0x10]
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
test esi, esi
jne 0x40893f
xor eax, eax
jmp 0x408955
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x408944
sub eax, edx
js 0x4089de
cmp eax, dword [esi - 8]
jg 0x4089de
push 0xd
mov dword [esi - 0xc], eax
push str.winhlp32.exe
lea ecx, [esp + 0x18]
mov byte [eax + esi], 0
call fcn.00401980
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4089a0
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4089a0
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebx + 0x84], eax
push esi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4089cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401080
int3
Function at 0x411240
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x44c6c8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46a74c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea esi, [ecx + 4]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.004029d0
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x10], ecx
jne 0x4112be
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4112a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
test al, 0x10
mov eax, dword [esp + 0x18]
jne 0x411290
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4112df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4

Function at 0x411300
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44c722
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x46a74c]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
push esi
push edi
mov eax, dword [0x46a74c]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov esi, dword [esp + 0x130]
mov edi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0
push 0x4506d9
mov ecx, esi
mov dword [esp + 0x12c], 2
call fcn.00402130
mov edi, dword [edi + 4]
mov ebp, dword [esp + 0x138]
push edi
mov edi, dword [esp + 0x138]
push 0x104
lea eax, [esp + 0x20]
push eax
push 0x4506d9
push ebp
push edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
lea eax, [esp + 0x18]
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4113a0
sub eax, ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00401790
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4113dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042e802
add esp, 0x11c
ret 0xc

Function at 0x411490
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
shl esi, 4
lea eax, [ecx + 5]
lea esi, [esi + ecx + 0x44]
movzx ecx, byte [esi + edx - 4]
xor byte [eax - 1], cl
movzx ecx, byte [esi + edx]
xor byte [eax], cl
movzx ecx, byte [esi + edx + 4]
xor byte [eax + 1], cl
movzx ecx, byte [esi + edx + 8]
xor byte [eax + 2], cl
add edx, 1
add eax, 4
cmp edx, 4
jl 0x4114a1
pop esi
ret 4
Function at 0x411900
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x46a74c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea ecx, [esi + 5]
lea esp, [esp]
movzx edx, byte [ecx - 1]
mov byte [esp + eax*4 + 0x18], dl
movzx edx, byte [ecx]
mov byte [esp + eax*4 + 0x19], dl
movzx edx, byte [ecx + 1]
mov byte [esp + eax*4 + 0x1a], dl
movzx edx, byte [ecx + 2]
mov byte [esp + eax*4 + 0x1b], dl
add eax, 1
add ecx, 4
cmp eax, 4
jl 0x411920
lea ebp, [esp + 0x20]
lea edi, [esi + 8]
mov dword [esp + 0x14], 4
lea esp, [esp]
movzx ebx, byte [ebp + 4]
push ebx
mov ecx, esi
call fcn.0040b9e0
mov dl, byte [ebp - 8]
mov byte [esp + 0x10], al
movzx eax, byte [ebp]
push eax
call fcn.0040b9e0
push edx
mov byte [esp + 0x17], al
call fcn.00411750
mov byte [esp + 0x11], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411770
movzx ecx, byte [esp + 0x11]
xor cl, al
xor cl, byte [esp + 0x10]
movzx eax, byte [ebp - 8]
xor cl, byte [esp + 0x13]
push eax
mov byte [edi - 4], cl
mov ecx, esi
call fcn.0040b9e0
mov byte [esp + 0x11], al
movzx eax, byte [ebp]
push eax
call fcn.00411770
movzx edx, byte [ebp - 4]
push edx
mov byte [esp + 0x16], al
call fcn.00411750
movzx ecx, byte [esp + 0x12]
xor cl, al
xor cl, byte [esp + 0x11]
push edx
xor cl, byte [esp + 0x14]
mov byte [edi], cl
mov ecx, esi
call fcn.0040b9e0
mov byte [esp + 0x10], al
movzx eax, byte [ebp]
push eax
call fcn.00411750
push ebx
mov byte [esp + 0x16], al
call fcn.00411770
movzx ecx, byte [esp + 0x12]
xor cl, al
xor cl, byte [esp + 0x10]
movzx eax, byte [ebp - 8]
xor cl, byte [esp + 0x11]
push eax
mov byte [edi + 4], cl
mov ecx, esi
call fcn.00411770
push ebx
mov dl, al
call fcn.00411750
xor dl, al
xor dl, byte [esp + 0x10]
add edi, 1
xor dl, byte [esp + 0x13]
add ebp, 1
sub dword [esp + 0x14], 1
mov byte [edi + 7], dl
jne 0x411960
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e802
add esp, 0x1c
ret
Function at 0x411a70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
mov eax, dword [0x46a74c]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor eax, eax
lea ecx, [esi + 5]
lea esp, [esp]
movzx edx, byte [ecx - 1]
mov byte [esp + eax*4 + 0x18], dl
movzx edx, byte [ecx]
mov byte [esp + eax*4 + 0x19], dl
movzx edx, byte [ecx + 1]
mov byte [esp + eax*4 + 0x1a], dl
movzx edx, byte [ecx + 2]
mov byte [esp + eax*4 + 0x1b], dl
add eax, 1
add ecx, 4
cmp eax, 4
jl 0x411a80
lea ebp, [esp + 0x1c]
lea edi, [esi + 8]
mov dword [esp + 0x14], 4
lea esp, [esp]
movzx eax, byte [ebp]
mov bl, byte [ebp + 4]
push eax
mov ecx, esi
call fcn.004117a0
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411800
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.004117d0
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.00411780
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi - 4], cl
push eax
mov ecx, esi
call fcn.00411800
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.00411780
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.004117a0
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.004117d0
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi], cl
push eax
mov ecx, esi
call fcn.00411780
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.004117d0
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.00411800
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.004117a0
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp]
mov byte [edi + 4], cl
push eax
mov ecx, esi
call fcn.004117d0
mov byte [esp + 0x13], al
movzx eax, byte [ebp - 4]
push eax
call fcn.004117a0
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [esp + 0x13], cl
push ebx
mov ecx, esi
call fcn.00411780
movzx ecx, byte [esp + 0x13]
xor cl, al
movzx eax, byte [ebp + 8]
mov byte [esp + 0x13], cl
push eax
mov ecx, esi
call fcn.00411800
movzx ecx, byte [esp + 0x13]
xor cl, al
mov byte [edi + 8], cl
add edi, 1
add ebp, 1
sub dword [esp + 0x14], 1
jne 0x411ac0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042e802
add esp, 0x1c
ret
Function at 0x413870
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], vtable.CMD5Checksum.0
call fcn.0042f6a0
add esp, 0xc
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x4190a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44d648
mov eax, dword fs:[0]
push eax
mov eax, dword [0x46a74c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
add ecx, 0x30
push eax
mov dword [esp + 0x10], 0
call fcn.004029d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4190fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4