joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a850
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
mov ebx, ecx
mov edx, dword [0x76cab0]
lea eax, [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push reloc.ijl15.dll_Ordinal_2
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45a95e
mov eax, dword [ebx + 0x6c]
push esi
test eax, eax
push edi
je 0x45a8e9
mov ecx, dword [ebx + 0x60]
call fcn.0043ee10
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x60]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x7bd64c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x45a8f5
mov ecx, 0xd
xor eax, eax
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov ebx, dword [ebx + 0x6c]
mov byte [ebp - 0x2e], 0
test ebx, ebx
mov dword [ebp - 8], ebx
mov edi, 1
je 0x45a90b
mov dword [ebp - 8], edi
mov edx, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0x60]
push 0x33
push ecx
push edi
push 0
push 0x767140
push edx
call esi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push 4
push eax
push 4
push 0
push str.CHECKSAVE
push ecx
call esi
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push 4
push edx
push 4
push 0
push str.BITWISE
push eax
mov dword [ebp - 0x10], edi
call esi
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
lea eax, [ebp - 0x14]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, ecx
push eax
mov ecx, dword [0x76cab0]
push 1
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call edi
test eax, eax
jne 0x45b440
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x76cab0]
lea eax, [ebp - 0xc]
push eax
push 1
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call edi
test eax, eax
jne 0x45b460
mov eax, 4
lea edx, [ebp - 4]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push ecx
push 0
push str.CHECKSAVE
push edx
call ebx
cmp dword [ebp - 0x10], 1
je 0x45b37e
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
lea ecx, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
push ecx
push edx
push 0
push str.BITWISE
push eax
call ebx
mov ecx, 0xd
xor eax, eax
lea edi, [ebp - 0x68]
lea edx, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0x19
stosw word es:[edi], ax
push ecx
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
push edx
push eax
push 0
mov edi, 1
push str.PASSWORD
push ecx
mov dword [ebp - 8], edi
call ebx
lea edx, [ebp - 4]
lea eax, [ebp - 0x68]
push edx
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push ecx
push 0
push 0x767140
push edx
mov byte [ebp - 0x1c], 0
mov dword [ebp - 8], edi
mov dword [ebp - 4], 0x33
call ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 0x36], 0
test eax, eax
mov byte [ebp - 0x1c], 0
mov dword [esi + 0x6c], eax
pop ebx
je 0x45b430
mov ecx, dword [esi + 0x60]
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, dword [esi + 0x64]
push 0x7bd64c
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x60]
push 0x7bd64c
mov edx, dword [ecx]
call dword [edx + 0x9c]
mov ecx, dword [esi + 0x64]
push 0x7bd64c
mov eax, dword [ecx]
call dword [eax + 0x9c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45d540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [ebp - 8]
push edi
mov esi, ecx
mov ecx, dword [0x76cab0]
push eax
xor edi, edi
push 1
push edi
push ecx
push reloc.ijl15.dll_Ordinal_2
call ebx
cmp eax, edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
jne 0x45d5fb
mov edx, dword [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
mov ecx, dword [0x76cab0]
lea eax, [ebp - 4]
push eax
push 1
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call ebx
test eax, eax
jne 0x45d5fb
mov eax, 4
lea edx, [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push edx
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x10]
push eax
push ecx
push 0
push str.CURSLOT
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 4]
push eax
call edi
mov edi, dword [ebp - 0x14]
mov eax, 0xaaaaaaab
mul edi
mov ecx, edx
mov eax, edi
xor edx, edx
mov edi, 3
div edi
mov eax, dword [esi + 0x7c]
shr ecx, 1
cmp ecx, eax
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], edx
jge 0x45d5f4
test ecx, ecx
jge 0x45d5fb
mov dword [esi + 0x74], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x475390
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x725219
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.00457d40
mov al, byte [ebp - 0xd]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [esi + 0x60], al
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov cl, byte [ebp - 0xd]
mov dword [esi + 0x74], ebx
mov byte [esi + 0x70], cl
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dl, byte [ebp - 0xd]
lea edi, [esi + 0x88]
mov dword [ebp - 0x18], edi
mov byte [edi + 0x2c], dl
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov al, byte [ebp - 0xd]
lea ecx, [edi + 0x3c]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call fcn.00420210
mov ecx, 0x18
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x739fb8
mov byte [esi + 0xe8], bl
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x48dd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push ebx
push esi
push edi
mov edi, dword [0x76cab0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x214]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x214]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.BookMark]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x214]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76665c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [0x839d48]
test edi, edi
jne 0x48dde3
mov edi, 0x7367f4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x214]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [ebp - 0x214]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x76665c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x8365d0
call fcn.006e33e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x214]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 1
lea ecx, [ebp - 0x214]
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
mov ecx, 1
test eax, eax
mov dword [ebp - 4], ecx
jne 0x48df05
mov edx, dword [ebp - 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
lea eax, [ebp - 8]
lea ecx, [ebp - 0x214]
push eax
push 1
push 0
push ecx
push reloc.ijl15.dll_Ordinal_2
call esi
test eax, eax
jne 0x48def9
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push edx
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x48def3
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
push ecx
call edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4f2bb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72b7fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
push esi
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 0x9c]
push edi
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
cmp esi, eax
je 0x4f2bee
mov edi, dword [ebp + 0xc]
cmp edi, edx
je 0x4f2c23
mov esi, dword [esi]
inc edx
cmp esi, eax
jne 0x4f2be3
mov eax, dword [ebp + 8]
mov dl, byte [ebp + 0xb]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 0xc], dl
mov dl, byte [ebp + 0xb]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], dl
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
push ebx
push ecx
mov dword [edi], eax
mov edx, dword [esi + 0xc]
mov dword [edi + 4], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov dl, byte [esi + 0x14]
lea ebx, [edi + 0xc]
mov ecx, ebx
mov byte [ebx], dl
call fcn.00420210
mov eax, dword [0x7367f0]
mov ecx, ebx
push eax
lea eax, [esi + 0x14]
push 0
push eax
call fcn.0041fee0
mov cl, byte [esi + 0x24]
lea ebx, [edi + 0x1c]
push 0
mov dword [ebp - 4], 0
mov byte [ebx], cl
mov ecx, ebx
call fcn.00420210
mov edx, dword [0x7367f0]
lea eax, [esi + 0x24]
push edx
push 0
push eax
mov ecx, ebx
call fcn.0041fee0
mov eax, dword [esi + 0x34]
pop ebx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x38]
mov dword [edi + 0x30], ecx
mov edx, dword [esi + 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x34], edx
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x502ef0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
mov edi, dword [0x76cab0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x270]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x270]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [str.SkillUseLevelInfo]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0xc]
and ecx, 3
xor ebx, ebx
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 8]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push ebx
lea edx, [ebp - 0x270]
push ebx
push edx
push reloc.ijl15.dll_Ordinal_2
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x50308b
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, 1
push esi
mov ecx, 0x8365d0
call fcn.006d7940
mov dword [ebp - 4], eax
mov eax, dword [0x837a40]
push eax
push esi
call fcn.00541390
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push str._s_d
push ecx
call fcn.0070dea8
mov ecx, dword [ebp - 8]
add esp, 0x10
lea edx, [ebp - 4]
lea eax, [ebp - 0x70]
push 4
push edx
push 4
push ebx
push eax
push ecx
call edi
inc esi
cmp esi, 0x9ea
jl 0x502f94
mov esi, 0x1f40
push esi
mov ecx, 0x8365d0
call fcn.006d79e0
mov edx, dword [0x837a40]
mov dword [ebp - 4], eax
push edx
push esi
call fcn.00541390
add esp, 4
push eax
lea eax, [ebp - 0x70]
push str._s_d
push eax
call fcn.0070dea8
mov eax, dword [ebp - 8]
add esp, 0x10
lea ecx, [ebp - 4]
lea edx, [ebp - 0x70]
push 4
push ecx
push 4
push ebx
push edx
push eax
call edi
inc esi
cmp esi, 0x1f68
jl 0x502fe4
mov esi, 0x2008
push esi
mov ecx, 0x8365d0
call fcn.006d7a30
mov ecx, dword [0x837a40]
mov dword [ebp - 4], eax
push ecx
push esi
call fcn.00541390
add esp, 4
lea edx, [ebp - 0x70]
push eax
push str._s_d
push edx
call fcn.0070dea8
mov edx, dword [ebp - 8]
add esp, 0x10
lea eax, [ebp - 4]
lea ecx, [ebp - 0x70]
push 4
push eax
push 4
push ebx
push ecx
push edx
call edi
inc esi
cmp esi, 0x20fb
jl 0x503035
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x525510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d0e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [ebp - 0xd]
push esi
mov esi, ecx
push edi
push 0xc
mov dword [ebp - 0x14], esi
mov byte [esi + 8], al
call fcn.0070dddb
xor edi, edi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edi
mov cl, byte [ebp - 0xd]
push 0xc
mov dword [ebp - 4], edi
mov byte [esi + 0x14], cl
call fcn.0070dddb
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dl, byte [ebp - 0xd]
push 0xc
mov byte [ebp - 4], 1
mov byte [esi + 0x20], dl
call fcn.0070dddb
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov al, byte [ebp - 0xd]
push 0xc
mov byte [ebp - 4], 2
mov byte [esi + 0x2c], al
call fcn.0070dddb
mov cl, byte [ebp - 0xd]
mov dl, byte [ebp - 0xd]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov byte [esi + 0x44], cl
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov byte [esi + 0xb4], dl
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
xor eax, eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], eax
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x74], eax
add esp, 0x10
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0xb0], 1
or eax, 0xffffffff
mov dword [esi], 0x73ed3c
mov dword [esi + 0xec], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [0x837a18], eax
mov dword [0x837a1c], eax
mov dword [esi + 0x68], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x52a7c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push edi
mov eax, dword [ebx + 0x68]
mov edi, dword [ebx + 0x6c]
sub eax, edi
cdq
xor eax, edx
sub eax, edx
je 0x52a8b6
mov eax, dword [0x83a870]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x52a8b6
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
sub eax, ecx
push esi
cdq
xor eax, edx
sub eax, edx
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x52a8af
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
mov dword [ebp - 4], edi
je 0x52a8af
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebx + 0x68]
cmp eax, ecx
jge 0x52a83b
mov edx, eax
jmp 0x52a83f
mov edx, ecx
mov ecx, eax
mov al, byte [ebx + 0x94]
test al, al
jne 0x52a86d
mov esi, dword [ebx + 0x58]
test esi, esi
jne 0x52a855
mov esi, 0x7367f4
mov edi, dword [ebp - 4]
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x52a885
mov ecx, dword [ebx + 0x5c]
mov eax, 0x2a2a2a2a
sub ecx, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x6c]
sub eax, ecx
mov ecx, dword [ebp - 4]
cdq
xor eax, edx
push esi
sub eax, edx
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x52ae60
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x68]
mov eax, dword [esi + 0x5c]
cmp ecx, eax
je 0x52ae99
jbe 0x52ae77
mov dword [esi + 0x68], eax
jmp 0x52ae83
mov edx, dword [ebp + 8]
add ecx, edx
cmp ecx, eax
ja 0x52ae83
mov dword [esi + 0x68], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
mov cl, ah
test cl, cl
jne 0x52ae99
mov edx, dword [esi + 0x68]
mov dword [esi + 0x6c], edx
pop esi
pop ebp
ret 4
Function at 0x52aea0
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x72d268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x40], ebx
call fcn.005288a0
mov al, byte [ebp - 0x39]
xor esi, esi
push 0xc
mov dword [ebp - 4], esi
mov byte [ebx + 0xb8], al
call fcn.0070dddb
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0xc0], esi
mov dword [ebx + 0xbc], eax
mov ecx, 0x14
mov esi, 0x76ca30
lea edi, [ebp - 0xc0]
mov byte [ebx + 0x4c5], 0
mov dword [ebx], 0x73edb0
add esp, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xa
mov esi, str.11441443331111111132331233111121111133333
lea edi, [ebp - 0x6c]
mov byte [ebp - 0x38], 0x31
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x37], 0x32
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x34
mov byte [ebp - 0x34], 0x35
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], 0x37
mov byte [ebp - 0x31], 0x38
mov byte [ebp - 0x30], 0x39
mov byte [ebp - 0x2f], 0x30
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], 0x42
mov byte [ebp - 0x2c], 0x43
mov byte [ebp - 0x2b], 0x44
mov byte [ebp - 0x2a], 0x45
mov byte [ebp - 0x29], 0x46
mov byte [ebp - 0x28], 0x47
mov byte [ebp - 0x27], 0x48
mov byte [ebp - 0x26], 0x49
mov byte [ebp - 0x25], 0x4a
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0x4e
mov byte [ebp - 0x21], 0x4d
mov byte [ebp - 0x20], 0x4f
mov byte [ebp - 0x1f], 0x50
mov byte [ebp - 0x1e], 0x51
mov byte [ebp - 0x1d], 0x52
mov byte [ebp - 0x1c], 0x53
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x56
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x58
mov byte [ebp - 0x16], 0x59
mov byte [ebp - 0x15], 0x5a
mov byte [ebp - 0x14], 0xbd
mov byte [ebp - 0x13], 0xba
mov byte [ebp - 0x12], 0xbc
mov byte [ebp - 0x11], 0xbe
mov byte [ebp - 0x10], 0xbf
movsw word es:[edi], word [esi]
lea eax, [ebx + 0xc4]
mov ecx, 0x100
mov byte [eax], 4
add eax, 4
dec ecx
jne 0x52afd6
xor esi, esi
lea edi, [ebp - 0xbf]
mov cl, byte [edi - 1]
xor eax, eax
mov al, byte [ebp + esi - 0x38]
mov dl, byte [edi]
add edi, 2
mov byte [ebx + eax*4 + 0xc5], cl
mov cl, byte [ebp + esi - 0x6c]
sub cl, 0x31
inc esi
mov byte [ebx + eax*4 + 0xc6], dl
mov byte [ebx + eax*4 + 0xc7], 0
cmp esi, 0x29
mov byte [ebx + eax*4 + 0xc4], cl
jb 0x52afe7
mov al, 0xa3
mov ecx, dword [ebp - 0xc]
mov byte [ebx + 0x1d1], al
mov byte [ebx + 0x1d2], 0x7e
mov byte [ebx + 0x1d5], al
mov byte [ebx + 0x1d6], 0x7d
mov byte [ebx + 0x1d9], al
mov byte [ebx + 0x1da], 0x7c
mov byte [ebx + 0x219], al
mov byte [ebx + 0x21a], 0xb8
mov byte [ebx + 0x225], al
pop edi
mov byte [ebx + 0x226], 0x7b
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x52f680
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 2
je 0x52f69d
sub eax, 0x42
jne 0x52f6df
mov dword [ecx + 0x2c], 1
xor eax, eax
pop ebp
ret 0x10
call fcn.0057eb10
mov eax, dword [0x80fe54]
mov dword [eax + 0x14], 0
mov eax, dword [0x80fe3c]
cmp eax, 0xb
jne 0x52f6d5
mov ecx, dword [0x83a870]
push 1
push 0
push 0
push str.http:__www.ragnarok.co.in_index.php
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [0x80fe50], 0
xor eax, eax
pop ebp
ret 0x10

Function at 0x530010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x530051
call edi
mov ecx, dword [0x837a44]
mov dword [0x80fe48], eax
lea eax, [ebp - 4]
push eax
push 0
push ecx
push 0x52ff40
push 0
push 0
call fcn.00710302
add esp, 0x18
mov dword [esi + 0x10], 0
call edi
mov edx, dword [0x80fe48]
pop edi
sub eax, edx
pop esi
cmp eax, 0xff
jae 0x530084
inc eax
neg eax
shl eax, 0x18
push eax
mov eax, dword [0x79cb18]
mov edx, dword [eax + 0x28]
mov eax, dword [eax + 0x24]
push edx
push eax
push 0
push 0
call fcn.00405e80
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x530090
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push 0
push 0
push 0x52ff40
push 0
push 0
call fcn.00710302
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
add esp, 0x18
call esi
mov ecx, dword [0x79cb18]
mov dword [0x80fe48], eax
call fcn.00412690
call esi
sub eax, dword [0x80fe48]
cmp eax, 0xff
jae 0x53016b
push edi
mov edi, dword [ebp + 8]
shl eax, 0x18
push eax
mov eax, dword [0x79cb18]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
push ecx
push edx
push 0
push 0
call fcn.00405e80
add esp, 0x14
test edi, edi
je 0x530130
push str.rag_logo.bmp
call fcn.005474c0
mov ecx, eax
call fcn.00547960
push eax
mov eax, dword [0x79cb18]
mov ecx, dword [eax + 0x28]
mov edx, dword [eax + 0x24]
sub ecx, 0x7a
sub edx, 0xc0
push ecx
push edx
mov ecx, 0x7d67b0
call fcn.005058a0
mov ecx, dword [0x79cb18]
call fcn.0040d1a0
test al, al
je 0x53014c
mov ecx, dword [0x79cb18]
push 1
call fcn.0040f680
mov ecx, dword [0x79cb18]
call fcn.004126a0
call esi
sub eax, dword [0x80fe48]
cmp eax, 0xff
jb 0x5300dd
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4