joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032370
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012a83b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 8
lea ecx, [ebx + 0x78]
call fcn.10004ae0
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x40]
call fcn.10004ae0
mov byte [ebp - 4], 6
lea esi, [ebx + 0x38]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.10034ef0
mov byte [ebp - 4], 6
push 0x38
push dword [esi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 5
lea esi, [ebx + 0x30]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
mov ecx, esi
call fcn.10034ef0
mov byte [ebp - 4], 5
push 0x38
push dword [esi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 4
lea esi, [ebx + 0x28]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xe
mov ecx, esi
call fcn.10034ff0
mov byte [ebp - 4], 4
push 0x38
push dword [esi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 3
lea edi, [ebx + 0x20]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x11
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10035450
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 3
push 0x40
push dword [edi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x15
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.100354f0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 2
push 0x30
push dword [edi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0x17
mov ecx, esi
call fcn.10035160
mov byte [ebp - 4], 1
push 0x28
push dword [esi]
call fcn.100fc65e
add esp, 8
mov byte [ebp - 4], 0
lea edi, [ebx + 8]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 0x1a
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.100354f0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov byte [ebp - 4], 0
push 0x30
push dword [edi]
call fcn.100fc65e
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0x1c
mov ecx, ebx
call fcn.10022c10
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebx]
call fcn.100fc65e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10032720
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012a8e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx + 8]
lea ecx, [ebx + 8]
push dword [esi + 4]
call fcn.100354f0
mov eax, dword [ebx + 8]
lea ecx, [ebx + 0x18]
mov dword [eax + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov eax, dword [ebx + 8]
mov dword [eax + 8], esi
mov dword [ebx + 0xc], 0
mov esi, dword [ebx + 0x18]
push dword [esi + 4]
call fcn.100354f0
mov eax, dword [ebx + 0x18]
lea ecx, [ebx + 0x10]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x18]
mov dword [eax], esi
mov eax, dword [ebx + 0x18]
mov dword [eax + 8], esi
mov dword [ebx + 0x1c], 0
call fcn.10035160
mov esi, dword [ebx + 0x20]
lea ecx, [ebx + 0x20]
push dword [esi + 4]
call fcn.10035450
mov eax, dword [ebx + 0x20]
lea ecx, [ebx + 0x28]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
mov dword [eax + 8], esi
mov dword [ebx + 0x24], 0
call fcn.10034ff0
lea ecx, [ebx + 0x30]
call fcn.10034ef0
push 0
push 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10022eb0
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x18]
cmp ebx, eax
je 0x1003282d
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea ecx, [ebx + 4]
mov dword [ebx], eax
call fcn.10004bd0
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
call fcn.10004bd0
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebx + 4], eax
call fcn.10004bd0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.10022c10
mov dword [ebp - 4], 0xffffffff
push 0x54
push dword [ebp - 0x18]
call fcn.100fc65e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100395d0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push 0x118
mov dword [esp + 0x14], eax
lea eax, [esp + 0x60]
push 0
push eax
mov dword [esp + 0x64], 0x11c
call fcn.100fdf90
add esp, 0xc
lea ecx, [esp + 0x58]
call fcn.100562f0
test al, al
je 0x10039682
push dword [esp + 0x60]
push dword [esp + 0x60]
push 0x10157534
push ebx
call fcn.10057130
call fcn.10056260
test al, al
mov edx, 0x40
mov ecx, 0x20
cmovne ecx, edx
push ecx
push 0x10157f20
push dword [esp + 0x28]
call fcn.10057130
lea eax, [esp + 0x88]
push eax
call fcn.100058f0
mov ecx, dword [esp + 0x34]
add esp, 0x20
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10004c40
push 0x40
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [esp + 0x18], 0x40
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
push 0x10157f20
push edi
call fcn.10057130
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0x10157f20
push esi
call fcn.10057130
mov ecx, dword [esp + 0x188]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1004ca70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov ecx, esi
mov edx, esi
sar ecx, 4
and edx, 0xf
movzx eax, byte [esp + ecx + 4]
shl al, 4
or al, byte [esp + edx + 0x14]
mov byte [esi + 0x101996e0], al
movzx eax, byte [esp + ecx + 0x24]
shl al, 4
or al, byte [esp + edx + 0x34]
mov byte [esi + 0x101993e0], al
movzx eax, byte [esp + ecx + 0x44]
shl al, 4
or al, byte [esp + edx + 0x54]
mov byte [esi + 0x101995e0], al
movzx eax, byte [esp + ecx + 0x64]
shl al, 4
or al, byte [esp + edx + 0x74]
mov byte [esi + 0x101994e0], al
inc esi
cmp esi, 0x100
jl 0x1004cb80
pop esi
add esp, 0x80
ret
Function at 0x1004fb20
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
mov dword [esp + 4], 0x114
push 0
push eax
call fcn.100fdf90
add esp, 0xc
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1004fb7c
cmp dword [esp + 4], 6
jb 0x1004fb7c
mov al, 1
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.100fc1a9
add esp, 0x118
ret
mov ecx, dword [esp + 0x114]
xor al, al
xor ecx, esp
call fcn.100fc1a9
add esp, 0x118
ret
Function at 0x10051a00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130718
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 1
mov dword [ebp - 0x14], 0
call fcn.100fc1cd
mov dword [ebp - 0x14], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [ebp - 0x12c]
push eax
call fcn.100fdf90
add esp, 0x10
mov dword [ebp - 0x130], 0x11c
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10051a84
cmp dword [ebp - 0x12c], 6
mov eax, dword [ebp - 0x14]
setae cl
mov byte [eax], cl
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.1005b150
test al, al
je 0x10051aae
lea ecx, [ebp - 0x14]
call fcn.1005a760
test al, al
jne 0x10051aae
xor bl, bl
jmp 0x10051b14
lea edx, [esi + 4]
xor ecx, ecx
call fcn.10065de0
test al, al
jne 0x10051ac4
lea ecx, [esi + 4]
call fcn.10013fb0
lea edx, [esi + 0x1c]
mov ecx, 0x1a
call fcn.10065de0
test al, al
jne 0x10051add
lea ecx, [esi + 0x1c]
call fcn.10013fb0
lea edx, [esi + 0x34]
mov ecx, 2
call fcn.10065de0
test al, al
jne 0x10051af6
lea ecx, [esi + 0x34]
call fcn.10013fb0
lea edx, [esi + 0x4c]
mov ecx, 0xb
call fcn.10065de0
test al, al
jne 0x10051b0f
lea ecx, [esi + 0x4c]
call fcn.10013fb0
mov byte [esi], 1
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1005a0a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x10051b50
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130761
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
call fcn.10004bd0
mov ebx, eax
cmp dword [eax + 0x14], 8
jb 0x10051b9c
mov ebx, dword [eax]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x14], 0x25
test edx, edx
je 0x10051c87
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.1000e490
add esp, 4
test eax, eax
je 0x10051c87
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x10051c87
push edi
lea ecx, [ebp - 0x2c]
call fcn.10004af0
mov dword [ebp - 4], 1
mov ecx, edi
push 0
push 0
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10051c1a
push edi
mov ecx, esi
call fcn.10004af0
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10004ae0
jmp 0x10051c9d
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100fc903
mov edx, dword [ebp - 0x14]
add esp, 4
inc edx
mov ebx, eax
mov ecx, edi
push edx
push ebx
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x10051c6e
cmp eax, dword [ebp - 0x14]
ja 0x10051c6e
xor ecx, ecx
push ebx
mov word [ebx + eax*2], cx
call fcn.100058f0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push ebx
call fcn.10004c40
push ebx
call fcn.100fc703
add esp, 4
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10005670
jmp 0x10051c02
push edi
mov ecx, esi
call fcn.10004af0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret 8
Function at 0x10052500
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x1013087f
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x230]
lea eax, [ebp + 0x1c]
push 0x208
push 0
push eax
call fcn.100fdf90
add esp, 0xc
lea eax, [ebp + 0x1c]
push eax
push 0
push 0
push 0x29
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MacromedFlashFlashHelperService.exe
lea ecx, [ebp - 0x40]
call fcn.10008180
mov dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10008180
mov byte [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp]
call fcn.1005f080
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10004ae0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10004ae0
lea ecx, [ebp]
call fcn.1005e430
test al, al
je 0x10052650
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebp + 0x18], 0
call fcn.100fc1cd
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 4
mov dword [ebp + 0x18], eax
mov byte [ebp - 4], 6
lea eax, [ebp]
push 0x80
push 4
push 1
push SysReAllocString
push eax
lea ecx, [ebp + 0x18]
call fcn.1005f970
test al, al
jne 0x10052654
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x10052650
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1005263e
test eax, eax
je 0x1005263e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.100fc65e
add esp, 8
mov dword [ebp + 0x18], 0
xor bl, bl
jmp 0x10052694
push esi
lea ecx, [ebp + 0x18]
call fcn.1005fb50
mov bl, al
mov byte [ebp - 4], 4
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x10052694
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10052682
test eax, eax
je 0x10052682
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.100fc65e
add esp, 8
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10004ae0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.100fc1a9
lea esp, [ebp + 0x228]
pop ebp
ret 4
Function at 0x10055bb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10130ffc
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10193008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edi, [ebx + 0x10]
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10004ae0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10004ae0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10004ae0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10004ae0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.10004ae0
push 0x88
push ebx
call fcn.100fc65e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100562f0
Capabilities:
Check os version
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x140
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x13c], eax
push esi
mov esi, ecx
push 0x118
push 0
lea eax, [esi + 4]
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10056432
cmp dword [esi + 4], 6
push edi
ja 0x10056346
jne 0x100563ce
cmp dword [esi + 8], 2
jb 0x100563ce
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x100563ce
push 0x10
push 1
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x100563ce
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100563ce
movups xmm0, xmmword [str.VS_VERSION_INFO]
push eax
movups xmmword [esp + 0x128], xmm0
movups xmm0, xmmword [0x1015b3cc]
movups xmmword [esp + 0x138], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100563ce
lea eax, [esp + 0x124]
push eax
lea ecx, [edi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100563ce
cmp word [edi + 2], ax
jbe 0x100563ce
movzx edx, word [edi + 0x32]
movzx ecx, word [edi + 0x30]
movzx eax, word [edi + 0x36]
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x10056419
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [esp + 8], 0x11c
lea eax, [esp + 8]
push eax
call edi
test eax, eax
jne 0x10056419
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.100fc1a9
add esp, 0x140
ret
mov ecx, dword [esp + 0x140]
xor al, al
pop esi
xor ecx, esp
call fcn.100fc1a9
add esp, 0x140
ret
Function at 0x1005a020
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.100fc1cd
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.100fdf90
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x1005a07c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.100fc1a9
add esp, 0x120
ret
Function at 0x1005cc20
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10193008]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.100fdf90
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1005cc9e
cmp dword [esp + 0x14], 6
jb 0x1005cc9e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.1005ca90
add esp, 0xc
test al, al
je 0x1005cc9e
cmp word [esi], 0
jne 0x1005ccf6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.1005ca90
add esp, 0xc
test al, al
je 0x1005ccca
cmp word [esi], 0
jne 0x1005ccf6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, reloc.gdiplus.dll_Ordinal_1
call fcn.1005ca90
add esp, 0xc
test al, al
je 0x1005cd0b
cmp word [esi], 0
je 0x1005cd0b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret
Function at 0x1005d0a0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10131c9b
mov eax, dword fs:[0]
push eax
mov eax, 0x264c
call fcn.1011ccf0
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp - 0x2218]
push ebx
push eax
call fcn.100fdf90
add esp, 0xc
mov eax, 0x22
mov word [ebp - 0x2218], ax
test esi, esi
je 0x1005d2b4
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x1005d2b4
push esi
call edi
cmp eax, 0xffa
jge 0x1005d2b4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2218]
push eax
call esi
push 0x101586ec
lea eax, [ebp - 0x2218]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2658]
call fcn.10008180
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2658]
push eax
call fcn.100660b0
mov ecx, eax
call fcn.10066170
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2658]
call fcn.10004ae0
test esi, esi
je 0x1005d2b4
push 0x1015b8e8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x263c], eax
test eax, eax
je 0x1005d2b4
lea ecx, [ebp - 0x2638]
call fcn.1005cd20
xor edi, edi
lea esi, [ebp - 0x2638]
nop dword [eax]
cmp word [esi], 0
je 0x1005d1d4
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x263c]
cmp eax, 0x20
ja 0x1005d1e2
inc edi
add esi, 0x210
cmp edi, 2
jl 0x1005d1b0
jmp 0x1005d204
imul ebx, edi, 0x210
cmp dword [ebp + ebx - 0x2430], 0
mov ebx, dword [ebp + ebx - 0x242c]
jne 0x1005d1fc
add ebx, 0x10
test ebx, ebx
jne 0x1005d2b0
mov edi, dword [ebp - 0x263c]
lea eax, [ebp - 0x2218]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x1005d2ab
mov dword [ebp - 0x2640], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x263c], str._programfiles_Internet_Exploreriexplore.exe
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.100fdf90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push dword [ebp + esi*4 - 0x2640]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1005d2a1
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x1005d2ab
inc esi
cmp esi, 2
jb 0x1005d240
mov eax, ebx
jmp 0x1005d2b6
mov ebx, 0x10
mov eax, ebx
jmp 0x1005d2b6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fc1a9
mov esp, ebp
pop ebp
ret