joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42dc75
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00425e20
mov eax, dword [0x44de90]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x45ea54]
mov dword [ebp - 4], eax
jae 0x42ddb8
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x45ea60]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x42ddb8
push 1
push esi
push ebx
call fcn.0042c65b
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x42ddc2
push 2
push esi
push ebx
call fcn.0042c65b
add esp, 0xc
cmp eax, 0xffffffff
je 0x42ddc2
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x42dd62
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00425190
push 0x8000
push ebx
call fcn.0042f619
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x42dd21
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.0042adef
add esp, 0xc
cmp eax, 0xffffffff
je 0x42dd3f
sub edi, eax
test edi, edi
jg 0x42dd16
jmp 0x42dd55
cmp dword [0x45e264], 5
jne 0x42dd52
mov dword [0x45e260], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.0042f619
pop ecx
pop ecx
jmp 0x42dda2
jge 0x42dda2
push 0
push dword [ebp + 0xc]
push ebx
call fcn.0042c65b
push ebx
call fcn.0042dc39
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x42dda2
mov dword [0x45e260], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x45e264], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.0042c65b
add esp, 0xc
mov eax, esi
pop edi
jmp 0x42ddc5
mov dword [0x45e260], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.00425221
leave
ret
Function at 0x42e027
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], ebx
mov byte [ebp - 1], bl
je 0x42e052
cmp eax, 1
je 0x42e052
jle 0x42e05a
cmp eax, 3
jle 0x42e052
cmp eax, 4
jne 0x42e05a
mov byte [ebp - 1], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x42e083
mov dword [0x45e260], 0x16
mov dword [0x45e264], ebx
or eax, 0xffffffff
jmp 0x42e1f5
inc eax
cmp byte [eax], bl
jne 0x42e072
lea ecx, [eax + 1]
cmp byte [ecx], bl
je 0x42e083
mov byte [eax], 0x20
mov eax, ecx
cmp byte [eax], bl
jne 0x42e072
push esi
push 0x44
pop esi
push esi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.00425190
mov dword [ebp - 0x68], esi
mov esi, dword [0x45ea54]
add esp, 0xc
cmp esi, ebx
je 0x42e0c6
lea eax, [esi - 1]
mov ecx, eax
sar ecx, 5
mov ecx, dword [ecx*4 + 0x45ea60]
mov edx, eax
and edx, 0x1f
cmp byte [ecx + edx*8 + 4], bl
jne 0x42e0c6
dec esi
dec eax
cmp esi, ebx
jne 0x42e0a9
lea eax, [esi + esi*4 + 4]
mov word [ebp - 0x36], ax
push edi
movzx eax, ax
push 1
push eax
call fcn.00429557
cmp esi, ebx
mov dword [ebp - 0x34], eax
pop ecx
mov dword [eax], esi
mov eax, dword [ebp - 0x34]
pop ecx
mov dword [ebp - 8], ebx
lea ecx, [eax + 4]
lea edx, [eax + esi + 4]
jle 0x42e12b
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 8]
sar eax, 5
mov eax, dword [eax*4 + 0x45ea60]
and edi, 0x1f
lea edi, [eax + edi*8]
mov al, byte [edi + 4]
test al, 0x10
jne 0x42e117
mov byte [ecx], al
mov eax, dword [edi]
mov dword [edx], eax
jmp 0x42e11c
mov byte [ecx], bl
or dword [edx], 0xffffffff
inc dword [ebp - 8]
inc ecx
add edx, 4
cmp dword [ebp - 8], esi
jl 0x42e0f2
mov eax, dword [ebp - 0x34]
cmp byte [ebp - 1], bl
je 0x42e15c
lea ecx, [eax + 4]
xor edx, edx
lea eax, [eax + esi + 4]
cmp esi, 3
jge 0x42e142
mov edi, esi
jmp 0x42e145
push 3
pop edi
cmp edx, edi
jge 0x42e155
mov byte [ecx], bl
or dword [eax], 0xffffffff
inc edx
inc ecx
add eax, 4
jmp 0x42e139
mov dword [ebp - 0xc], 8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp + 0x14]
mov dword [0x45e260], ebx
push dword [ebp - 0xc]
mov dword [0x45e264], ebx
push 1
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x34]
mov edi, eax
call fcn.00425476
cmp esi, ebx
pop ecx
jne 0x42e1aa
push edi
call fcn.0042ca8e
pop ecx
or eax, 0xffffffff
jmp 0x42e1f3
cmp dword [ebp + 8], 2
jne 0x42e1b6
push ebx
call fcn.00429796
cmp dword [ebp + 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x42e1e3
push 0xffffffffffffffff
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, dword [ebp - 0x14]
push dword [ebp - 0x24]
call esi
jmp 0x42e1ec
cmp dword [ebp + 8], 4
je 0x42e1dc
mov ebx, dword [ebp - 0x24]
push dword [ebp - 0x20]
call esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e405
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x45e478], ebx
push esi
push edi
jne 0x42e485
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42e4c0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x45e478], eax
je 0x42e4c0
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x45e47c], eax
call esi
cmp dword [0x45e26c], 2
mov dword [0x45e480], eax
jne 0x42e485
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x45e488], eax
je 0x42e485
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x45e484], eax
mov eax, dword [0x45e484]
test eax, eax
je 0x42e4ca
call eax
test eax, eax
je 0x42e4b1
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x45e488]
test eax, eax
je 0x42e4b1
test byte [ebp - 8], 1
jne 0x42e4ca
cmp dword [0x45e278], 4
jb 0x42e4c4
or byte [ebp + 0x12], 0x20
jmp 0x42e4e9
xor eax, eax
jmp 0x42e4f9
or byte [ebp + 0x12], 4
jmp 0x42e4e9
mov eax, dword [0x45e47c]
test eax, eax
je 0x42e4e9
call eax
mov ebx, eax
test ebx, ebx
je 0x42e4e9
mov eax, dword [0x45e480]
test eax, eax
je 0x42e4e9
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x45e478]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42eec5
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x42eef3
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x42eef8
cmp eax, 1
je 0x42eef8
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42eefc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x44de90]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x42ef72
push ebx
call fcn.0042eec5
test eax, eax
pop ecx
jne 0x42ef41
mov dword [0x45e264], 0xf
mov dword [0x45e260], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.00425221
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x42ef84
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x42ef34
inc eax
cmp eax, 0x104
ja 0x42ef34
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x42efbb
cmp eax, dword [ebp + 0x10]
jg 0x42ef9f
mov eax, dword [ebp + 0x10]
push eax
call fcn.00425520
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x42efcf
mov dword [0x45e260], 0xc
jmp 0x42ef34
cmp eax, dword [ebp + 0x10]
jle 0x42efcf
mov dword [0x45e260], 0x22
jmp 0x42ef34
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.00425600
pop ecx
pop ecx
jmp 0x42ef36
Function at 0x42f444
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x42f45d
or eax, 0xffffffff
jmp 0x42f4be
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x42f4ba
push 0x3d
push esi
call fcn.0042dfc0
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x42f4ba
cmp esi, eax
je 0x42f4ba
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x45e28c]
sete cl
cmp eax, dword [0x45e290]
mov dword [ebp - 8], ecx
jne 0x42f4a0
mov edi, eax
call fcn.0042f3e3
mov dword [0x45e28c], eax
cmp eax, ebx
jne 0x42f4f9
cmp dword [ebp + 0xc], ebx
je 0x42f4c2
cmp dword [0x45e294], ebx
je 0x42f4c2
call fcn.0042d27b
test eax, eax
je 0x42f4f9
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x42f4cb
xor eax, eax
jmp 0x42f4bd
push 4
call fcn.00425520
cmp eax, ebx
pop ecx
mov dword [0x45e28c], eax
je 0x42f4ba
mov dword [eax], ebx
cmp dword [0x45e294], ebx
jne 0x42f4f9
push 4
call fcn.00425520
cmp eax, ebx
pop ecx
mov dword [0x45e294], eax
je 0x42f4ba
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x45e28c]
call fcn.0042f396
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x42f55a
cmp dword [esi], ebx
je 0x42f55a
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00425476
cmp dword [ebp - 8], ebx
pop ecx
jne 0x42f53d
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x42f59b
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x42f534
mov eax, edi
shl eax, 2
push eax
push dword [0x45e28c]
call fcn.0042788e
cmp eax, ebx
pop ecx
pop ecx
je 0x42f59b
jmp 0x42f596
cmp dword [ebp - 8], ebx
jne 0x42f606
cmp edi, ebx
jge 0x42f569
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x45e28c]
call fcn.0042788e
cmp eax, ebx
pop ecx
pop ecx
je 0x42f4ba
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x45e28c], eax
cmp dword [ebp + 0xc], ebx
je 0x42f5f0
push dword [ebp - 4]
call fcn.00425700
inc eax
inc eax
push eax
call fcn.00425520
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x42f5f0
push dword [ebp - 4]
push esi
call fcn.00425600
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x42f5e9
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00425476
pop ecx
cmp dword [ebp - 8], ebx
je 0x42f5fe
push dword [ebp - 4]
call fcn.00425476
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x42f4bd
push dword [ebp - 4]
call fcn.00425476
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x42f4c7
Function at 0x432f80
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4434f0
call fcn.00425230
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x45e720], edi
jne 0x432fc4
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x432faf
mov dword [0x45e720], ebx
jmp 0x432fc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x432fc4
mov dword [0x45e720], 2
mov eax, dword [0x45e720]
cmp eax, ebx
jne 0x432fe4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4330a7
cmp eax, 2
je 0x432fed
cmp eax, edi
jne 0x433015
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x433000
mov eax, dword [0x45e350]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x43301c
xor eax, eax
jmp 0x4330a7
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.00425e20
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x43304f
cmp esi, edi
jne 0x433065
push dword [ebp - 0x20]
call fcn.00425520
pop ecx
mov esi, eax
cmp esi, edi
je 0x433015
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x433098
cmp dword [ebp + 0x14], edi
jne 0x433082
push edi
push edi
jmp 0x433088
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x4330a4
push esi
call fcn.00425476
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0042526b
ret
Function at 0x4330b0
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x443500
call fcn.00425230
xor esi, esi
cmp dword [0x45e724], esi
jne 0x4330f4
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4330df
mov dword [0x45e724], edi
jmp 0x4330f4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4330f4
mov dword [0x45e724], 2
mov eax, dword [0x45e724]
cmp eax, 2
je 0x4331d5
cmp eax, esi
je 0x4331d5
cmp eax, 1
jne 0x433139
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x433122
mov eax, dword [0x45e350]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x433140
xor eax, eax
jmp 0x4331e7
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.00425e20
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x433176
cmp edi, esi
jne 0x433191
lea eax, [ebx + ebx]
push eax
call fcn.00425520
pop ecx
mov edi, eax
cmp edi, esi
je 0x433139
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4331c4
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x4331ae
push esi
push esi
jmp 0x4331b4
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x4331d0
push edi
call fcn.00425476
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x4331e7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0042526b
ret
Function at 0x100182bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10018318
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x100182f8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x10018316
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.100193d1
cmp dword [eax], 0
je 0x10018314
jmp 0x10018316
jmp 0x100182ed
jmp 0x10018349
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10018349
push 0x46e
push 0
push 0x8f7
push 0x1b97
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret

Function at 0x10018f27
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10018f3e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x10018f5c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10018f5c
push 0
call dword [sym.imp.USER32.dll_SetCursor]
mov esp, ebp
pop ebp
ret

Function at 0x10018f60
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10018f77
push 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10018f95
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10018f95
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x10020b48
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10020b76
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10020b74
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x10020bc2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10020ba4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jg 0x10020bc2
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.100193d1
cmp dword [eax], 0
je 0x10020bc0
jmp 0x10020bc2
jmp 0x10020b99
mov esp, ebp
pop ebp
ret
Function at 0x100248eb
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10024910
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0
jmp 0x10024924
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x10024924
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002b18a
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002b1ac
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002b1aa
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
jmp 0x1002b1d1
push 0x1138
push 0x1914
push 0x105d
push 0x6e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_IntersectClipRect]
mov esp, ebp
pop ebp
ret

Function at 0x1002e409
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002e437
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002e435
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x1002e46f
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100309a7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100309cb
xor eax, eax
jmp 0x10030ae6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x100309e9
xor eax, eax
jmp 0x10030ae6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
call fcn.100308a1
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10030a08
xor eax, eax
jmp 0x10030ae6
push 0x133a
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push 1
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push eax
call fcn.10030771
add esp, 0x1c
push dword [ebp + 8]
push dword [ebp - 4]
push 0x38be
push 0
push dword [ebp - 8]
call fcn.10029e1a
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x1c], ecx
push 0x4b3a
lea eax, [ebp - 4]
push eax
push 1
push 0x54ca
lea eax, [ebp - 0x1c]
push eax
call fcn.100308ee
add esp, 0x14
push dword [ebp - 4]
call fcn.100302e5
pop ecx
test eax, eax
jne 0x10030a7a
xor eax, eax
jmp 0x10030ae6
push 0
push 0xa28
push dword [ebp - 4]
call fcn.1002f4ee
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10030ace
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x14], ecx
jne 0x10030aab
xor eax, eax
jmp 0x10030ae6
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10030ac4
xor eax, eax
jmp 0x10030ae6
lea eax, [ebp - 4]
push eax
call fcn.1003098d
pop ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10030adf
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
jmp 0x10030ae3
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret