joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003560
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x100035b8
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x100035b8
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
lea eax, [esp + 4]
push 0
push eax
push 0x1288
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100035b8
mov ecx, dword [esp + 4]
xor eax, eax
cmp ecx, 0x1288
pop esi
sete al
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x10003660
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100036b9
mov ecx, dword [esp + 0x10]
push 0
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x100036b9
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
lea edx, [esp + 8]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100036b9
mov ecx, dword [esp + 8]
xor eax, eax
cmp edi, ecx
pop edi
sete al
pop esi
pop ecx
ret 0xc
pop edi
xor eax, eax
pop esi
pop ecx
ret 0xc
Function at 0x10004b90
Capabilities:
Unmount volume via ioctl

Disassembly:
sub esp, 8
mov eax, dword [str.._:]
mov cx, word [0x10008e48]
mov dl, byte [0x10008e4a]
push ebp
push edi
mov dword [esp + 8], eax
mov al, byte [esp + 0x14]
push str.Umount_Enter
mov word [esp + 0x10], cx
push 4
mov byte [esp + 0x16], dl
mov byte [esp + 0x14], al
call fcn.100051f0
add esp, 8
lea ecx, [esp + 8]
push 0
push 0x20000000
push 3
push 0
push 3
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10004c10
lea edx, [esp + 8]
push edx
push str.Umount:_Open_device__s_failed._n
push 5
call fcn.100051f0
add esp, 0xc
mov eax, 0xfb77c
pop edi
pop ebp
add esp, 8
ret 4
push ebx
push esi
push str.Umount_Lock_Begin
push 4
call fcn.100051f0
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
mov esi, 0x31
lea eax, [esp + 0x1c]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x90018
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10004c70
call ebp
push eax
push str.Umount:_FSCTL_LOCK_VOLUME_failed_err:_d_n
push 5
call fcn.100051f0
add esp, 0xc
push 0x64
call ebx
mov ecx, esi
dec esi
test ecx, ecx
jg 0x10004c32
jmp 0x10004c7f
push str.Umount:_FSCTL_LOCK_VOLUME_OK._n
push 5
call fcn.100051f0
add esp, 8
push str.Umount_DisMount_Begin
push 4
call fcn.100051f0
add esp, 8
mov esi, 0x31
lea edx, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x90020
push edi
call ebp
test eax, eax
jne 0x10004cd0
push str.Umount:_FSCTL_DISMOUNT_VOLUME_failed._n
push 5
call fcn.100051f0
add esp, 8
push 0x64
call ebx
mov eax, esi
dec esi
test eax, eax
jg 0x10004c93
jmp 0x10004cdf
push str.Umount:_FSCTL_DISMOUNT_VOLUME_OK._n
push 5
call fcn.100051f0
add esp, 8
lea ecx, [esp + 0x1c]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x8000e004
push edi
call ebp
pop esi
pop ebx
test eax, eax
jne 0x10004d1f
push str.Umount:_IOCTL_VDISK_CLOSE_FILE_failed._n
push 5
call fcn.100051f0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 0xfb780
pop ebp
add esp, 8
ret 4
lea edx, [esp + 0x14]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x9001c
push edi
call ebp
test eax, eax
jne 0x10004d49
push str.Umount:_FSCTL_UNLOCK_VOLUME_failed._n
push 5
call fcn.100051f0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xc]
push 0
push eax
push 2
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x10004d85
movsx ecx, byte [esp + 0xc]
push ecx
push str.Umount:_DefineDosDevice__c._n_failed
push 5
call fcn.100051f0
add esp, 0xc
mov eax, 0xfb786
pop edi
pop ebp
add esp, 8
ret 4
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
Function at 0x100051f0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov eax, 0x1114
call fcn.10005ff0
mov eax, dword [0x1000919c]
push esi
mov esi, dword [esp + 0x111c]
push edi
cmp esi, eax
jb 0x100053b1
mov eax, dword [esp + 0x1124]
test eax, eax
je 0x100053b1
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x1c]
cmp esi, 8
rep stosd dword es:[edi], eax
mov ecx, 0x240
lea edi, [esp + 0x81c]
rep stosd dword es:[edi], eax
jbe 0x10005241
xor esi, esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x16]
mov eax, dword [esp + 0x14]
push str.GWCLI
shl esi, 4
add esi, 0x100091a4
and ecx, 0xffff
push esi
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x1e]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
push str.__02d__02d__02d:_02d:_02d___s___s_
lea eax, [esp + 0x3c]
push 0x800
push eax
call fcn.100053c0
mov edx, dword [esp + 0x114c]
lea ecx, [esp + 0x1150]
push ecx
push edx
lea eax, [esp + 0x84c]
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
mov esi, dword [sym.imp.MSVCRT.dll_strncat]
lea ecx, [esp + 0x854]
push 0x7ff
lea edx, [esp + 0x58]
push ecx
push edx
call esi
add esp, 0x44
lea eax, [esp + 0x1c]
mov byte [esp + 0x81b], 0
push 0x10009288
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push 0x7ff
lea ecx, [esp + 0x20]
push 0x1000928c
push ecx
call esi
mov al, byte [0x100091a0]
add esp, 0xc
test al, 1
mov byte [esp + 0x81b], 0
je 0x1000532d
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test byte [0x100091a0], 2
je 0x100053b1
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push str.c:gwlog.txt
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100053b1
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push esi
call edi
cmp eax, 0x20000
jbe 0x10005388
push 0
push 0
push 0
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [esp + 8]
push 0
push eax
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
add esp, 0x1114
ret

Function at 0x10005580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
lea edx, [esp]
push eax
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [ecx + 4]
push 0
push edx
push eax
mov dword [esp + 0x1c], 4
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100055c1
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
mov dword [ecx], edx
add esp, 8
ret 8
Function at 0x4042c0
Capabilities:
Get common file path
Get disk information
Get hostname
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1544
call fcn.0040ae60
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x481598]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [0x48159c]
push esi
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0xc]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], edx
call fcn.004042b0
mov edi, dword [ebp - 0xc]
mov ecx, dword [0x4815a0]
mov edx, dword [0x4815a4]
add edi, 0x23f
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 0x20
lea ecx, [ecx]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov esi, dword [ebp - 8]
mov eax, dword [0x488d1c]
shl esi, 4
add esi, dword [ebp - 0x1c]
cmp eax, 0xfa9
jne 0x40434c
mov dword [0x488d18], 0xedeb2e40
jmp 0x404367
cmp eax, 0x3eb
jne 0x404367
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov dword [0x4887a8], 0
mov eax, dword [ebp - 8]
lea ecx, [edi + eax]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x20]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x488d1c], 0x9e6
mov dword [0x488d14], 0xf4ea3dee
jne 0x4043a0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor dword [ebp - 4], esi
cmp dword [0x488d1c], 0x213
jne 0x40443b
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
lea eax, [ebp - 0x944]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x1544]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
lea eax, [ebp - 0xd44]
push eax
push 0
push 0x403f68
push 0x403fb4
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
sub ebx, dword [ebp - 4]
cmp dword [0x488d1c], 0xc
jne 0x40444f
push 0
call dword [sym.imp.KERNEL32.dll_GlobalWire]
mov ecx, ebx
shr ecx, 5
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov edx, ebx
shl edx, 4
add edx, dword [ebp - 0x14]
lea eax, [edi + ebx]
xor edx, eax
xor edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
add edi, 0x61c88647
sub dword [ebp - 0x10], 1
jne 0x404320
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4044a0
Capabilities:
Clear file content
Connect pipe
Get thread local storage value
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1408
call fcn.0040ae60
mov eax, dword [0x488d1c]
mov ecx, dword [0x4887ac]
shr eax, 3
test eax, eax
jbe 0x4045a6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrencyFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov edi, edi
cmp dword [0x488d1c], 0x959
jne 0x40458c
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0x403fc0
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea edx, [ebp - 0x1408]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [ebp - 4]
push eax
call fcn.004042c0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4044e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407810
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4804f8]
jne 0x40781a
repz ret
jmp fcn.0040ca4e

Function at 0x40c673
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.00409b46
and dword [ebp - 4], 0
cmp dword [0x486798], 0
mov ebx, eax
jne 0x40c724
push 0x401d44
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c7d5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401d38
push edi
call esi
test eax, eax
je 0x40c7d5
push eax
call fcn.00409ad4
mov dword [esp], 0x401d28
push edi
mov dword [0x486798], eax
call esi
push eax
call fcn.00409ad4
mov dword [esp], 0x401d14
push edi
mov dword [0x48679c], eax
call esi
push eax
call fcn.00409ad4
mov dword [esp], 0x401cf8
push edi
mov dword [0x4867a0], eax
call esi
push eax
call fcn.00409ad4
pop ecx
mov dword [0x4867a8], eax
test eax, eax
je 0x40c724
push 0x401ce0
push edi
call esi
push eax
call fcn.00409ad4
pop ecx
mov dword [0x4867a4], eax
mov eax, dword [0x4867a4]
cmp eax, ebx
je 0x40c77c
cmp dword [0x4867a8], ebx
je 0x40c77c
push eax
call fcn.00409b4f
push dword [0x4867a8]
mov esi, eax
call fcn.00409b4f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c77c
test edi, edi
je 0x40c77c
call esi
test eax, eax
je 0x40c773
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c773
test byte [ebp - 0xc], 1
jne 0x40c77c
or dword [ebp + 0x10], 0x200000
jmp 0x40c7b5
mov eax, dword [0x48679c]
cmp eax, ebx
je 0x40c7b5
push eax
call fcn.00409b4f
pop ecx
test eax, eax
je 0x40c7b5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c7b5
mov eax, dword [0x4867a0]
cmp eax, ebx
je 0x40c7b5
push eax
call fcn.00409b4f
pop ecx
test eax, eax
je 0x40c7b5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x486798]
call fcn.00409b4f
pop ecx
test eax, eax
je 0x40c7d5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c7d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001271
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x100220f0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, ecx
mov eax, dword [esi + 0x1c]
push str.SymInitialize
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.SymFromAddr
push ecx
mov dword [esi], eax
call edi
mov edx, dword [esi + 0x1c]
push str.SymCleanup
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c]
push str.SymGetOptions
push eax
call edi
mov ecx, dword [esi + 0x1c]
push str.SymSetOptions
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x1c]
push str.SymGetModuleInfo64
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
push str.StackWalk64
push eax
call edi
pop edi
mov dword [esi + 0x18], eax
pop esi
ret

Function at 0x100219d0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push edi
call fcn.10001992
test eax, eax
je 0x10021a19
push 0xa
push eax
call fcn.10002e64
mov edi, eax
add esp, 8
test edi, edi
je 0x10021a19
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x10021a19
mov eax, dword [ebp + 8]
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
neg eax
sbb esi, esi
push edi
neg esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
pop edi
pop ebp
ret
xor eax, eax
pop edi
pop ebp
ret
Function at 0x10025b60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x1004a5b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x100428d4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10025ba5
pop edi
lea eax, [esi + 0x13]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
push esi
push 1
lea eax, [ebp - 0x3c]
push 0x38
push eax
call dword [sym.imp.MSVCR100.dll_fread]
lea ecx, [ebp - 0x38]
push ecx
call fcn.10023840
lea edx, [ebp - 0x34]
push edx
call fcn.10023840
lea eax, [ebp - 0x3c]
push eax
call fcn.10023850
lea ecx, [ebp - 0x24]
push ecx
call fcn.10023850
mov edx, 0xf1e0
add esp, 0x20
cmp word [ebp - 0x38], dx
je 0x10025c06
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop edi
pop esi
mov eax, 0x11
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x40], 0
test edi, edi
jne 0x10025c49
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10025c42
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
lea eax, [edi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x40], 1
push esi
call dword [sym.imp.MSVCR100.dll_rewind]
mov ecx, dword [ebp - 0x3c]
push esi
push ecx
push 1
push edi
call dword [sym.imp.MSVCR100.dll_fread]
push esi
call dword [sym.imp.MSVCR100.dll_fclose]
push 0x68
push 0
push ebx
call fcn.10035aae
push edi
push ebx
call fcn.10023ba0
mov esi, eax
add esp, 0x2c
test esi, esi
je 0x10025c95
cmp dword [ebp - 0x40], 0
je 0x10025c95
push edi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov dword [ebx], 0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10035a92
mov esp, ebp
pop ebp
ret
Function at 0x10030160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x1004a5b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x90], ecx
mov ecx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x9c], ecx
test eax, eax
jne 0x100301e7
cmp dword [ebp + 0x20], eax
jne 0x100301cb
push 1
push eax
push eax
push eax
push eax
push eax
lea edx, [ebp + 0x20]
push edx
call fcn.10030160
add esp, 0x1c
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0x20]
sub eax, ebx
cdq
xor eax, edx
sub eax, edx
pop esi
neg eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
push edi
cmp eax, dword [esi + 4]
jae 0x10032bce
mov ecx, dword [ebp + 0x20]
inc dword [esi]
cmp ecx, dword [esi + 8]
jae 0x100330f5
cmp dword [esi + 0x98], 2
jne 0x10030232
mov edx, dword [ebp - 0x9c]
lea eax, [ebp - 0x100]
mov dword [ebp - 0xfc], ebx
mov dword [ebp - 0x100], edx
mov dword [ebp - 0x9c], eax
mov dword [esi + 0x98], 0
mov edi, dword [ebp - 0x88]
jmp 0x10030240
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa0], eax
movzx eax, byte [edi]
mov dword [ebp - 0x98], eax
cmp eax, 0xa1
ja 0x10033fa5
movzx ecx, byte [eax + 0x100340f8]
jmp dword [ecx*4 + 0x10033fbc]
inc dword [esi]
pop edi
pop esi
mov eax, 0xfffffff8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffeb
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10035a92
mov esp, ebp
pop ebp
ret
aam 0x88
pop ebp
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10033b97
push eax
push esi
push dword [ebp + 8]
call fcn.10033b4c
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10033b87
push ecx
jno 0x10034018
cmp al, 0x88
popfd
jl 0x1003400c
invalid
invalid
invalid

Function at 0x100354e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call ebp
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.10033b87
inc edi
jae 0x10035527
cmp byte [ebp - 0x6f37b], cl
call dword [eax - 0x18]
mov esp, esi
invalid
inc dword [eax]
Function at 0x40feb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x416120
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4265b4]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov esi, ecx
lea ebp, [esi + 0x10]
mov ecx, ebp
call fcn.0040fd50
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.0040cf50
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
push eax
push ecx
mov ecx, esi
mov byte [esi + 0x18], 0
call fcn.0040f260
test al, al
je 0x41007f
mov esi, dword [esi + 0xc]
push esi
mov ecx, 0x419ad8
call dword [sym.imp.QtCore4.dll_public:_class_QObject____thiscall_QMetaObject::cast_class_QObject__const]
lea edx, [esp + 0x7c]
push edx
mov ecx, eax
call fcn.0040f870
mov ecx, dword [esp + 0x78]
push eax
mov dword [esp + 0x70], 0
call fcn.0040b6b0
push eax
mov ecx, ebx
call fcn.0040b6b0
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x6c], 0xffffffff
test eax, eax
je 0x40ff8a
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x40ff8a
mov eax, dword [esp + 0x7c]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x84]
call fcn.00401d60
mov ecx, dword [esi]
test ecx, ecx
jne 0x40ff8a
push esi
call dword [sym.imp.QtCore4.dll_void___cdecl_qFree_void__]
add esp, 4
mov eax, dword [ebx]
mov edx, dword [eax]
cmp edx, 1
je 0x40ffa0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
call fcn.00404850
mov edi, dword [ebx]
mov edx, dword [edi + 8]
lea edi, [edi + edx*4 + 0x14]
lea esp, [esp]
mov eax, dword [ebx]
mov eax, dword [eax]
cmp eax, 1
je 0x40ffc6
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push edx
mov ecx, ebx
call fcn.00404850
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp edi, eax
je 0x41007b
lea ecx, [esp + 0x14]
call fcn.0040f7f0
mov esi, dword [edi]
movzx edx, byte [esi]
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x70], 1
mov byte [esp + 0x18], dl
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
mov cl, byte [esi + 8]
mov byte [esp + 0x1c], cl
movzx edx, byte [esi + 9]
mov byte [esp + 0x1d], dl
mov al, byte [esi + 0xa]
mov esi, dword [edi]
mov byte [esp + 0x1e], al
mov eax, dword [ebp]
mov ecx, dword [eax + 0x34]
add eax, 0x34
cmp ecx, 1
je 0x41002c
mov ecx, ebp
call fcn.00406ca0
push esi
lea edx, [esp + 0x38]
push edx
mov ecx, ebp
call fcn.0040f770
mov ecx, dword [ebp]
cmp eax, ecx
jne 0x410055
lea eax, [esp + 0x14]
push eax
push esi
lea edx, [esp + 0x3c]
push edx
push ecx
mov ecx, ebp
call fcn.00405d20
jmp 0x410062
lea ecx, [esp + 0x14]
push ecx
lea ecx, [eax - 0x20]
call fcn.0040f930
lea ecx, [esp + 0x14]
add edi, 4
mov dword [esp + 0x6c], 0xffffffff
call fcn.004053b0
jmp 0x40ffb0
mov al, 1
jmp 0x410081
xor al, al
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc