joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461cb0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461e5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461e3c
mov dl, 1
mov eax, dword [0x41b258]
call fcn.00403ae4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040499c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461e2b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004532bc
test al, al
je 0x461e1e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461e6c
lea eax, [ebp - 0x254]
call fcn.0040a0b0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461e1e
xor eax, eax
push ebp
push 0x461e17
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x461ea4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461e00
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c0c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461e00
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e1e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461d21
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00420344
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e62
lea eax, [ebp - 0x260]
call fcn.0040499c
ret

Function at 0x46281c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4beca0]
cmp byte [eax + 0xad], 0
jne 0x46288d
cmp dword [0x4becbc], 0
jne 0x46284e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4627d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4becbc], eax
cmp dword [0x4becb8], 0
jne 0x462869
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4becb8], eax
cmp dword [0x4becc0], 0
jne 0x46288d
push esp
push 0
push 0
push 0x46277c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4becc0], eax
pop edx
ret
Function at 0x462a90
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462aa7
add esp, 0xfffffff0
call fcn.00403e78
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426810
mov eax, dword [0x4b8d14]
cmp word [eax + 2], 0
jne 0x462acf
mov eax, dword [0x4b8d14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464528
mov eax, dword [0x4b8e5c]
cmp word [eax + 2], 0
jne 0x462ae9
mov eax, dword [0x4b8e5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464734
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41aa78]
call fcn.00403ae4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41aa78]
call fcn.00403ae4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41aa78]
call fcn.00403ae4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42af00]
call fcn.00432c5c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x462ca0
mov eax, dword [0x4b8b7c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00433030
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x464df8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b8b7c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040dbb8
test eax, eax
je 0x462bf0
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a54
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040dbec
test eax, eax
je 0x462c04
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c0c
mov byte [ebx + 0xd4], 0
push ebx
push 0x46420c
call fcn.0042798c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4b8904]
cmp byte [eax], 0
jne 0x462c55
mov eax, ebx
call fcn.00462de4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00464fdc
mov eax, ebx
call fcn.00465b40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462c95
call fcn.00403ed0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463064
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x463103
cmp dword [ebx + 0x94], 0
jne 0x4630fd
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462fec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4630fd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4630c3
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4630fd
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d548
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4630d2
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46331c
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4beca0]
cmp dword [eax + 0x30], 0
je 0x463479
test bl, bl
jne 0x4633ca
cmp dword [esi + 0x9c], 0
jne 0x4633bf
mov eax, esi
call fcn.004659bc
push eax
push 0x463248
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x463390
mov eax, dword [0x4beca0]
call fcn.0046609c
test al, al
je 0x463390
mov eax, dword [0x4becc4]
call fcn.00405e44
mov edi, eax
cmp edi, 0
jl 0x463390
push 0
mov eax, dword [0x4becc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46337a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4633bf
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d548
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46339f
inc dword [esi + 0x9c]
jmp 0x463479
cmp dword [esi + 0x9c], 0
jle 0x463479
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x463479
cmp dword [esi + 0x44], 0
je 0x463425
mov eax, dword [0x4beca0]
call fcn.0046609c
test al, al
je 0x463425
mov eax, dword [0x4becc4]
call fcn.00405e44
mov edi, eax
cmp edi, 0
jl 0x463425
push 5
mov eax, dword [0x4becc4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46340f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x463454
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d548
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x463434
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4becc4
mov ecx, 1
mov edx, dword [0x463228]
call fcn.00405ff8
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x463f60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x463fca
mov eax, ebx
call fcn.0046609c
test al, al
jne 0x463fca
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404a8c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x463fb7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x463fd7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049f0
jmp 0x463fd7
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049f0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x4651c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46522e
mov eax, esi
call fcn.0044dea8
test al, al
je 0x46522e
mov eax, dword [ebx + 0x84]
call fcn.0044db34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46522e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x465222
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044db34
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00445a08
jmp 0x46522e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00464ffc
pop esi
pop ebx
ret
Function at 0x4661c8
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov esi, eax
mov ebp, edx
xor ebx, ebx
xor edi, edi
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
test eax, eax
jle 0x466262
movzx edx, byte [esi + ebx]
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], dl
movzx edx, byte [esi + ebx]
and dl, 3
movzx edx, dl
shl edx, 4
movzx ecx, byte [esi + ebx + 1]
shr ecx, 4
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edx
pop edx
mov byte [ebp + edi + 1], dl
movzx edx, byte [esi + ebx + 1]
and dl, 0xf
movzx edx, dl
add edx, edx
add edx, edx
movzx ecx, byte [esi + ebx + 2]
shr ecx, 6
add edx, ecx
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push edx
pop edx
mov byte [ebp + edi + 2], dl
movzx edx, byte [esi + ebx + 2]
and dl, 0x3f
movzx edx, dl
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 3], dl
add edi, 4
add ebx, 3
dec eax
jne 0x4661e7
mov eax, dword [esp]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x466278
dec edx
je 0x4662ad
jmp 0x4662fe
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 1], al
mov byte [ebp + edi + 2], 0x3d
mov byte [ebp + edi + 3], 0x3d
jmp 0x4662fe
movzx eax, byte [esi + ebx]
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi], al
movzx eax, byte [esi + ebx]
and al, 3
movzx eax, al
shl eax, 4
movzx edx, byte [esi + ebx + 1]
shr edx, 4
add eax, edx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 1], al
movzx eax, byte [esi + ebx + 1]
and al, 0xf
movzx eax, al
add eax, eax
add eax, eax
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + edi + 2], al
mov byte [ebp + edi + 3], 0x3d
mov eax, dword [esp]
add eax, 2
mov ecx, 3
cdq
idiv ecx
add eax, eax
add eax, eax
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x466370
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], ecx
mov edi, eax
mov dword [esp + 8], edx
xor esi, esi
xor ebp, ebp
xor eax, eax
mov edx, dword [esp]
test edx, edx
jns 0x46638f
add edx, 3
sar edx, 2
test edx, edx
jle 0x46649d
mov dword [esp + 0xc], edx
mov edx, 4
lea eax, [esp + 4]
movzx ecx, byte [edi + esi]
cmp ecx, 0x3d
jg 0x4663c4
je 0x466407
sub ecx, 0x2b
je 0x4663fd
sub ecx, 4
je 0x466402
dec ecx
sub ecx, 0xa
jb 0x4663ef
jmp 0x46640a
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x4663d6
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x4663e1
jmp 0x46640a
movzx ecx, byte [edi + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x46640a
movzx ecx, byte [edi + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x46640a
movzx ecx, byte [edi + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x46640a
mov byte [eax], 0x3e
jmp 0x46640a
mov byte [eax], 0x3f
jmp 0x46640a
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x4663a7
movzx eax, byte [esp + 4]
add eax, eax
add eax, eax
movzx edx, byte [esp + 5]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp], al
lea eax, [ebp + 1]
movzx edx, byte [esp + 6]
cmp dl, 0xff
je 0x46645b
cmp byte [esp + 7], 0xff
jne 0x46645b
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
lea eax, [ebp + 2]
inc ebp
jmp 0x466492
cmp dl, 0xff
je 0x466492
movzx eax, byte [esp + 5]
shl eax, 4
movzx edx, dl
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + ebp + 1], al
mov eax, dword [esp + 8]
movzx edx, byte [esp + 6]
shl edx, 6
or dl, byte [esp + 7]
mov byte [eax + ebp + 2], dl
lea eax, [ebp + 3]
add ebp, 2
inc ebp
dec dword [esp + 0xc]
jne 0x46639e
add esp, 0x10
pop ebp
pop edi
pop esi
ret

Function at 0x4670bc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x4670dd
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
movzx ebx, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x4670ca
pop edi
pop esi
pop ebx
ret
Function at 0x471014
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4710a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b90f4]
cmp dword [eax], 2
jne 0x471054
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x471087
lea eax, [ebp - 8]
mov edx, esi
call fcn.004052d0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404c24
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404e2c
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4710ac
lea eax, [ebp - 8]
call fcn.0040517c
lea eax, [ebp - 4]
call fcn.0040499c
ret

Function at 0x471548
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
xor eax, eax
mov dword [ebp - 8], eax
push 0x20019
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00404e2c
mov edx, eax
mov eax, ebx
call fcn.00470d60
mov edx, eax
xor ecx, ecx
mov eax, ebx
call fcn.00470fbc
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x4715ba
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404e2c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x472910
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4729c6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404e2c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4729b0
lea eax, [ebp - 4]
mov edx, edi
call fcn.004050bc
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.00404e2c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4729b0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4729d8
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4729b0
cmp dword [ebp - 0xc], 0x34
jne 0x4729b0
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4729cd
lea eax, [ebp - 4]
call fcn.0040499c
ret
Function at 0x474ac8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x474b2c
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404c0c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.004094b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474b33
lea eax, [ebp - 0xc]
call fcn.0040499c
ret
Function at 0x4759e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x475c3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.00472c0c
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4b76fc], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4b7700], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4b7704], eax
mov eax, dword [0x4b90f4]
cmp dword [eax], 2
sete byte [0x4b6e94]
push 0x475c48
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004727cc
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x4b6e94], 0
jne 0x475a6f
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00472910
test al, al
je 0x475a6f
mov eax, dword [ebp - 0x4c]
mov dword [0x4c08a8], eax
jmp 0x475a76
xor eax, eax
mov dword [0x4c08a8], eax
call fcn.00475198
and eax, 0x7f
cmp eax, 0x1a
ja case.0x475a87.0
jmp dword [eax*4 + 0x475a8e]
mov byte [0x4b6e80], 1
jmp case.0x475a87.0
mov byte [0x4b6e84], 1
jmp case.0x475a87.0
mov byte [0x4b6e88], 1
jmp case.0x475a87.0
mov byte [0x4b6e8c], 1
jmp case.0x475a87.0
mov byte [0x4b6e90], 1
jmp case.0x475a87.0
mov byte [0x4b6e98], 1
mov byte [0x4b6e9c], 1
jmp case.0x475a87.0
mov byte [0x4b6e98], 1
mov byte [0x4b6ea0], 1
jmp case.0x475a87.0
mov byte [0x4b6e98], 1
mov byte [0x4b6ea0], 1
mov byte [0x4b6ea4], 1
jmp case.0x475a87.0
mov byte [0x4b6ea8], 1
jmp case.0x475a87.0
mov byte [0x4b6eac], 1
jmp case.0x475a87.0
mov byte [0x4b6eb0], 1
jmp case.0x475a87.0
mov byte [0x4b6eb4], 1
jmp case.0x475a87.0
mov byte [0x4b6eb8], 1
jmp case.0x475a87.0
mov byte [0x4b6ebc], 1
jmp case.0x475a87.0
mov byte [0x4b6ec0], 1
jmp case.0x475a87.0
mov byte [0x4b6ec4], 1
jmp case.0x475a87.0
mov byte [0x4b6ec8], 1
jmp case.0x475a87.0
mov byte [0x4b6ecc], 1
jmp case.0x475a87.0
mov byte [0x4b6ed0], 1
jmp case.0x475a87.0
mov byte [0x4b6ed4], 1
jmp case.0x475a87.0
mov byte [0x4b6ed8], 1
jmp case.0x475a87.0
mov byte [0x4b6edc], 1
jmp case.0x475a87.0
mov byte [0x4b6ee0], 1
jmp case.0x475a87.0
mov byte [0x4b6ee4], 1
jmp case.0x475a87.0
mov byte [0x4b6ee8], 1
jmp case.0x475a87.0
mov byte [0x4b6eec], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475c41
lea eax, [ebp - 4]
call fcn.0040499c
ret
Function at 0x4882e4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x488312
mov eax, ebx
call fcn.00488d98
cmp dword [ebx + 0x40], 0
je 0x48830b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x488383
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x488375
cmp dword [ebx + 8], 0
je 0x488334
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 0x488346
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x488375
cmp dword [ebx + 8], 0
je 0x488327
cmp eax, 3
je 0x488359
dec eax
jne 0x488327
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 0x488327
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x488327
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4883a1
cmp dword [ebx + 0x14], 0xcc
je 0x4883a1
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.004883ac
pop ebx
ret

Function at 0x4b0868
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
mov ebx, 0x4b88c8
xor eax, eax
push ebp
push 0x4b09db
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [0x4c0988], 1
mov edx, 0x8000
mov eax, 0x4b09f0
call fcn.0040ee00
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b08b1
cmp dword [ebx], 0x20
jae 0x4b08b1
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4b08e2
mov edx, 0x8000
mov eax, 0x4b0a08
call fcn.0040ee00
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b09c5
cmp dword [ebx], 0x20
jae 0x4b09c5
xor eax, eax
mov dword [ebx], eax
jmp 0x4b09c5
mov dword [0x4c0988], 2
lea edx, [ebp - 4]
mov eax, dword [ebx]
call fcn.0040e718
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e2c
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b09c5
mov eax, ebx
call fcn.00402ef0
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4b09be
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b09a8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4b0a18
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b09a8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, ecx
and eax, 0xffff0000
cmp eax, 0x50000
jne 0x4b0984
mov eax, ecx
and eax, 0xffff
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [0x4c0988], eax
jmp 0x4b0995
cmp eax, 0xc0000
jne 0x4b0995
mov dword [0x4c0988], 6
cmp dword [0x4c0988], 0
jne 0x4b09a8
mov dword [0x4c0988], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b09c5
mov eax, dword [ebp - 0xc]
call fcn.00402f0c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b09e2
lea eax, [ebp - 4]
call fcn.0040499c
ret