joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411f20
Capabilities:
Get file version info

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
push ebp
call fcn.0043c72b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4120fb
push edi
mov edi, 0x498ae8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x12c]
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x12c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x498ae8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x138]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop edi
je 0x4120f2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0x495604
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x4120f2
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push 0x4955f8
mov edx, dword [eax]
mov cx, word [eax]
shr edx, 0x10
shl ecx, 0x10
or edx, ecx
lea ecx, [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push eax
push 0x4955dc
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x412041
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x124]
push edx
push 0x4955d8
push eax
call fcn.0043c57a
add esp, 0xc
mov ecx, dword [esp + 0x14]
push 0x4955c8
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push edx
push 0x4955dc
push eax
call esi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41208f
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x128]
push ecx
push 0x4955d8
push edx
call fcn.0043c57a
add esp, 0xc
mov eax, dword [esp + 0x14]
push 0x4955bc
lea edx, [esp + 0x20]
mov ecx, dword [eax]
push ecx
push 0x4955dc
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4120dd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x12c]
push eax
push 0x4955d8
push ecx
call fcn.0043c57a
add esp, 0xc
push ebx
call fcn.0043c6b4
add esp, 4
mov al, 1
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
push ebx
call fcn.0043c6b4
add esp, 4
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x110
ret
Function at 0x412110
Capabilities:
Get token membership

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 8]
xor ebx, ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea ecx, [esp + 0x30]
push 2
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x41217e
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x41216f
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
pop ebx
add esp, 0x10
ret
Function at 0x417010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
mov eax, 0x1111110e
mov edx, 0x101110e
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x31fcc]
push esi
mov esi, 0xe111111
cmp edx, eax
push edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0x2020207
mov dword [esp + 0x40], 0x2060202
mov dword [esp + 0x44], 0x408101f
mov dword [esp + 0x48], 0xe110102
mov dword [esp + 0x50], 0xe110106
mov dword [esp + 0x54], 0x121f0202
mov dword [esp + 0x58], 0x2060a0a
mov dword [esp + 0x60], 0x1f10101e
mov dword [esp + 0x68], 0xe11101e
mov dword [esp + 0x6c], 0x4040808
mov dword [esp + 0x70], 0x1f010202
mov dword [esp + 0x78], 0xe11110e
mov dword [esp + 0x7c], 0xf01110e
mov dword [esp + 0x80], esi
jge 0x4170c9
mov eax, dword [ecx + 0x31fc4]
mov dword [esp + 0x18], eax
jmp 0x4170d3
mov ecx, dword [ecx + 0x31fc8]
mov dword [esp + 0x18], ecx
xor ecx, ecx
cmp edx, 0x63
setg cl
add ecx, 2
mov dword [esp + 0xc], 1
mov dword [esp + 0x24], ecx
lea eax, [ecx - 1]
test eax, eax
jle 0x417101
mov esi, dword [esp + 0xc]
lea esi, [esi + esi*4]
shl esi, 1
dec eax
mov dword [esp + 0xc], esi
jne 0x4170f1
test ecx, ecx
mov dword [esp + 0x14], 0
jle 0x417201
push ebp
mov dword [esp + 0x24], ecx
mov eax, edx
mov ecx, 0xa
cdq
idiv dword [esp + 0x10]
cdq
idiv ecx
mov ecx, 5
mov dword [esp + 0x14], ecx
cmp edx, 1
mov dword [esp + 0x2c], edx
jne 0x417143
mov dword [esp + 0x14], 3
mov ecx, dword [esp + 0x14]
lea edi, [ecx + 0x37]
mov ebx, 0xb
mov dword [esp + 0x20], edi
xor esi, esi
test ecx, ecx
jle 0x4171b6
mov ebp, dword [esp + edx*8 + 0x38]
mov edx, dword [esp + edx*8 + 0x3c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x34]
mov ecx, edi
mov eax, ebp
call fcn.0043d750
and eax, 1
xor ecx, ecx
or eax, ecx
je 0x4171a6
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x34]
mov eax, esi
push ebx
sub eax, edx
lea edx, [eax + ecx + 3]
push edx
call fcn.00416fa0
add esp, 0x14
mov eax, dword [esp + 0x14]
inc esi
dec edi
cmp esi, eax
jl 0x417161
mov edx, dword [esp + 0x2c]
mov ecx, eax
mov edi, dword [esp + 0x20]
sub edi, 8
dec ebx
cmp ebx, 3
mov dword [esp + 0x20], edi
jg 0x41714f
mov eax, 0x66666667
imul dword [esp + 0x10]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
lea eax, [edx + ecx + 1]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
jne 0x417116
pop ebp
cmp edx, 0x64
jge 0x41724b
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x8c]
mov edi, dword [esp + 0x88]
push ebx
push esi
push edi
push 0xb
push 0xf
call fcn.00416fa0
push ebx
push esi
push edi
push 0xc
push 0xe
call fcn.00416fa0
push ebx
push esi
push edi
push 0xa
push 0xe
call fcn.00416fa0
push ebx
push esi
push edi
push 0xb
push 0xd
call fcn.00416fa0
add esp, 0x50
pop edi
pop esi
pop ebx
add esp, 0x78
ret 0xc
Function at 0x420440
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
pop edi
jae 0x4204c6
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x42047e
call fcn.00420520
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x420493
mov eax, 5
add esp, 0x94
ret
cmp eax, 5
jne 0x4204ac
mov eax, dword [esp + 8]
test eax, eax
jne 0x4204ae
mov eax, 6
add esp, 0x94
ret
jb 0x4204ba
mov eax, 7
add esp, 0x94
ret
mov eax, 1
add esp, 0x94
ret
cmp al, 4
jae 0x4204d3
xor eax, eax
add esp, 0x94
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4204e7
call fcn.00420520
cmp dword [esp + 4], 4
jne 0x42050d
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x420503
mov eax, 3
add esp, 0x94
ret
cmp eax, 0x5a
mov eax, 4
je 0x420512
mov eax, 2
add esp, 0x94
ret

Function at 0x4280f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x478360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x4830f4
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x70], ebx
call dword [sym.imp.USER32.dll_CopyRect]
push 0xfffffffffffffffe
lea edx, [esp + 0x18]
push 0xfffffffffffffffe
push edx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x7c]
sub eax, esi
neg ecx
sbb ecx, ecx
mov dword [esp + 0x24], eax
and ecx, 0x12c
mov edi, 0x495f18
add ecx, 0x190
xor eax, eax
mov dword [esp + 0x34], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x40]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x28], ebx
shr ecx, 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 1
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x10]
call fcn.004666ce
mov esi, dword [esp + 0x70]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x28]
push 1
mov ecx, esi
mov edi, eax
call fcn.00465e1f
mov edx, dword [esi]
mov ebx, eax
lea eax, [esp + 0x14]
push 0x21
push eax
lea ecx, [esp + 0x80]
push 1
push ecx
mov ecx, esi
call dword [edx + 0x68]
push ebx
mov ecx, esi
call fcn.00465e1f
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x28]
mov dword [esp + 0xc], 0x480444
lea ecx, [esp + 0xc]
mov dword [esp + 0x68], 1
call fcn.00466725
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 0x10
Function at 0x428c70
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x478398
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.004299d0
mov edi, eax
add esp, 4
mov eax, dword [edi + 0x20]
test eax, eax
jne 0x428da8
push ebx
push ebp
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esp + 0x44], eax
call fcn.00465b9a
lea ecx, [esp + 0x20]
mov ebx, eax
call fcn.00465af8
test ebx, ebx
mov dword [esp + 0x38], 0
jne 0x428cd3
xor eax, eax
jmp 0x428cd6
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.00465baf
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
sub eax, edx
sub ecx, ebp
add eax, 0xa
add ecx, 0xa
push eax
push ecx
mov ecx, dword [ebx + 4]
lea esi, [edi + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.004666ce
test esi, esi
je 0x428d2b
mov esi, dword [esi + 4]
mov edx, dword [esp + 0x24]
push esi
push edx
call fcn.00465cf0
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
mov edx, dword [edi + 0xc]
mov ebp, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x18]
add eax, 0xa
sub ecx, dword [esp + 0x10]
add ecx, 0xa
test ebx, ebx
je 0x428d5d
mov ebx, dword [ebx + 4]
push 0xcc0020
push edx
push ebp
push ebx
push eax
mov eax, dword [esp + 0x38]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
pop ebp
pop ebx
test esi, esi
je 0x428d7f
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call fcn.00465cf0
mov edx, dword [esp + 0x38]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
call fcn.00465c2d
mov ecx, dword [esp + 0x28]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x42bf00
Capabilities:
Set registry value

Disassembly:
sub esp, 0x110
lea eax, [esp]
push esi
lea ecx, [esp + 0xc]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x495fdc
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea edx, [esp + 4]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x495fb4
push ecx
call esi
lea edx, [esp + 0x10]
push 0x104
push edx
push 0
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x10]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov eax, dword [esp + 4]
test eax, eax
jne 0x42bfb3
push edi
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x14]
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x1c]
push 0x493374
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [esp + 8], eax
pop edi
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 4]
pop esi
test eax, eax
sete al
add esp, 0x110
ret

Function at 0x42bfe0
Capabilities:
Delete registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push edi
push eax
push 0x20019
push 0
push 0x495fdc
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push ecx
push 0xf003f
push 0
push 0x495fb4
push edx
call esi
mov esi, eax
test esi, esi
jne 0x42c033
mov eax, dword [esp + 8]
push 0x493374
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call edi
test esi, esi
pop edi
pop esi
sete al
add esp, 8
ret

Function at 0x42ef10
Capabilities:
Link many functions at runtime

Disassembly:
mov ecx, 0x499528
jmp 0x42ef10
push esi
mov esi, ecx
push 0x495f5c
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x42ef7a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x495f4c
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push 0x496140
push eax
call edi
mov ecx, dword [esi + 0x14]
push 0x496130
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push 0x496110
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push 0x4960fc
push eax
call edi
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x431ff0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x1c]
push 0
push 0x476
push eax
call ebx
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x432068
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x432068
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], 0xffffff37
mov dword [esp + 0xc], ecx
mov ecx, esi
call fcn.00461d3a
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
push edx
push eax
push 0x4e
push edi
mov dword [esp + 0x28], 0
call ebx
test eax, eax
je 0x43205f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret

Function at 0x445261
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4981a8
cmp edx, dword [eax]
je 0x445283
add eax, 8
inc ecx
cmp eax, 0x498238
jl 0x445274
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4981a8]
jne 0x4453b1
mov eax, dword [0x49b630]
cmp eax, 1
je 0x44538b
test eax, eax
jne 0x4452b4
cmp dword [0x4978f4], 1
je 0x44538b
cmp edx, 0xfc
je 0x4453b1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4452eb
lea eax, [ebp - 0x1a4]
push 0x484488
push eax
call fcn.00445ce0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00444710
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x44532e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00444710
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x484484
push edi
call fcn.0043d060
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x484468
push eax
call fcn.00445ce0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00445cf0
lea eax, [ebp - 0xa0]
push 0x484464
push eax
call fcn.00445cf0
push dword [esi + 0x4981ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.00445cf0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x48443c
push eax
call fcn.0044892d
add esp, 0x2c
pop edi
jmp 0x4453b1
lea eax, [ebp + 8]
lea esi, [esi + 0x4981ac]
push 0
push eax
push dword [esi]
call fcn.00444710
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x451b00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47aa51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0x10], esi
mov dword [esi + 8], edi
mov dword [esi + 4], 0x4830f4
mov dword [esp + 0x1c], edi
mov dword [esi + 0x5c], 0x485190
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov ebx, 1
lea ecx, [esi + 0x70]
mov byte [esp + 0x1c], bl
call fcn.0045d8b4
lea ebp, [esi + 0x14]
mov dword [esi + 0x84], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov ecx, 0xa
xor eax, eax
mov edi, ebp
mov dword [esi], 0x48518c
mov dword [esi + 0x40], ebx
mov ebx, dword [esp + 0x24]
rep stosd dword es:[edi], eax
or ecx, 0xffffffff
mov byte [esp + 0x1c], 2
cmp ebx, ecx
jne 0x451b98
mov dword [esi + 0x24], ecx
jmp 0x451bbb
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
inc edi
push edi
call fcn.00462485
push ebx
push edi
push eax
mov dword [esi + 0x24], eax
call fcn.00454c00
add esp, 0x10
or ecx, 0xffffffff
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [ebp], 0x11
mov dword [esi + 0x18], esi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x3c], 0x8000
call edi
push 5
mov dword [esi + 0xc], eax
call edi
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4541d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ac78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4967f0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0
push ecx
lea ecx, [esi + 0x3c]
call fcn.0045fad1
mov edx, dword [esi + 0x1c]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call fcn.0045f0dc
mov eax, dword [eax + 0x1c]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.00461d3a
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x54]
test eax, eax
mov dword [esp + 0x18], 0xffffff96
mov dword [esp + 0x1c], 1
je 0x454253
mov ecx, dword [esi + 0x250]
mov dword [esp + 0x20], ecx
jmp 0x45425b
mov dword [esp + 0x20], 0xffffffff
mov edx, dword [esi + 0x24c]
mov eax, dword [esp + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov eax, dword [eax - 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0045f0dc
mov ecx, dword [esi + 0x1c]
mov ebx, eax
push ecx
call edi
push eax
call fcn.0045f0dc
mov edx, dword [eax + 0x1c]
push edx
call edi
push eax
call fcn.0045f0dc
mov ecx, ebx
mov edi, eax
call fcn.00461d3a
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
lea ecx, [esp + 0xc]
mov dword [esp + 0x4c], 0xffffffff
call fcn.004631cc
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 4

Function at 0x4550f0
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x47ace8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0
push 0
push 0x100c
push 0x800
call esi
mov ecx, dword [0x4967f0]
mov dword [esp + 4], ecx
push eax
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.004635ff
push eax
push 0x100c
push 0x800
call esi
mov edx, dword [esp + 4]
lea ecx, [esp + 4]
mov eax, dword [edx - 8]
push eax
call fcn.00463588
push eax
call fcn.0043d1e9
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
push 0xffffffffffffffff
call fcn.004635d7
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call fcn.004631cc
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4551a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ad3a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0045ecbb
lea edi, [esi + 0x3c]
xor ebp, ebp
mov ecx, edi
mov dword [esp + 0x18], ebp
call fcn.0045ecbb
mov dword [edi], 0x47ff40
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], 0x4830f4
push ebp
push ebp
push ebp
push 0x1f
push 0xc
mov dword [esi + 0x80], ebp
lea ecx, [esi + 0x8c]
push 0x270f
mov byte [esp + 0x30], 2
mov dword [esi + 0x84], ebp
mov dword [esi + 0x88], ebp
call fcn.0043be5f
push ebp
push ebp
push ebp
push 1
push 1
lea ecx, [esi + 0x98]
push 0x64
call fcn.0043be5f
lea ecx, [esi + 0xa8]
call fcn.00455c50
push 0x498ae8
lea ecx, [esi + 0x248]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x240], ebp
call fcn.0046323a
mov dword [esi], 0x485838
mov byte [esp + 0x18], 4
mov dword [esi + 0x88], 2
call fcn.004550f0
mov dword [esi + 0xa4], eax
mov eax, dword [0x49bb50]
cmp eax, ebp
je 0x45527d
cmp dword [0x49bb38], ebp
jne 0x455282
call fcn.00454f90
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x45ace0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0043c910
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45adab
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x45adab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45ad5e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45ad69
or bh, 8
and edi, 0x8000000
je 0x45ad84
mov eax, dword [0x49cfbc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x45adab
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret