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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004a4e38
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a531f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x4a528e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.004a48b8
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.004a48b8
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4a523b
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4a52dc
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.004029b0
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.004a48b8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.004029b0
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4a5306
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4a5306
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x4a52f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5326
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a4fd4
ret

Function at 0x4b3ae8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4b3b3c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x53f940]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x53fd40]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x540140]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x540540]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4b3af7
pop edi
pop esi
pop ebx
ret
Function at 0x4bbb9c
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
cmp dword [esi + 0x30], 1
jbe 0x4bbcca
push 1
call sub.kernel32.dll_Sleep
jmp 0x4bbcd1
push 0
call sub.kernel32.dll_Sleep
inc dword [edi]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4c19d0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4c1a90
xor ebx, ebx
lea esi, [ebp - 0x114]
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
call fcn.004054b4
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4c19fa
xor edx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c1a90
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
inc edx
and dl, 0xff
mov esi, edx
and esi, 0xff
mov al, byte [ebp + esi - 0x114]
mov cl, byte [ebp - 0xd]
add cl, al
and cl, 0xff
mov byte [ebp - 0xd], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov cl, byte [ebp + ecx - 0x114]
mov byte [ebp + esi - 0x114], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov byte [ebp + ecx - 0x114], al
add al, byte [ebp + esi - 0x114]
and al, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x114]
mov eax, dword [ebp - 8]
mov byte [eax + ebx], cl
inc ebx
dec dword [ebp - 0x14]
jne 0x4c1a2c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c1a9c
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4c1b54
xor esi, esi
lea ecx, [ebp - 0x110]
mov eax, esi
cdq
idiv edi
mov al, byte [ebx + edx]
mov byte [ecx], al
inc esi
inc ecx
cmp esi, 0x100
jne 0x4c1ac9
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c1b54
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x110]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x110]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x110], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x110], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x110]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0x10]
jne 0x4c1aef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c1b60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov edi, ecx
mov ecx, edx
mov ebp, eax
test cl, cl
jbe 0x4c1bc7
xor ebx, ebx
mov esi, esp
mov byte [edi + ebx], bl
xor eax, eax
mov al, cl
push eax
mov eax, ebx
pop edx
push ecx
mov ecx, edx
cdq
idiv ecx
pop ecx
mov al, byte [ebp + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4c1b78
xor eax, eax
xor ebx, ebx
mov esi, esp
mov dl, byte [edi + ebx]
xor ecx, ecx
mov cl, dl
add eax, ecx
xor ecx, ecx
mov cl, byte [esi]
add eax, ecx
and eax, 0xff
mov cl, byte [edi + eax]
mov byte [edi + ebx], cl
mov byte [edi + eax], dl
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4c1ba0
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d1acc
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 0x4d1d2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d1b2f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d1774
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e284
cmp al, 1
jne 0x4d1b2f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d1a3c
test al, al
je 0x4d1cbb
cmp dword [ebp - 8], 0
jge 0x4d1b4d
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.004d1774
mov eax, dword [ebp - 0x210]
call fcn.00404454
cmp ebx, eax
jge 0x4d1b97
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d1774
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x550250]
and eax, 0xff
bt dword [edx], eax
jae 0x4d1b97
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d1bab
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d1aa8
cmp ebx, dword [ebp - 8]
je 0x4d1cad
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 0x4d1bd7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x545940]
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 0x4d1c9a
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x545940]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00466ac4
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x545940]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00466ac4
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1ca1
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 0x4d1d0e
cmp dword [ebp - 8], 0
jge 0x4d1cc6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d1774
mov eax, dword [ebp - 0x218]
call fcn.00404454
cmp eax, dword [ebp - 8]
jg 0x4d1d00
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d1774
mov eax, dword [ebp - 0x21c]
call fcn.00404454
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004d1aa8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1d33
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004041a8
ret
Function at 0x4d65a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d65ce
mov eax, ebx
call fcn.004d7054
cmp dword [ebx + 0x40], 0
je 0x4d65c7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d663f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d6631
cmp dword [ebx + 8], 0
je 0x4d65f0
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 0x4d6602
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d6631
cmp dword [ebx + 8], 0
je 0x4d65e3
cmp eax, 3
je 0x4d6615
dec eax
jne 0x4d65e3
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 0x4d65e3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d65e3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d665d
cmp dword [ebx + 0x14], 0xcc
je 0x4d665d
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.004d6668
pop ebx
ret
Function at 0x4ed3a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
sar eax, 1
jns 0x4ed3b6
adc eax, 0
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
xor edx, edx
xor eax, eax
call fcn.0040691c
push 1
push 1
lea eax, [ebp - 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0040691c
push 1
push 1
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebp - 0x10]
inc eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
inc eax
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x34]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x4ed507
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor ecx, ecx
mov dl, 2
call fcn.004ed284
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov cl, 2
xor edx, edx
call fcn.004ed284
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
call fcn.004ed284
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004ed284
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov cl, 1
xor edx, edx
call fcn.004ed284
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov cl, 3
mov dl, 3
call fcn.004ed284
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed50e
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x24]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteObject
ret
Function at 0x4fa730
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov esi, eax
xor eax, eax
push ebp
push 0x4fa850
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, byte [esi + 0x270]
je 0x4fa83a
mov eax, edx
mov byte [esi + 0x270], al
test al, al
je 0x4fa7f6
mov eax, esi
call fcn.0045fd24
mov edx, eax
lea ecx, [ebp - 0x10]
or eax, 0xffffffff
call fcn.0041b97c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 8]
mov eax, esi
call fcn.0045fdf4
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x268]
call fcn.004603d0
mov ebx, dword [esi + 0x268]
mov edx, dword [esi + 0x48]
mov eax, ebx
call fcn.0045fa98
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.004602dc
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x268]
call fcn.0046030c
lea edx, [ebp - 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x144]
mov byte [esi + 0x22c], 1
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xe8]
cmp byte [esi + 0x271], 1
jne 0x4fa83a
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x7c]
jmp 0x4fa83a
mov eax, dword [esi + 0x268]
mov byte [eax + 0x254], 1
call sub.user32.dll_ReleaseCapture
mov byte [esi + 0x22c], 0
xor edx, edx
mov eax, dword [esi + 0x264]
call fcn.004f8ec4
push 0
mov eax, dword [esi + 0x268]
call fcn.00466ac4
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov si, 0xffad
call fcn.00403530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fa857
lea eax, [ebp - 0x14]
call fcn.00404184
ret

