joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a5134
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.004a4d8c
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a5273
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 0x4a51e2
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.004a480c
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.004a480c
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4a518f
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 0x4a5230
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.004a480c
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 0x4a525a
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 0x4a525a
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 0x4a524a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a527a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a4f28
ret

Function at 0x4b3a3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4b3a90
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x53b940]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x53bd40]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x53c140]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x53c540]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4b3a4b
pop edi
pop esi
pop ebx
ret
Function at 0x4bbaf0
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 0x4bbc1e
push 1
call sub.kernel32.dll_Sleep
jmp 0x4bbc25
push 0
call sub.kernel32.dll_Sleep
inc dword [edi]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4c16f4
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 0x4c17b4
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 0x4c171e
xor edx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c17b4
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 0x4c1750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4c17c0
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 0x4c1878
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 0x4c17ed
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4c1878
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 0x4c1813
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c1884
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 0x4c18eb
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 0x4c189c
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 0x4c18c4
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d1800
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 0x4d1a60
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4d1863
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004d14a8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e284
cmp al, 1
jne 0x4d1863
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004d1770
test al, al
je 0x4d19ef
cmp dword [ebp - 8], 0
jge 0x4d1881
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.004d14a8
mov eax, dword [ebp - 0x210]
call fcn.00404454
cmp ebx, eax
jge 0x4d18cb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004d14a8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x54bad4]
and eax, 0xff
bt dword [edx], eax
jae 0x4d18cb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4d18df
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d17dc
cmp ebx, dword [ebp - 8]
je 0x4d19e1
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 0x4d190b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403530
and eax, 0x7f
movzx eax, word [eax*2 + 0x541940]
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 0x4d19ce
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 + 0x541940]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00466a18
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 + 0x541940]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00466a18
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d19d5
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 0x4d1a42
cmp dword [ebp - 8], 0
jge 0x4d19fa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004d14a8
mov eax, dword [ebp - 0x218]
call fcn.00404454
cmp eax, dword [ebp - 8]
jg 0x4d1a34
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004d14a8
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.004d17dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1a67
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004041a8
ret
Function at 0x4d62d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d6302
mov eax, ebx
call fcn.004d6d88
cmp dword [ebx + 0x40], 0
je 0x4d62fb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d6373
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d6365
cmp dword [ebx + 8], 0
je 0x4d6324
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 0x4d6336
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d6365
cmp dword [ebx + 8], 0
je 0x4d6317
cmp eax, 3
je 0x4d6349
dec eax
jne 0x4d6317
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 0x4d6317
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d6317
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d6391
cmp dword [ebx + 0x14], 0xcc
je 0x4d6391
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.004d639c
pop ebx
ret
Function at 0x4ecf74
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 0x4ecf8a
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 0x4ed0db
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.004ece58
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov cl, 2
xor edx, edx
call fcn.004ece58
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
call fcn.004ece58
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004ece58
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov cl, 1
xor edx, edx
call fcn.004ece58
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov cl, 3
mov dl, 3
call fcn.004ece58
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ed0e2
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 0x4fa304
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 0x4fa424
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, byte [esi + 0x270]
je 0x4fa40e
mov eax, edx
mov byte [esi + 0x270], al
test al, al
je 0x4fa3ca
mov eax, esi
call fcn.0045fc78
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.0045fd48
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x268]
call fcn.00460324
mov ebx, dword [esi + 0x268]
mov edx, dword [esi + 0x48]
mov eax, ebx
call fcn.0045f9ec
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00460230
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x268]
call fcn.00460260
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 0x4fa40e
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x7c]
jmp 0x4fa40e
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.004f8a98
push 0
mov eax, dword [esi + 0x268]
call fcn.00466a18
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 0x4fa42b
lea eax, [ebp - 0x14]
call fcn.00404184
ret

Function at 0x4fc27c
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 0x4fc2f5
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, byte [eax + 0x2a0]
mov ecx, edx
sub cl, 1
jae 0x4fc2dd
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 0x4fc2d9
mov bl, 1
jmp 0x4fc2df
mov bl, 2
jmp 0x4fc2df
mov ebx, edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fc2fc
lea eax, [ebp - 8]
call fcn.00404184
ret
Function at 0x4ff1d8
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 0x4ff332
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.00500240
add esi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 2
call fcn.00500240
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.00500058
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 0x4ff339
lea eax, [ebp - 0xc]
call fcn.004048a0
ret
Function at 0x501f2c
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 0x501fdd
mov eax, dword [ebx + 0x280]
test eax, eax
jl 0x50200c
cmp dword [ebx + 0x284], 0
jl 0x50200c
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.0050257c
test byte [ebx + 0x430], 0x20
jne 0x501fb6
dec dword [esp + 8]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004ffe30
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x50200c
xor edx, edx
mov eax, dword [ebx + 0x2d0]
call fcn.00460150
jmp 0x5020ce
test byte [ebx + 0x498], 0x40
je 0x5020ce
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.00500378
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 8]
push eax
call sub.user32.dll_InflateRect
cmp dword [esp], 0
jge 0x502025
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004ffe30
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x50204c
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004ffe30
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x2d0]
push 0
mov eax, ebx
call fcn.00466a18
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 + 0x54290c]
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.00466a18
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.00466a18
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.00466a18
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret