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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, edx
mov esi, eax
mov eax, dword [esi]
call dword [eax + 0x20]
mov ebx, eax
mov eax, ebx
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [esi + 8]
add eax, ebx
mov dword [esp + 8], eax
mov eax, ebx
add eax, eax
mov edx, dword [esi + 8]
lea eax, [edx + eax]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
cdq
idiv ebx
mov ebp, eax
dec ebp
test ebp, ebp
jl 0x4a0e3f
inc ebp
push ebx
mov ecx, dword [esp + 0x10]
mov edx, edi
mov eax, dword [esi + 8]
call fcn.0049fde0
mov edx, dword [esi + 8]
mov eax, dword [esp + 8]
mov ecx, ebx
call fcn.0049fdb4
mov edx, dword [esp + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
push ebx
mov ecx, edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
call fcn.0049fe98
lea eax, [edi + ebx]
mov edi, eax
dec ebp
jne 0x4a0dff
mov eax, dword [esp]
cdq
idiv ebx
mov ebp, edx
test ebp, ebp
jle 0x4a0e7a
mov edx, dword [esp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 4]
call fcn.0049fee4
mov edx, dword [esi + 8]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec ebp
test ebp, ebp
jl 0x4a0e7a
inc ebp
xor eax, eax
mov edx, dword [esi + 8]
mov dl, byte [edx + eax]
xor byte [edi + eax], dl
inc eax
dec ebp
jne 0x4a0e6d
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a0e84
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [edi]
call dword [eax + 0x20]
mov ebp, eax
mov eax, ebp
shr eax, 2
mov dword [esp + 4], eax
mov eax, dword [esp]
cdq
idiv ebp
mov esi, eax
mov eax, dword [edi + 8]
dec esi
test esi, esi
jl 0x4a0ed3
inc esi
mov edx, eax
mov eax, ebx
mov ecx, dword [esp + 4]
call fcn.0049fee4
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov eax, ebx
lea edx, [ebx + ebp]
mov ebx, edx
dec esi
jne 0x4a0eb3
mov edx, dword [edi + 8]
mov ecx, ebp
call fcn.00402d40
mov eax, dword [esp]
cdq
idiv ebp
mov esi, edx
test esi, esi
jle 0x4a0f08
mov edx, dword [edi + 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec esi
test esi, esi
jl 0x4a0f08
inc esi
xor eax, eax
mov edx, dword [edi + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec esi
jne 0x4a0efb
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4a1f8c
Capabilities:
Encode data using xor

Disassembly:
lea edi, [edi + 0xc0]
mov ecx, 0x40
neg ecx
mov edx, dword [edi + ecx*4]
xor edx, dword [edi + ecx*4 + 8]
xor edx, dword [edi + ecx*4 + 0x20]
xor edx, dword [edi + ecx*4 + 0x34]
rol edx, 1
mov dword [edi + ecx*4 + 0x40], edx
inc ecx
jne 0x4a1f99
ret
Function at 0x4af114
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4af168
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x5276d8]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x527ad8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x527ed8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x5282d8]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4af123
pop edi
pop esi
pop ebx
ret

Function at 0x4b71c8
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 0x4b72f6
push 1
call sub.kernel32.dll_Sleep
jmp 0x4b72fd
push 0
call sub.kernel32.dll_Sleep
inc dword [edi]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4bcdd4
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 ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
lea esi, [ebp - 0x110]
mov eax, ebx
xor edx, edx
div ecx
mov al, byte [edi + edx]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4bcdf7
xor ebx, ebx
xor esi, esi
cmp dword [ebp - 0xc], 0
jle 0x4bce7d
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jb 0x4bce7d
inc eax
mov dword [ebp - 0x10], eax
xor edx, edx
inc ebx
and ebx, 0xff
xor eax, eax
mov al, byte [ebp + ebx - 0x110]
lea ecx, [eax + esi]
and ecx, 0xff
mov esi, ecx
mov cl, byte [ebp + esi - 0x110]
mov byte [ebp + ebx - 0x110], cl
mov byte [ebp + esi - 0x110], al
xor ecx, ecx
mov cl, byte [ebp + ebx - 0x110]
add eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x10]
jne 0x4bce24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4bce88
Capabilities:
Encode data using xor
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 + 0xc]
xor ebx, ebx
lea esi, [ebp - 0x110]
mov eax, dword [ebp + 8]
cdq
push edx
push eax
mov eax, ebx
xor edx, edx
call fcn.0040588c
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4bcea8
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 0xc], 0
jle 0x4bcf35
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jb 0x4bcf35
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc ebx
and ebx, 0xff
xor eax, eax
mov al, byte [ebp + ebx - 0x110]
lea edx, [eax + edx]
and edx, 0xff
mov cl, byte [ebp + edx - 0x110]
mov byte [ebp + ebx - 0x110], cl
mov byte [ebp + edx - 0x110], al
xor ecx, ecx
mov cl, byte [ebp + ebx - 0x110]
add eax, ecx
and eax, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + esi]
xor cl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], cl
inc esi
dec dword [ebp - 0x10]
jne 0x4bcede
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4bcf40
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 0x4bcfa7
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 0x4bcf58
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 0x4bcf80
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4cab50
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 0x4cadb0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4cabb3
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ca7f8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e834
cmp al, 1
jne 0x4cabb3
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004caac0
test al, al
je 0x4cad3f
cmp dword [ebp - 8], 0
jge 0x4cabd1
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.004ca7f8
mov eax, dword [ebp - 0x210]
call fcn.00404824
cmp ebx, eax
jge 0x4cac1b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ca7f8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5353f8]
and eax, 0xff
bt dword [edx], eax
jae 0x4cac1b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4cac2f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004cab2c
cmp ebx, dword [ebp - 8]
je 0x4cad31
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 0x4cac5b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52d6d8]
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 0x4cad1e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52d6d8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004623f0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52d6d8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004623f0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cad25
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 0x4cad92
cmp dword [ebp - 8], 0
jge 0x4cad4a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ca7f8
mov eax, dword [ebp - 0x218]
call fcn.00404824
cmp eax, dword [ebp - 8]
jg 0x4cad84
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ca7f8
mov eax, dword [ebp - 0x21c]
call fcn.00404824
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004cab2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cadb7
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404578
ret
Function at 0x4cf5f4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4cf622
mov eax, ebx
call fcn.004d00a8
cmp dword [ebx + 0x40], 0
je 0x4cf61b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4cf693
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4cf685
cmp dword [ebx + 8], 0
je 0x4cf644
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 0x4cf656
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4cf685
cmp dword [ebx + 8], 0
je 0x4cf637
cmp eax, 3
je 0x4cf669
dec eax
jne 0x4cf637
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 0x4cf637
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4cf637
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4cf6b1
cmp dword [ebx + 0x14], 0xcc
je 0x4cf6b1
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.004cf6bc
pop ebx
ret
Function at 0x4e6690
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 0x4e66a6
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.0041c100
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.0041c100
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 0x4e67f7
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.004e6574
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov cl, 2
xor edx, edx
call fcn.004e6574
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
xor ecx, ecx
xor edx, edx
call fcn.004e6574
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
xor ecx, ecx
mov dl, 1
call fcn.004e6574
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov cl, 1
xor edx, edx
call fcn.004e6574
pop ecx
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov cl, 3
mov dl, 3
call fcn.004e6574
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e67fe
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 0x4f433c
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 0x4f445c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dl, byte [esi + 0x279]
je 0x4f4446
mov eax, edx
mov byte [esi + 0x279], al
test al, al
je 0x4f4402
mov eax, esi
call fcn.0045b650
mov edx, eax
lea ecx, [ebp - 0x10]
or eax, 0xffffffff
call fcn.0041c0d8
lea edx, [ebp - 0x10]
lea ecx, [ebp - 8]
mov eax, esi
call fcn.0045b720
mov edx, dword [esi + 0x68]
mov eax, dword [esi + 0x270]
call fcn.0045bcfc
mov ebx, dword [esi + 0x270]
mov edx, dword [esi + 0x48]
mov eax, ebx
call fcn.0045b3c4
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0045bc08
mov edx, dword [ebp - 0x14]
mov eax, dword [esi + 0x270]
call fcn.0045bc38
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 + 0xec]
cmp byte [esi + 0x27a], 1
jne 0x4f4446
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x7c]
jmp 0x4f4446
mov eax, dword [esi + 0x270]
mov byte [eax + 0x254], 1
call sub.user32.dll_ReleaseCapture
mov byte [esi + 0x22c], 0
xor edx, edx
mov eax, dword [esi + 0x26c]
call fcn.004f2924
push 0
mov eax, dword [esi + 0x270]
call fcn.004623f0
push eax
call sub.user32.dll_ShowWindow
mov eax, esi
mov si, 0xffad
call fcn.004038d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4463
lea eax, [ebp - 0x14]
call fcn.00404554
ret

Function at 0x4f62f4
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 0x4f636d
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, byte [eax + 0x2a0]
mov ecx, edx
sub cl, 1
jae 0x4f6355
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.004047d4
mov eax, dword [ebp - 8]
call fcn.00409b98
sub eax, 1
jae 0x4f6351
mov bl, 1
jmp 0x4f6357
mov bl, 2
jmp 0x4f6357
mov ebx, edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f6374
lea eax, [ebp - 8]
call fcn.00404554
ret
Function at 0x4f92c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f9400
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x208]
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x128]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x54], eax
mov eax, dword [ebx + 0x49c]
push eax
lea eax, [ebp - 0x20]
push eax
mov edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, dword [eax + 0xb0]
xor edx, edx
mov eax, ebx
call fcn.004fa794
add esi, eax
mov dl, 2
mov eax, ebx
call fcn.004fa794
mov ecx, esi
sub ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406dbc
mov eax, dword [ebp - 0xc]
push edi
lea esi, [ebp - 0x20]
lea edi, [eax + 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 edx, edi
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [eax + 0x58]
mov eax, dword [ebx + 0x208]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
call fcn.004fa5bc
mov byte [ebp - 5], al
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x108]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov si, 0xffae
call fcn.004038d0
mov eax, dword [ebp - 0xc]
add eax, 0x1c
mov edx, dword [ebp - 0x10]
call fcn.00404cac
mov eax, dword [ebp - 0x10]
push eax
mov al, byte [ebp - 5]
push eax
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x14c]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ebx, dword [ebp - 0x24]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f9407
lea eax, [ebp - 0x10]
call fcn.00404c70
ret
Function at 0x4fc660
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 + 0x4e4], 8
je 0x4fc739
mov eax, dword [ebx + 0x280]
test eax, eax
jl 0x4fc768
cmp dword [ebx + 0x284], 0
jl 0x4fc768
mov edx, eax
mov eax, dword [ebx + 0x4d4]
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 + 0x1cc]
mov edx, dword [ebx + 0x284]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x128]
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.004fccec
test byte [ebx + 0x490], 0x20
jne 0x4fc6ea
dec dword [esp + 8]
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004fa394
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 4]
jle 0x4fc711
xor edx, edx
mov eax, dword [ebx + 0x2d4]
call fcn.0045bb28
jmp 0x4fc82a
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004fa394
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x4fc768
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004fa394
mov eax, dword [esp + 0x20]
mov dword [esp], eax
jmp 0x4fc768
test byte [ebx + 0x4e4], 0x40
je 0x4fc82a
mov edx, dword [ebx + 0x2dc]
mov eax, dword [ebx + 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov esi, eax
mov ecx, esp
mov edx, dword [ebx + 0x2dc]
mov eax, ebx
call fcn.004fa8cc
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 8]
push eax
call sub.user32.dll_InflateRect
cmp dword [esp], 0
jge 0x4fc781
xor eax, eax
mov dword [esp], eax
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004fa394
mov eax, dword [esp + 0x20]
cmp eax, dword [esp]
jle 0x4fc7a8
lea edx, [esp + 0x20]
mov eax, ebx
call fcn.004fa394
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov ebx, dword [ebx + 0x2d4]
push 0
mov eax, ebx
call fcn.004623f0
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 + 0x52e6bc]
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.004623f0
push eax
call sub.user32.dll_SetWindowPos
mov eax, ebx
call fcn.004623f0
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.004623f0
push eax
call sub.user32.dll_InvalidateRect
add esp, 0x30
pop ebp
pop edi
pop esi
pop ebx
ret