joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001e3b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003db78
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x10052260]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x224], ebx
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x228], esi
mov word [ebp - 0x218], ax
call fcn.10023420
mov edx, dword [0x10052090]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x10052090
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [ebp - 0x21c]
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x224], 1
call fcn.1001dd10
add esp, 4
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], 1
mov ecx, 0x10043504
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001e478
cmp dx, bx
je 0x1001e474
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001e478
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x1001e452
xor eax, eax
jmp 0x1001e47d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete al
cmp al, bl
je 0x1001e4c3
push ebx
push 0x23
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001e4a0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10001600
jmp 0x1001e578
lea ecx, [ebp - 0x21c]
push str.win7s
push ecx
call fcn.1001d450
add esp, 8
test al, al
je 0x1001e578
push ebx
push 0x2e
lea edx, [ebp - 0x218]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001e500
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10001600
mov eax, dword [esi]
push 0x5c
push eax
call fcn.10023188
add esp, 8
cmp eax, ebx
je 0x1001e578
sub eax, dword [esi]
sar eax, 1
cmp eax, ebx
jle 0x1001e578
push eax
lea ecx, [ebp - 0x220]
push ecx
mov ecx, esi
call fcn.1001d610
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.10001d80
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001e578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e59d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002099e
mov esp, ebp
pop ebp
ret
Function at 0x1001e5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dae8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10052260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
call fcn.1001e3b0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], esi
cmp dword [ecx - 0xc], esi
je 0x1001e632
push 8
push 0x100436b8
lea ecx, [ebp - 0x10]
call fcn.1000f020
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10001df0
mov esi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x1001e641
mov esi, dword [ebp + 8]
push 0x10047fd0
mov ecx, esi
call fcn.100012b0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e663
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001e680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dae8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10052260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
call fcn.1001e3b0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], esi
cmp dword [ecx - 0xc], esi
je 0x1001e6f2
push 8
push str.FunAcce
lea ecx, [ebp - 0x10]
call fcn.1000f020
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.10001df0
mov esi, dword [ebp + 8]
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x1001e701
mov esi, dword [ebp + 8]
push 0x10047fd0
mov ecx, esi
call fcn.100012b0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001e723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001e950
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dbf2
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x10052260]
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 ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor eax, eax
push 0x258
mov dword [ebp - 0x270], eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x26a]
xor edx, edx
push eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], ecx
mov word [ebp - 0x26c], dx
call fcn.10023420
mov edi, dword [edi]
mov ecx, dword [ebp - 0x274]
mov eax, dword [ecx]
mov ebx, dword [ebx]
add esp, 0xc
push edi
push 0x12c
lea edx, [ebp - 0x26c]
push edx
push 0x10047fd0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x26c]
push eax
mov ecx, esi
call fcn.100012b0
push 0x100436ac
push 0x100436ac
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x270], 1
call fcn.1001d9b0
mov ecx, eax
call fcn.1001d850
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.1002099e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001f090
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003dd11
mov eax, dword fs:[0]
push eax
sub esp, 0x7e8
mov eax, dword [0x10052260]
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 eax, dword [ebp + 8]
mov edx, dword [0x10052090]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x7ec], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x7f0], ecx
mov ecx, 0x10052090
call eax
add eax, 0x10
mov dword [ebp - 0x7e4], eax
push edi
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.10001d80
mov ecx, dword [esi + 0xc]
mov ecx, dword [ecx - 0xc]
lea eax, [esi + 0xc]
test ecx, ecx
jne 0x1001f19c
push 0x100436b4
lea edx, [esi + 8]
push edx
lea eax, [ebp - 0x7e8]
push eax
call fcn.100104e0
add esi, 4
push esi
push eax
lea ecx, [ebp - 0x7f4]
push ecx
mov byte [ebp - 4], 1
call fcn.1001d8f0
add esp, 0x18
push eax
lea ecx, [ebp - 0x7e4]
mov byte [ebp - 4], 2
call fcn.10001d80
mov eax, dword [ebp - 0x7f4]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001f174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x7e8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001f1a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1001f1a8
push eax
lea ecx, [ebp - 0x7e4]
call fcn.10001d80
mov esi, dword [ebp - 0x7e4]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f22c
mov ecx, dword [ebp - 0x7f0]
mov eax, dword [ecx]
mov edx, dword [ebp - 0x7ec]
mov ecx, dword [edx]
mov edi, dword [edi]
push esi
push 0x3e8
lea edx, [ebp - 0x7e0]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, eax
lea eax, [ebp - 0x7e0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001f1f0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x7e0]
push eax
mov ecx, ebx
call fcn.10001600
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001f254
mov ecx, dword [eax]
push eax
jmp 0x1001f24d
mov ecx, dword [ebx]
mov edi, dword [ecx - 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1001f254
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, edi
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.1002099e
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1001f5c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x10052260]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001f651
push 0xc8
lea eax, [ebp - 0xcf]
push 0
push eax
mov byte [ebp - 0xd0], 0
call fcn.10023420
mov eax, dword [esi]
push 0xc8
lea ecx, [ebp - 0xd0]
push ecx
push eax
call fcn.1001f3d0
add esp, 0x18
test eax, eax
jne 0x1001f651
mov esi, dword [esi]
push esi
call fcn.1001f310
add esp, 4
test eax, eax
jne 0x1001f651
lea edx, [ebp - 0xd0]
push str.Funshion
push edx
call fcn.10023da0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002099e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.1002099e
mov esp, ebp
pop ebp
ret
Function at 0x1001f680
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003ddc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10052260]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp eax, ebx
jbe 0x1001f803
push eax
call fcn.100208c5
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov edx, dword [ebp - 0x10]
mov eax, dword [edi]
push esi
push edx
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1001f7f3
mov eax, dword [0x10052090]
mov edx, dword [eax + 0xc]
mov ecx, 0x10052090
mov dword [ebp + 0xc], ebx
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
push str.VarFileInfoTranslation
push esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1001f777
mov ecx, dword [ebp + 8]
push 0x10047fd0
call fcn.100012b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1001f759
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
call fcn.10020993
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [eax + 2]
push edx
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x14]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.10001720
mov edi, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
push edi
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1001f7d4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
push eax
call fcn.100012b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x1001f74d
lea eax, [edi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001f7f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.10020993
add esp, 4
mov esi, dword [ebp + 8]
push 0x10047fd0
mov ecx, esi
call fcn.100012b0
mov eax, esi
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 0x1001f960
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push esi
push eax
mov dword [ebp - 4], 0
call fcn.1001dc20
add esp, 8
test al, al
je 0x1001f9c4
mov ecx, dword [ebp + 0xc]
push 0
lea edx, [ebp - 4]
push edx
mov dword [esi + 0x5c], ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
mov eax, dword [ebp - 4]
and al, 4
sub al, 4
movzx eax, al
push 0
neg eax
push 0
sbb eax, eax
push 0
and eax, 4
push eax
push str.Mozilla_4.0__compatible__MSIE_7.0__Windows_NT_5.2__.NET_CLR_1.1.4322__.NET_CLR_2.0.50727_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 0x54], eax
test eax, eax
jne 0x1001f9cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x68], eax
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, esi
call fcn.1001f8c0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001fe40
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003de31
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x10052260]
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 eax, dword [0x10052090]
mov edx, dword [eax + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ecx, 0x10052090
mov dword [ebp - 0x41c], ebx
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x414], esi
push 0x3ff
lea eax, [ebp - 0x40f]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x420], ebx
mov byte [ebp - 0x410], bl
call fcn.10023420
add esp, 0xc
push ebx
lea ecx, [ebp - 0x420]
push ecx
push 0x3ff
lea edx, [ebp - 0x410]
push edx
push 0x10000001
call sub.urlmon.dll_UrlMkGetSessionOption
cmp eax, 0x8007000e
je 0x1001fee2
cmp eax, ebx
jne 0x1001ffd2
mov eax, dword [0x10052090]
mov edx, dword [eax + 0xc]
mov ecx, 0x10052090
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x418], esi
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x1001ff39
mov ecx, eax
movzx eax, cx
push ebx
push eax
mov dword [ebp - 0x41c], eax
call fcn.10001090
add esp, 8
cmp eax, ebx
je 0x1001ff51
mov edx, dword [ebp - 0x41c]
push edx
push eax
lea ecx, [ebp - 0x418]
call fcn.100013b0
jmp 0x1001ff4b
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x418]
call fcn.1001c9b0
mov esi, dword [ebp - 0x418]
push 0xb
push str.User_Agent:
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call fcn.10001600
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [ebp - 0x414]
call fcn.1000f020
push 0xa
push str._Funshion_
lea ecx, [ebp - 0x414]
call fcn.1000f020
push 7
push str.1.0.0.1
lea ecx, [ebp - 0x414]
call fcn.1000f020
push 2
push 0x10043a2c
lea ecx, [ebp - 0x414]
call fcn.1000f020
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1001ffcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x414]
xor ecx, ecx
mov eax, esi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x1001ffe6
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, edi
call fcn.100080f0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10020021
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, edi
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.1002099e
mov esp, ebp
pop ebp
ret

Function at 0x1002099e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10052260]
jne 0x100209a8
repz ret
jmp fcn.1002600c
Function at 0x100358e6
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10052260]
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.10028f92
and dword [ebp - 0x14], 0
cmp dword [0x10055e70], 0
mov dword [ebp - 0x18], eax
jne 0x10035999
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10035a41
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10035a41
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10055e70], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10055e74], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10055e78], eax
call edi
push eax
call esi
mov dword [0x10055e80], eax
test eax, eax
je 0x10035999
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10055e7c], eax
mov eax, dword [0x10055e7c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100359f2
cmp dword [0x10055e80], ecx
je 0x100359f2
push eax
call esi
push dword [0x10055e80]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100359f2
test ebx, ebx
je 0x100359f2
call edi
test eax, eax
je 0x100359e9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100359e9
test byte [ebp - 8], 1
jne 0x100359f2
or dword [ebp + 0x10], 0x200000
jmp 0x10035a25
mov eax, dword [0x10055e74]
cmp eax, dword [ebp - 0x18]
je 0x10035a25
push eax
call esi
test eax, eax
je 0x10035a25
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10035a25
mov eax, dword [0x10055e78]
cmp eax, dword [ebp - 0x18]
je 0x10035a25
push eax
call esi
test eax, eax
je 0x10035a25
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10055e70]
call esi
test eax, eax
je 0x10035a41
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10035a43
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002099e
leave
ret
Function at 0x10039fc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003df98
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10052260]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x80], ecx
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 0
push 0x10048bd8
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10006270
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003a042
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.1003d610
add esp, 8
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
jne 0x1003a062
cmp dword [ebp - 0x1c], 0x10
jb 0x1003a042
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10020993
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.1002099e
mov esp, ebp
pop ebp
ret 8
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x79]
call fcn.1003d3a0
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x78]
mov bl, 2
push edx
lea ecx, [ebp - 0x79]
mov byte [ebp - 4], bl
call fcn.1003d520
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10009d40
mov byte [ebp - 4], bl
mov ebx, 0x10
cmp dword [ebp - 0x64], ebx
jb 0x1003a0ac
mov eax, dword [ebp - 0x78]
push eax
call fcn.10020993
add esp, 4
mov esi, dword [ebp - 0x80]
lea ecx, [ebp - 0x5a]
push ecx
lea edx, [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.10039e60
test eax, eax
je 0x1003a0e5
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x56], eax
jne 0x1003a0e5
test eax, eax
je 0x1003a0e5
push edi
lea eax, [ebp - 0x4f]
push eax
mov ecx, esi
call fcn.10039ef0
test eax, eax
je 0x1003a0e5
mov esi, 1
jmp 0x1003a0e7
xor esi, esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.1003d370
cmp dword [ebp - 0x1c], ebx
jb 0x1003a104
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10020993
add esp, 4
mov eax, esi
jmp 0x1003a044
Function at 0x1003a120
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003e768
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10052260]
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 dword [ebp - 0x30], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x34], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003a181
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x10048bd8
mov ecx, esi
mov byte [esi], bl
call fcn.10006270
jmp 0x1003a1e4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push eax
push edi
mov dword [ebp - 4], ebx
call fcn.10039fc0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
test eax, eax
je 0x1003a1c5
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call fcn.10009d40
cmp dword [ebp - 0x18], 0x10
jb 0x1003a1e4
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x1003a1dc
push ebx
push 0x10048bd8
mov ecx, esi
call fcn.10006270
cmp dword [ebp - 0x18], 0x10
jb 0x1003a1e4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.10020993
add esp, 4
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.1002099e
mov esp, ebp
pop ebp
ret 8