joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fce90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x735300]
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 ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4fcfc1
cmp byte [ebx + 0x46], 0
je 0x4fcfc1
mov eax, dword [ebx]
push 0xffff
call dword [eax + 0xc]
movzx eax, ax
mov ecx, 0xffff
cmp cx, ax
jne 0x4fceef
xor al, al
jmp 0x4fcfc3
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
nop
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4fcf5a
dec eax
je 0x4fcf5e
sub eax, 2
je 0x4fcfaa
xor bl, bl
jmp 0x4fcfac
mov byte [ebx + 0x46], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x4fcf90
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.0056d103
add esp, 0x10
cmp esi, eax
jne 0x4fcf56
cmp byte [ebx + 0x46], 0
je 0x4fcfaa
test esi, esi
jne 0x4fcf20
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.004417d0
jmp 0x4fcf20
mov bl, 1
cmp dword [ebp - 0x14], 0x10
jb 0x4fcfbd
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov al, bl
jmp 0x4fcfc3
mov al, 1
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.005688a8
mov esp, ebp
pop ebp
ret
Function at 0x501260
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6813d0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00441970
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004c6280
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005011f0
add esp, 0xc
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
xor eax, eax
add ecx, edx
mov byte [ebp - 4], 1
mov edi, ecx
xor esi, esi
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x501323
jmp 0x501310
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x501310
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004fe9f0
mov esi, dword [eax]
test esi, esi
jne 0x501342
mov byte [ebp - 0x41], 0
jmp 0x5013ab
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004c8ee0
mov edi, eax
mov byte [ebp - 0x41], 1
mov eax, 0xaaaaaaab
add esp, 8
mul edi
movd xmm0, edi
pshufd xmm1, xmm0, 0
mov eax, dword [ebp - 0x58]
shr edx, 1
lea ecx, [edx + edx*2]
sub edi, ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax], edi
movdqu xmm0, xmmword [esi + 0xc]
mov eax, dword [ebp - 0x4c]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [esi + 0x1c]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [eax]
pxor xmm0, xmm1
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [ecx]
pxor xmm0, xmm1
movdqu xmmword [ecx], xmm0
cmp dword [ebp - 0x2c], 0x10
jb 0x5013bc
push dword [ebp - 0x40]
call fcn.00567fdc
add esp, 4
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x5013df
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
mov esp, ebp
pop ebp
ret 0x10
Function at 0x501410
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67a108
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x735300]
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 dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00441970
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.004c6280
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
add esp, 4
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
xor esi, esi
mov edi, ecx
sub edi, edx
cmp edx, ecx
cmova edi, eax
test edi, edi
je 0x5014b3
lea ecx, [ecx]
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc esi
xor eax, ecx
cmp esi, edi
jb 0x5014a0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
add ecx, 0x18
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004fe9f0
mov eax, dword [eax]
test eax, eax
je 0x5014e4
mov ecx, dword [eax + 0x28]
mov edx, dword [ebp - 0x30]
sub ecx, dword [eax + 0x24]
mov dword [edx], ecx
test ecx, ecx
jg 0x501517
mov dword [ebx], 0
xor bl, bl
cmp dword [ebp - 0x14], 0x10
jb 0x5014f7
push dword [ebp - 0x28]
call fcn.00567fdc
add esp, 4
mov al, bl
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.005688a8
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [eax + 0x24]
mov dword [ebx], eax
mov bl, 1
jmp 0x5014e6
Function at 0x50ea00
Capabilities:
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x681796
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.UI::CWindow.0
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], 0
mov byte [edi + 4], 0
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x64]
push 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov byte [edi + 0x55], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], eax
mov dword [edi + 0x60], 0
push 0
mov dword [ebp - 4], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.00514ee0
mov dword [edi + 0x64], eax
push 0
mov dword [edi + 0x6c], 0
lea ecx, [edi + 0x70]
push 0
mov byte [ebp - 4], 1
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
call fcn.00514ee0
mov dword [edi + 0x70], eax
mov eax, edi
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x50], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x5245b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5245c0
mov edi, 0x1505
mov esi, 0
sub ecx, edx
je 0x5245e7
movsx edx, byte [esi + ebx]
mov eax, edi
shl eax, 5
inc esi
add edi, eax
add edi, edx
cmp esi, ecx
jb 0x5245d5
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5345a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6831be
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x749764], edi
mov dword [edi], vtable.CRaceManager.0
lea ecx, [edi + 4]
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0048c460
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call fcn.004776c0
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 2
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call fcn.0052c0d0
mov dword [edi + 0x14], eax
mov ecx, edi
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
call fcn.00535510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x534680
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x683214
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CRaceManager.0
mov dword [ebp - 4], 4
call fcn.00534880
cmp dword [edi + 0x30], 0x10
jb 0x5346cf
push dword [edi + 0x1c]
call fcn.00567fdc
add esp, 4
mov dword [edi + 0x30], 0xf
lea ecx, [edi + 0x14]
mov dword [edi + 0x2c], 0
mov byte [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
push eax
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004da8a0
push dword [edi + 0x14]
call fcn.00567fdc
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
add esp, 4
mov byte [ebp - 4], 1
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.004718b0
push dword [edi + 0xc]
call fcn.00567fdc
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
add esp, 4
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.00505350
push dword [edi + 4]
call fcn.00567fdc
mov dword [edi], vtable.CSingleton_class_CRaceManager_.0
add esp, 4
mov dword [0x749764], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x543830
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684397
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CArea.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 7
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
call fcn.0048c460
mov dword [edi + 0x64], eax
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
call fcn.0048c460
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 0xb
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
call fcn.00545900
mov dword [edi + 0x98], eax
mov eax, edi
mov dword [edi + 0x84], 0xff00ff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x553340
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684cbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
sub edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
inc edi
sub esi, ebx
inc esi
je 0x55340d
test edi, edi
je 0x55340d
push 0x40
call fcn.00567f8b
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5533aa
mov ecx, eax
call fcn.00558cf0
mov ecx, eax
jmp 0x5533ac
xor ecx, ecx
mov eax, dword [ebp + 0x10]
cmp edi, esi
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], eax
cmovg esi, edi
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
mov dword [ecx + 0x24], esi
movzx eax, word [eax + 0x8c]
imul eax, edx
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
add eax, ebx
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x55adf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x685138
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x735300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [0x749820], edi
mov dword [edi], vtable.CSoundManager.0
lea ecx, [edi + 0x6c]
mov dword [ebp - 4], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
call fcn.0052c0d0
mov dword [edi + 0x6c], eax
mov eax, edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x43480000
mov dword [edi + 0x1c], 0x447a0000
mov dword [edi + 0x20], 0x3f800000
mov dword [edi + 0x24], 0x3f800000
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x58f9bb
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
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.00573e32
mov dword [ebp - 0x14], eax
cmp dword [0x78a4b4], esi
jne 0x58faae
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x58fa3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58fb8e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58fb8e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58fb8e
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x78a4b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x78a4b8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x78a4bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x78a4c4], eax
test eax, eax
je 0x58faab
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x78a4c0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x58fad3
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x58fac6
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x58fae8
push 4
pop eax
jmp 0x58fb90
cmp dword [ebp - 0x14], esi
je 0x58fae8
push dword [0x78a4b4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58facd
mov eax, dword [0x78a4c0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x58fb46
cmp dword [0x78a4c4], edi
je 0x58fb46
push eax
call ebx
push dword [0x78a4c4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x58fb46
test eax, eax
je 0x58fb46
call ecx
test eax, eax
je 0x58fb3b
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 0x58fb3b
test byte [ebp - 8], 1
jne 0x58fb46
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x58fb76
mov eax, dword [0x78a4b8]
cmp eax, edi
je 0x58fb73
push eax
call ebx
test eax, eax
je 0x58fb73
call eax
mov esi, eax
test esi, esi
je 0x58fb73
mov eax, dword [0x78a4bc]
cmp eax, edi
je 0x58fb73
push eax
call ebx
test eax, eax
je 0x58fb73
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x78a4b4]
call ebx
test eax, eax
je 0x58fb8e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58fb90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005688a8
mov esp, ebp
pop ebp
ret
Function at 0x5e8a90
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0xc3d2e1f0
pop ebp
ret
Function at 0x60d230
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0060ce80
add esp, 8
mov ecx, eax
call fcn.006098e0
mov ecx, eax
call fcn.006098e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx + 0x34]
je 0x60d327
mov eax, dword [ebp - 0x20]
sub eax, 0x61c88647
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
shl esi, 4
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov ecx, 4
imul edx, ecx, 0
add esi, dword [eax + edx]
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x20]
xor esi, eax
mov edi, dword [ebp - 0x18]
shr edi, 5
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov ecx, 4
shl ecx, 0
add edi, dword [eax + ecx]
xor esi, edi
add esi, dword [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0xc]
shl esi, 4
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov edx, 4
shl edx, 1
add esi, dword [eax + edx]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x20]
xor esi, eax
mov edi, dword [ebp - 0xc]
shr edi, 5
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov ecx, 4
imul edx, ecx, 3
add edi, dword [eax + edx]
xor esi, edi
add esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
jmp 0x60d279
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0065d7c0
mov ecx, eax
call fcn.00609930
mov ecx, eax
call fcn.00609930
push edx
mov ecx, ebp
push eax
lea edx, [0x60d370]
call fcn.00650098
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.006500f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x60d5a0
Capabilities:
Encrypt data using xtea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push ecx
lea edi, [ebp - 0x2c]
mov ecx, 0xb
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0060ce80
add esp, 8
mov ecx, eax
call fcn.006098e0
mov ecx, eax
call fcn.006098e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
cmp ecx, dword [edx + 0x34]
je 0x60d664
mov esi, dword [ebp - 0x18]
shl esi, 4
mov eax, dword [ebp - 0x18]
shr eax, 5
xor esi, eax
add esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov ecx, dword [ebp - 0x20]
and ecx, 3
mov edx, dword [ebp - 0x20]
add edx, dword [eax + ecx*4]
xor esi, edx
add esi, dword [ebp - 0xc]
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x20]
sub eax, 0x61c88647
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0xc]
shl esi, 4
mov ecx, dword [ebp - 0xc]
shr ecx, 5
xor esi, ecx
add esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.0060ddd0
mov edx, dword [ebp - 0x20]
shr edx, 0xb
and edx, 3
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + edx*4]
xor esi, ecx
add esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], esi
jmp 0x60d5e9
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0065d7c0
mov ecx, eax
call fcn.00609930
mov ecx, eax
call fcn.00609930
push edx
mov ecx, ebp
push eax
lea edx, [0x60d6b0]
call fcn.00650098
pop eax
pop edx
pop edi
pop esi
add esp, 0x2c
cmp ebp, esp
call fcn.006500f0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6113c0
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68a8db
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push esi
push edi
push ecx
lea edi, [ebp - 0x58]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x735300]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov esi, esp
push 0xf0000000
push 1
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.006500f0
test eax, eax
jne 0x6114d3
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.006500f0
mov dword [ebp - 0x18], eax
mov esi, esp
push 8
push 1
push 0
push 0x6dc474
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.006500f0
test eax, eax
jne 0x6114d3
mov esi, esp
push 0x28
push 1
push 0
push str.Crypto_RNG
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.006500f0
test eax, eax
jne 0x6114d3
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, esp
call fcn.006500f0
push str.CryptAcquireContext
lea ecx, [ebp - 0x30]
call fcn.0043c4e0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x58]
call fcn.00611200
push 0x70f9a4
lea eax, [ebp - 0x58]
push eax
call fcn.005688e2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0064a500
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005688a8
add esp, 0x58
cmp ebp, esp
call fcn.006500f0
mov esp, ebp
pop ebp
ret