joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40be10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x45c680]
xor eax, esp
mov dword [esp + 0x28c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x92]
push ecx
mov word [esp + 0x94], ax
call fcn.004329f0
lea edi, [esp + 0x94]
call fcn.00405010
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x5e]
push eax
mov word [esp + 0x60], dx
call fcn.004329f0
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.004329f0
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x10]
push ecx
push str.0_121
push str.ShortKey
push str.Sjsg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.00402ce0
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
pop edi
jle 0x40bee5
push 0x2c
push eax
call fcn.00431f16
add esp, 8
test eax, eax
je 0x40bee5
sub eax, dword [esp]
sar eax, 1
cmp eax, 0xffffffff
je 0x40bee5
lea edx, [esp + eax*2 + 6]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 8], cx
lea eax, [esp + 0x48]
push 0x20
push eax
call fcn.004314de
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call fcn.00431f7b
lea edx, [esp + 0x48]
push edx
mov dword [esi], eax
call fcn.00431f7b
mov dword [ebx], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40bf20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.00430f92
add esp, 0x290
ret

Function at 0x40bf40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x45c680]
xor eax, esp
mov dword [esp + 0x28c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x92]
push ecx
mov word [esp + 0x94], ax
call fcn.004329f0
lea edi, [esp + 0x94]
call fcn.00405010
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x5e]
push eax
mov word [esp + 0x60], dx
call fcn.004329f0
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.004329f0
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x10]
push ecx
push 0x44fce4
push str.AltWndKey
push str.Sjsg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.00402ce0
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
pop edi
jle 0x40c015
push 0x2c
push eax
call fcn.00431f16
add esp, 8
test eax, eax
je 0x40c015
sub eax, dword [esp]
sar eax, 1
cmp eax, 0xffffffff
je 0x40c015
lea edx, [esp + eax*2 + 6]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 8], cx
lea eax, [esp + 0x48]
push 0x20
push eax
call fcn.004314de
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call fcn.00431f7b
lea edx, [esp + 0x48]
push edx
mov dword [esi], eax
call fcn.00431f7b
mov dword [ebx], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c050
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.00430f92
add esp, 0x290
ret
Function at 0x40c070
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x290
mov eax, dword [0x45c680]
xor eax, esp
mov dword [esp + 0x28c], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x92]
push ecx
mov word [esp + 0x94], ax
call fcn.004329f0
lea edi, [esp + 0x94]
call fcn.00405010
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x5e]
push eax
mov word [esp + 0x60], dx
call fcn.004329f0
xor ecx, ecx
push 0x3e
push ecx
lea edx, [esp + 0x2a]
push edx
mov word [esp + 0x2c], cx
call fcn.004329f0
add esp, 0x24
mov eax, edi
push eax
push 0x20
lea ecx, [esp + 0x10]
push ecx
push str.2_83
push str.SndKey
push str.Sjsg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
call fcn.00402ce0
mov eax, dword [esp + 4]
cmp dword [eax - 0xc], 0
pop edi
jle 0x40c145
push 0x2c
push eax
call fcn.00431f16
add esp, 8
test eax, eax
je 0x40c145
sub eax, dword [esp]
sar eax, 1
cmp eax, 0xffffffff
je 0x40c145
lea edx, [esp + eax*2 + 6]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 8], cx
lea eax, [esp + 0x48]
push 0x20
push eax
call fcn.004314de
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call fcn.00431f7b
lea edx, [esp + 0x48]
push edx
mov dword [esi], eax
call fcn.00431f7b
mov dword [ebx], eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c180
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28c]
xor ecx, esp
mov eax, 1
call fcn.00430f92
add esp, 0x290
ret
Function at 0x40e8a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446493
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c680]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
push ebx
push ebx
push 0x8c
mov ecx, esi
call fcn.0041a408
mov dword [esi + 0x114], ebx
mov dword [esi + 0x118], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
mov dword [esi], vtable.CLoginDlg.0
mov dword [esi + 0x74], vtable.CLoginDlg.1.0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004020b0
add eax, 0x10
add esp, 4
mov dword [esi + 0x11c], eax
lea edi, [esi + 0x120]
push edi
mov byte [esp + 0x24], 1
call fcn.0040ffe0
push str.minimize
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 2
mov ebp, 0x40f8f0
call fcn.00411150
push eax
mov byte [esp + 0x24], 3
call fcn.0040fdd0
mov dword [eax], ebp
mov dword [eax + 4], ebx
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e96f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.exitgame
lea ecx, [esp + 0x30]
mov ebx, 0x40f940
xor ebp, ebp
call fcn.00411150
push eax
mov byte [esp + 0x24], 4
call fcn.0040fdd0
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e9b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.restart
lea ecx, [esp + 0x30]
mov ebx, 0x40f960
xor ebp, ebp
call fcn.00411150
push eax
mov byte [esp + 0x24], 5
call fcn.0040fdd0
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea03
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.loadgame
lea ecx, [esp + 0x30]
mov ebx, 0x40f990
xor ebp, ebp
call fcn.00411150
push eax
mov byte [esp + 0x24], 6
call fcn.0040fdd0
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov byte [esp + 0x20], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ea4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x412f89
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44547e
call fcn.00432e6a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x412fae
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x412ff4
lea ecx, [ebp - 0x10]
call fcn.00401cb0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411d9c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00402120
mov eax, esi
call fcn.00432f42
ret 8

Function at 0x418afd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x418b44
call fcn.0041eee8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x418b44
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x418b60
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00418675
mov esi, eax
test edi, edi
je 0x418b5e
test ebx, ebx
je 0x418b5e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41bb29
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x41bb4d
cmp dword [edi + 0x54], 0
jne 0x41bb4d
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041eee8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0041baea
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 0x41d40a
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 0x41d452
call fcn.0041eee8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41d452
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d495
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 0x41d47e
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 0x41d47e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41d492
mov ecx, dword [esi + 0x4c]
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 0x430f92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45c680]
jne 0x430f9c
repz ret
jmp fcn.004357b7
Function at 0x43d3a2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004351c6
and dword [ebp - 4], 0
cmp dword [0x460c78], 0
mov ebx, eax
jne 0x43d453
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43d504
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43d504
push eax
call fcn.00435154
mov dword [esp], 0x44c4cc
push edi
mov dword [0x460c78], eax
call esi
push eax
call fcn.00435154
mov dword [esp], 0x44c4b8
push edi
mov dword [0x460c7c], eax
call esi
push eax
call fcn.00435154
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x460c80], eax
call esi
push eax
call fcn.00435154
pop ecx
mov dword [0x460c88], eax
test eax, eax
je 0x43d453
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435154
pop ecx
mov dword [0x460c84], eax
mov eax, dword [0x460c84]
cmp eax, ebx
je 0x43d4ab
cmp dword [0x460c88], ebx
je 0x43d4ab
push eax
call fcn.004351cf
push dword [0x460c88]
mov esi, eax
call fcn.004351cf
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43d4ab
test edi, edi
je 0x43d4ab
call esi
test eax, eax
je 0x43d4a2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43d4a2
test byte [ebp - 0xc], 1
jne 0x43d4ab
or dword [ebp + 0x10], 0x200000
jmp 0x43d4e4
mov eax, dword [0x460c7c]
cmp eax, ebx
je 0x43d4e4
push eax
call fcn.004351cf
pop ecx
test eax, eax
je 0x43d4e4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43d4e4
mov eax, dword [0x460c80]
cmp eax, ebx
je 0x43d4e4
push eax
call fcn.004351cf
pop ecx
test eax, eax
je 0x43d4e4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x460c78]
call fcn.004351cf
pop ecx
test eax, eax
je 0x43d504
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43d506
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..retplne
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x75fb2aee
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..reloc
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x534e6d9c
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x57f964
Capabilities:
Execute anti-debugging instructions

Disassembly:
add ebp, ebp
jp 0x57fb8f
push dword [esp]
mov dh, byte [esp + 7]
jmp 0x57fad6
neg ecx
jmp 0x57fa58
lea ebp, [esp + 8]
bswap ecx
mov dl, byte [esp]
call fcn.0057fa19
mov esi, esp
rol eax, 0x1f
ja 0x57fa25
neg ecx
jmp 0x57fa87
mov ebx, dword [esp]
inc edx
mov ebx, edi
mov ecx, esi
clc
jmp 0x57fb1f
mov ebx, dword [esp]
inc edx
jmp 0x57fa5c
lea ecx, [ecx*4]
lea eax, [ecx*4]
jmp 0x57f68d
jmp 0x57fa3b
jnp 0x57fa8d
lea ecx, [ecx*4]
lea eax, [ecx*4]
jmp 0x57f68d
push dword [esp]
call fcn.0057faa8

Function at 0x57fa19
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, dword [esp + 1]
sub esp, 0xb4
jmp 0x57fa49