Function at 0x4fc6a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
xor edx, edx
push ebp
push 0x4fc721
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, byte [eax + 0x2a0]
mov ecx, edx
sub cl, 1
jae 0x4fc709
push 2
lea eax, [ebp - 2]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 8]
lea edx, [ebp - 2]
mov ecx, 2
call fcn.00404404
mov eax, dword [ebp - 8]
call fcn.004096a8
sub eax, 1
jae 0x4fc705
mov bl, 1
jmp 0x4fc70b
mov bl, 2
jmp 0x4fc70b
mov ebx, edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc728
lea eax, [ebp - 8]
call fcn.00404184
ret
Function at 0x4ff604
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ff75e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x488]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edi, dword [eax + 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x208]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x43c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x488]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [eax + 0xb0]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0050066c
add esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 2
call fcn.0050066c
mov ecx, esi
sub ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040691c
push edi
lea esi, [ebp - 0x1c]
add edi, 0x24
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x488]
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
call fcn.00500484
mov byte [ebp - 5], al
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov esi, dword [eax]
call dword [esi + 0x108]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov si, 0xffb0
call fcn.00403530
lea eax, [edi + 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.004048dc
mov eax, dword [ebp - 0xc]
push eax
mov al, byte [ebp - 5]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, ebx
mov ebx, dword [eax]
call dword [ebx + 0x148]
lea edx, [ebp - 0x24]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, dword [ebp - 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff765
lea eax, [ebp - 0xc]
call fcn.004048a0
ret
Function at 0x502358
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffd0
mov ebx, eax
xor esi, esi
test byte [ebx + 0x498], 8
je 0x502409
mov eax, dword [ebx + 0x280]
test eax, eax
jl 0x502438
cmp dword [ebx + 0x284], 0
jl 0x502438
mov edx, eax
mov eax, dword [ebx + 0x488]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
push esp
mov ecx, dword [ebx + 0x284]
mov edx, dword [ebx + 0x280]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x1c0]
mov edx, dword [ebx + 0x284]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x124]
mov edx, eax
mov ecx, esp
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x64]
mov edx, esp
mov eax, ebx
call fcn.005029a8
test byte [ebx + 0x430], 0x20
jne 0x5023e2
dec dword [esp + 8]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0050025c
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x502438
xor edx, edx
mov eax, dword [ebx + 0x2d0]
call fcn.004601fc
jmp 0x5024fa
test byte [ebx + 0x498], 0x40
je 0x5024fa
mov edx, dword [ebx + 0x2d8]
mov eax, dword [ebx + 0x488]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
mov ecx, esp
mov edx, dword [ebx + 0x2d8]
mov eax, ebx
call fcn.005007a4
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 8]
push eax
call sub.user32.dll_InflateRect
cmp dword [esp], 0
jge 0x502451
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0050025c
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x502478
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.0050025c
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x2d0]
push 0
mov eax, ebx
call fcn.00466ac4
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x40]
test al, 0x10
setne al
and eax, 0x7f
mov eax, dword [eax*4 + 0x54690c]
or eax, 0x40
push eax
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 8]
sub eax, ebp
push eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 8]
sub eax, edi
push eax
push ebp
push edi
push 0
mov eax, ebx
call fcn.00466ac4
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.00466ac4
push eax
call sub.user32.dll_SetFocus
lea edx, [esp + 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
push 0
lea eax, [esp + 0x14]
push eax
mov eax, ebx
call fcn.00466ac4
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret