joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485eb0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword [esi + 4]
test eax, eax
je 0x485ebc
xor eax, eax
ret 8
push ebx
xor ebx, ebx
push edi
lea ecx, [esi + 8]
push ecx
mov dword [esi + 4], 1
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov dword [esi + 0x28], edx
cmp eax, ebx
je 0x485f00
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
push ebx
push 4
push esi
push 0x485f60
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x485f3f
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push ebx
push ebx
push esi
call ebp
push eax
push edi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
xor eax, eax
cmp dword [esi], ebx
pop edi
setne al
pop ebx
ret 8
Function at 0x48eb50
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
push 0xffffffffffffffff
push str.wnd_calendar
call dword [sym.imp.soui.dll_public:_class_SOUI::SWindow____thiscall_SOUI::SWindow::FindChildByName_wchar_t_const___int_]
mov esi, eax
test esi, esi
je 0x48eb7e
mov edi, dword [esi]
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCalendar::GetClassNameW_void_]
push eax
mov eax, dword [edi + 4]
mov ecx, esi
call eax
test eax, eax
je 0x48eb7e
pop edi
mov eax, esi
pop esi
ret
push ebp
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingletonPtr_void_]
test eax, eax
je 0x48eb9b
call dword [sym.imp.soui.dll_public:_static_class_SOUI::SApplication____cdecl_SOUI::SSingleton_class_SOUI::SApplication_::getSingleton_void_]
mov ecx, eax
call dword [sym.imp.soui.dll_public:_struct_SOUI::ILog4zManager____thiscall_SOUI::SApplication::GetLogManager_void_]
mov ebp, eax
jmp 0x48eb9d
xor ebp, ebp
push ebx
push 0x2800
call fcn.00580919
push 0x5000
mov edi, eax
call fcn.00580919
add esp, 8
push 0xffffffffffffffff
push str.wnd_calendar
mov esi, eax
call dword [sym.imp.soui.dll_public:_static_wchar_t_const____cdecl_SOUI::SCalendar::GetClassNameW_void_]
push eax
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.00580c67
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
cmp eax, 0x2800
jae 0x48ec09
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push esi
push 0
push 0
call ebx
push esi
call fcn.005805ae
add esp, 4
pop ebx
test ebp, ebp
je 0x48ec60
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push 1
push 0
mov ecx, ebp
call eax
test al, al
je 0x48ec60
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push edi
push str.soui
push 1
push 0
mov ecx, ebp
call edx
push edi
call fcn.005805ae
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
ret
push 0x2800
call fcn.00580919
push 0x20e
push str.d:winappsdr_trunk_thirdparty_soui_master_souiincludecoreSWnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.00580ab9
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.005805ae
add esp, 4
push edi
call fcn.005805ae
add esp, 4
pop ebp
pop edi
xor eax, eax
pop esi
ret

Function at 0x4910f0
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x6383b8
call fcn.00589f50
add esp, 0xc
push 0x8000
push 0x6383b8
push str.SystemDrive
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x49112a
cmp eax, 0x8000
ja 0x49112a
mov eax, 0x6383b8
ret
xor eax, eax
ret
Function at 0x494dd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esi + 0x640]
push ebx
dec eax
cmp dword [esi + 0x644], eax
push edi
push 1
lea ebx, [esp + 0xe]
mov eax, esi
jne 0x494df9
mov byte [esp + 0xe], 0x86
call fcn.00494d10
add esp, 4
jmp 0x494e23
mov byte [esp + 0xe], 6
mov byte [esp + 0xf], 0x80
call fcn.00494d10
mov ecx, dword [esi + 0x640]
dec ecx
push 1
lea ebx, [esp + 0x13]
mov dword [esi + 0x644], ecx
call fcn.00494d10
add esp, 8
xor eax, eax
cmp dword [esi + 0x640], eax
jbe 0x494e50
lea ecx, [ecx]
mov edx, dword [esi + 0x648]
mov edi, dword [esi + 0x640]
xor edx, eax
mov dl, byte [edx + esi]
lea ecx, [eax + esi]
inc eax
mov byte [ecx + edi], dl
cmp eax, dword [esi + 0x640]
jb 0x494e30
mov eax, dword [esi + 0x640]
pop edi
add eax, esi
pop ebx
pop ecx
ret

Function at 0x495650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
push 0x5f8b88
push eax
call fcn.005884a9
mov edi, eax
add esp, 8
test edi, edi
je 0x4956ac
push 2
push 0
push edi
call fcn.00582a0f
add esp, 0xc
push edi
call fcn.00585a85
add esp, 4
push edi
mov ebx, eax
call fcn.00587117
add esp, 4
call fcn.00524d80
test eax, eax
je 0x4956b3
xor esi, esi
push esi
call fcn.004ab490
add esp, 4
push edi
call fcn.00582ea2
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jle 0x4956cc
mov eax, ebx
cdq
mov ecx, eax
or ecx, edx
je 0x4956cc
push edx
push eax
call fcn.004ab330
add esp, 8
jmp 0x4956ce
xor eax, eax
mov esi, eax
test esi, esi
je 0x49569a
push edi
push 1
push ebx
push esi
call fcn.00585db0
add esp, 0x10
cmp eax, 1
jne 0x49569a
mov edx, dword [ebp + 8]
push fcn.004ab490
push ebx
push esi
push edx
call fcn.004d14a0
add esp, 0x10
push edi
call fcn.00582ea2
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495a10
Capabilities:
Timestomp file
Write file on windows

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
mov esi, dword [esp + 0x70]
mov eax, esi
and eax, 0xf000
push edi
cmp eax, 0x4000
jne 0x495ab3
mov ebx, dword [esp + 0x6c]
push ebx
call fcn.00588513
add esp, 4
test eax, eax
je 0x495b70
call fcn.005877bc
cmp dword [eax], 0x11
jne 0x495aa6
lea ecx, [esp + 0x30]
push ecx
push ebx
call fcn.005894a3
add esp, 8
test eax, eax
jne 0x495aa6
lea edi, [esp + 0x30]
mov ecx, ebx
call fcn.00495810
mov eax, dword [esp + 0x36]
mov edx, eax
and edx, 0xf000
cmp edx, 0x4000
jne 0x495aa6
xor eax, esi
test eax, 0x1ff
je 0x495b70
and esi, 0x1ff
push esi
push ebx
call fcn.00587b65
add esp, 8
test eax, eax
je 0x495b70
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [esp + 0x6c]
xor edi, edi
push 0x5f8b8c
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], edi
call fcn.005884a9
mov esi, eax
add esp, 8
cmp esi, edi
je 0x495aa6
push ebp
call fcn.004d0ff0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x495b1c
push esi
push ecx
push ebp
call fcn.004d1050
add esp, 8
push eax
push 1
push ebx
call fcn.00582903
push ebp
mov ebx, eax
call fcn.004d1050
cdq
mov edi, eax
add esp, 0x14
mov dword [esp + 0x1c], edx
cmp edi, ebx
jne 0x495b14
xor eax, eax
cmp edx, eax
je 0x495b1c
mov dword [esp + 0x10], 1
push esi
call fcn.00582ea2
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x495b4c
mov eax, dword [esp + 0x74]
test ax, ax
je 0x495b59
mov ecx, dword [esp + 0x6c]
and eax, 0x1ff
push eax
push ecx
call fcn.00587b65
add esp, 8
test eax, eax
je 0x495b59
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
push edx
push edi
push eax
call fcn.004d1620
mov ebx, dword [esp + 0x78]
add esp, 0xc
cmp dword [esp + 0x7c], 0
jl 0x495c42
mov esi, dword [esp + 0x78]
jg 0x495b89
test esi, esi
jb 0x495c42
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, esi
cdq
push 0
add eax, 0xb6109100
push 0x989680
adc edx, 2
push edx
push eax
call fcn.0058da40
mov ecx, edx
mov dword [esp + 0x18], eax
sar ecx, 0x1f
mov dword [esp + 0x1c], edx
call fcn.00524d80
test eax, eax
jne 0x495aa6
push ebx
call fcn.004b0360
mov edi, eax
add esp, 4
test edi, edi
je 0x495aa6
push 0
push 0x2000000
push 3
push 0
push 0
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
mov esi, eax
call fcn.004ab490
add esp, 4
cmp esi, 0xffffffff
je 0x495aa6
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
test edi, edi
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret
Function at 0x499a00
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push ebx
push 0x633030
mov eax, str.expert
call fcn.0050ff10
mov edi, dword [ebx + 4]
push ebp
lea eax, [esp + 0x1c]
push eax
push ebp
push 0x80
push 0xffffffffffffffff
push str.SELECT_type__name__sql__1_FROM_sqlite_master_WHERE_type_IN__table_view__AND_name_NOT_LIKE_sqlite_____UNION_ALL_SELECT_type__name__sql__2_FROM_sqlite_master_WHERE_type__trigger__AND_tbl_name_IN_SELECT_name_FROM_sqlite_master_WHERE_type__view__ORDER_BY_4__1
mov eax, edi
mov dword [esp + 0x30], ebp
call fcn.00501540
mov esi, eax
add esp, 0x24
cmp esi, ebp
je 0x499a66
push edi
mov dword [esp + 0x10], ebp
call fcn.005270e0
push eax
push 0x5f7c60
call fcn.004ad880
mov edi, dword [esp + 0x2c]
add esp, 0xc
mov dword [edi], eax
jmp 0x499a6e
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0xc]
test esi, esi
jne 0x499bce
jmp 0x499a84
mov ebp, dword [esp + 0xc]
push ebp
call fcn.004d1cc0
add esp, 4
cmp eax, 0x64
jne 0x499bce
push 0
push ebp
call fcn.004d2500
push 1
push ebp
mov esi, eax
call fcn.004d2500
mov ecx, dword [esp + 0x1c]
mov ebp, eax
push 2
push ecx
mov dword [esp + 0x30], ebp
call fcn.004d2500
add esp, 0x18
cmp byte [esi], 0x76
je 0x499bae
cmp byte [esi + 1], 0x72
je 0x499bae
mov eax, dword [ebx + 4]
push edi
lea edx, [esp + 0x18]
push edx
push ebp
push eax
call fcn.004983f0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x10], esi
test esi, esi
jne 0x499bca
mov ecx, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
push str.CREATE_TABLE_x_
push eax
lea edx, [esp + 0x18]
mov dword [edi + 0xc], ecx
push edx
mov dword [ebx + 0x10], edi
call fcn.00498750
add esp, 0xc
cmp dword [edi], esi
jle 0x499b51
mov edx, 0x5e1790
test esi, esi
je 0x499b23
mov edx, 0x5f8ecc
mov ebp, dword [edi + 8]
lea ecx, [esi + esi*2]
lea ecx, [ebp + ecx*4]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx]
push ebp
push ecx
push edx
push str._s_Q_COLLATE__s
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00498750
inc esi
add esp, 0x18
cmp esi, dword [edi]
jl 0x499b15
mov ebp, dword [esp + 0x18]
push 0x5f8a98
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00498750
mov edi, eax
push edi
push ebp
push str.CREATE_VIRTUAL_TABLE__Q_USING_expert__Q_
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00498750
mov esi, dword [esp + 0x30]
add esp, 0x20
mov ebp, eax
test esi, esi
jne 0x499b99
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
push edx
push esi
push esi
push ebp
push eax
call fcn.004fc670
add esp, 0x14
mov esi, eax
push edi
call fcn.004ab490
push ebp
call fcn.004ab490
mov edi, dword [esp + 0x28]
add esp, 8
jmp 0x499bc2
mov ecx, dword [ebx + 0xc]
push edi
push 0
push 0
push eax
push ecx
call fcn.004fc670
add esp, 0x14
mov esi, eax
test esi, esi
je 0x499a80
mov ebp, dword [esp + 0xc]
push ebp
call fcn.004d0dd0
add esp, 4
test esi, esi
je 0x499bdd
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x499e60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
xor edi, edi
push edi
lea eax, [esp + 0x14]
push eax
push edi
push 0x80
push 0xffffffffffffffff
push str.SELECT_max_i.seqno__FROM___sqlite_master_AS_s____pragma_index_list_s.name__AS_l____pragma_index_info_l.name__AS_i_WHERE_s.type__table
mov eax, ebx
mov dword [esp + 0x28], edi
mov dword [ebp], edi
call fcn.00501540
mov esi, eax
add esp, 0x18
cmp esi, edi
je 0x499eb2
push ebx
call fcn.005270e0
add esp, 4
push eax
push 0x5f7c60
call fcn.004ad880
mov ecx, dword [esp + 0x1c]
add esp, 8
mov dword [ecx], eax
jmp 0x499eb6
mov edi, dword [esp + 0x10]
test esi, esi
jne 0x499ed6
push edi
call fcn.004d1cc0
add esp, 4
cmp eax, 0x64
jne 0x499ed6
push esi
push edi
call fcn.004d2400
add esp, 8
inc eax
mov dword [ebp], eax
push edi
call fcn.004d0dd0
add esp, 4
test esi, esi
je 0x499ee5
mov eax, esi
pop edi
pop esi
pop ebp
ret
Function at 0x49a920
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
xor edi, edi
call fcn.00524d80
test eax, eax
je 0x49aa3a
xor esi, esi
mov edi, 7
test edi, edi
jne 0x49aa68
mov eax, dword [ebp + 8]
push edi
mov dword [esi + 4], eax
lea eax, [esi + 0xc]
push 6
push eax
push str.:memory:
mov dword [esi], 0x64
call fcn.00527c00
add esp, 0x10
test eax, eax
jne 0x49aa68
push eax
push 6
lea edi, [esi + 8]
push edi
push str.:memory:
call fcn.00527c00
add esp, 0x10
test eax, eax
jne 0x49aa68
mov ecx, dword [edi]
push eax
push 1
push 0x3f0
push ecx
call fcn.005255b0
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 4]
push str.SELECT_sql_FROM_sqlite_master_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_CREATE_VIRTUAL___
push edx
push eax
lea ebx, [esp + 0x28]
call fcn.00497df0
mov ebx, eax
add esp, 0x1c
test ebx, ebx
jne 0x49a9f8
jmp 0x49a9c0
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004d1cc0
add esp, 4
cmp eax, 0x64
jne 0x49a9f8
mov edx, dword [esp + 0xc]
push 0
push edx
call fcn.004d2500
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi]
push ecx
push 0
push 0
push eax
push edx
call fcn.004fc670
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x49a9c0
mov eax, dword [esp + 0xc]
push eax
call fcn.004d0dd0
add esp, 4
test ebx, ebx
jne 0x49aa68
test eax, eax
jne 0x49aa68
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, esi
call fcn.00499a00
add esp, 4
test eax, eax
jne 0x49aa68
mov edx, dword [esi + 0xc]
push esi
push 0x499630
push edx
call fcn.004eb180
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x1030
call fcn.004ab330
mov esi, eax
add esp, 8
test esi, esi
je 0x49a93b
push 0x1030
push 0
push esi
call fcn.00589f50
add esp, 0xc
jmp 0x49a940
call fcn.0049ad20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49d170
Capabilities:
Reference sql statements

Disassembly:
push ecx
mov ecx, dword [edi]
push esi
lea eax, [esp + 4]
push eax
push 0
push 0
push str.SAVEPOINT_selftest_init__nCREATE_TABLE_IF_NOT_EXISTS_selftest__n__tno_INTEGER_PRIMARY_KEY__n__op_TEXT__n__cmd_TEXT__n__ans_TEXT_n__CREATE_TEMP_TABLE___shell_self__op_cmd_ans___nINSERT_INTO___shell_self__rowid_op_cmd__n__VALUES_coalesce__SELECT__max_tno_100__10_FROM_selftest__10___n_________memo_Tests_generated_by___init___nINSERT_INTO___shell_self__n__SELECT_run__n____SELECT_hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____n____hex_sha3_query_SELECT_type_name_tbl_name_sql_FROM_sqlite_master_ORDER_BY_2_224____nINSERT_INTO___shell_self__n__SELECT_run_____SELECT_hex_sha3_query_SELECT__FROM___________printf__w_name_____NOT_INDEXED_224____n____hex_sha3_query_printf_SELECT__FROM___w__NOT_INDEXED_name__224___n__FROM___n____SELECT_name_FROM_sqlite_master_n_____WHERE_typetable_n_______AND_name__selftest_n_______AND_coalesce_rootpage_0__0_n____n_ORDER_BY_name__nINSERT_INTO___shell_self__n__VALUES_run_PRAGMA_integrity_check_ok___nINSERT_INTO_selftest_tno_op_cmd_ans___SELECT_rowid10_op_cmd_ans_FROM___shell_self___nDROP_TABLE___shell_self__
push ecx
mov dword [esp + 0x18], 0
call fcn.004fc670
mov esi, dword [esp + 0x18]
add esp, 0x14
test esi, esi
je 0x49d1bb
push ebx
push esi
push str.SELFTEST_initialization_failure:__s_n
call fcn.00587376
mov ebx, eax
add ebx, 0x40
call fcn.004904d0
push esi
call fcn.004ab490
add esp, 0xc
pop ebx
mov edx, dword [edi]
push 0
push 0
push 0
push str.RELEASE_selftest_init
push edx
call fcn.004fc670
add esp, 0x14
pop esi
pop ecx
ret
Function at 0x49f3c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push edi
push 2
push 0
push esi
call fcn.00582a0f
push esi
call fcn.00585a85
push esi
mov ebx, eax
call fcn.00587117
lea eax, [ebx + 1]
cdq
add esp, 0x14
mov edi, eax
mov dword [esp + 0xc], edx
call fcn.00524d80
test eax, eax
jne 0x49f43a
mov eax, dword [esp + 0xc]
mov ecx, edi
or ecx, eax
je 0x49f43a
push eax
push edi
call fcn.004ab330
mov edi, eax
add esp, 8
test edi, edi
je 0x49f43a
push esi
push 1
push ebx
push edi
call fcn.00585db0
push esi
mov dword [esp + 0x1c], eax
call fcn.00582ea2
add esp, 0x14
cmp dword [esp + 8], 1
je 0x49f442
push edi
call fcn.004ab490
add esp, 4
xor eax, eax
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi + ebx], 0
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49f450
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x68
mov eax, dword [0x62f570]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push esi
push 0x5f8b88
push edi
call fcn.005884a9
mov esi, eax
add esp, 8
xor ebx, ebx
test esi, esi
jne 0x49f4be
cmp dword [esp + 0x74], ebx
je 0x49f4a8
push ebx
push 0x5e49c4
push edi
push str._.zip
call fcn.004f4740
add esp, 0x10
test eax, eax
jne 0x49f4a8
lea eax, [esi + 3]
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0057ffd2
add esp, 0x68
ret
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0057ffd2
add esp, 0x68
ret
push ebp
push 2
push 0xffffffffffffffe7
push esi
call fcn.00582a0f
push esi
push 1
lea eax, [esp + 0x20]
push 0x19
push eax
call fcn.00585db0
add esp, 0x1c
cmp eax, 1
jne 0x49f511
mov eax, 0x11
mov ecx, str.Start_Of_SQLite3_
lea edx, [esp + 0xc]
mov edi, edi
mov ebp, dword [edx]
cmp ebp, dword [ecx]
jne 0x49f511
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x49f4f0
mov cl, byte [ecx]
cmp cl, byte [edx]
jne 0x49f511
mov ebx, 2
jmp 0x49f575
push 2
push 0xffffffffffffffea
push esi
call fcn.00582a0f
push esi
push 1
lea edx, [esp + 0x20]
push 0x16
push edx
call fcn.00585db0
add esp, 0x1c
cmp eax, 1
jne 0x49f54e
cmp byte [esp + 0xc], 0x50
jne 0x49f575
cmp byte [esp + 0xd], 0x4b
jne 0x49f575
cmp byte [esp + 0xe], 5
jne 0x49f575
cmp byte [esp + 0xf], 6
jmp 0x49f56e
test eax, eax
jne 0x49f575
cmp dword [esp + 0x78], ebx
je 0x49f575
push eax
push 0x5e49c4
push edi
push str._.zip
call fcn.004f4740
add esp, 0x10
test eax, eax
jne 0x49f575
mov ebx, 3
push esi
call fcn.00582ea2
mov ecx, dword [esp + 0x74]
add esp, 4
pop ebp
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0057ffd2
add esp, 0x68
ret
Function at 0x4adc20
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov dword [eax], 0
cmp dword [0x631928], 0
push esi
je 0x4adc83
mov eax, dword [0x640888]
test eax, eax
je 0x4adc50
push eax
call dword [0x631984]
add esp, 4
lea ebx, [esp + 0x10]
mov eax, 0x14
call fcn.004ab270
mov eax, dword [0x640888]
test eax, eax
je 0x4adc71
push eax
call dword [0x63198c]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4adc92
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x14
call dword [0x631954]
add esp, 4
mov esi, eax
jmp 0x4adc75
cmp dword [0x63192c], 0
je 0x4adcd6
mov eax, dword [0x631a2c]
test eax, eax
je 0x4adcb2
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x4adcd6
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x4adbf0
push 0
push 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edi
call fcn.0058023b
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x4adce6
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x4adcfe
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebp
add esp, 4
mov dword [esi + 0x10], eax
mov edx, dword [esp + 0x18]
mov dword [edx], esi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret

Function at 0x4b89b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [edi + 0x88]
push ebx
push esi
xor esi, esi
cmp eax, esi
je 0x4b89e4
mov edx, dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
mov dword [edi + 0x88], edx
mov edx, dword [eax + 8]
mov dword [ecx], eax
xor ecx, ecx
mov dword [eax + 0x10], esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
jmp 0x4b8a6c
movzx ebx, word [edi + 0x8c]
add ebx, 0x28
xor eax, eax
mov ecx, ebx
or ecx, eax
je 0x4b8a12
push eax
push ebx
call fcn.004ab330
mov esi, eax
add esp, 8
test esi, esi
je 0x4b8a12
push ebx
push 0
push esi
call fcn.00589f50
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov eax, esi
mov dword [edx], esi
test esi, esi
jne 0x4b8a51
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
mov ebx, dword [esi]
push eax
mov eax, dword [edi + 0x98]
push 0
cdq
dec ecx
push ecx
push edx
push eax
call fcn.0058da40
push edx
mov edx, dword [ebx + 0x48]
push eax
push esi
call edx
add esp, 0x10
mov eax, 7
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x28]
mov dword [esi + 8], ecx
mov edx, 0x20
mov ecx, 1
mov word [esi + 0x1c], dx
mov word [esi + 0x1e], cx
mov dword [esi + 0x14], edi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov dword [eax + 4], ecx
inc dword [edi + 0x78]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4be9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov al, byte [ebx + 0x44]
push esi
push edi
test al, al
jl 0x4beada
xor edi, edi
test al, al
jle 0x4bea74
lea eax, [ebx + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
test byte [eax + 0x1c], 0x20
je 0x4bea61
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [esi]
dec eax
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.0058da40
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
call eax
mov ebx, dword [ebp + 8]
add esp, 0x10
jmp 0x4bea66
call fcn.004b4a10
movsx ecx, byte [ebx + 0x44]
add dword [esp + 0x10], 4
inc edi
cmp edi, ecx
jl 0x4bea07
mov edx, dword [ebx + 0x74]
mov eax, dword [edx + 0x48]
test byte [eax + 0x1c], 0x20
je 0x4bead1
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov edi, dword [esi]
dec eax
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [esp + 0x20]
push 0
push eax
call fcn.0058da40
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov byte [ebx + 0x44], 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004b4a10
mov byte [ebx + 0x44], 0xff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret