joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca4ae
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x4f34f5
call fcn.004f0360
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], ebx
cmp dword [edi + 4], ebx
jne 0x4ca540
lea eax, [ebp - 0xa8]
push eax
call fcn.004ca112
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x24]
mov ecx, eax
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CPaintManagerUI::GetPaintWindow_void_const
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::Create_struct_HWND_____wchar_t_const___unsigned_long_int__unsigned_long_int__struct_tagRECT__struct_HMENU____
mov esi, dword [edi + 0x10]
mov ecx, esi
call sym.EXE_FILE_NAME_public:_int___thiscall_DuiLib::CLabelUI::GetFont_void_const
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call sym.EXE_FILE_NAME_public:_struct_DuiLib::tagTFontInfo____thiscall_DuiLib::CPaintManagerUI::GetFontInfo_int_
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], ebx
call sym.EXE_FILE_NAME_public:_bool___thiscall_DuiLib::CDuiString::IsEmpty_void_const
lea ecx, [ebp - 0x94]
mov bl, al
call sym.EXE_FILE_NAME_public:_void___thiscall_DuiLib::CDuiString::destructor_void_
mov esi, 0x6d8
test bl, bl
je 0x4ca57b
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004f031e
ret 4
Function at 0x4ca5b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call sym.EXE_FILE_NAME_public_virtual:_void___thiscall_DuiLib::CControlUI::Move_struct_tagSIZE__bool_
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x4ca634
lea eax, [ebp - 0x14]
push eax
call fcn.004ca112
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [esi + 0x6f0]
test eax, eax
je 0x4ca610
push 0
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ca634
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00490dde
leave
ret 0xc

Function at 0x4ca71d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [ebp + 0x18]
lea esi, [ebp + 8]
mov ebx, ecx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call sym.EXE_FILE_NAME_public_virtual:_void___thiscall_DuiLib::CControlUI::SetPos_struct_tagRECT__bool_
mov ecx, dword [ebx + 0x6f0]
test ecx, ecx
je 0x4ca7a1
lea eax, [ebp - 0x14]
push eax
call fcn.004ca112
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov ecx, dword [ebx + 0x6f0]
test eax, eax
je 0x4ca77d
push 0
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4ca7a1
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call sym.EXE_FILE_NAME_public:_struct_HWND______thiscall_DuiLib::CWindowWnd::operator_struct_HWND____void_const
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490dde
leave
ret 0x14
Function at 0x4d47e8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x4d4816
cmp eax, edi
jge 0x4d480a
push esi
call fcn.004d0d3b
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x4d4839
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x4d481f
mov dword [esi + 8], edx
jmp 0x4d484e
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x4d4844
xor dl, dl
jmp 0x4d4849
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x4d4839
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x4d4888
push str.zlib_corrupt
call fcn.004d0c66
add esp, 4
jmp 0x4d48c8
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x4d4898
push str.read_past_buffer
jmp 0x4d487e
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x4d48b2
push edi
push ecx
push esi
call fcn.004d72bc
add esp, 0xc
test eax, eax
je 0x4d48c8
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.004d8ea0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret
Function at 0x4d7efa
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call sym.EXE_FILE_NAME_protected:_static_class_CWndShadow____cdecl_CWndShadow::FindShadowWindow_struct_HWND____
mov ebx, dword [ebp + 0x14]
mov esi, eax
mov eax, dword [ebp + 0xc]
dec eax
pop ecx
sub eax, 1
je 0x4d80aa
sub eax, 1
je 0x4d805b
dec eax
sub eax, 1
je 0x4d7ff2
sub eax, 0xa
je 0x4d7fd7
sub eax, 9
je 0x4d7f92
sub eax, 0x6a
je 0x4d7f71
sub eax, 0x1b0
jne 0x4d80b3
test byte [esi + 0xc], 2
je 0x4d80b3
push edi
mov ecx, esi
call sym.EXE_FILE_NAME_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
jmp 0x4d80b3
push edi
call sym.EXE_FILE_NAME_protected:_static_int___cdecl_CWndShadow::GetShadowWindowIndex_struct_HWND____
pop ecx
test eax, eax
js 0x4d80b3
push 1
push eax
mov ecx, sym.EXE_FILE_NAME_class_DuiLib::CDuiValArray_CWndShadow::s_ShadowArray
call sym.EXE_FILE_NAME_public:_bool___thiscall_DuiLib::CDuiValArray::Remove_int__int_
jmp 0x4d80b3
mov al, byte [esi + 0xc]
test al, 1
je 0x4d80b3
cmp dword [ebp + 0x10], 0
jne 0x4d7fb7
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xf9
jmp 0x4d80b3
test al, 4
jne 0x4d80b3
push 8
push dword [esi + 4]
mov byte [esi + 0x18], 1
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 6
jmp 0x4d80b3
cmp byte [esi + 0x18], 0
je 0x4d80b3
push edi
mov ecx, esi
call sym.EXE_FILE_NAME_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov byte [esi + 0x18], 0
jmp 0x4d80b3
mov cl, byte [esi + 0xc]
test cl, 1
je 0x4d80b3
cmp dword [ebp + 0x10], 2
je 0x4d8047
cmp dword [ebp + 0x10], 1
je 0x4d8047
test cl, 4
je 0x4d8056
cmp bx, word [esi + 0x14]
ja 0x4d802d
mov eax, ebx
shr eax, 0x10
cmp ax, word [esi + 0x16]
ja 0x4d802d
push edi
mov ecx, esi
call sym.EXE_FILE_NAME_protected:_void___thiscall_CWndShadow::Update_struct_HWND____
mov cl, byte [esi + 0xc]
jmp 0x4d8031
mov byte [esi + 0x18], 1
test cl, 2
jne 0x4d8056
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
or byte [esi + 0xc], 2
jmp 0x4d8056
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0xc], 0xfd
mov dword [esi + 0x14], ebx
jmp 0x4d80b3
test byte [esi + 0xc], 2
je 0x4d80b3
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
xor edx, edx
push 0x15
push edx
push edx
cmp dword [esi + 0x20], edx
je 0x4d8086
mov eax, dword [ebp - 0x10]
sub eax, dword [esi + 0x28]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [esi + 0x24]
jmp 0x4d809d
movsx ecx, byte [esi + 0xf]
movsx eax, byte [esi + 0x11]
sub eax, ecx
add eax, dword [ebp - 0x10]
push eax
movsx eax, byte [esi + 0x10]
sub eax, ecx
add eax, dword [ebp - 0x14]
push eax
push edx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4d80b3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [esi + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490dde
leave
ret 0x10
Function at 0x4e5893
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x502ae0
push 0x502ad8
push str.FlsAlloc
push 0x1e
call fcn.004e57b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4e58c7
push dword [ebp + 8]
mov ecx, esi
call dword [0x4f446c]
call esi
jmp 0x4e58cd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4e5911
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x502af0
push 0x502ae8
push str.FlsGetValue
push 0x20
call fcn.004e57b1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4e5948
push dword [ebp + 8]
mov ecx, esi
call dword [0x4f446c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4e96db
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4e9778
push ebx
push esi
call fcn.004e96a4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004e95ed
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4e9725
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4e9777
push edi
push eax
call fcn.004e66a4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4e9745
call fcn.004e666a
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4e9776
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004e95ed
add esp, 0x20
test eax, eax
jne 0x4e9764
push edi
call fcn.004e666a
jmp 0x4e976c
push ebx
call fcn.004e666a
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x401c66
pop dword [ebp - 0x44]
mov eax, 0xf9f35936
add eax, 0x64cc330
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x531fd70f
add dword [ebp - 0x54], 0xfb326e3c
mov dword [ebp - 0x50], 0x6259163
sub dword [ebp - 0x50], 0xd3f2451e
mov dword [ebp - 0x4c], 0xebdd83a4
add dword [ebp - 0x4c], 0x606ec08a
mov dword [ebp - 0x48], 0x71e917a0
add dword [ebp - 0x48], 0x8e16e860
lea eax, [ebp - 0x54]
push eax
mov eax, 0x8fcb05bf
add eax, 0x70752a95
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xea8707e1
sub dword [ebp - 0x54], 0x76149e8b
mov dword [ebp - 0x50], 0xc1e2bc89
add dword [ebp - 0x50], 0x7f89a4ec
mov dword [ebp - 0x4c], 0x7845d174
sub dword [ebp - 0x4c], 0x14d66508
mov dword [ebp - 0x48], 0xef8953b4
add dword [ebp - 0x48], 0x1076ac4c
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0x28079501
sub eax, 0x27c764d5
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x37a92
push 0
call eax
mov ecx, 0x4cb8
xor ebx, ebx
add ebx, eax
mov esi, 0x407000
add esi, dword [ebp - 0x44]
mov edx, 0x2f3a7140
add edx, 0xb9425b3b
add dword [ebp - 0x18], ecx
mov edi, dword [esi]
xor edi, edx
xor dword [ebp - 8], edi
mov dword [ebx], edi
xor dword [ebp - 0x28], ecx
add ebx, 0x74cb8596
add ebx, 0x8b347a6e
add esi, 0xfe154f44
sub esi, 0xfe154f40
loop 0x401d7e
add eax, 0xa14fbe10
add eax, 0x5eb167a3
xor ebx, ebx
add ebx, eax
add eax, 0x495d0438
sub eax, 0x495d0433
mov ecx, 0x8f512634
add ecx, 0x70eed9cc
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x100027d0
Capabilities:
Get common file path
Set current directory

Disassembly:
push 0x64c
mov eax, 0x1008c4f0
call fcn.1008bdcf
mov dword [ebp - 0x658], ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x64c], edi
mov esi, 0x208
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x440]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea eax, [ebp - 0x238]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
mov dword [ebp - 0x654], 0x103
mov dword [ebp - 0x650], 0xf
test ebx, ebx
jne 0x10002839
mov esi, 0x80004003
jmp 0x1000296e
push edi
push edi
push edi
push ecx
push edi
mov edx, ebx
lea ecx, [ebp - 0x64c]
call fcn.10034a09
mov esi, eax
test esi, esi
js 0x1000296e
mov eax, dword [ebp - 0x64c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xfc]
test eax, eax
jne 0x10002872
mov esi, 0x80004005
jmp 0x1000296e
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x654]
push edx
lea edx, [ebp - 0x648]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov esi, eax
test esi, esi
js 0x1000296e
cmp dword [ebp - 0x654], 4
jbe 0x10002868
mov eax, dword [ebp - 0x64c]
lea edx, [ebp - 0x650]
push edx
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x74]
mov esi, eax
test esi, esi
js 0x1000296e
cmp dword [ebp - 0x650], 5
je 0x100028d2
cmp dword [ebp - 0x650], 3
jne 0x10002868
push ecx
mov edx, str.accdb
lea ecx, [ebp - 0x30]
call fcn.1002230b
test eax, eax
jne 0x100028fa
push ecx
mov edx, 0x100922ec
lea ecx, [ebp - 0x30]
call fcn.1002230b
test eax, eax
je 0x10002868
lea eax, [ebp - 0x440]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10002868
push esi
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x64c]
call fcn.10034a09
mov esi, eax
test esi, esi
js 0x1000296e
mov edi, dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x238]
push eax
call edi
mov esi, eax
lea eax, [ebp - 0x440]
push eax
call edi
test esi, esi
je 0x10002868
mov esi, dword [ebp - 0x658]
push dword [esi + 0x44]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [esi + 0x44], 0
lea ecx, [esi + 0x44]
push ebx
call fcn.10034a09
mov esi, eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x64c]
test eax, eax
je 0x10002985
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1008bd84
ret 4
Function at 0x10003a41
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x1008c68b
call fcn.1008bd9c
mov edi, edx
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], eax
test ebx, ebx
jne 0x10003a64
mov esi, 0x80004003
jmp 0x10003acf
test edi, edi
je 0x10003a5d
push eax
push eax
push eax
push ecx
push eax
mov edx, ebx
mov dword [edi], 1
lea ecx, [ebp - 0x10]
call fcn.10034a09
mov esi, eax
test esi, esi
js 0x10003acf
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ecx]
call dword [edx + 0xfc]
test eax, eax
jne 0x10003a97
and dword [edi], eax
jmp 0x10003acf
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10003ac8
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x10003acf
xor esi, esi
and dword [edi], esi
jmp 0x10003acf
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10003ae3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
call fcn.1008bd70
ret
Function at 0x10009fe5
Capabilities:
Hide graphical window

