joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456ee4
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 0x45708f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457070
mov dl, 1
mov eax, dword [0x416570]
call fcn.004037dc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404600
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45705f
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.00444e48
test al, al
je 0x457052
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, 0x4570a0
lea eax, [ebp - 0x254]
call fcn.0040996c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457052
xor eax, eax
push ebp
push 0x45704b
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 0x4570d8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457034
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404870
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 0x457034
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404870
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457052
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x456f55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ac98
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 0x457096
lea eax, [ebp - 0x260]
call fcn.00404600
ret

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

Disassembly:
push ecx
mov eax, dword [0x482be4]
cmp byte [eax + 0xa5], 0
jne 0x457a35
cmp dword [0x482bfc], 0
jne 0x4579f6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x457980
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x482bfc], eax
cmp dword [0x482bf8], 0
jne 0x457a11
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x482bf8], eax
cmp dword [0x482c00], 0
jne 0x457a35
push esp
push 0
push 0
push 0x457924
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x482c00], eax
pop edx
ret
Function at 0x457b2c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457b43
add esp, 0xfffffff0
call fcn.00403b30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f174
mov eax, dword [0x480ecc]
cmp word [eax + 2], 0
jne 0x457b6b
mov eax, dword [0x480ecc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004592ac
mov eax, dword [0x481020]
cmp word [eax + 2], 0
jne 0x457b85
mov eax, dword [0x481020]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004594a4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415f0c]
call fcn.004037dc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415f0c]
call fcn.004037dc
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], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421758]
call fcn.00429228
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457d0c
mov eax, dword [0x480d44]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004295f8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459a54
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x480d44]
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.0040d314
test eax, eax
je 0x457c7a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040934c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d33c
test eax, eax
je 0x457c8e
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, pe_nt_image_headers32
call fcn.00404870
mov eax, dword [0x480af4]
cmp byte [eax], 0
jne 0x457cc2
mov eax, ebx
call fcn.00457e34
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.00459c30
mov eax, ebx
call fcn.0045a5f4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457d02
call fcn.00403b88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4580b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x482be4]
cmp dword [eax + 0x30], 0
je 0x45815e
cmp dword [ebx + 0x94], 0
jne 0x458158
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458044
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458158
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 0x45811e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458158
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.004185c4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45812d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458cc0
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 0x458cf5
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.004046f0
jmp 0x458d02
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404654
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459e0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459e4d
mov eax, esi
call fcn.00440508
test al, al
je 0x459e4d
mov eax, dword [ebx + 0x84]
call fcn.00440230
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459e4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440230
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4685d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4685d8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4687ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4687e0
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404654
lea ecx, [ebp - 0x10]
mov edx, 0x4687f4
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404654
lea ecx, [ebp - 0x14]
mov edx, 0x46880c
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404654
lea ecx, [ebp - 0x18]
mov edx, 0x468828
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404654
lea ecx, [ebp - 0x1c]
mov edx, 0x468844
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404654
lea ecx, [ebp - 0x24]
mov edx, 0x46885c
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408954
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408d34
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x468874
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x28]
call fcn.0045fc90
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x468884
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x2c]
call fcn.0045fc90
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x46889c
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408d34
inc eax
je 0x46876d
lea ecx, [ebp - 0x34]
mov edx, 0x46889c
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x34]
call fcn.00408cf8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a2f8
fstp qword [ebp - 0x3c]
wait
call fcn.0040a65c
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x468788
lea ecx, [ebp - 0x40]
mov edx, 0x46889c
mov eax, esi
call fcn.004661b8
mov eax, dword [ebp - 0x40]
call fcn.0045fc90
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4688ac
mov eax, esi
call fcn.004661b8
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4687d1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404624
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404624
ret
Function at 0x46f55c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x46f5b6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0046f54c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0045e8fc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0045e4fc
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f5bd
lea eax, [ebp - 4]
call fcn.00404600
ret

Function at 0x473ccc
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x480760]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x473d08
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x473d20
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x473d19
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.004030f0
xor edx, edx
mov eax, 0x480960
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x473d8a
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x473d3e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x473fc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x473fe1
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x473fda
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x473ff3
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x473fec
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.00473bbc
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x47400d
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.00473ccc
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x474092
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4740af
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.00473c4c
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4740d8
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4740f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x474109
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x474102
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x47411d
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00473ab4
test bl, bl
jne 0x4741f0
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x482f30
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x474154
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x474168
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00473fc8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x47419a
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x474149
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4741bd
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4741ce
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4741e2
jmp 0x4742ab
cmp bl, 1
jne 0x4742ab
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x482f8a
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x474210
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x474224
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00473fc8
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x474256
sub ebx, 6
inc dword [ebp - 8]
jne 0x474205
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x47427d
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x47428e
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4742a2
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00473b38
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x474fec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x475113
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4750ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404600
mov dl, 1
mov eax, dword [0x4307a0]
call fcn.0043090c
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004309e8
xor ecx, ecx
mov edx, 0x47512c
mov eax, ebx
call fcn.00430a50
test al, al
je 0x47506e
mov edx, 0x475170
mov eax, ebx
call fcn.00430d6c
test al, al
je 0x475067
lea ecx, [ebp - 4]
mov edx, 0x475170
mov eax, ebx
call fcn.00430c18
mov eax, ebx
call fcn.004309b8
mov eax, ebx
call fcn.0040380c
cmp dword [ebp - 4], 0
jne 0x4750a3
mov eax, 0xff
call fcn.004027a4
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004094fc
mov eax, ebx
call fcn.004027c4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call main
mov eax, dword [ebp - 8]
mov edx, 0x475188
call fcn.00404a0c
je 0x4750da
lea eax, [ebp - 4]
mov edx, 0x475188
call fcn.004048c8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4750f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47511a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404624
ret

Function at 0x47518c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x475254
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x47522f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404600
mov eax, 0xff
call fcn.004027a4
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetWindowsDirectoryA
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004094fc
mov eax, ebx
call fcn.004027c4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call main
mov eax, dword [ebp - 8]
mov edx, 0x47526c
call fcn.00404a0c
je 0x47521b
lea eax, [ebp - 4]
mov edx, 0x47526c
call fcn.004048c8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475239
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47525b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404624
ret
Function at 0x475270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x475338
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x475313
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404600
mov eax, 0xff
call fcn.004027a4
mov ebx, eax
push 0xff
push ebx
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
mov eax, ebx
call fcn.004094fc
mov eax, ebx
call fcn.004027c4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004048c0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call main
mov eax, dword [ebp - 8]
mov edx, 0x475350
call fcn.00404a0c
je 0x4752ff
lea eax, [ebp - 4]
mov edx, 0x475350
call fcn.004048c8
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47531d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47533f
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404624
ret

Function at 0x476bb8
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4154bc]
call fcn.0040501c
xor eax, eax
push ebp
push 0x476cfc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4809d8], 0
jne 0x476c0b
mov ecx, dword [0x480b20]
mov dl, 1
mov eax, dword [0x407a8c]
call fcn.0040c544
call fcn.00403f98
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030f0
mov eax, ebx
call fcn.00404e68
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x476d0c
lea edi, [ebp - 0x30]
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
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004060b4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e78
test eax, eax
jle 0x476ca3
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x476c9c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404888
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404870
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004088e4
test eax, eax
jne 0x476c9c
mov ebx, 0x15
jmp 0x476ca8
mov ebx, 0x10
jmp 0x476ca8
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4809d8]
call fcn.00476b10
mov eax, dword [ebp - 8]
call fcn.00476b10
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476d03
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404624
lea eax, [ebp - 0x10]
mov edx, dword [0x4154bc]
call fcn.004050ec
ret