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

Disassembly:
push 0xffffffffffffffff
push 0x485f98
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.0047ea19
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00441c50
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.0047e947
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.0047b20b
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.0047b20b
push 1
push 0
push 0
mov ecx, esi
call fcn.0047b1b3
push 1
push 0
push 1
mov ecx, esi
call fcn.0047b1b3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047ea8b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x442470
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x485fb8
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.0047ea19
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00441c50
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.0047e947
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 0x442534
cmp dword [esp + 0x40], 1
jne 0x442532
cmp ecx, eax
jge 0x442534
mov eax, ecx
cmp eax, 0xc8
jge 0x442540
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004422f0
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.0047ea8b
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x442d40
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x486063
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.0047962b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_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.0047ecc1
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004801dd
test eax, eax
je 0x442e5c
mov ecx, dword [esp + 0x3c]
call fcn.0047ecee
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 0x442e20
push edi
mov ecx, esi
call fcn.0047c357
mov ecx, esi
call fcn.00443000
cmp dword [esp + 0x38], 1
jne 0x442e55
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.0047c492
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 0x445040
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445073
push esi
call fcn.00453400
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44506c
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 0x4450f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4450e2
mov eax, dword [esi + 8]
test eax, eax
je 0x445097
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 0x4450de
cmp eax, 2
je 0x4450e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44508a
cmp eax, 3
je 0x4450bd
cmp eax, 1
jne 0x44508a
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 0x44508a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44508a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445120
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445108
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445120
add esp, 4
pop esi
ret

Function at 0x4459a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4459c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4459c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4459c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x461540
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4615e3
test eax, eax
jbe 0x4615e3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4615e3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46158e
xor esi, esi
jmp 0x461594
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4615bf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004030e0
add esi, eax
push esi
mov ebx, esi
call fcn.004030e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4615a0
pop ebp
test edi, edi
pop edi
jne 0x4615e3
test ebx, ebx
je 0x4615e3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004684a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x461705
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46181d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46181d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00479a7d
mov esi, eax
test esi, esi
je 0x46181d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46181d
mov ecx, esi
call fcn.00461690
cmp edi, eax
jge 0x46181d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4617a3
mov dword [esp + 0x34], 1
jmp 0x4617fe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46181d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0045ff50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47a421
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47a459
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.004784d5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004784ad
jmp 0x47a465
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47bb0f
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 0x47bb51
call fcn.004815cd
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47bb51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47bb48
xor eax, eax
jmp 0x47bb59
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047bb5f
pop edi
pop esi
pop ebx
ret 4
Function at 0x481afd
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 0x481b2b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x481b49
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00481a63
jmp 0x481b49
mov eax, dword [esi + 0x14]
test eax, eax
je 0x481b49
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00481a63
test edi, edi
mov eax, edi
jne 0x481b33
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402180
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x4021c6
sub ebx, 0x422580
mov ax, word [ebx + edi*2 + 0x422580]
mov ecx, esi
xor ax, word [edi*2 + 0x422580]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4021a4
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x402d56
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x453250], ebx
jne 0x402d9c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x402d7d
shr eax, 1
xor eax, 0xedb88320
jmp 0x402d7f
shr eax, 1
dec edx
jne 0x402d70
mov dword [ecx*4 + 0x452e50], eax
inc ecx
cmp ecx, 0x100
jl 0x402d6b
mov dword [0x453250], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x402dd1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x452e50]
inc ebx
cmp ebx, esi
jb 0x402db7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x403d2e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x18]
mov eax, 0x5a4d
mov dword [esp + 0x10], ecx
cmp word [esi], ax
je 0x403d4b
xor eax, eax
jmp 0x403eb9
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi + 0x74], 0x10
jne 0x403d44
mov ecx, dword [eax + esi + 0x7c]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x403d44
push ebx
push ebp
push edi
mov edi, dword [eax + esi + 0x78]
xor ebx, ebx
add edi, esi
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
add eax, esi
mov dword [esp + 0x10], eax
add edx, esi
mov eax, dword [edi + 0x1c]
add eax, esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], ebx
je 0x403dcc
xor ebp, ebp
cmp dword [edi + 0x14], ebx
jbe 0x403eb4
mov ecx, dword [edx + ebp*4]
add ecx, esi
call fcn.004020de
cmp eax, dword [esp + 0x28]
je 0x403db7
mov edx, dword [esp + 0x24]
inc ebp
cmp ebp, dword [edi + 0x14]
jb 0x403d98
jmp 0x403eb4
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + ebp*2]
mov ebx, dword [ebx + eax*4]
jmp 0x403ddf
mov ebx, dword [esp + 0x2c]
sub ebx, dword [edi + 0x10]
cmp ebx, dword [edi + 0x14]
jae 0x403e73
mov ebx, dword [eax + ebx*4]
add ebx, esi
cmp ebx, edi
jbe 0x403eb4
lea eax, [ecx + edi]
cmp ebx, eax
jae 0x403eb4
push 0x104
call fcn.0040d223
mov esi, 0x100
mov dword [esp + 0x2c], eax
push esi
call fcn.0040d223
push 0x2e
push ebx
mov ebp, eax
call fcn.0040e640
add esp, 0x10
lea edi, [eax + 1]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
push ebp
call esi
sub edi, ebx
push edi
mov edi, dword [esp + 0x2c]
push ebx
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x423f28
push edi
call esi
push 0x423f2c
push edi
call esi
push 0x423f30
push edi
call esi
mov ebx, dword [esp + 0x1c]
mov ecx, ebx
push edi
call fcn.00403cc5
mov esi, eax
test esi, esi
jne 0x403e77
push eax
push ecx
push edi
mov ecx, ebx
call fcn.0040467d
mov esi, eax
test esi, esi
jne 0x403e77
xor eax, eax
jmp 0x403eb6
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 1
jle 0x403e92
cmp byte [ebp], 0x23
jne 0x403e92
movsx eax, byte [ebp + 1]
push eax
push 0
jmp 0x403e9c
push 0
mov ecx, ebp
call fcn.004020de
push eax
push esi
mov ecx, ebx
call fcn.00403d2e
push ebp
mov ebx, eax
call fcn.0040e472
push edi
call fcn.0040e472
pop ecx
pop ecx
mov eax, ebx
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret 0xc

Function at 0x404f88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x404fce
sub ebx, 0x422640
mov ax, word [ebx + edi*2 + 0x422640]
mov ecx, esi
xor ax, word [edi*2 + 0x422640]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404fac
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x404fd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x40501e
sub ebx, 0x4226b0
mov ax, word [ebx + edi*2 + 0x4226b0]
mov ecx, esi
xor ax, word [edi*2 + 0x4226b0]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x404ffc
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x405026
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x9c
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [esp + 0x28]
call fcn.004050eb
push 0x10
pop edi
cmp dword [esp + 0x3c], edi
lea edx, [esp + 0x28]
push dword [esi + 0x10]
cmovae edx, dword [esp + 0x2c]
lea ecx, [esp + 0x44]
xor ebp, ebp
mov dword [esp + 0x4c], 0x67452301
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x50], 0xefcdab89
mov dword [esp + 0x54], 0x98badcfe
mov dword [esp + 0x58], 0x10325476
call fcn.00408036
lea ecx, [esp + 0x40]
call fcn.004080c2
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], ebp
lea esi, [esp + 0x98]
mov word [esp + 0x10], ax
movzx eax, byte [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.00402bc2
inc esi
dec edi
jne 0x4050a6
push dword [esp + 0x20]
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.0040518c
push ebp
push 1
lea ecx, [esp + 0x18]
call fcn.0040199b
push ebp
push 1
lea ecx, [esp + 0x30]
call fcn.0040176d
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x9c
ret
Function at 0x4089da
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a20
sub ebx, 0x4227b0
mov ax, word [ebx + edi*2 + 0x4227b0]
mov ecx, esi
xor ax, word [edi*2 + 0x4227b0]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x4089fe
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x408a28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x408a6e
sub ebx, 0x422730
mov ax, word [ebx + edi*2 + 0x422730]
mov ecx, esi
xor ax, word [edi*2 + 0x422730]
movzx eax, ax
push eax
call fcn.00402bc2
inc edi
cmp edi, dword [esp + 0x10]
jl 0x408a4c
pop edi
mov eax, esi
pop esi
pop ebx
ret 4
Function at 0x40b53a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
jne 0x40b545
xor eax, eax
jmp 0x40b61d
push ebx
push esi
mov esi, dword [esp + 0xc]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x40b5fe
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
dec edi
jne 0x40b561
pop edi
test esi, esi
je 0x40b617
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x423910]
inc edx
dec esi
jne 0x40b602
not ecx
pop esi
mov eax, ecx
pop ebx
ret 4

Function at 0x40b620
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov edx, 0xff
mov esi, dword [edi]
xor eax, esi
and eax, edx
shr esi, 8
mov eax, dword [eax*4 + 0x423910]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul ecx, eax, 0x8088405
mov eax, dword [edi + 8]
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, edx
xor eax, dword [ecx*4 + 0x423910]
mov dword [edi + 8], eax
pop edi
pop esi
ret
Function at 0x418df4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x426a74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0041487a
mov dword [ebp - 0x14], eax
cmp dword [0x450ee4], esi
jne 0x418ee7
push 0x800
push esi
push 0x421cd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x418e74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x418fc7
push esi
push esi
push 0x421cd4
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x418fc7
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x418fc7
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x450ee4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x450ee8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x450eec], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x450ef4], eax
test eax, eax
je 0x418ee4
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x450ef0], eax
mov edi, dword [ebp - 0x18]
call dword [0x424100]
test eax, eax
je 0x418f0c
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x418eff
push eax
call dword [0x424108]
cmp dword [ebp - 0x14], esi
je 0x418f21
push 4
pop eax
jmp 0x418fc9
cmp dword [ebp - 0x14], esi
je 0x418f21
push dword [0x450ee4]
call dword [0x4240fc]
push 3
jmp 0x418f06
mov eax, dword [0x450ef0]
mov ebx, dword [sym.launcher28.exe__DecodePointer_4]
cmp eax, edi
je 0x418f7f
cmp dword [0x450ef4], edi
je 0x418f7f
push eax
call ebx
push dword [0x450ef4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x418f7f
test eax, eax
je 0x418f7f
call ecx
test eax, eax
je 0x418f74
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 0x418f74
test byte [ebp - 8], 1
jne 0x418f7f
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x418faf
mov eax, dword [0x450ee8]
cmp eax, edi
je 0x418fac
push eax
call ebx
test eax, eax
je 0x418fac
call eax
mov esi, eax
test esi, esi
je 0x418fac
mov eax, dword [0x450eec]
cmp eax, edi
je 0x418fac
push eax
call ebx
test eax, eax
je 0x418fac
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x450ee4]
call ebx
test eax, eax
je 0x418fc7
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x418fc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f3bd
mov esp, ebp
pop ebp
ret