Function at 0x57faa8
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [esp], edx
sub esp, 0xc
call fcn.0057f9ef
lea esi, [edi*4]
inc ebx
setne dh
bsr cx, cx
xchg bp, cx
jmp 0x57fa0e

Function at 0x5803f7
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 3]
not dh
setns dh
call fcn.0057fe88
std
insd dword es:[edi], dx
std
test byte [edi - 0x3b], dh
cld
iretd
add esp, 1
jne 0x57fdf4
lea esp, [esp + 3]
call fcn.0057ff93

Function at 0x580578
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop eax
mov edx, 0x5a3f227e
jmp 0x58060e
jp 0x5805f3
inc al
neg edx
jmp 0x5805f7
mov ecx, esi
lea edx, [ecx + edi]
not ax
rcl edx, 0x1d
je 0x58063b
jne 0x580620
adc byte [eax + 0x3e88791e], cl
movsd dword es:[edi], dword [esi]
aam 0x47
out dx, al
stc
inc al
neg edx
jmp 0x5805d9
cmp ebp, ecx
ja 0x57fb6b
mov ecx, 0x855ce3b2
rcl ecx, 3
jmp 0x5805d1
sub dh, ah
jmp 0x5806e9
sub dh, ah
jmp 0x5806e9
mov dh, ch
setl dh
setg dh
neg dh
jmp 0x5806ac
lea edx, [ebp - 0x80]
call fcn.0058068e
mov ebp, 0x45b6d343
xchg dword [ebp + 0xcfd9a04], eax
mov edx, 0xf333031
retf 0xf766
bswap edx
neg dx
sub eax, ecx
jmp 0x58065e
jnp 0x58066e
jp 0x58066e
and dl, 0xfc
clc
jmp 0x5806fa
cmc
sub esp, 0xe
sub esp, 0x18
lea esp, [esp + 2]
jmp 0x5807a2
mov dh, byte [esp]
jmp 0x580685
lea eax, [esi + 0x40]
inc dh
js 0x5806d1
mov dh, byte [esp]
bswap edx
neg dx
jmp 0x58068a
jne 0x5806ba
cmc
sub esp, 0xe
jmp 0x580706
sub esp, 0x18
lea esp, [esp + 2]
jmp 0x5807a2

Function at 0x580b15
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 2]
lea esp, [esp + 0xc]
popfd
jmp 0x57fb6b
jmp 0x5809ae

Function at 0x69752a
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x69c61e
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x69c63a
shr eax, 1
xor eax, 0xedb88320
jmp 0x69c63c
shr eax, 1
dec edx
jne 0x69c62d
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x69c626
pop esi
ret
Function at 0x69c669
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x69c675
call fcn.0069c61e
push 1
push 0x40c558
call fcn.0069918a
mov eax, edi
test esi, esi
je 0x69c6a0
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + reloc.KERNEL32.dll_DuplicateHandle]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x69c67b
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x7d29e6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x463108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, reloc.KERNEL32.dll_DuplicateHandle
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.007cd946
test eax, eax
jne 0x7d2a52
push ebp
push 0x6e9ef4
mov ecx, edi
call fcn.007d1c66
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.007cd4c6
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.007c4ad6
push ebx
mov dword [esp + 0x4c], ebp
call fcn.007cdaf6
add esp, 4
test eax, eax
je 0x7d2af5
add esi, 0x18
push esi
call fcn.007c5526
add esi, eax
push esi
call fcn.007c5526
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x7d2df8
jmp dword [ecx*4 + 0x411860]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.007d1da6
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.007c5526
add esi, eax
push esi
call fcn.007c5526
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x7d2b46
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004663f4]
test eax, eax
je 0x7d2b46
mov eax, 1
jmp 0x7d2b48
xor eax, eax
cmp ebx, 8
jge 0x7d2dad
cmp ebx, 7
ja 0x7d2df8
jmp dword [ebx*4 + 0x411870]
test eax, eax
jne 0x7d2dc0
mov ecx, dword [esp + 0x10]
push eax
push 0x6e9ee0
call fcn.007d1c66
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.007d3306
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], reloc.KERNEL32.dll_DuplicateHandle
mov dword [esp + 0x2c], 0x6d7a58
call fcn.007c4cd6
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x7db9b6
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7007e0]
xor edx, edx
cmp eax, edx
jne 0x7db9dc
xor eax, eax
mov byte [eax + 0x7006e0], al
inc eax
cmp eax, 0x100
jl 0x7db9c4
mov dword [0x7007e0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7006e0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x7dba6d
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x7dba40
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x7dba0e
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x7dbae6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x7dbb39
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x7dbb20
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret