joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4460dd
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x40864
call fcn.0042f8a0
push ebx
push esi
push edi
lea eax, [ebp - 0x20860]
mov esi, edx
mov edi, 0x7fff
xor ebx, ebx
push eax
mov edx, edi
mov byte [ebp - 1], bl
call fcn.00446ebb
pop ecx
lea eax, [ebp - 0x40860]
push eax
mov edx, edi
mov ecx, esi
call fcn.00446ebb
pop ecx
lea edx, [ebp - 0x40860]
lea ecx, [ebp - 0x20860]
call fcn.0044725e
lea ecx, [ebp - 0x20860]
mov byte [ebp - 3], al
call fcn.004472cb
mov esi, 0x4b3744
test al, al
je 0x446150
lea eax, [ebp - 0x20860]
push esi
push eax
call fcn.00420cf4
pop ecx
pop ecx
lea ecx, [ebp - 0x40860]
call fcn.004472cb
test al, al
je 0x44616e
lea eax, [ebp - 0x40860]
push esi
push eax
call fcn.00420cf4
pop ecx
pop ecx
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20860]
push eax
call fcn.00421dfc
add esp, 0x14
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x20860]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [ebp - 2], al
cmp esi, 0xffffffff
je 0x446307
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp al, 1
jne 0x446307
test byte [ebp - 0x260], 0x10
jne 0x4462d9
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x40860]
push eax
lea eax, [ebp - 0x860]
push eax
lea edx, [ebp - 0x460]
lea ecx, [ebp - 0x234]
call fcn.0044690b
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420d23
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420cf4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10860]
push eax
call fcn.00420cf4
add esp, 0x18
lea ecx, [ebp - 0x30860]
call fcn.00446524
test al, al
je 0x446270
cmp byte [ebp + 8], bl
je 0x4462fc
lea eax, [ebp - 0x30860]
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
lea eax, [ebp - 0x30860]
push eax
je 0x446291
call edi
cmp byte [ebp + 0xc], 1
lea eax, [ebp - 0x30860]
jne 0x4462c2
cmp byte [ebp - 3], bl
jne 0x4462a4
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x4462d1
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x44630a
jmp 0x4462d5
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x4462fc
lea eax, [ebp - 0x10860]
push eax
call edi
jmp 0x4462d1
push ebx
push eax
lea eax, [ebp - 0x10860]
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
test eax, eax
je 0x4462fc
mov byte [ebp - 1], 1
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [ebp - 2]
jne 0x4461c0
mov al, bl
mov byte [ebp - 2], al
jmp 0x4461c0
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x446313
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446318
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10000
call fcn.0042f8a0
push ebx
push esi
mov edx, ecx
push 0x7fff
lea ecx, [ebp - 0x10000]
call fcn.004050e6
lea eax, [ebp - 0x10000]
push eax
call fcn.00420cdb
pop ecx
pop ecx
push 0x5c
pop ebx
test eax, eax
je 0x446362
cmp word [ebp + eax*2 - 0x10002], bx
jne 0x446362
xor ecx, ecx
mov word [ebp + eax*2 - 0x10002], cx
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4463ef
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
jne 0x446396
push 0
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
je 0x44639b
mov al, 1
jmp 0x4463f5
cmp eax, 3
jne 0x4463f3
lea ecx, [ebp - 0x10000]
call fcn.0041c6f4
mov esi, eax
push ebx
push esi
call fcn.004224e6
pop ecx
pop ecx
test eax, eax
jne 0x4463be
push esi
call fcn.0041f55e
pop ecx
jmp 0x4463f3
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
call fcn.00446318
push esi
mov bl, al
call fcn.0041f55e
pop ecx
test bl, bl
je 0x4463eb
push 0
lea eax, [ebp - 0x10000]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
setne bl
mov al, bl
jmp 0x4463f5
test al, 0x10
jne 0x446392
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x4463f9
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10460
call fcn.0042f8a0
push ebx
lea eax, [esp + 0x464]
push esi
xor ebx, ebx
push eax
mov edx, 0x7fff
mov byte [esp + 0x13], bl
call fcn.00446ebb
pop ecx
lea ecx, [esp + 0x468]
call fcn.004472cb
test al, al
je 0x446448
lea eax, [esp + 0x468]
push 0x4b3744
push eax
call fcn.00420cf4
pop ecx
pop ecx
push ebx
push ebx
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x478]
push eax
call fcn.00421dfc
add esp, 0x14
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x46c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov al, 1
mov byte [esp + 0xe], al
cmp esi, 0xffffffff
je 0x446501
cmp al, 1
jne 0x446501
test byte [esp + 0x18], 0x10
jne 0x4464e5
mov byte [esp + 0xf], al
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x46c]
push eax
call fcn.00420d23
lea eax, [esp + 0x270]
push eax
lea eax, [esp + 0x474]
push eax
call fcn.00420cf4
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x47c]
push eax
call fcn.00420cf4
add esp, 0x18
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x446505
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
mov al, byte [esp + 0xe]
jne 0x446487
mov al, bl
mov byte [esp + 0xe], al
jmp 0x446487
mov bl, byte [esp + 0xf]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d0b8
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50000
call fcn.0042f8a0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20004]
push eax
push 0x7fff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
test eax, eax
je 0x44d215
push ebx
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push str.___s
push eax
call fcn.0042172b
lea eax, [ebp - 0x10004]
push eax
call fcn.00420cdb
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x10006], 0x5c
jne 0x44d130
cmp word [ebp + ebx*2 - 0x10008], 0x3a
je 0x44d130
xor eax, eax
mov word [ebp + ebx*2 - 0x10006], ax
push edi
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x44d14a
cmp byte [ebp + 0x10], al
je 0x44d206
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44d1fd
push 0x2fffa
lea eax, [ebp - 0x50000]
push 0
push eax
call fcn.00420d50
lea eax, [ebx + ebx]
mov word [ebp - 0x4fff6], ax
mov eax, dword [ebp - 0x4fff6]
add eax, 2
mov word [ebp - 0x4fff4], ax
push 0x7fff
lea eax, [ebp - 0x10004]
push eax
lea eax, [ebp - 0x4fff0]
push eax
mov dword [ebp - 0x50000], 0xa0000003
call fcn.004223ac
mov eax, dword [ebp - 0x4fff6]
add esp, 0x18
add eax, 0xc
xor edx, edx
push edx
mov word [ebp - 0x4fffc], ax
lea ecx, [ebp + 8]
push ecx
push edx
movzx eax, ax
push edx
add eax, 8
push eax
lea eax, [ebp - 0x50000]
push eax
push 0x900a4
push edi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push edi
test eax, eax
jne 0x44d20a
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
xor eax, eax
jmp 0x44d213
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret 0xc
Function at 0x11b01310
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x11b90138
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x14]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [esp + 0x10]
push ecx
push eax
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
jne 0x11b0148a
push ebx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x11b01ae0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call edi
push 0x7f00
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
call dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov edx, dword [esp + 0x38]
mov esi, eax
mov ecx, esi
and ecx, 0xffff
push ecx
push edx
push str._CBaseWindow::RegisterWndClass__lpszClassName__s__regist__u_
push 0x11ba3170
push 4
push 0x11bb2dbc
call fcn.11b3bd80
mov eax, dword [esp + 0x50]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x18
push eax
call edi
cmp si, bx
jne 0x11b0148a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x11ba6fb0]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x48], ebx
push edx
push eax
lea eax, [esp + 0x14]
push str.RegisterClassEx_Failed_Err__08x_._Window_Class_Name:__s
push eax
call fcn.11b7e73d
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
push str.CBaseWindow::RegisterWndClass_strMsg__s_
push 0x11ba3170
push 4
push 0x11bb2dbc
call fcn.11b3bd80
mov edx, dword [esp + 0x20]
add esp, 0x14
push edx
call edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x48], 0xffffffff
call fcn.11b819eb
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x11b04fd0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11b90268
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
mov ebx, ecx
je 0x11b05128
lea eax, [ebx + 0xd8]
mov ecx, 0x127
mov edi, eax
push eax
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebx + 0x3c]
call fcn.11b2b9f0
mov ecx, dword [ebx + 0x350]
mov eax, dword [ebx + 0x34c]
mov edx, dword [ebx + 0x354]
mov dword [ebx + 0x48], ecx
lea ecx, [ebx + 0x2e0]
mov dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x348]
push ecx
lea ecx, [ebx + 0x40]
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x14], eax
call fcn.11b2b9f0
lea esi, [ebx + 0xd4]
lea edx, [ebx + 0x36c]
push edx
mov ecx, esi
call fcn.11b2b9f0
mov eax, dword [0x11ba6fb0]
mov dword [esp + 0x1c], eax
mov ecx, dword [ebx + 0x358]
mov edx, dword [ebx + 0x364]
push ecx
push edx
lea eax, [esp + 0x24]
push str.ShowProcTypeIcon__d__dwTypeIcon__d_
push eax
mov dword [esp + 0x24], 0
call fcn.11b7e73d
mov ecx, dword [esp + 0x2c]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x11b050c6
mov edx, dword [ebx + 4]
push edx
call fcn.11b8370c
mov edi, eax
test edi, edi
je 0x11b050c6
mov eax, dword [ebx + 0x98]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x11b050c6
mov esi, dword [esi]
push 0
push edi
push esi
lea ecx, [ebx + 0x7c]
call fcn.11b7f5e4
mov eax, dword [ebx + 0x35c]
mov cl, byte [ebx + 0x344]
test eax, eax
mov byte [ebx + 0x18], cl
jne 0x11b050e3
mov dword [ebx + 0x35c], 0xa
mov eax, dword [ebx + 0x360]
test eax, eax
je 0x11b050f6
mov dword [ebx + 0x74], 0x14
jmp 0x11b050fd
mov dword [ebx + 0x74], 0
mov eax, dword [ebx + 0x364]
test eax, eax
je 0x11b05110
mov dword [ebx + 0x78], 0x10
jmp 0x11b05117
mov dword [ebx + 0x78], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.11b819eb
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4
Function at 0x11b0ba20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11b909b0
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x24]
push esi
xor esi, esi
test ebx, ebx
je 0x11b0bb46
cmp dword [ebx], 1
jne 0x11b0bb2b
push edi
lea edi, [ecx + 0x18]
mov ecx, 0xd6
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x28c]
mov eax, dword [ebx + 0x288]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], ecx
push str._Y__m__d__H:_M:_S
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
call fcn.11b12b21
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x28], 0
call fcn.11b2aea0
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.11b819eb
mov edx, dword [ebx + 0x280]
lea eax, [ebx + 0x290]
lea ecx, [ebx + 0x2f4]
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
lea ecx, [ebx + 0x14]
push eax
mov eax, dword [ebx + 0xc]
lea edx, [ebx + 0x21c]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 8]
push eax
mov eax, dword [ebx + 0x10]
push ecx
push edx
push eax
push 0x3f
push str._CPolicyMgr::SetSafeDocWMData__Line:_d__Flag__08x__Color__08x__Size__d__Transparency__d__FontName__s__Content__s__Time__s__IP__08x__UserName__s__HostName__s_
push 0x11ba3170
push 4
push 0x11bb2dbc
call fcn.11b3bd80
add esp, 0x3c
lea ecx, [esp + 0x2c]
mov esi, 1
mov dword [esp + 0x24], 0xffffffff
call fcn.11b2b710
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push 0x32
push str._CPolicyMgr::SetSafeDocWMData__Line__d__Data_is_not_valid...
push 0x11ba3170
push 4
push 0x11bb2dbc
call fcn.11b3bd80
add esp, 0x14
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x11b0d4c0
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x11b90b80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x11ba6fb0]
push esi
xor esi, esi
mov dword [esp + 4], eax
push str.TEC_OCULAR_SHAREMEM_FLOATTIP
lea ecx, [esp + 8]
push str.Global_s
push ecx
mov dword [esp + 0x4c], esi
call fcn.11b7e73d
add esp, 0xc
lea ecx, [esp + 8]
call fcn.11b3a5d0
mov edx, dword [esp + 4]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0x44], 1
call fcn.11b81b82
lea ecx, [esp + 8]
call fcn.11b3ac50
test eax, eax
je 0x11b0d5a1
push edi
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.11b3af00
push esi
lea ecx, [esp + 0x10]
call fcn.11b3af50
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
call fcn.11b3af30
lea ecx, [esp + 0xc]
call fcn.11b3acd0
lea ecx, [esp + 0xc]
mov esi, 1
mov byte [esp + 0x44], 0
call fcn.11b3a770
lea ecx, [esp + 8]
mov dword [esp + 0x44], 0xffffffff
call fcn.11b819eb
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret 8
push str.Open_MapFile_Failed...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 8]
mov byte [esp + 0x40], 0
call fcn.11b3a770
lea ecx, [esp + 4]
mov dword [esp + 0x40], 0xffffffff
call fcn.11b819eb
mov ecx, dword [esp + 0x38]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x40
ret 8
Function at 0x11b29c00
Capabilities:
Extract resource via kernel32 functions
Print debug messages

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x10]
and ebp, 0xf
shr eax, 4
inc eax
push edi
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11b29c59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11b29c59
xor edi, edi
xor ebx, ebx
mov bx, word [esi]
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp ebp, edi
je 0x11b29c60
inc edi
lea esi, [esi + ebx*2]
cmp edi, 0x10
jl 0x11b29c3d
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov edx, ecx
xor eax, eax
mov edi, ebp
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec eax
push eax
push ebp
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x11b29c5b
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
pop edi
dec ecx
pop esi
pop ebp
mov eax, ecx
pop ebx
ret

Function at 0x11b2f730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push esi
push edi
mov esi, dword [esp + 0xc]
mov edi, eax
shr eax, 4
and edi, 0xf
inc eax
and eax, 0xffff
push ecx
push eax
push 6
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x11b2f780
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x11b2f780
xor ecx, ecx
xor eax, eax
mov ax, word [esi]
add esi, 2
cmp edi, ecx
je 0x11b2f785
inc ecx
lea esi, [esi + eax*2]
cmp ecx, 0x10
jl 0x11b2f76b
pop edi
xor eax, eax
pop esi
ret
mov edx, dword [esp + 0x1c]
lea ecx, [edx - 1]
cmp eax, ecx
jle 0x11b2f792
mov eax, ecx
lea edx, [eax + eax]
push ebx
mov ebx, dword [esp + 0x1c]
mov ecx, edx
push ebp
mov ebp, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov word [edx + ebx], 0
pop ebx
pop edi
pop esi
ret

Function at 0x11b3a370
Capabilities:
Create thread
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x11b3a3c0
lea eax, [esi + 4]
push eax
push 4
push esi
push 0x11b3a590
push 0
push 0
call fcn.11b15606
add esp, 0x18
mov dword [esi + 8], eax
test eax, eax
je 0x11b3a3c0
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0xc], 1
test ecx, ecx
je 0x11b3a3af
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x11b3a410
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x11b3a424
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 8]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x11b3a471
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x11b3a8f0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11b92098
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov eax, dword [esi + 0x20]
xor edi, edi
xor ebp, ebp
cmp eax, ebx
je 0x11b3a922
call fcn.11b5d510
mov ebp, eax
mov eax, dword [esi + 0x18]
mov ecx, 0xc0000000
cmp eax, ebx
je 0x11b3a933
mov ecx, SysReAllocStringLen
mov eax, dword [esi + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
cmp dword [eax - 8], ebx
je 0x11b3a988
push ebx
push 0x80
push 3
push ebp
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
je 0x11b3a96e
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp dword [esi + 4], 0xffffffff
je 0x11b3aab4
cmp dword [esp + 0x18], ebx
jne 0x11b3a988
cmp dword [esp + 0x14], ebx
je 0x11b3aab4
mov eax, dword [esi + 0x18]
mov edi, 4
cmp eax, ebx
je 0x11b3a999
mov edi, 2
lea ebx, [esi + 0x28]
lea ecx, [esp + 0x10]
push ebx
call fcn.11b81758
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x24], 0
test eax, eax
je 0x11b3a9df
mov edx, dword [ebx]
mov eax, dword [edx - 8]
test eax, eax
je 0x11b3a9df
call fcn.11b3e2e0
test eax, eax
je 0x11b3a9df
push 0x11bab0c0
lea ecx, [esp + 0x14]
call fcn.11b81b82
push ebx
lea ecx, [esp + 0x14]
call fcn.11b81e18
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esi + 4]
push eax
mov eax, dword [esi + 0x10]
push eax
push 0
push edi
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
mov dword [esi + 8], eax
je 0x11b3aa8e
mov edx, dword [esi + 0x18]
mov ecx, 6
test edx, edx
je 0x11b3aa1b
mov ecx, 4
mov edx, dword [esi + 0x10]
push edx
mov edx, dword [esi + 0x14]
push edx
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 0xc], eax
je 0x11b3aa8e
mov eax, dword [esi + 0x10]
mov ebp, 1
test eax, eax
jne 0x11b3aa69
mov eax, dword [esi + 4]
or ebx, 0xffffffff
cmp eax, ebx
je 0x11b3aa6c
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
xor edi, edi
sub ecx, edx
sbb eax, edi
test eax, eax
jle 0x11b3aa64
mov dword [esi + 0x10], ebx
jmp 0x11b3aa6c
mov dword [esi + 0x10], ecx
jmp 0x11b3aa6c
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], ebx
call fcn.11b819eb
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.11b819eb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret