joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e4b4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44e4cb
add esp, 0xfffffff0
call fcn.004975b4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004810b0
mov eax, dword [0x539fe0]
cmp word [eax + 2], 0
jne 0x44e4f3
mov eax, dword [0x539fe0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f97c
mov eax, dword [0x539fe4]
cmp word [eax + 2], 0
jne 0x44e50d
mov eax, dword [0x539fe4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044fb74
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x476b68]
call fcn.00497238
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x476b68]
call fcn.00497238
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], SafeArrayCopy
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x43ce8c]
call fcn.00442c0c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e694
mov eax, dword [0x53a224]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00442fdc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4500e4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x53a224]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.00489970
test eax, eax
je 0x44e602
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00485a48
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00489998
test eax, eax
je 0x44e616
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00498004
mov eax, dword [0x53a22c]
cmp byte [eax], 0
jne 0x44e64a
mov eax, ebx
call fcn.0044e7bc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.004502c0
mov eax, ebx
call fcn.00450c70
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e68a
call fcn.0049760c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ea30
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x53d138]
cmp dword [eax + 0x30], 0
je 0x44eada
cmp dword [ebx + 0x94], 0
jne 0x44ead4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e9c0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ead4
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 0x44ea9a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ead4
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.004792d4
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44eaa9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f5b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f5ed
push 0x100
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.00497e8c
jmp 0x44f5fa
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00497df0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45049c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4504dd
mov eax, esi
call fcn.0045d6dc
test al, al
je 0x4504dd
mov eax, dword [ebx + 0x84]
call fcn.0045d3d8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4504dd
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045d3d8
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x454888
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x53d1dc], 0
je 0x4549d7
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x539ee4]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4549d7
mov eax, dword [0x53d1e0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x53d1dc]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4549a6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x53d1dc]
call fcn.004792d4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45499e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45499e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45499e
mov eax, dword [ebp - 0x14]
call fcn.0045d3d8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45499e
push ebp
call fcn.00454844
pop ecx
test al, al
jne 0x45499e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45495a
mov eax, dword [ebp - 0x14]
call fcn.0045bf6c
dec eax
jle 0x45499e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00497464
cmp byte [ebp - 1], 0
je 0x45499e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x45499e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x53d1e0]
call fcn.0045400c
inc edi
dec ebx
jne 0x4548ed
mov eax, dword [0x53d1e0]
cmp dword [eax + 8], 0
jle 0x4549be
mov eax, dword [0x53d1e0]
call fcn.0045409c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4549d7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004546ac
pop ecx
test al, al
jne 0x4549d7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457fc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x458014
mov eax, esi
call fcn.00446adc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x458014
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x458014
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x458153
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x458054
cmp eax, 0x108
ja 0x458054
mov eax, esi
call fcn.00446adc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45814a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x458153
jmp 0x45814a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x458133
cmp eax, 0x20a
ja 0x458133
test byte [esi + 0x50], 0x80
jne 0x458086
sub eax, 0x203
je 0x458083
sub eax, 3
je 0x458083
sub eax, 3
jne 0x458086
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x45809a
dec eax
je 0x4580af
dec eax
je 0x4580cc
dec eax
je 0x4580af
jmp 0x4580d3
mov ecx, ebx
mov eax, dword [0x539ee4]
mov eax, dword [eax]
mov edx, esi
call fcn.00450354
jmp 0x45814a
cmp byte [esi + 0x5d], 1
jne 0x4580c5
mov eax, esi
mov si, 0xffed
call fcn.00497464
jmp 0x458153
or word [esi + 0x54], 1
jmp 0x45814a
and word [esi + 0x54], 0xfffe
jmp 0x45814a
mov eax, dword [0x53d198]
cmp byte [eax + 0x20], 0
je 0x45814a
mov eax, dword [0x53d198]
cmp dword [eax + 0x1c], 0
je 0x45814a
mov eax, dword [ebx]
mov edx, dword [0x53d198]
cmp eax, dword [edx + 0x1c]
jne 0x45814a
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00446a20
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00497464
jmp 0x458153
cmp eax, 0xb00b
jne 0x45814a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004568e8
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b608
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x45b624
cmp dword [esi + 4], 0
je 0x45b651
test byte [ebx + 0x55], 1
jne 0x45b643
mov eax, ebx
call fcn.0045a260
test eax, eax
jne 0x45b643
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45b761
mov edx, esi
mov eax, ebx
call fcn.0045b128
jmp 0x45b761
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45b75a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045d3d8
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00457efc
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0045b608
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045d3d8
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b761
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461c40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x53a08c]
cmp byte [eax + 0xc], 0
je 0x461dad
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461da6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53d1ec], 0
jne 0x461c94
push 0x461db4
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x461dbc
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d1ec], eax
cmp dword [0x535d90], 0
jne 0x461d8f
push 0x461dcc
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x535d90], eax
cmp dword [0x535d90], 0
je 0x461d8f
push 0x461dd8
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d1f0], eax
push 0x461de8
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d1f4], eax
push 0x461dfc
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d1f8], eax
push 0x461e14
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d1fc], eax
push 0x461e2c
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d200], eax
push 0x461e40
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d204], eax
push 0x461e58
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d208], eax
push 0x461e70
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d20c], eax
push 0x461e8c
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d210], eax
push 0x461e98
mov eax, dword [0x535d90]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x53d214], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461dad
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x465b4c
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
xor eax, eax
push ebp
push 0x465c24
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x53d228], 0
jne 0x465c08
lea eax, [ebp - 4]
mov edx, 0x465c3c
call fcn.00497e34
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0049824c
mov esi, eax
push esi
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x465c08
mov eax, ebx
call fcn.004963c8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x465c01
push dword fs:[eax]
mov dword fs:[eax], 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 0x465beb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x465c4c
mov eax, dword [ebp - 0xc]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x465beb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x53d228], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c08
mov eax, dword [ebp - 0xc]
call fcn.004963e8
ret
mov ebx, dword [0x53d228]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465c2b
lea eax, [ebp - 4]
call fcn.00497d9c
ret

Function at 0x471d28
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x53d24c], 0
jne 0x471d4b
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x471c9c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x53d24c], eax
ret

Function at 0x482134
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x53d384
cmp dword [edi], 0
jne 0x4821b0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x53d380]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x535f74
mov ecx, 2
call fcn.0049662c
mov edx, 0x48210c
lea eax, [esi + 5]
call fcn.0048212c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0048212c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x482185
mov dword [0x53d380], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x48371c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00496b24
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x53a08c]
cmp byte [edx + 0xc], 0
je 0x483780
mov edx, dword [0x53a078]
cmp dword [edx], 2
jne 0x483780
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x483784
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x48383c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0048371c
test al, al
je 0x48381e
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00497e8c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x48381e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.0049824c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.0049824c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00497f8c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4837d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483843
lea eax, [ebp - 0x2c]
call fcn.00497d9c
lea eax, [ebp - 0xc]
call fcn.00497d9c
ret

Function at 0x483980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004832e4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0049824c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x4839de
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53a05c]
mov dl, 1
mov eax, dword [0x4831dc]
call fcn.00488e44
call fcn.004979fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4839e8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0049824c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x483a40
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x53a058]
mov dl, 1
mov eax, dword [0x4831dc]
call fcn.00488e44
call fcn.004979fc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00483314
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4885a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x4885d9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00497e8c
jmp 0x4885e2
mov eax, ebx
mov edx, esi
call fcn.00497df0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4885ec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x48860d
mov al, byte [esp]
jmp 0x48860f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x488c94
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x488b0c
mov eax, dword [0x53a238]
cmp byte [eax], 0
je 0x488d01
mov eax, dword [0x53a23c]
call fcn.004969a4
call fcn.00496598
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00485a0c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x488d48
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x488d37
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x53a0f0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x53a2e0]
call fcn.004994b8
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret
Function at 0x4899d8
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 0x489a3c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00498004
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00485500
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489a43
lea eax, [ebp - 0xc]
call fcn.00497d9c
ret

Function at 0x4970d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x5364b0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x497170
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x497150
xor eax, eax
push ebp
push 0x497149
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x49718c
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497150
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x5364b0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x5364b0], ax
mov esp, ebp
pop ebp
ret

Function at 0x497c20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53d700], 0
je 0x497c81
cmp word [0x53d8d4], 0xd7b2
jne 0x497c49
cmp dword [0x53d8dc], 0
jbe 0x497c49
mov eax, 0x53d8d0
call dword [0x53d8ec]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x497ca8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x5364c0], 0
jne 0x497c9d
push 0
push 0x536518
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret