joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455300
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0xa38]
test edi, edi
je 0x4553dc
test eax, eax
je 0x45532f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
mov eax, dword [esi]
lea ebx, [esi + 0xa3c]
push ebx
push edi
push esi
call dword [eax + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi + 0xa38], eax
cmp eax, 0xffffffff
je 0x45548a
test byte [ebx], 0x10
je 0x4553cd
mov ecx, 0x4d0e04
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x455383
test dl, dl
je 0x45537f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x455383
add eax, 2
add ecx, 2
test dl, dl
jne 0x455363
xor eax, eax
jmp 0x455388
sbb eax, eax
or eax, 1
test eax, eax
je 0x4553cd
mov ecx, 0x4d0e08
lea eax, [esi + 0xa68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4553b7
test dl, dl
je 0x4553b3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4553b7
add eax, 2
add ecx, 2
test dl, dl
jne 0x455397
xor eax, eax
jmp 0x4553bc
sbb eax, eax
or eax, 1
test eax, eax
je 0x4553cd
pop edi
lea eax, [esi + 0xa68]
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi]
push 0
push esi
call dword [eax + 0x70]
pop edi
pop esi
pop ebx
pop ebp
ret 8
test eax, eax
je 0x455494
lea edi, [esi + 0xa3c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x45547e
lea ebx, [ebx]
test byte [edi], 0x10
je 0x45546d
lea ecx, [esi + 0xa68]
mov edx, 0x4d0e04
mov eax, ecx
mov bl, byte [eax]
cmp bl, byte [edx]
jne 0x455432
test bl, bl
je 0x45542e
mov bl, byte [eax + 1]
cmp bl, byte [edx + 1]
jne 0x455432
add eax, 2
add edx, 2
test bl, bl
jne 0x455412
xor eax, eax
jmp 0x455437
sbb eax, eax
or eax, 1
test eax, eax
je 0x45546d
mov eax, 0x4d0e08
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x455460
test dl, dl
je 0x45545c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x455460
add ecx, 2
add eax, 2
test dl, dl
jne 0x455440
xor eax, eax
jmp 0x455465
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4553c0
push edi
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x455400
push dword [esi + 0xa38]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xa38], 0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
Function at 0x457700
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x5c0e68]
push 3
push 0
push 0
push dword [ebp + 0xc]
push 0
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
seta al
pop ebp
ret 8
Function at 0x463880
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc486
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4fdb40]
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 - 0x2b0], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b4], esi
cmp dword [eax + 0x14], 8
jb 0x4638c8
mov eax, dword [eax]
lea ecx, [ebp - 0x2a8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x463a85
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
jmp 0x463900
cmp word [ebp - 0x27c], 0
jne 0x46390e
xor eax, eax
jmp 0x463926
lea eax, [ebp - 0x27c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x463917
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004479b0
push 1
push 0x4d2308
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00463f00
test eax, eax
je 0x463a57
push 2
push 0x4d230c
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.00463f00
test eax, eax
je 0x463a57
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00455010
add esp, 0xc
test byte [ebp - 0x2a8], 0x10
mov byte [ebp - 4], 1
jne 0x463a42
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00463f90
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [0x5c1d20]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.0048a390
mov edi, eax
test edi, edi
je 0x463a31
push 0x1c
call fcn.004b0566
mov esi, eax
add esp, 4
mov dword [ebp - 0x2ac], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x463a0a
push edi
sub esp, 0x18
lea eax, [ebp - 0x40]
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004339f0
mov ecx, esi
call fcn.00463380
jmp 0x463a0c
xor eax, eax
mov ecx, dword [ebp - 0x2b0]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2ac]
push eax
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x6c]
call fcn.0048def0
mov esi, dword [ebp - 0x2b4]
cmp dword [ebp - 0x2c], 0x10
jb 0x463a42
push dword [ebp - 0x40]
call fcn.004b05b7
add esp, 4
cmp dword [ebp - 0x44], 8
mov byte [ebp - 4], 0
jb 0x463a57
push dword [ebp - 0x58]
call fcn.004b05b7
add esp, 4
lea eax, [ebp - 0x2a8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x463900
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x14], 8
jb 0x463a85
push dword [ebp - 0x28]
call fcn.004b05b7
add esp, 4
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.004b0e84
mov esp, ebp
pop ebp
ret 8
Function at 0x46da30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc8c4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fdb40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
mov dword [edi], vtable.CM3.0
lea ecx, [edi + 0x4c4]
push 0
mov dword [edi + 0x4c4], 0
mov dword [edi + 0x4c8], 0
call fcn.00476730
mov dword [edi + 0x4c4], eax
push 0
push 0
lea ecx, [edi + 0x4cc]
mov dword [ebp - 4], 0
mov dword [edi + 0x4cc], 0
mov dword [edi + 0x4d0], 0
call fcn.00476730
mov dword [edi + 0x4cc], eax
push 0
push 0
lea ecx, [edi + 0x4d4]
mov byte [ebp - 4], 1
mov dword [edi + 0x4d4], 0
mov dword [edi + 0x4d8], 0
call fcn.00476730
mov dword [edi + 0x4d4], eax
push 0x432fa0
push 0x46da10
push 0xa
push 0x28
lea eax, [edi + 0x510]
mov byte [ebp - 4], 2
push eax
call fcn.004b2bb2
lea ecx, [edi + 0x790]
mov byte [ebp - 4], 3
call fcn.0046de90
mov dword [edi + 0x1c04], 0xf
mov dword [edi + 0x1c00], 0
mov byte [edi + 0x1bf0], 0
mov dword [edi + 0x1c1c], 0xf
mov dword [edi + 0x1c18], 0
mov byte [edi + 0x1c08], 0
mov dword [edi + 0x1c34], 0xf
mov dword [edi + 0x1c30], 0
mov byte [edi + 0x1c20], 0
mov dword [edi + 0x1c4c], 0xf
mov dword [edi + 0x1c48], 0
mov byte [edi + 0x1c38], 0
movsd xmm0, qword [0x4cf6d8]
lea eax, [edi + 4]
push 0x4c0
push 0
push eax
mov byte [ebp - 4], 5
movsd qword [edi + 0x4e0], xmm0
mov byte [edi + 0x1c54], 0
call fcn.004b1fa0
push 0x12c8
lea eax, [edi + 0x1c98]
push 0
push eax
call fcn.004b1fa0
xorps xmm0, xmm0
mov dword [edi + 0x18c0], 0xff
push 0x50
mov dword [edi + 0x1bc8], 0
mov dword [edi + 0x1bcc], 0
mov dword [edi + 0x1bd0], 0
mov dword [edi + 0x1c58], 0
mov dword [edi + 0x1c5c], 0
mov dword [edi + 0x1c60], 0
mov dword [edi + 0x1bc4], 0
mov dword [edi + 0x1c50], 0
movups xmmword [edi + 0x4e8], xmm0
call fcn.004b0566
add esp, 0x1c
test eax, eax
je 0x46dc72
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [edi + 0x2f7c], eax
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
mov dword [edi + 0x2f7c], 0
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 0x4761c0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cccbf
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fdb40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0
push 0
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00476730
mov dword [edi], eax
push 0
push 0
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00476730
mov dword [edi + 8], eax
push 0
push 0
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00476730
mov dword [edi + 0x10], eax
push 0
push 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 2
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.00476730
mov dword [edi + 0x18], eax
push 0
push 0
lea ecx, [edi + 0x20]
mov byte [ebp - 4], 3
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
call fcn.00476730
mov dword [edi + 0x20], eax
push 0
push 0
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 4
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00476730
mov dword [edi + 0x28], eax
push 0
push 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call fcn.00476730
mov dword [edi + 0x30], eax
mov eax, edi
mov byte [edi + 0x38], 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 0x486010
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0xc84]
test edx, edx
js 0x486042
mov eax, dword [ecx + 0xca0]
sub eax, dword [ecx + 0xc9c]
sar eax, 2
cmp edx, eax
jge 0x486042
mov eax, dword [ecx + 0xc9c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a4], 5
jmp fcn.004882d0
ret

Function at 0x486050
Capabilities:
Get geographical location

Disassembly:
mov edx, dword [ecx + 0xc84]
test edx, edx
js 0x486082
mov eax, dword [ecx + 0xca0]
sub eax, dword [ecx + 0xc9c]
sar eax, 2
cmp edx, eax
jge 0x486082
mov eax, dword [ecx + 0xc9c]
mov eax, dword [eax + edx*4]
add dword [eax + 0x2a0], 0x28
jmp fcn.004882d0
ret

Function at 0x486400
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd166
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4fdb40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x48646f
xor ecx, ecx
jmp 0x48648f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
jmp 0x486480
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486480
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004479b0
cmp dword [ebp - 0x220], 0
mov dword [ebp - 4], 0
jne 0x486571
xor eax, eax
mov dword [ebp - 0x24c], 7
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
mov eax, dword [0x5c1d08]
lea edx, [ebp - 0x260]
push edx
lea edx, [ebp - 0x248]
mov byte [ebp - 4], 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
mov edi, eax
cmp esi, edi
je 0x486521
cmp dword [esi + 0x14], 8
jb 0x486506
push dword [esi]
call fcn.004b05b7
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push edi
mov word [esi], ax
call fcn.00447240
cmp dword [ebp - 0x234], 8
jb 0x486538
push dword [ebp - 0x248]
call fcn.004b05b7
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov byte [ebp - 4], al
jb 0x4865aa
push dword [ebp - 0x260]
call fcn.004b05b7
add esp, 4
jmp 0x4865aa
lea eax, [ebp - 0x230]
cmp esi, eax
je 0x486587
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00447890
push 0xc
push 0x4d0004
mov ecx, esi
call fcn.004477b0
cmp dword [esi + 0x14], 8
jb 0x48659f
mov eax, dword [esi]
jmp 0x4865a1
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xd
push 0x4d5b38
mov ecx, esi
call fcn.004477b0
cmp dword [ebp - 0x21c], 8
jb 0x4865cf
push dword [ebp - 0x230]
call fcn.004b05b7
add esp, 4
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.004b0e84
mov esp, ebp
pop ebp
ret
Function at 0x48c5f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd608
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4fdb40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
xor eax, eax
mov dword [ebp - 0x14], 7
push 0x4d5e10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004479b0
mov eax, dword [0x5c1d08]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 0
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
cmp dword [eax + 0x14], 8
jb 0x48c660
mov eax, dword [eax]
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [ebp - 0x2c], 8
mov dword [esi], eax
jb 0x48c68c
push dword [ebp - 0x40]
call fcn.004b05b7
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
jb 0x48c6b8
push dword [ebp - 0x28]
call fcn.004b05b7
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [esi]
mov dword [ebp - 0x18], 0
cmp eax, 0xffffffff
jne 0x48c6d7
xor al, al
jmp 0x48c724
push 0
push 0
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
test eax, eax
je 0x48c6d3
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
push 0
push 0
push 4
push dword [esi + 4]
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
test eax, eax
je 0x48c6d3
mov ecx, esi
call fcn.0048c740
test al, al
je 0x48c6d3
mov byte [esi + 0x10], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b0e84
mov esp, ebp
pop ebp
ret
Function at 0x48c990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
mov ecx, edi
shr ecx, 2
lea ecx, [eax + ecx*4]
mov ebx, ecx
sub ebx, eax
add ebx, 3
shr ebx, 2
cmp eax, ecx
cmova ebx, edx
mov edx, dword [ebp + 8]
test ebx, ebx
je 0x48ca35
cmp ebx, 8
jb 0x48ca17
lea ecx, [eax - 4]
lea ecx, [ecx + ebx*4]
cmp edx, ecx
ja 0x48c9d7
lea ecx, [edx - 4]
lea ecx, [ecx + ebx*4]
cmp ecx, eax
jae 0x48ca17
movdqa xmm1, xmmword [0x4d0e10]
mov ecx, ebx
and ecx, 7
mov dword [ebp + 0x10], ebx
sub dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx]
movdqu xmm0, xmmword [eax]
add esi, 8
pxor xmm0, xmm1
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [eax + 0x10]
add eax, 0x20
pxor xmm0, xmm1
movdqu xmmword [edx + 0x10], xmm0
add edx, 0x20
cmp esi, ecx
jb 0x48c9f0
cmp esi, ebx
jae 0x48ca35
jmp 0x48ca20
mov ecx, dword [eax]
inc esi
xor ecx, 0xc2c2c2c2
add eax, 4
mov dword [edx], ecx
add edx, 4
cmp esi, ebx
jb 0x48ca20
and edi, 3
je 0x48ca4f
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
lea eax, [eax + 1]
xor cl, 0xc2
mov byte [edx + eax - 1], cl
dec edi
jne 0x48ca40
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x497480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xa0], 0
jne 0x497497
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x497490
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x497490
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x4977d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 1
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49a5e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdcf9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fdb40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x5c52ec
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x5c52ec
mov dword [esi + 0x30], 0x5c52ec
mov dword [esi + 0x34], 0x5c52ec
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x49a681
sub edx, ebx
push edx
push edi
call fcn.0049a2c0
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x49a6a0
sub edx, ecx
lea ecx, [esi + 0x30]
push edx
push edi
call fcn.0049a2c0
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
jmp 0x49a6c0
mov al, byte [edx]
inc edx
test al, al
jne 0x49a6c0
sub edx, ecx
lea ecx, [esi + 0x34]
push edx
push edi
call fcn.0049a2c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x49a860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdd63
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4fdb40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x5c52ec
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx], 0x5c52ec
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4d0308
mov byte [ebp - 4], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.0049a2c0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4ac720
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4ac72c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004ac740

Function at 0x4ad3e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x2c]
lea ecx, [ecx]
mov eax, dword [edi + 0x2c]
mov edx, dword [edi + 0x3c]
add eax, 0xfffffefa
sub edx, dword [edi + 0x74]
add eax, esi
sub edx, dword [edi + 0x6c]
mov dword [ebp + 8], edx
cmp dword [edi + 0x6c], eax
jb 0x4ad46c
mov ecx, dword [edi + 0x38]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.004b14c0
mov edx, dword [edi + 0x4c]
add esp, 0xc
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], esi
sub dword [edi + 0x6c], esi
sub dword [edi + 0x5c], esi
lea ecx, [eax + edx*2]
mov edi, edi
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x4ad43f
sub eax, esi
jmp 0x4ad441
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x4ad430
mov eax, dword [edi + 0x40]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x4ad45f
sub eax, esi
jmp 0x4ad461
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x4ad450
mov edx, dword [ebp + 8]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x4ad521
mov eax, dword [edi + 0x74]
add eax, dword [edi + 0x6c]
add eax, dword [edi + 0x38]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x4ad499
xor eax, eax
jmp 0x4ad4e5
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x4ad4b6
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.004ab9a0
jmp 0x4ad4c6
cmp eax, 2
jne 0x4ad4cf
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.004ac720
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 0x30], eax
push ecx
push dword [ebx]
push dword [ebp - 4]
call fcn.004b14c0
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x74], eax
mov ebx, dword [edi + 0x74]
cmp ebx, 3
jb 0x4ad50d
mov eax, dword [edi + 0x38]
add eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x58]
movzx edx, byte [eax]
mov dword [edi + 0x48], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x54]
mov dword [edi + 0x48], edx
cmp ebx, 0x106
jae 0x4ad521
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x4ad3f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret