joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ed89c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x4edabb
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x4bd860]
call fcn.00405d70
add esp, 4
push 2
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x406d90]
call fcn.00405d70
add esp, 4
push 2
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x406d90]
call fcn.00405d70
add esp, 4
push 0
lea eax, [ebp - 0x18]
mov ecx, 1
mov edx, dword [0x4bd860]
call fcn.00405d70
add esp, 4
push 0
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, dword [0x4bd860]
call fcn.00405d70
add esp, 4
xor edi, edi
mov eax, dword [ebp - 0x10]
push eax
push 0
push 8
xor ecx, ecx
mov edx, dword [ebx + 0x5c]
mov eax, dword [0x4bda98]
call fcn.004be368
cmp dword [ebp - 4], 0
je 0x4eda67
mov eax, dword [ebx + 0x14]
call fcn.004e13dc
mov esi, eax
mov eax, dword [0x4bd938]
call fcn.004bdf3c
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
call dword [eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
call fcn.004edb88
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx]
call fcn.004edb88
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push edx
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
call fcn.004edb38
jmp 0x4eda15
inc edi
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
call fcn.004edad0
fmul dword [0x4edacc]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00434484
add al, 0x40
mov edx, eax
mov eax, dword [ebx + 0x14]
call fcn.004e1658
mov eax, dword [ebp - 0x10]
call fcn.00405bb4
cmp edi, eax
jl 0x4ed9ec
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
call fcn.004edad0
fmul dword [0x4edacc]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00434484
mov byte [ebp - 0x11], al
mov eax, dword [ebx + 0x14]
call fcn.004e13dc
mov edi, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 0x14]
call fcn.004e13ac
cmp edi, esi
je 0x4eda67
mov eax, dword [ebp - 0x18]
mov dl, byte [ebp - 0x11]
xor byte [eax + esi], dl
inc esi
cmp edi, esi
jne 0x4eda59
xor edx, edx
mov eax, dword [ebx + 0x14]
call fcn.004e1658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4edac2
lea eax, [ebp - 0x1c]
mov edx, dword [0x4bd860]
mov ecx, 2
call fcn.004053a4
lea eax, [ebp - 0x10]
mov edx, dword [0x4bd860]
call fcn.00405e90
lea eax, [ebp - 0xc]
mov edx, dword [0x406d90]
mov ecx, 2
call fcn.004053a4
lea eax, [ebp - 4]
call fcn.004047e0
ret
Function at 0x4edf88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov ebx, eax
mov esi, 0x10
mov ecx, dword [ebx + esi*4 + 0xc]
xor ecx, dword [ebx + esi*4 - 8]
xor ecx, dword [ebx + esi*4 - 0x20]
xor ecx, dword [ebx + esi*4 - 0x28]
mov edx, 1
mov eax, ebx
call fcn.004edec4
mov dword [ebx + esi*4 + 0x18], eax
inc esi
cmp esi, 0x50
jne 0x4edf96
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov dword [esp], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], eax
xor esi, esi
mov ecx, edi
mov edx, 5
mov eax, ebx
call fcn.004edec4
mov ebp, eax
mov eax, dword [esp + 4]
push eax
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [esp + 8]
mov edx, esi
mov eax, ebx
call fcn.004edf24
add ebp, eax
add ebp, dword [esp + 0xc]
add ebp, dword [ebx + esi*4 + 0x18]
mov edx, esi
mov eax, ebx
call fcn.004ededc
add ebp, eax
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov ecx, dword [esp]
mov edx, 0x1e
mov eax, ebx
call fcn.004edec4
mov dword [esp + 4], eax
mov dword [esp], edi
mov edi, ebp
inc esi
cmp esi, 0x50
jne 0x4edfdc
add dword [ebx + 4], edi
mov eax, dword [esp]
add dword [ebx + 8], eax
mov eax, dword [esp + 4]
add dword [ebx + 0xc], eax
mov eax, dword [esp + 8]
add dword [ebx + 0x10], eax
mov eax, dword [esp + 0xc]
add dword [ebx + 0x14], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ee06c
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
mov dword [ebx + 4], 0x67452301
mov dword [ebx + 8], 0xefcdab89
mov dword [ebx + 0xc], 0x98badcfe
mov dword [ebx + 0x10], 0x10325476
mov dword [ebx + 0x14], 0xc3d2e1f0
jmp 0x4ee0fb
xor eax, eax
xor edx, edx
mov dword [ebx + eax*4 + 0x18], edx
inc eax
cmp eax, 0x10
jne 0x4ee0af
xor eax, eax
mov edx, eax
and edx, 3
mov ecx, 3
sub ecx, edx
mov esi, ecx
shl esi, 3
mov edx, eax
shr edx, 2
mov ecx, dword [ebp - 0xc]
add ecx, eax
add ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
movzx edi, byte [edi + ecx]
mov ecx, esi
shl edi, cl
add dword [ebx + edx*4 + 0x18], edi
inc eax
cmp eax, 0x40
jne 0x4ee0bd
mov eax, ebx
call fcn.004edf88
add dword [ebp - 0x10], 0x40
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cmp eax, 0x40
jae 0x4ee0ad
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cmp eax, 0x37
ja 0x4ee1a5
xor eax, eax
xor edx, edx
mov dword [ebx + eax*4 + 0x18], edx
inc eax
cmp eax, 0x10
jne 0x4ee117
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
dec edx
sub edx, eax
jb 0x4ee169
inc edx
mov dword [ebp - 0x18], edx
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov edx, ecx
shr edx, 2
and ecx, 3
mov esi, 3
sub esi, ecx
shl esi, 3
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
movzx edi, byte [ecx + edi]
mov ecx, esi
shl edi, cl
add dword [ebx + edx*4 + 0x18], edi
inc eax
dec dword [ebp - 0x18]
jne 0x4ee132
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 2
and eax, 3
mov ecx, 3
sub ecx, eax
mov esi, ecx
shl esi, 3
mov ecx, esi
mov eax, 0x80
shl eax, cl
add dword [ebx + edx*4 + 0x18], eax
mov eax, dword [ebp - 8]
shl eax, 3
mov dword [ebx + 0x54], eax
mov eax, ebx
call fcn.004edf88
jmp 0x4ee23f
xor eax, eax
xor edx, edx
mov dword [ebx + eax*4 + 0x18], edx
inc eax
cmp eax, 0x10
jne 0x4ee1a7
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
dec edx
sub edx, eax
jb 0x4ee1f3
inc edx
mov dword [ebp - 0x18], edx
mov ecx, eax
sub ecx, dword [ebp - 0x10]
mov edx, ecx
shr edx, 2
and ecx, 3
mov esi, 3
sub esi, ecx
shl esi, 3
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov edi, dword [ebp - 4]
movzx edi, byte [edi + ecx]
mov ecx, esi
shl edi, cl
add dword [ebx + edx*4 + 0x18], edi
inc eax
dec dword [ebp - 0x18]
jne 0x4ee1c2
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov edx, eax
shr edx, 2
and eax, 3
mov ecx, 3
sub ecx, eax
mov esi, ecx
shl esi, 3
mov ecx, esi
mov eax, 0x80
shl eax, cl
add dword [ebx + edx*4 + 0x18], eax
mov eax, ebx
call fcn.004edf88
xor eax, eax
xor edx, edx
mov dword [ebx + eax*4 + 0x18], edx
inc eax
cmp eax, 0x10
jne 0x4ee223
mov eax, dword [ebp - 8]
shl eax, 3
mov dword [ebx + 0x54], eax
mov eax, ebx
call fcn.004edf88
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4fa77c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x4f82d4]
call fcn.004faf90
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fa7e3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa7ea
mov eax, dword [ebp - 4]
call fcn.0040396c
ret
Function at 0x50d858
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50dab8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x50d8bb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0050d320
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e668
cmp al, 1
jne 0x50d8bb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0050d638
test al, al
je 0x50da47
cmp dword [ebp - 8], 0
jge 0x50d8d9
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0050d320
mov eax, dword [ebp - 0x210]
call fcn.00404ab0
cmp ebx, eax
jge 0x50d923
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0050d320
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x6f17d4]
and eax, 0xff
bt dword [edx], eax
jae 0x50d923
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x50d937
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0050d834
cmp ebx, dword [ebp - 8]
je 0x50da39
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x50d963
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b68
and eax, 0x7f
movzx eax, word [eax*2 + 0x6edb98]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x50da26
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b68
and eax, 0x7f
movzx eax, word [eax*2 + 0x6edb98]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00483a1c
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403b68
and eax, 0x7f
movzx eax, word [eax*2 + 0x6edb98]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00483a1c
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50da2d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x50da9a
cmp dword [ebp - 8], 0
jge 0x50da52
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0050d320
mov eax, dword [ebp - 0x218]
call fcn.00404ab0
cmp eax, dword [ebp - 8]
jg 0x50da8c
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0050d320
mov eax, dword [ebp - 0x21c]
call fcn.00404ab0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050d834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50dabf
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404804
ret
Function at 0x52b5c4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x52b5de
add esp, 0xfffffff0
call fcn.00403cd0
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x52b67b
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.0040393c
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x42a4f0]
call fcn.0042bd04
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.0052ba04
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x52b8a8
mov dl, 1
mov eax, dword [0x41d388]
call fcn.0040393c
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.0041a718
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00411fe0
mov byte [edi + 0x28], 1
mov dl, byte [0x52b6a0]
mov ax, 0x2e
call fcn.0048d1e8
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b682
lea eax, [ebp - 0x10]
call fcn.00411bc8
ret

Function at 0x52c6fc
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x52c714
push 5
mov eax, ebx
call fcn.00483a1c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00483a1c
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x537e28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x537ec8
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x537e54
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x537e68
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5282b8]
call fcn.0052d49c
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0047cf38
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.00483b5c
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.00483a1c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x537efc
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x537ed4
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x55060c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x550644]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x550622
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x550631
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x550640
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x568da8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x568de2
test bl, bl
je 0x568dd3
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x568ddd
mov eax, dword [edi]
movzx esi, byte [eax + 0x3ad]
dec esi
xor bl, 1
jmp 0x568df3
mov eax, dword [edi]
mov edx, dword [eax + 0x3c8]
mov eax, dword [edi]
call fcn.0055961c
mov esi, eax
mov eax, esi
test bl, bl
je 0x568dfc
inc esi
jmp 0x568dfd
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x568e12
mov edx, dword [edi]
movzx esi, byte [edx + 0x3ad]
jmp 0x568e32
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
cmp esi, edx
jge 0x568e32
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
sub esi, edx
cmp eax, esi
je 0x568e76
jmp 0x568e4e
test bl, bl
je 0x568e3f
inc esi
jmp 0x568e40
dec esi
test esi, esi
jl 0x568e76
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x568e76
mov eax, dword [edi]
mov edx, esi
call fcn.00559610
mov edx, eax
mov eax, dword [edi]
call fcn.00567e8c
test al, al
je 0x568e38
mov eax, dword [edi]
mov edx, esi
call fcn.00559610
mov edx, eax
mov eax, dword [edi]
call fcn.00567f60
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x569d20
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x130]
test al, al
je 0x569d4b
cmp byte [0x6f30cc], 0
jne 0x569d4b
mov byte [ebx + 0x3e4], 1
cmp byte [ebx + 0x3e4], 0
je 0x569d5a
cmp dword [esi + 4], 0
je 0x569d87
test byte [ebx + 0x55], 1
jne 0x569d79
mov eax, ebx
call fcn.004806c8
test eax, eax
jne 0x569d79
mov edx, esi
mov eax, ebx
call fcn.00485770
jmp 0x569eb9
mov edx, esi
mov eax, ebx
call fcn.0048164c
jmp 0x569eb9
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.0047ca60
push eax
mov eax, ebx
call fcn.0047ca1c
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x569eb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00483a1c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0047e250
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00569d20
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00483a1c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x569eb9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x573618
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x573632
add esp, 0xfffffff0
call fcn.00403cd0
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5736c0
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.0040393c
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.005458f4
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41d388]
call fcn.0040393c
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41d388]
call fcn.0040393c
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x517dc0]
call fcn.00519778
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x573fc0
lea eax, [ebp - 0x10]
call fcn.0041a718
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00411fe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5736c7
lea eax, [ebp - 0x10]
call fcn.00411bc8
ret

Function at 0x580390
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov ebx, eax
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
mov eax, dword [esp + 0x10]
sub eax, 1
jb 0x5803b6
je 0x5803c4
dec eax
je 0x5803fd
jmp 0x580409
mov eax, ebx
mov edx, 0x58041c
call fcn.00404834
jmp 0x580409
and dword [esp + 0xc], 0xffff
cmp dword [esp + 4], 4
ja 0x5803e1
cmp dword [esp + 4], 4
jne 0x5803ef
cmp dword [esp + 8], 0xa
jb 0x5803ef
mov eax, ebx
mov edx, 0x580428
call fcn.00404834
jmp 0x580409
mov eax, ebx
mov edx, 0x580434
call fcn.00404834
jmp 0x580409
mov eax, ebx
mov edx, 0x580440
call fcn.00404834
add esp, 0x94
pop ebx
ret

Function at 0x58702c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x58705a
mov eax, ebx
call fcn.00587ae0
cmp dword [ebx + 0x40], 0
je 0x587053
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5870cb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5870bd
cmp dword [ebx + 8], 0
je 0x58707c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x58708e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5870bd
cmp dword [ebx + 8], 0
je 0x58706f
cmp eax, 3
je 0x5870a1
dec eax
jne 0x58706f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x58706f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x58706f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5870e9
cmp dword [ebx + 0x14], 0xcc
je 0x5870e9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005870f4
pop ebx
ret
Function at 0x5a4420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5a4591
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x98]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x14]
add eax, dword [edx + 0xc8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
call fcn.0042c0b8
mov ebx, eax
neg ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fild dword [eax + 0x124]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
fmul qword [eax + 0x80]
call fcn.00402c14
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
xor edx, edx
mov dword [eax + 0x108], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0xc], eax
cmp byte [0x6f3b18], 0
jne 0x5a452a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x5a452a
lea ecx, [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x30]
call fcn.0042d1c4
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov ecx, dword [ebp + 8]
sub edx, dword [ecx - 0x10]
cmp eax, edx
jle 0x5a452a
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x5b
jne 0x5a452a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov dword [eax + 0x110], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5a4567
inc ebx
xor esi, esi
push ebp
lea ecx, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov eax, dword [eax + 0x44]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18]
call fcn.005a4044
pop ecx
test al, al
jne 0x5a4567
inc esi
dec ebx
jne 0x5a4542
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x110], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a4598
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404804
ret