Disassembly:
push 8
mov eax, 0x1008ccda
call fcn.1008bd9c
mov edi, ecx
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call ebx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
mov ecx, 0xa05a
call fcn.10034a09
call fcn.1000630a
mov dword [edi + 0x38], eax
push esi
cmp dword [edi + 0x30], esi
je 0x1000a02f
call ebx
mov ecx, 0xa042
jmp 0x1000a036
call ebx
mov ecx, 0xa043
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], esi
call fcn.10034a09
push dword [ebp - 0x10]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0x515
push dword [edi + 4]
call esi
push dword [edi + 0x20]
push 0x4b5
push dword [edi + 4]
call esi
push dword [edi + 0x20]
push 0x101
push dword [edi + 4]
call esi
push dword [edi + 0x24]
push 0x3ed
push dword [edi + 4]
call esi
push dword [edi + 0x24]
push 0x4b6
push dword [edi + 4]
call esi
cmp dword [edi + 0x34], 0
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x1000a0a9
push 0x4b8
push dword [edi + 4]
call esi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1000a0c7
call fcn.10034a09
test eax, eax
jne 0x1000a0c7
cmp dword [edi + 0x38], eax
jne 0x1000a0c7
push 1
push 0x4b8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_CheckDlgButton]
push 1
push dword [edi + 4]
call esi
push 1
push eax
push 0x28
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x10]
call ebx
push dword [ebp - 0x14]
call ebx
xor eax, eax
call fcn.1008bd70
ret 0x10
Function at 0x10013570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x41c
mov eax, 0x1008d0d6
call fcn.1008bdcf
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x418], eax
xor eax, eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x414], eax
push 0x60
push eax
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.kernel32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
push 2
pop eax
test edi, edi
jne 0x100135e1
push eax
push edi
push esi
call ebx
mov edi, eax
test edi, edi
jne 0x100135e1
call fcn.10011e99
mov esi, eax
jmp 0x100136c3
push dword [ebp - 0x418]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10013604
call fcn.10011e99
jmp 0x100136b6
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x100135fa
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x1001362d
mov esi, 0x8007000e
jmp 0x100136b8
push 2
pop ecx
mul ecx
mov byte [ebp - 4], cl
test edx, edx
ja 0x100136e6
jb 0x10013648
cmp eax, 0xffffffff
ja 0x100136e6
cmp eax, 0x400
jbe 0x1001365d
push eax
lea ecx, [ebp - 0x414]
call fcn.10034a09
jmp 0x10013669
lea eax, [ebp - 0x410]
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x414], 0
je 0x10013623
push esi
push dword [ebp - 0x414]
push esi
push ebx
push 0
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x100135fa
mov eax, dword [ebp - 0x414]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x424]
push dword [ebp - 0x414]
call fcn.10034a09
mov esi, eax
test edi, edi
je 0x100136c3
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x410]
cmp dword [ebp - 0x414], eax
je 0x100136dc
lea ecx, [ebp - 0x414]
call fcn.10011e61
mov eax, esi
call fcn.1008bd84
ret 0x10
push 0x80070216
call fcn.10034a09
int3

Function at 0x10016137
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
add eax, 8
push eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.kernel32.dll_GetFileSizeEx]
test eax, eax
jne 0x10016169
call dword [sym.imp.kernel32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, ecx
jmp 0x1001616b
xor eax, eax
pop ebp
ret 0xc
Function at 0x10016f73
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x118
mov eax, 0x1008d448
call fcn.1008bdcf
mov edi, ecx
and dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x120], ebx
test ebx, ebx
jle 0x10016fab
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.10034a09
mov esi, eax
test esi, esi
js 0x100170fc
cmp dword [edi + 0xac], 0
je 0x10016fbf
lea ecx, [edi + 0xa8]
call fcn.10034a09
cmp ebx, 0x64
jle 0x10017032
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push 0
call esi
xor ebx, ebx
lea edx, [ebp - 0x120]
mov ecx, 0xa5a9
mov dword [ebp - 0x120], ebx
call fcn.10034a09
push ebx
call esi
lea edx, [ebp - 0x11c]
mov dword [ebp - 0x11c], ebx
mov ecx, 0xa5aa
call fcn.10034a09
push ecx
push dword [ebp - 0x120]
lea ecx, [edi + 0x30]
push dword [ebp - 0x11c]
call fcn.10034a09
push dword [ebp - 0x11c]
call esi
push dword [ebp - 0x120]
call esi
mov esi, 0x80004005
jmp 0x1001711a
xor eax, eax
mov dword [ebp - 0x11c], eax
test ebx, ebx
jle 0x1001711a
mov ebx, dword [ebp - 0x124]
push eax
lea ecx, [ebp + 8]
call fcn.10034a09
lea ecx, [ebp - 0x118]
push dword [eax]
call fcn.10034a09
push dword [eax]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x10017083
push dword [ebp - 0x118]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
cmp esi, 0xffffffff
jne 0x100170a8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
je 0x100170b6
cmp eax, 3
je 0x100170b6
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x100170b2
mov ebx, esi
shr ebx, 4
and ebx, 1
xor esi, esi
test esi, esi
js 0x100170fc
push dword [ebp - 0x11c]
lea ecx, [ebp + 8]
call fcn.10034a09
mov ecx, edi
test ebx, ebx
jne 0x100170d4
push ebx
push dword [eax]
call fcn.10017376
jmp 0x100170db
push dword [eax]
call fcn.100175cb
mov esi, eax
test esi, esi
js 0x100170fc
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
cmp eax, dword [ebp - 0x120]
jl 0x10017048
jmp 0x1001711a
lea ecx, [edi + 0xa8]
call fcn.10034a09
push dword [edi + 0xbc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
and dword [edi + 0xbc], 0
lea ecx, [ebp + 8]
call fcn.10019119
mov eax, esi
call fcn.1008bd84
ret 0xc