joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004fe0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x1022da9c], 0
je 0x10005001
push str.IsolationAware_function_called_after_IsolationAwareCleanup_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x1022da94], 0
je 0x10005015
mov dword [ebp - 4], 1
jmp 0x1000504a
cmp dword [0x1022da9c], 0
jne 0x1000502b
call fcn.100050e0
test eax, eax
jne 0x1000502b
jmp 0x1000504a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [section..data]
push ecx
call fcn.10005090
test eax, eax
jne 0x10005043
jmp 0x1000504a
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x1000507c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x7f
je 0x1000506b
cmp dword [ebp - 8], 0x7e
je 0x1000506b
cmp dword [ebp - 8], 0x78
jne 0x1000507c
mov dword [0x1022da94], 1
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x10005480
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1022dae0], 0
jne 0x100054c8
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x100054be
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1022dadc], eax
mov dword [0x1022dae0], 1
cmp dword [0x1022dadc], 0
je 0x100054ef
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [0x1022dadc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100054ef
jmp 0x10005558
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10005547
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0x80000000
je 0x1000551e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call ecx
mov dword [ebp - 0xc], eax
jmp 0x1000552f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000553f
jmp 0x10005558
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 8]
mov dword [ecx], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10021110
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.10020e50
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100210a0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002117b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.10020e80
mov eax, dword [ebp - 0x224]
jmp 0x1002120c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x100211e1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.10021110
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100211d8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.10020e80
mov eax, dword [ebp - 0x228]
jmp 0x1002120c
mov dword [ebp - 4], 0x100
jmp 0x10021182
lea ecx, [ebp - 0x14]
call fcn.10020fd0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.10020f10
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.10020e80
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 4
Function at 0x10021800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x10021809
xor ecx, ecx
jne 0x10021809
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x1002182a
mov eax, 0xd
jmp 0x10021885
xor eax, eax
jne 0x10021811
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x1002183b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x10025010
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1022e770], 1
jne 0x10025029
mov eax, 1
jmp 0x10025159
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x101bf308
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10025132
push 0x101bf318
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e780], eax
push str.Module32First
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e784], eax
push str.Module32Next
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e788], eax
push str.Process32First
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e78c], eax
push str.Process32Next
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e790], eax
push str.Thread32First
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e794], eax
push str.Thread32Next
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1022e798], eax
cmp dword [0x1022e784], 0
je 0x10025123
cmp dword [0x1022e788], 0
je 0x10025123
cmp dword [0x1022e78c], 0
je 0x10025123
cmp dword [0x1022e790], 0
je 0x10025123
cmp dword [0x1022e794], 0
je 0x10025123
cmp dword [0x1022e798], 0
je 0x10025123
cmp dword [0x1022e780], 0
je 0x10025123
mov dword [ebp - 0xc], 1
jmp 0x1002512a
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
jmp 0x10025146
push 1
push 0x45a
call dword [sym.imp.USER32.dll_SetLastErrorEx]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 1
jne 0x10025156
mov dword [0x1022e770], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10026960
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019fffb
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1022c684]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
call fcn.100221d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
call fcn.10026b60
mov ecx, dword [ebp - 0x2c]
add ecx, 4
call fcn.10026b80
lea ecx, [ebp - 0x1c]
call fcn.10005d40
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x100
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.10005e40
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [ebp - 0x14]
call fcn.10005d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.100043a0
push eax
mov edx, dword [str.Global_s_deskbar]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.10005660
add esp, 0xc
mov dword [ebp - 0x24], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x14]
call fcn.10004390
push eax
push 1
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x10026a4a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10005e00
jmp 0x10026ae8
lea ecx, [ebp - 0x10]
call fcn.10026c50
mov byte [ebp - 4], 3
push 0x17
push 0
push 0x101bf894
lea ecx, [ebp - 0x10]
call fcn.10026cb0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10026ac4
lea ecx, [ebp - 0x28]
call fcn.10026ce0
mov byte [ebp - 4], 4
push 0x17
push 0
push 0x101d4528
lea ecx, [ebp - 0x28]
call fcn.10026d40
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10026ab8
lea ecx, [ebp - 0x10]
call fcn.10026ca0
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
call fcn.10026d30
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.10026bc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.10026ba0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10005e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10005e00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1006bcd0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5c28
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x82c], ecx
lea ecx, [ebp - 0x18]
call fcn.10005d40
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x82c]
call fcn.100016e0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x1006bd5d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x820], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x820]
jmp 0x1006bede
push 0x101c2a64
mov edx, dword [ebp + 8]
push edx
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006bdef
mov eax, dword [ebp - 0x82c]
cmp dword [eax + 0xdc], 0
jne 0x1006bdbf
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0x147
mov edx, dword [ebp - 0x82c]
mov eax, dword [edx + 0x9c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x148
mov ecx, dword [ebp - 0x82c]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1006bdde
push 0x400
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x82c]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005e20
jmp 0x1006be61
push 0x101c2a70
mov ecx, dword [ebp + 8]
push ecx
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006be18
mov edx, dword [ebp - 0x82c]
add edx, 0x6c
push edx
lea ecx, [ebp - 0x18]
call fcn.10003ea0
jmp 0x1006be61
push 0x101c2a7c
mov eax, dword [ebp + 8]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006be41
mov ecx, dword [ebp - 0x82c]
add ecx, 0x60
push ecx
lea ecx, [ebp - 0x18]
call fcn.10003ea0
jmp 0x1006be61
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x824], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x824]
jmp 0x1006bede
mov eax, dword [ebp - 0x10]
push eax
call fcn.10170e80
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.10005e60
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x82c]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0x82c]
mov ecx, dword [ecx + 0xd0]
mov edx, dword [eax]
mov eax, dword [edx + 0xa4]
call eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x18]
call fcn.10005e60
add eax, 1
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10170f0e
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x828], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 8
Function at 0x1006df00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a5dc8
mov eax, dword fs:[0]
push eax
sub esp, 0x820
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x82c], ecx
lea ecx, [ebp - 0x18]
call fcn.10005d40
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x82c]
call fcn.100016e0
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
je 0x1006df8d
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x820], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x820]
jmp 0x1006e10e
push 0x101c28b0
mov edx, dword [ebp + 8]
push edx
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006e01f
mov eax, dword [ebp - 0x82c]
cmp dword [eax + 0xdc], 0
jne 0x1006dfef
lea ecx, [ebp - 0x81c]
push ecx
push 0
push 0
push 0x147
mov edx, dword [ebp - 0x82c]
mov eax, dword [edx + 0x9c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x148
mov ecx, dword [ebp - 0x82c]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1006e00e
push 0x400
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x82c]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x18]
call fcn.10005e20
jmp 0x1006e091
push 0x101c28bc
mov ecx, dword [ebp + 8]
push ecx
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006e048
mov edx, dword [ebp - 0x82c]
add edx, 0x6c
push edx
lea ecx, [ebp - 0x18]
call fcn.10003ea0
jmp 0x1006e091
push 0x101c28c8
mov eax, dword [ebp + 8]
push eax
call fcn.1016f1ec
add esp, 8
test eax, eax
jne 0x1006e071
mov ecx, dword [ebp - 0x82c]
add ecx, 0x60
push ecx
lea ecx, [ebp - 0x18]
call fcn.10003ea0
jmp 0x1006e091
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x824], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x824]
jmp 0x1006e10e
mov eax, dword [ebp - 0x10]
push eax
call fcn.10170e80
add esp, 4
lea ecx, [ebp - 0x18]
call fcn.10005e60
lea ecx, [eax + eax + 2]
push ecx
mov edx, dword [ebp - 0x82c]
mov eax, dword [edx + 0xd0]
mov ecx, dword [ebp - 0x82c]
mov ecx, dword [ecx + 0xd0]
mov edx, dword [eax]
mov eax, dword [edx + 0xa4]
call eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
call fcn.100043a0
push eax
lea ecx, [ebp - 0x18]
call fcn.10005e60
add eax, 1
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.10170f0e
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x828], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.10005e00
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 8
Function at 0x1009d760
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x24
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x1009d844
push 0xbb9
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.1001d280
mov ecx, eax
call fcn.10004cb0
mov dword [ebp - 0xc], eax
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.1001d280
mov ecx, eax
call fcn.10004cb0
mov dword [ebp - 8], eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0xc9
lea edx, [ebp - 0x18]
push edx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.1001d280
mov ecx, eax
call fcn.1009e620
push 0x101c5d50
mov eax, dword [ebp - 0x1c]
add eax, 0x20
push eax
call fcn.1000c4e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1009d844
push 0
push 0
mov edx, dword [ebp - 0x1c]
push edx
push 0x1009d8a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x28], 0
je 0x1009d844
push 0x493e0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
push 1
mov ecx, dword [ebp - 0x1c]
call fcn.1009e2a0
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1009dc40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0x50], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0xf4], 0
mov ax, word [0x101c5dc4]
mov word [ebp - 0x48], ax
push 0x3e
push 0
lea ecx, [ebp - 0x46]
push ecx
call fcn.1016f6c0
add esp, 0xc
mov dx, word [0x101c5dc8]
mov word [ebp - 0xf0], dx
push 0x9e
push 0
lea eax, [ebp - 0xee]
push eax
call fcn.1016f6c0
add esp, 0xc
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ecx
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0
je 0x1009de47
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.1016f15a
add esp, 4
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov ecx, dword [ebp - 0xf4]
push ecx
call fcn.1016f6c0
add esp, 0xc
cmp dword [ebp - 0xf4], 0
je 0x1009de47
mov edx, dword [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xf8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1009de2c
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0xfc]
push eax
push str.VarFileInfoTranslation
mov ecx, dword [ebp - 0xf4]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1009de2c
push 0xa0
lea edx, [ebp - 0xf0]
push edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax]
and ecx, 0xffff
movzx edx, cx
push edx
call sub.KERNEL32.dll_VerLanguageNameW
test eax, eax
je 0x1009ddb6
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.101742fb
add esp, 0x10
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx]
and edx, 0xffff
movzx eax, dx
push eax
push str.StringFileInfo_04X_04XFileVersion
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xf0]
push ecx
mov edx, dword [ebp - 0xf4]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1009de2c
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.101742fb
add esp, 0x10
mov ecx, dword [ebp - 0xf4]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
push edx
call fcn.10170335
add esp, 4
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1009eaf0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.1016f6c0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x1009eb70
cmp dword [ebp - 0x11c], 5
jae 0x1009eb64
cmp dword [ebp - 0x11c], 4
jne 0x1009eb70
cmp dword [ebp - 0x118], 0x5a
jb 0x1009eb70
mov dword [ebp - 0x128], 0
jmp 0x1009eb7a
mov dword [ebp - 0x128], 1
mov al, byte [ebp - 0x128]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret

Function at 0x1009f1d0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1009f1e9
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x1009f1f1
mov ecx, dword [ebp - 4]
call fcn.1009f2b0
push 0
push 0
push 0
push 0
push str.IEtb
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x1009f282
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x1009f22e
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
push 0
push 0
push 1
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.100043a0
push eax
mov ecx, dword [ebp - 4]
add ecx, 0xc
call fcn.100043a0
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x18]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.100043a0
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x1009f280
xor al, al
jmp 0x1009f2a3
jmp 0x1009f286
xor al, al
jmp 0x1009f2a3
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x1009f2a1
push 1
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100a1b40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a8fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x1022c684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x820], ecx
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.1016f6c0
add esp, 0xc
push 0x400
lea edx, [ebp - 0x814]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ecx
mov ecx, esp
mov dword [ebp - 0x81c], esp
lea edx, [ebp - 0x814]
push edx
call fcn.10005d80
mov dword [ebp - 0x824], eax
lea eax, [ebp - 0x818]
push eax
mov ecx, dword [ebp - 0x820]
call fcn.100a1c40
mov dword [ebp - 0x828], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
call fcn.10005e60
test eax, eax
je 0x100a1c07
push 0
lea ecx, [ebp - 0x818]
call fcn.10005e40
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.10005e00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016f6a2
mov esp, ebp
pop ebp
ret 4