joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426776
Capabilities:
Resolve dns

Disassembly:
push 0x64
mov eax, 0x43ed62
call fcn.0042bb26
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x50], edi
cmp dword [edi + 0x40], ebx
je 0x426796
xor eax, eax
call fcn.0042bba9
ret
lea eax, [ebp - 0x4c]
push eax
call fcn.00418584
mov dword [ebp - 4], ebx
cmp dword [edi + 0x18], 0x10
mov dword [ebp - 0x34], ebx
jb 0x4267b0
mov eax, dword [edi + 4]
jmp 0x4267b3
lea eax, [edi + 4]
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ebx
push 0xf
push eax
call sub.DNSAPI.dll_DnsQuery_A
mov esi, eax
call fcn.0040965a
test eax, eax
je 0x4267d2
call fcn.004261a0
cmp esi, ebx
je 0x4267e5
lea esi, [ebp - 0x4c]
call fcn.004033ec
mov eax, 0x80004005
jmp 0x426790
mov esi, dword [ebp - 0x34]
cmp esi, ebx
je 0x426870
cmp word [esi + 8], 0xf
jne 0x426858
cmp dword [edi + 0x18], 0x10
jb 0x426802
mov eax, dword [edi + 4]
jmp 0x426805
lea eax, [edi + 4]
push dword [esi + 4]
push eax
call fcn.00428ed2
pop ecx
pop ecx
test eax, eax
jne 0x426858
movzx ecx, word [esi + 0x1c]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x70], ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.00403193
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00403489
push ebx
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], bl
call fcn.004035bd
call fcn.00404678
test eax, eax
je 0x426858
call fcn.0040974d
call fcn.0040b4a9
mov esi, dword [esi]
cmp esi, ebx
jne 0x4267f0
cmp dword [ebp - 0x34], ebx
je 0x426870
push 1
push dword [ebp - 0x34]
call sub.DNSAPI.dll_DnsFree
mov dword [ebp - 0x34], ebx
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.00403957
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
xor esi, esi
sar eax, 5
test eax, eax
jbe 0x4268e4
push esi
lea eax, [ebp - 0x4c]
call fcn.00403419
cmp dword [eax], 0x11
jne 0x4268b2
push esi
lea eax, [ebp - 0x4c]
call fcn.00403419
add eax, 4
cmp dword [eax + 0x14], ebx
jne 0x4268c2
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
inc esi
sar eax, 5
cmp esi, eax
jb 0x426893
jmp 0x4268e4
push esi
lea eax, [ebp - 0x4c]
call fcn.00403419
push 0xffffffffffffffff
add eax, 4
push ebx
push eax
lea ecx, [ebp - 0x30]
call fcn.004034e3
call fcn.004295cd
call fcn.004295cd
cmp dword [ebp - 0x1c], ebx
jne 0x4268f9
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004035bd
jmp 0x4267d6
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x426905
lea eax, [ebp - 0x2c]
push eax
call sub.WS2_32.dll_gethostbyname
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
shr esi, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp esi, eax
jbe 0x426931
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp edi, ebx
je 0x4268e9
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x40], eax
cmp eax, ebx
jne 0x426965
mov edi, 0x80004005
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.004035bd
lea esi, [ebp - 0x4c]
call fcn.004033ec
mov eax, edi
jmp 0x426790
xor edi, edi
jmp 0x42694b
Function at 0x426ed1
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x370]
sub esp, 0x3f0
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp + 0x36c], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x3e7
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x7c], bl
call fcn.00431920
push str.0e79d723d0d1bd976b37
call fcn.004294d3
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
cmp edi, 0xffffffff
jne 0x426f41
push str.0e15f71959859ab1
call fcn.004294d3
pop ecx
pop ecx
jmp 0x426fb1
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x426f5c
push str.edbfb0b1c19b4803b63960a915ff9
jmp 0x426fa4
mov eax, dword [ebp - 0x80]
lea ecx, [eax - 1]
cmp ecx, 0x3e6
ja 0x426f8d
push eax
push ebx
push str.50f5d65fc6eda839cb55ed
mov byte [ebp + eax - 0x7c], bl
call fcn.004294d3
lea eax, [ebp - 0x7c]
push eax
push str.bc9de737a9f58b7115b367
call fcn.004294d3
add esp, 0x14
jmp 0x426faa
cmp eax, ebx
jne 0x426f9f
push ebx
push str.3a31a2af8be395a3202d2191
call fcn.004294d3
pop ecx
jmp 0x426fa9
push str.3377b1ada8e7317b8159b7cf79a5f
call fcn.004294d3
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x36c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d2e
add ebp, 0x370
leave
ret

Function at 0x42709a
Capabilities:
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 4
pop ecx
push 5
pop edx
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 2
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x10], 7
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 9
mov dword [ebp - 4], 0xa
xor eax, eax
push edi
add eax, ecx
cmp eax, 0x14
jl 0x4270e7
mov edi, edx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
dec edi
jne 0x4270f0
pop edi
leave
ret
Function at 0x4271ce
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x370]
sub esp, 0x3f0
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp + 0x36c], eax
push ebx
push esi
push edi
xor ebx, ebx
mov esi, 0x3e7
push esi
lea eax, [ebp - 0x7b]
push ebx
push eax
mov dword [ebp - 0x80], ebx
mov byte [ebp - 0x7c], bl
call fcn.00431920
push str.381d872d0a49c2fd9a21
call fcn.004294d3
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push ebx
cmp edi, 0xffffffff
jne 0x42723e
push str.25cbba6590db8f8fd0898c41bb
call fcn.004294d3
pop ecx
pop ecx
jmp 0x4272ae
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x427259
push str.18b7460760a368950b4b2de376bf97a
jmp 0x4272a1
mov eax, dword [ebp - 0x80]
lea ecx, [eax - 1]
cmp ecx, 0x3e6
ja 0x42728a
push eax
push ebx
push str.5b1d5495bdfb96b30aaf7db3db9fb
mov byte [ebp + eax - 0x7c], bl
call fcn.004294d3
lea eax, [ebp - 0x7c]
push eax
push str.f27f1471309f5b6fcc
call fcn.004294d3
add esp, 0x14
jmp 0x4272a7
cmp eax, ebx
jne 0x42729c
push ebx
push str.5931402d8a1944970dbb0457f
call fcn.004294d3
pop ecx
jmp 0x4272a6
push str.2883bc311e059f47af21ad17f18b9
call fcn.004294d3
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x36c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d2e
add ebp, 0x370
leave
ret

Function at 0x4273d9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
cmp dword [esi + 0x54], edi
jbe 0x42748b
jmp 0x4273f9
xor edi, edi
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [esi + 0x14]
mov dword [ebp - 0x10], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push edi
shr ebx, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp ebx, eax
jbe 0x427453
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 4
lea eax, [ebp - 0x14]
push eax
push 0x20001009
mov edi, 0x400
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push 0x20
lea eax, [ebp - 0x34]
push eax
push 0x58
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
call fcn.00426054
mov edi, dword [ebp - 0x10]
mov eax, esi
call fcn.00408311
mov al, byte [eax]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 8], al
lea eax, [esi + 0x38]
call fcn.00408311
mov bl, byte [eax]
lea eax, [esi + 0x38]
call fcn.00408311
xor bl, byte [ebp - 8]
inc dword [ebp - 0xc]
mov byte [eax], bl
mov eax, dword [ebp - 0xc]
cmp eax, dword [esi + 0x54]
jb 0x4273f7
mov ecx, dword [ebp + 8]
add esi, 0x38
push esi
call fcn.004031b5
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4274a1
Capabilities:
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, eax
mov dword [ebp - 8], ebx
call fcn.0042a8e7
pop ecx
mov dword [ebp - 8], ebx
cmp dword [esi + 0x54], ebx
jbe 0x427530
jmp 0x4274c3
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x30]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x4274e4
dec eax
dec eax
je 0x4274e4
sub eax, 4
je 0x4274e4
xor eax, eax
jmp 0x4274f1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
xor eax, eax
inc eax
dec eax
jne 0x4274fe
call fcn.0040b4a9
call fcn.00409a52
lea eax, [esi + 0x1c]
call fcn.00408311
mov al, byte [eax]
mov edi, dword [ebp - 8]
mov byte [ebp - 4], al
lea eax, [esi + 0x38]
call fcn.00408311
mov bl, byte [eax]
lea eax, [esi + 0x38]
call fcn.00408311
xor bl, byte [ebp - 4]
inc dword [ebp - 8]
mov byte [eax], bl
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x54]
jb 0x4274c1
mov ecx, dword [ebp + 8]
add esi, 0x38
push esi
call fcn.004031b5
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x427546
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov esi, eax
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp dword [esi + 0x54], ebx
jbe 0x427650
jmp 0x427566
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, edx
test al, 1
jne 0x4275a0
div dword [esi + 0x14]
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x427587
dec eax
dec eax
je 0x427587
sub eax, 4
jne 0x42759c
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
call fcn.00409a52
call fcn.0040b4a9
mov eax, esi
jmp 0x42761d
div dword [esi + 0x30]
mov dword [ebp - 0xc], edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
shr edi, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp edi, eax
jbe 0x4275cb
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
xor eax, eax
inc eax
jmp 0x4275cd
xor eax, eax
dec eax
jne 0x427617
push 3
pop eax
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00428337
pop ecx
mov ebx, eax
push 0xa
pop eax
mov edi, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push dword [ebx + edi*4]
push edi
push str.8dc9a41567cb63bd0a0b7
call fcn.00429582
add esp, 0xc
inc edi
cmp edi, 3
jl 0x4275f4
push ebx
call fcn.004295b0
pop ecx
call fcn.00409a52
mov edi, dword [ebp - 0xc]
lea eax, [esi + 0x1c]
call fcn.00408311
mov al, byte [eax]
mov edi, dword [ebp - 8]
mov byte [ebp - 4], al
lea eax, [esi + 0x38]
call fcn.00408311
mov bl, byte [eax]
lea eax, [esi + 0x38]
call fcn.00408311
xor bl, byte [ebp - 4]
inc dword [ebp - 8]
mov byte [eax], bl
mov eax, dword [ebp - 8]
cmp eax, dword [esi + 0x54]
jb 0x427564
mov ecx, dword [ebp + 8]
add esi, 0x38
push esi
call fcn.004031b5
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427946
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov ebx, eax
call fcn.0042a8e7
mov dword [ebp - 0x20], ebx
fild dword [ebp - 0x20]
pop ecx
mov dword [ebp - 0x10], eax
test ebx, ebx
jge 0x427981
fadd qword [0x44b078]
call fcn.004396a0
fild dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
test eax, eax
jge 0x427996
fadd qword [0x44b078]
fcompp
fnstsw ax
test ah, 5
jp 0x4279aa
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
shr ebx, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp ebx, eax
jbe 0x4279d8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call fcn.00427104
call fcn.0041f338
cmp dword [edi + 0x54], esi
jbe 0x427a24
lea eax, [edi + 0x38]
mov dword [ebp - 0x10], eax
mov edi, dword [edi + 0x14]
xor edx, edx
mov eax, esi
div edi
mov ebx, dword [ebp - 0x18]
mov eax, ebx
mov edi, edx
call fcn.00408311
mov al, byte [eax]
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x10]
mov edi, esi
call fcn.00408311
mov al, byte [eax]
xor al, byte [ebp - 8]
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x10]
call fcn.00408311
mov cl, byte [ebp - 8]
inc esi
mov byte [eax], cl
mov edi, ebx
cmp esi, dword [ebx + 0x54]
jb 0x4279e3
mov eax, dword [edi + 0x4c]
mov esi, dword [ebp - 0xc]
call fcn.0042814f
lea ebx, [ebp - 0x24]
call fcn.0042818e
mov esi, eax
add edi, 0x38
lea eax, [ebp - 0x14]
mov ecx, edi
call fcn.00403598
mov ebx, eax
lea eax, [ebp - 0x1c]
mov ecx, edi
call fcn.0041a37d
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x2c]
call fcn.00428218
mov eax, dword [ebp - 0xc]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427a76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
cmp dword [edi + 0x54], esi
jbe 0x427ada
lea eax, [edi + 0x1c]
mov dword [ebp - 0x1c], eax
lea eax, [edi + 0x38]
mov dword [ebp - 0x14], eax
mov edi, dword [edi + 0x30]
xor edx, edx
mov eax, esi
div edi
mov eax, dword [ebp - 0x1c]
mov edi, edx
call fcn.00408311
mov bl, byte [eax]
mov eax, dword [ebp - 0x14]
mov edi, esi
call fcn.00408311
mov al, byte [eax]
xor al, bl
mov bl, al
mov eax, dword [ebp - 0x14]
call fcn.00408311
mov byte [eax], bl
mov eax, dword [ebp - 0xc]
inc esi
mov edi, eax
cmp esi, dword [eax + 0x54]
jb 0x427aa0
mov eax, dword [edi + 0x4c]
mov esi, dword [ebp - 8]
call fcn.0042814f
lea ebx, [ebp - 0x20]
call fcn.0042818e
mov esi, eax
add edi, 0x38
lea eax, [ebp - 0x18]
mov ecx, edi
call fcn.00403598
mov ebx, eax
lea eax, [ebp - 0x10]
mov ecx, edi
call fcn.0041a37d
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x28]
call fcn.00428218
mov eax, dword [ebp - 8]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427d97
Capabilities:
Check for time delay via gettickcount
Delete file
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
and dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ebx, dword [esi + 0x54]
push edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
shr ebx, 1
call fcn.004295cd
cdq
push 0xa
pop ecx
idiv ecx
mov edi, edx
call fcn.004295cd
cdq
push 0xa
pop ecx
idiv ecx
cmp edi, edx
setl al
test al, al
je 0x427deb
movzx eax, al
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
call fcn.004397d0
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
jmp 0x427df8
fldz
call fcn.004396a0
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
call fcn.004398c0
test eax, eax
je 0x427e94
call fcn.00401bb5
jmp 0x427e94
mov ecx, dword [esi + 0x14]
xor edx, edx
mov eax, ebx
div ecx
mov eax, esi
mov edi, edx
call fcn.00408311
mov al, byte [eax]
mov byte [ebp - 8], al
mov edi, ebx
lea eax, [esi + 0x38]
call fcn.00408311
mov al, byte [eax]
xor al, byte [ebp - 8]
mov byte [ebp - 8], al
lea eax, [esi + 0x38]
call fcn.00408311
mov cl, byte [ebp - 8]
mov byte [eax], cl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov edi, eax
call fcn.0042a8e7
mov dword [ebp - 0x18], edi
fild dword [ebp - 0x18]
pop ecx
mov dword [ebp - 0xc], eax
test edi, edi
jge 0x427e68
fadd qword [0x44b078]
call fcn.004396a0
fild dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
test eax, eax
jge 0x427e7d
fadd qword [0x44b078]
fcompp
fnstsw ax
test ah, 5
jp 0x427e93
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0042715d
inc ebx
cmp ebx, dword [esi + 0x54]
jb 0x427e0f
mov ebx, dword [esi + 0x54]
and dword [ebp - 0xc], 0
dec ebx
je 0x427edf
mov edi, ebx
lea eax, [esi + 0x38]
call fcn.00408311
mov al, byte [eax]
mov edi, dword [ebp - 0xc]
mov byte [ebp - 8], al
lea eax, [esi + 0x38]
call fcn.00408311
mov al, byte [eax]
xor al, byte [ebp - 8]
mov byte [ebp - 8], al
lea eax, [esi + 0x38]
call fcn.00408311
inc dword [ebp - 0xc]
mov cl, byte [ebp - 8]
dec ebx
mov byte [eax], cl
cmp dword [ebp - 0xc], ebx
jb 0x427ea7
mov eax, dword [esi + 0x4c]
mov esi, dword [ebp - 0x14]
call fcn.0042814f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov esi, eax
call fcn.0042a8e7
mov dword [ebp - 0x18], esi
fild dword [ebp - 0x18]
pop ecx
mov edi, eax
test esi, esi
jge 0x427f0c
fadd qword [0x44b078]
call fcn.004396a0
mov dword [ebp - 0x18], edi
fild dword [ebp - 0x18]
test edi, edi
jge 0x427f21
fadd qword [0x44b078]
fcompp
fnstsw ax
test ah, 5
jp 0x427f3b
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
call fcn.004271ce
mov esi, dword [ebp - 0x14]
lea ebx, [ebp - 0x1c]
call fcn.0042818e
mov ebx, dword [ebp - 0x20]
mov esi, eax
add ebx, 0x38
lea eax, [ebp - 0x10]
mov ecx, ebx
call fcn.00403598
mov edi, eax
lea eax, [ebp - 0x2c]
mov ecx, ebx
call fcn.0041a37d
push dword [esi + 4]
push dword [esi]
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x24]
call fcn.00428218
mov eax, dword [ebp - 0x14]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x427f88
Capabilities:
Encode data using xor
Get memory capacity
Set uefi variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4542b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x427fbe
dec eax
dec eax
je 0x427fbe
sub eax, 4
jne 0x427fcd
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
call fcn.00409a52
push ebx
call fcn.0042a8e7
mov eax, dword [edi + 0x54]
mov esi, eax
shr esi, 1
pop ecx
cmp esi, eax
jae 0x428027
lea eax, [edi + 0x1c]
mov dword [ebp - 0x14], eax
lea eax, [edi + 0x38]
mov dword [ebp - 0xc], eax
mov edi, dword [edi + 0x30]
xor edx, edx
mov eax, esi
div edi
mov eax, dword [ebp - 0x14]
mov edi, edx
call fcn.00408311
mov bl, byte [eax]
mov eax, dword [ebp - 0xc]
mov edi, esi
call fcn.00408311
mov al, byte [eax]
xor al, bl
mov bl, al
mov eax, dword [ebp - 0xc]
call fcn.00408311
mov byte [eax], bl
mov eax, dword [ebp - 0x20]
inc esi
mov edi, eax
cmp esi, dword [eax + 0x54]
jb 0x427feb
xor ebx, ebx
mov eax, dword [edi + 0x54]
dec eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], eax
je 0x4280f3
add edi, 0x38
mov dword [ebp - 0xc], edi
jmp 0x428042
mov eax, dword [ebp - 0x14]
mov edi, eax
mov eax, dword [ebp - 0xc]
call fcn.00408311
mov bl, byte [eax]
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00408311
mov al, byte [eax]
xor al, bl
mov bl, al
mov eax, dword [ebp - 0xc]
call fcn.00408311
mov byte [eax], bl
call fcn.004295cd
cdq
push 0x14
pop ecx
idiv ecx
mov esi, edx
inc esi
call fcn.004295cd
cdq
idiv esi
cmp edx, esi
jle 0x428088
xor edx, edx
inc edx
jmp 0x42808d
mov eax, esi
cdq
idiv esi
mov eax, edx
dec eax
jne 0x4280de
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.004295cd
call fcn.004295cd
call fcn.004295cd
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call fcn.004272c6
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
dec dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jb 0x42803f
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x4c]
mov esi, dword [ebp - 0x1c]
call fcn.0042814f
lea ebx, [ebp - 0x34]
call fcn.0042818e
mov esi, eax
add edi, 0x38
lea eax, [ebp - 0x2c]
mov ecx, edi
call fcn.00403598
mov ebx, eax
lea eax, [ebp - 0x24]
mov ecx, edi
call fcn.0041a37d
push dword [esi + 4]
push dword [esi]
push dword [ebx + 4]
push dword [ebx]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x18]
call fcn.00428218
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00428d2e
leave
ret 4
Function at 0x428d2e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4542b0]
jne 0x428d38
repz ret
jmp fcn.0042e704

Function at 0x4369e3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042ef5f
and dword [ebp - 4], 0
cmp dword [0x45626c], 0
mov ebx, eax
jne 0x436a94
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x436b45
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x436b45
push eax
call fcn.0042eeed
mov dword [esp], 0x443e00
push edi
mov dword [0x45626c], eax
call esi
push eax
call fcn.0042eeed
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x456270], eax
call esi
push eax
call fcn.0042eeed
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x456274], eax
call esi
push eax
call fcn.0042eeed
pop ecx
mov dword [0x45627c], eax
test eax, eax
je 0x436a94
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042eeed
pop ecx
mov dword [0x456278], eax
mov eax, dword [0x456278]
cmp eax, ebx
je 0x436aec
cmp dword [0x45627c], ebx
je 0x436aec
push eax
call fcn.0042ef68
push dword [0x45627c]
mov esi, eax
call fcn.0042ef68
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x436aec
test edi, edi
je 0x436aec
call esi
test eax, eax
je 0x436ae3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x436ae3
test byte [ebp - 0xc], 1
jne 0x436aec
or dword [ebp + 0x10], 0x200000
jmp 0x436b25
mov eax, dword [0x456270]
cmp eax, ebx
je 0x436b25
push eax
call fcn.0042ef68
pop ecx
test eax, eax
je 0x436b25
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436b25
mov eax, dword [0x456274]
cmp eax, ebx
je 0x436b25
push eax
call fcn.0042ef68
pop ecx
test eax, eax
je 0x436b25
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45626c]
call fcn.0042ef68
pop ecx
test eax, eax
je 0x436b45
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x436b47
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100178c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x10029b00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x10034060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100370fc]
test dword [ebp + 8], eax
je 0x10029baa
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push eax
call fcn.100296be
xor eax, eax
add esp, 0xc
mov word [ebp - 8], ax
mov eax, dword [0x100370f8]
test eax, eax
je 0x10029b9d
lea ecx, [ebp - 0x808]
push ecx
push eax
call fcn.10029c8f
mov eax, dword [0x10034058]
pop ecx
pop ecx
test eax, eax
jle 0x10029baa
push esi
mov esi, dword [0x10037100]
push edi
mov edi, dword [0x10037104]
cdq
push edx
push eax
push edi
push esi
call fcn.1002a520
add esi, 1
mov dword [0x10037100], esi
adc edi, 0
or eax, edx
mov dword [0x10037104], edi
pop edi
pop esi
jne 0x10029baa
push dword [0x100370f8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
pop ecx
jmp 0x10029baa
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029e50
leave
ret