joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011bf
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x1000fae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100011ea
cmp dword [esp + 0xc], 0
je 0x100011ea
mov ecx, dword [esp + 4]
mov dword [eax + 0xd8], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0xc4], ecx
ret 0xc

Function at 0x100011ed
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x1000fae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10001218
cmp dword [esp + 0xc], 0
je 0x10001218
mov ecx, dword [esp + 4]
mov dword [eax + 0xdc], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0xc8], ecx
ret 0xc

Function at 0x100012ca
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x1000fae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10001390
mov ecx, dword [ebp + 8]
cmp ecx, 0x1f
jg 0x1000134a
je 0x10001342
dec ecx
dec ecx
je 0x1000133a
dec ecx
je 0x10001332
dec ecx
je 0x1000132a
sub ecx, 3
je 0x10001323
dec ecx
je 0x1000131b
sub ecx, 7
je 0x10001313
sub ecx, 0xf
jne 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x34], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x24], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x30], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x2c], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
jmp 0x10001390
sub ecx, 0x20
je 0x1000138a
dec ecx
je 0x10001382
sub ecx, 0x12
je 0x1000137a
dec ecx
je 0x10001372
dec ecx
je 0x1000136a
sub ecx, 0x27
jne 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x10], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x20], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x1c], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x28], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
jmp 0x10001390
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
pop ebp
ret 8

Function at 0x100013c1
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x1000fae0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100013ea
and dword [eax + 0xd0], 0
push 0x20
add eax, 0xe8
push 0
push eax
call fcn.100025f2
add esp, 0xc
ret

Function at 0x10001f85
Capabilities:
Inspect section memory permissions

Disassembly:
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
Function at 0x10001fd6
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10001f82
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10001fa0
movzx eax, ax
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10001ffe
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
add byte [eax], al
invalid
invalid
add byte [eax], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10001fe5
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10001fee
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10001ff8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10001fda
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10001f64
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000204b
dec eax
je 0x10002042
sub eax, 3
je 0x10002039
mov dword [ebp - 4], 0x40
jmp 0x10002068
mov dword [ebp - 4], 4
jmp 0x1000204e
mov dword [ebp - 4], 0x20
jmp 0x1000204e
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000209a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000201a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100018ab
xor eax, 0xffa04f9e
jne 0x100020a5
push 1
push esi
call edi
mov eax, esi
jmp 0x100020a6
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10002474
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.100018bb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10001870
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.100018ab
popfd
movsb byte es:[edi], byte [esi]
fisub dword [edi]
and byte [ebp - 0x514], 0
cli
invalid
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100018bb
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10001870
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100018ab
scasd eax, dword es:[edi]
fld xword [eax + edi*8]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x1000259f
cmp dword [ebp - 0x398], 0
je 0x10002769
cmp dword [ebp + 0xc], 1
je 0x10002769
cmp dword [ebp + 0xc], 8
jne 0x10002731
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
invalid
invalid
push edx
Function at 0x401992
Capabilities:
Clear file content
Get common file path
Get keyboard layout

Disassembly:
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x58ced85
jg 0x4019b8
inc edi
cmp edi, 0x1f6502b1
jl 0x40199e
cmp dword [0x2816164], 0x400
jne 0x401a1f
push str.sadahoziyofejonoh_niforapo_pihekezavokigubodatojup_rafepigojamulexiwodugaxexude_jam
push str.nelugidoneyari
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
call dword [sym.imp.USER32.dll_DdeKeepStringHandle]
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameW]
push str.zirepiyomojurayafib_kur_jovamopesavezarap
push esi
call dword [sym.imp.ADVAPI32.dll_BackupEventLogW]
push esi
call dword [sym.imp.KERNEL32.dll_CancelIo]
push esi
call fcn.0040200d
push esi
call fcn.00401fd3
push esi
push esi
call fcn.00402530
push esi
call fcn.004024cb
push esi
call fcn.004025dd
push esi
call fcn.004025ec
add esp, 0x1c
xor edi, edi
cmp edi, 0xd09a
jge 0x401a30
push esi
call dword [sym.imp.USER32.dll_GetCaretPos]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
cmp edi, 0xd2ced2
jg 0x401a58
inc edi
cmp edi, 0x263ff
jl 0x401a21
mov eax, dword [0x4282c4]
mov dword [0x2816164], eax
call fcn.004016ec
mov edi, 0x3078f
cmp dword [0x2816164], 0x51f
jne 0x401a84
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x401a6c
pop edi
xor eax, eax
pop esi
add esp, 0x800
ret 0x10

Function at 0x40595a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427cf4]
jne 0x405964
repz ret
jmp fcn.004081ed
Function at 0x406bfb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x427cf4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004042ad
and dword [ebp - 0x14], 0
cmp dword [0x432e28], 0
mov dword [ebp - 0x18], eax
jne 0x406cae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406d56
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406d56
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x432e28], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x432e2c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x432e30], eax
call edi
push eax
call esi
mov dword [0x432e38], eax
test eax, eax
je 0x406cae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x432e34], eax
mov eax, dword [0x432e34]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406d07
cmp dword [0x432e38], ecx
je 0x406d07
push eax
call esi
push dword [0x432e38]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406d07
test ebx, ebx
je 0x406d07
call edi
test eax, eax
je 0x406cfe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406cfe
test byte [ebp - 8], 1
jne 0x406d07
or dword [ebp + 0x10], 0x200000
jmp 0x406d3a
mov eax, dword [0x432e2c]
cmp eax, dword [ebp - 0x18]
je 0x406d3a
push eax
call esi
test eax, eax
je 0x406d3a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406d3a
mov eax, dword [0x432e30]
cmp eax, dword [ebp - 0x18]
je 0x406d3a
push eax
call esi
test eax, eax
je 0x406d3a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432e28]
call esi
test eax, eax
je 0x406d56
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406d58
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040595a
leave
ret
Function at 0x100186c0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x10018884
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x100186ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x100186f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100186e0
mov eax, 1
add ebx, ebx
jne 0x10018703
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x100186f8
jne 0x10018714
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x100186f8
xor ecx, ecx
sub eax, 3
jb 0x10018728
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001879a
mov ebp, eax
add ebx, ebx
jne 0x10018733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10018740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10018764
inc ecx
add ebx, ebx
jne 0x10018750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10018745
jne 0x10018761
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10018745
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10018784
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10018775
jmp 0x100186e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10018784
add edi, ecx
jmp 0x100186e6
pop esi
mov edi, esi
mov ecx, 0x4cf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100187a2
cmp byte [edi], 7
jne 0x100187a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x100187a7
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x10018816
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x18000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100187d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1802c]
or eax, eax
je 0x10018810
mov dword [ebx], eax
add ebx, 4
jmp 0x100187f1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10018847
cmp al, 0xef
ja 0x1001883a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1001881c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10018829
mov ebp, dword [esi + 0x18030]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1001887b
sub esp, 0xffffff80
jmp 0x10001eff
Function at 0x4016dc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40171b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40171b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40171b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40171b
cmp dword [ecx + 0x74], 0xe
jbe 0x40171b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40dca0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40dccd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40dccd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100110f2
Capabilities:
Extract resource via kernel32 functions
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10011119
push 0xc1
push 0xc69
push 0
push 0xa4f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1001112d
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001112d
push 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esp, ebp
pop ebp
ret
Function at 0x1001a3a4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1001a3ff
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001a3e0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x1001a3fd
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.1001557f
mov dword [eax], 0x943e2f7c
jmp 0x1001a3d5
jmp 0x1001a418
push 0xc1
push 0xc69
push 0
push 0xa4f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esp, ebp
pop ebp
ret
Function at 0x10026787
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100267c7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100267c5
push 0xc1
push 0xc69
push 0
push 0xa4f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100267f0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x18]
call fcn.1001557f
mov dword [eax], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002bd30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1002bb58
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x1002bd60
xor eax, eax
jmp 0x1002bea1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1002bd7e
xor eax, eax
jmp 0x1002bea1
lea eax, [ebp - 0xc]
push eax
push 0
push 0x4a67
push dword [ebp - 8]
push 0x3fc4
call fcn.1002b8d2
add esp, 0x14
cmp dword [ebp - 0xc], 0
jne 0x1002bda6
xor eax, eax
jmp 0x1002bea1
lea eax, [ebp - 0x24]
push eax
push 1
push 0x3352
lea eax, [ebp - 4]
push eax
push 0x39a2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1002bb98
add esp, 0x20
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 0x6e6d
call fcn.1002bc60
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.1002bcde
add esp, 0x10
cmp dword [ebp - 0x14], 0
je 0x1002be1f
push 0x55bb
push dword [ebp - 4]
push 1
push dword [ebp - 0x14]
push 0x196d
call fcn.10028fcc
add esp, 0x14
push dword [ebp - 4]
call fcn.1002b7c2
pop ecx
test eax, eax
jne 0x1002be30
xor eax, eax
jmp 0x1002bea1
push 0x3701
push 0x2915
push dword [ebp - 4]
push 1
call fcn.10025353
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x1002be89
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x1002be66
xor eax, eax
jmp 0x1002bea1
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1002be7f
xor eax, eax
jmp 0x1002bea1
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 1
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x1002be9a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x1002be9e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004136c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100413aa
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100413a8
push 0xc1
push 0xc69
push 0
push 0xa4f
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100413b4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
mov esp, ebp
pop ebp
ret

Function at 0x10042515
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10042585
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 0
mov eax, dword [ebp - 0x18]
push dword [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
add ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, ecx
push eax
mov ecx, dword [ebp - 0x28]
call fcn.10047a07
jmp 0x1004258d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esp, ebp
pop ebp
ret
Function at 0x100477d3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x18]
push 2
call fcn.100154f1
xor ebx, ebx
mov dword [ebp - 8], 0x7eede0b4
mov dword [ebp - 8], ebx
jmp 0x10047805
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov dword [eax + ecx*4], 0xf43b7c7c
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x100477f5
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10047828
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x18]
push edi
mov eax, dword [eax]
mov dword [ebp - 8], eax
call fcn.10015dc5
xor edi, edi
inc edi
push edi
push esi
call fcn.100428ee
push esi
call fcn.1002bd30
mov dword [ebp - 8], edi
add esp, 0xc
mov esi, eax
mov dword [ebp - 8], ebx
jmp 0x10047864
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0xc], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x10047856
mov dword [ebp - 8], ebx
pop edi
jmp 0x10047881
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x1004787e
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x1004786f
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret