joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402c35
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402c76
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x402c72
nop word [eax + eax]
cmp esi, edx
jae 0x402c76
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x402c60
cmp esi, edx
jb 0x402c7b
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402d30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041347b

Function at 0x405b42
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x405b87
call fcn.00403835
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x405b87
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x405ba3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415fdb
mov ebx, eax
test edi, edi
je 0x405ba1
test esi, esi
je 0x405ba1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4065d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x40668f
cmp dword [esi + 0x20], 0
je 0x40668f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40668f
cmp dword [ebp + 8], 0
je 0x40668f
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00403835
push 0x578908
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x406660
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40668f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0041b3d5
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x406680
test edi, edi
je 0x406680
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x40668b
mov ecx, esi
call fcn.00406374
mov eax, ebx
jmp 0x406691
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b6aa
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x574542
call fcn.00545823
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x40b6d0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40b72f
call fcn.0040c10a
push eax
lea ecx, [ebp - 0x10]
call fcn.00402320
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005457e6
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0054e4f8
push eax
call fcn.0040b002
add esp, 0x14
test esi, esi
je 0x40b722
push esi
call fcn.0054e080
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401f40
mov eax, ebx
call fcn.005457ec
ret 8

Function at 0x4121ac
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x4121ff
push esi
push dword [ebp + 8]
call fcn.0041239c
mov edi, eax
test edi, edi
jne 0x4121cf
mov eax, dword [ebp + 0x10]
jmp 0x412211
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4121ca
mov eax, dword [ebp - 8]
jmp 0x412211
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4134e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00403835
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x413517
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00413538
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41485c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
mov eax, ecx
push edi
mov edi, esi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], esi
je 0x4148a6
call fcn.00403835
push 0xf0
push dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4148a3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4148f4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov eax, dword [ebp - 4]
xor ebx, ebx
inc ebx
test esi, esi
je 0x4148d2
mov ecx, dword [eax]
push dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call fcn.005457e6
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
test edi, edi
je 0x4148d2
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x4148f2
mov eax, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [eax + 0xa0]
mov ecx, esi
call fcn.005457e6
mov ecx, edi
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41e3b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x41e3ce
mov edi, dword [esi + 0xc]
jmp 0x41e40e
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41e3e7
call fcn.0040ea98
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x41e3fc
call fcn.0040ea98
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x41e40e
call fcn.0040ea98
call fcn.00403835
cmp dword [eax + 0x3c], 0
je 0x41e423
push edi
mov ecx, ebx
call fcn.0041daed
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0041e600
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x41e44c
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x41e458
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x428ae6
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x428b21
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x428b08
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x428b19
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x428b23
inc edi
add eax, 0x28
cmp edi, esi
jb 0x428afe
xor eax, eax
pop edi
pop esi
ret
Function at 0x428e8d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00428ab6
push eax
push esi
push dword [ebp + 8]
call fcn.00428a6b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00428ab6
push eax
push esi
push dword [ebp + 8]
call fcn.00428a6b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00428aa6
test al, 6
into
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b

Function at 0x428f51
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00428aa6
ror byte [eax - 0x59], 1
invalid

Function at 0x42df95
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0040b2bc
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42dfd1
call fcn.0042e1b7
mov dword [esi + 0xc], 1
jmp 0x42dfd6
call fcn.0042e1b7
cmp dword [esi], 0
je 0x42e01f
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42dff9
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00405c18
jmp 0x42e00a
push 0xff
mov ecx, esi
call fcn.004022e0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.004084a3
jmp 0x42e043
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42e043
push dword [esi]
push dword [ebp - 4]
call fcn.0041c574
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e10c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042e1b7
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42e154
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00405c18
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004084a3
jmp 0x42e15f
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041c574
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4355b9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x5dcc38], 0
push edi
mov edi, ecx
jne 0x4355d2
xor eax, eax
jmp 0x43566c
push ebx
push esi
xor ebx, ebx
push ebx
push 0x40
push ebx
call fcn.0040b817
push ebx
push 1
mov ecx, edi
call fcn.00435555
push eax
call fcn.0040cad6
push eax
mov ecx, edi
call fcn.00402dc0
push 1
push ebx
mov ecx, edi
call fcn.00435555
push eax
call fcn.0040cad6
push eax
mov ecx, edi
call fcn.00402dc0
mov eax, dword [edi]
mov esi, dword [eax + 0x194]
mov ecx, esi
call fcn.005457e6
mov ecx, edi
call esi
cmp dword [edi + 0x154], ebx
jne 0x435667
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x435667
mov eax, dword [edi]
lea ecx, [ebp - 0xc]
push ecx
mov esi, dword [eax + 0x188]
mov ecx, esi
call fcn.005457e6
mov ecx, edi
call esi
push dword [ebp - 8]
mov ecx, dword [0x5dcc38]
call fcn.0047a701
xor eax, eax
pop esi
inc eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4465d8
Capabilities:
Get common file path

Disassembly:
push 0x78
mov eax, 0x56b46e
call fcn.00545823
mov ebx, ecx
cmp dword [0x5dcc38], 0
jne 0x4465f4
call fcn.0040df25
lea eax, [ebp - 0x14]
xor esi, esi
push eax
push esi
push esi
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
jns 0x44660c
xor eax, eax
jmp 0x446717
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
js 0x446605
push 0xc
push 0x40
mov dword [ebp - 0x40], 0x67
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4465ef
mov eax, dword [ebp - 0x14]
mov dword [edi + 8], eax
push dword [ebp - 0x14]
mov ecx, dword [0x5dcc38]
call fcn.0047a672
mov dword [edi], esi
lea ecx, [ebp - 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
push edi
push ecx
mov dword [ebp - 0x1c], edi
mov esi, dword [eax + 0x164]
mov ecx, esi
call fcn.005457e6
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
and dword [ebp - 4], 0
push dword [eax - 0xc]
call fcn.004022e0
mov dword [ebp - 0x30], eax
mov eax, dword [ebx]
push 0
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005457e6
mov ecx, ebx
call esi
mov dword [ebp - 0x28], eax
mov eax, dword [ebx]
push 1
push edi
mov esi, dword [eax + 0x168]
mov ecx, esi
call fcn.005457e6
mov ecx, ebx
call esi
push 0xa
pop ecx
mov dword [ebp - 0x24], eax
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x84]
mov dword [ebp - 0x20], 1
push eax
push 0
push 0x1100
push dword [ebx + 0x20]
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x80], 0xffff0002
mov dword [ebp - 0x84], 0xffff0000
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 2
push 0x1102
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call fcn.005457e6
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401f40
xor eax, eax
inc eax
call fcn.005457ec
ret

Function at 0x45447c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x454495
call fcn.00403835
mov esi, dword [eax + 0xc]
push 0x582684
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4544eb
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4544ea
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4544cb
xor esi, esi
jmp 0x4544e1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.004544f3
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4e6859
Capabilities:
Get file system object information

Disassembly:
push 0x274
mov eax, 0x571d86
call fcn.00545857
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403300
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x579ed4
call fcn.004113ab
cmp eax, 0xffffffff
jne 0x4e6924
push 0
push 0x582640
lea ecx, [ebp - 0x278]
call fcn.004113ab
cmp eax, 0xffffffff
jne 0x4e6924
push 0
push 0x579e40
lea ecx, [ebp - 0x278]
call fcn.004113ab
cmp eax, 0xffffffff
jne 0x4e6924
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00403300
mov edi, eax
pop ecx
mov dword [ebp - 0x27c], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x280], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x114]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x4e6901
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005457e6
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x27c]
mov edi, eax
call fcn.00401f40
jmp 0x4e695c
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00402480
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00401f40
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x4e694a
mov edi, dword [ebp - 0x274]
jmp 0x4e695c
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call fcn.005457e6
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00401f40
mov eax, edi
call fcn.00545801
ret

Function at 0x549cf9
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x5a1bbc
push str.FlsAlloc
push 0
call fcn.00549c79
mov esi, eax
add esp, 0x10
test esi, esi
je 0x549d2b
push dword [ebp + 8]
mov ecx, esi
call fcn.005457e6
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x549d6d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x5a1be0
push str.FlsGetValue
push 2
call fcn.00549c79
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x549d9e
mov ecx, esi
call fcn.005457e6
call esi
jmp 0x549da4
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x549da7
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x5a1bf4
push str.FlsSetValue
push 3
call fcn.00549c79
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x549ddb
mov ecx, esi
call fcn.005457e6
call esi
jmp 0x549de1
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x55e73f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0055e3ff
Function at 0x562e50
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5d4e64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x9c
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x562eab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Microsoft_Windows
push 0x100
push esi
call fcn.0054cc60
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00544e9b
mov esp, ebp
pop ebp
ret
movzx eax, word [ebp - 0x8c]
push ebx
mov ebx, dword [ebp - 0x11c]
push edi
mov edi, dword [ebp - 0x118]
test eax, eax
je 0x562ee2
push eax
push edi
push ebx
push str._Version__d._d_Service_Pack__d_
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00401ad0
add esp, 0x18
jmp 0x562efd
push edi
push ebx
push str._Version__d._d_
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.00401ad0
add esp, 0x14
cmp ebx, 5
jne 0x562f40
test edi, edi
jne 0x562f17
lea eax, [ebp - 0x84]
push eax
push str.Windows_2000__s
jmp 0x562fb3
cmp edi, 1
jne 0x562f2d
lea eax, [ebp - 0x84]
push eax
push str.Windows_XP__s
jmp 0x562fb3
cmp edi, 2
jne 0x562fa7
lea eax, [ebp - 0x84]
push eax
push str.Windows_2003__s
jmp 0x562fb3
cmp ebx, 6
jne 0x562f90
test edi, edi
jne 0x562f57
lea eax, [ebp - 0x84]
push eax
push str.Windows_Vista__s
jmp 0x562fb3
cmp edi, 1
jne 0x562f6a
lea eax, [ebp - 0x84]
push eax
push str.Windows_7__s
jmp 0x562fb3
cmp edi, 2
jne 0x562f7d
lea eax, [ebp - 0x84]
push eax
push str.Windows_8__s
jmp 0x562fb3
cmp edi, 3
jne 0x562fa7
lea eax, [ebp - 0x84]
push eax
push str.Windows_8.1__s
jmp 0x562fb3
cmp ebx, 0xa
jne 0x562fa7
test edi, edi
jne 0x562fa7
lea eax, [ebp - 0x84]
push eax
push str.Windows_10__s
jmp 0x562fb3
lea eax, [ebp - 0x84]
push eax
push str.Windows__s
push 0x100
push esi
call fcn.00401ad0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
mov eax, 1
pop edi
pop ebx
pop esi
call fcn.00544e9b
mov esp, ebp
pop ebp
ret
Function at 0x564470
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x5d4e64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], 0x5c3a41
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x410], ebx
call fcn.00548070
push 0x100
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.00548070
push 0x100
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.00548070
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00548070
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x30
mov dword [ebp - 0x40c], 0
push 0
push 0
push 0x1009
push dword [ebx + 0x698]
call esi
push 0
push 0
push 0xf0
push dword [ebx + 0x1640]
call esi
neg eax
lea ecx, [ebp - 0x40c]
push ecx
sbb eax, eax
neg eax
add eax, 0x80000001
push eax
call fcn.005647e0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
xor ebx, ebx
nop dword [eax + eax]
mov esi, 1
mov ecx, ebx
shl esi, cl
test edi, esi
je 0x5645d1
lea eax, [ebx + 0x41]
mov byte [ebp - 0x408], al
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.005645f0
lea eax, [ebp - 0x104]
test dword [ebp - 0x40c], esi
je 0x564590
push 0x5ae6f0
jmp 0x564595
push 0x5ae6f8
push 0x100
push eax
call fcn.0054cc60
mov ecx, dword [ebp - 0x410]
lea eax, [ebp - 0x104]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.005649d0
inc ebx
cmp ebx, 0x1a
jl 0x564540
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00544e9b
mov esp, ebp
pop ebp
ret