joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45a13c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cb74]
cmp dword [eax + 0x30], 0
je 0x45a1e6
cmp dword [ebx + 0x94], 0
jne 0x45a1e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45a0cc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a1e0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a1a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a1e0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414584
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a1b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45aef8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45af2d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040483c
jmp 0x45af3a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45c328
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45c396
mov eax, esi
call fcn.00440914
test al, al
je 0x45c396
mov eax, dword [ebx + 0x84]
call fcn.00440614
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45c396
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xec]
test al, al
je 0x45c38a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440614
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439644
jmp 0x45c396
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045c164
pop esi
pop ebx
ret
Function at 0x4602b4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4602e2
mov eax, ebx
call fcn.00460d68
cmp dword [ebx + 0x40], 0
je 0x4602db
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x460353
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x460345
cmp dword [ebx + 8], 0
je 0x460304
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x460316
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460345
cmp dword [ebx + 8], 0
je 0x4602f7
cmp eax, 3
je 0x460329
dec eax
jne 0x4602f7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4602f7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4602f7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x460371
cmp dword [ebx + 0x14], 0xcc
je 0x460371
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046037c
pop ebx
ret
Function at 0x404f70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x536c48
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x10], ecx
mov edx, dword [edi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x48]
push eax
lea ecx, [esi + 0x48]
mov dword [esi + 0x44], edx
call dword [0x55a520]
mov dword [esp + 0x10], 0
lea ecx, [edi + 0x4c]
push ecx
lea ecx, [esi + 0x4c]
call dword [0x55a520]
mov byte [esp + 0x10], 1
mov edx, dword [edi + 0x50]
mov dword [esi + 0x50], edx
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x408860
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x53b9c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov dword [esi], vtable.Gdiplus::Image.0
xor eax, eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 8]
push ecx
push eax
push 0x26200a
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 8
Function at 0x40b0d0
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x536ad8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x5c6e9c]
test eax, eax
je 0x40b117
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov eax, dword [0x5c6e9c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x5c6e9c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0x5c7080
lea ecx, [esp + 0x10]
call sub.mfc90u.dll_CSingleLock::CSingleLock
mov dword [esp + 0x1c], 0
mov ecx, dword [0x5c6e94]
test ecx, ecx
je 0x40b15b
mov esi, ecx
call dword [sym.imp.libHSpell.module_public:_void___thiscall_Hunspell::destructor_void_]
push esi
call sub.mfc90u.dll_delete
add esp, 4
mov dword [0x5c6e94], 0
lea ecx, [esp + 8]
call sub.mfc90u.dll_CSingleLock::Unlock
mov eax, dword [0x5c6e90]
test eax, eax
je 0x40b17e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x5c6e90], 0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 8]
call sub.mfc90u.dll_CSingleLock::Unlock
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret
Function at 0x40dd70
Capabilities:
Parse credit card information

Disassembly:
movzx eax, bl
push eax
call dword [sym.imp.MSVCR90.dll_isalnum]
add esp, 4
test eax, eax
jne 0x40ddbe
cmp bl, 0x5f
je 0x40ddbe
cmp bl, 0x2f
je 0x40ddbe
cmp bl, 0x3b
je 0x40ddbe
cmp bl, 0x3f
je 0x40ddbe
cmp bl, 0x26
je 0x40ddbe
cmp bl, 0x3d
je 0x40ddbe
cmp bl, 0x25
je 0x40ddbe
cmp bl, 0x3a
je 0x40ddbe
cmp bl, 0x2e
je 0x40ddbe
cmp bl, 0x23
je 0x40ddbe
cmp bl, 0x2d
je 0x40ddbe
cmp bl, 0x2b
je 0x40ddbe
ret
mov eax, 1
ret
Function at 0x40fe80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x548c23
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40fecf
mov eax, 0x80070057
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x10]
push eax
lea ecx, [esp + 0x14]
call dword [0x55a504]
mov dword [esp + 0x60], 0
lea ecx, [esp + 0x10]
push ecx
mov edi, ebx
call fcn.0040fbe0
mov edi, eax
mov dword [esp + 0x60], 0xffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
test edi, edi
je 0x40ff23
mov eax, 0x80070490
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea edx, [esp + 0x14]
push edx
call fcn.0040f8d0
mov dword [esp + 0x60], 1
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x18]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x34], ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea eax, [ebx + 0x624]
lea edi, [esp + 0x14]
call fcn.004113c0
mov ecx, dword [ebx + 0x20]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x60], 0xffffffff
mov edx, edi
push edx
call fcn.0040ffe0
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x411850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53b8ed
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x18]
push edi
mov ecx, esi
call dword [0x55a520]
mov dword [esp + 0x10], 0
lea eax, [edi + 4]
push eax
lea ecx, [esi + 4]
call dword [0x55a520]
mov byte [esp + 0x10], 1
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
call dword [0x55a520]
mov byte [esp + 0x10], 2
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call dword [0x55a520]
mov byte [esp + 0x10], 3
mov edx, dword [edi + 0x18]
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
mov dword [esi + 0x30], edx
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov dword [esp + 0x10], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
Function at 0x414af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x543e11
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 0
mov dword [esp + 0x18], 0
jbe 0x414c17
mov ebx, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 8]
push ecx
add eax, 0x58
call fcn.00437690
mov esi, dword [eax]
cmp dword [esi + 0x88], 3
jne 0x414c02
lea edx, [esp + 0x1c]
push edx
call fcn.00414d30
mov dword [esp + 0x80], 2
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CWnd::Attach
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov byte [esp + 0x80], 3
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
push ecx
mov ecx, dword [esi + 0xa0]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str._s__t__s__s::_d_
push edx
call ebx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
add esp, 0x18
push eax
push 0
push 0x180
push ecx
call edi
mov edx, dword [esp + 0x3c]
push esi
push eax
push 0x19a
push edx
call edi
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CWnd::Detach
mov byte [esp + 0x80], 2
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x1c]
call sub.mfc90u.dll_CListBox::CListBox
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 8]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 0x74]
jb 0x414b3d
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x414e70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x538099
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
lea ecx, [esp + 0xc]
call dword [0x55a6c4]
mov dword [esp + 0x18], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push str._s__d__s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [edi + 0x118], 1
push ecx
add edi, 0x54
call fcn.00424d00
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x416640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x534279
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [0x5c6ed0]
push str.INSERT_OR_REPLACE_INTO_groupSettings_VALUES_____________
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], esi
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x18]
call esi
lea edx, [esp + 0x34]
push edx
push 2
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
push 3
lea ecx, [esp + 0x18]
call esi
mov eax, dword [ebp]
push 0xffffffffffffffff
push eax
push 4
lea ecx, [esp + 0x18]
call esi
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeNoRead_void_]
push str.position
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x41671f
mov ecx, dword [esp + 0x30]
mov eax, ebx
call fcn.00414e50
mov esi, eax
test esi, esi
je 0x41671f
mov ebp, dword [ebp]
push 0xa
push 0
push ebp
call dword [sym.imp.MSVCR90.dll_wcstol]
mov dword [esi + 0x90], eax
add esp, 0xc
mov eax, ebx
mov dword [ebx + 0x118], 1
call fcn.00412400
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x20
ret 8
Function at 0x416750
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5369b2
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [0x5c6ed0]
push str.SELECT_value_FROM_groupSettings_WHERE_name__AND_option__AND_type_
xor ebx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ebx
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x30]
call esi
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
push 2
lea ecx, [esp + 0x30]
call esi
lea eax, [esp + 0x10]
push eax
push 3
lea ecx, [esp + 0x2c]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
mov byte [esp + 0x44], 1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeAndRead_class_wtw::CString__]
test eax, eax
jne 0x41683b
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::c_str_void_const]
mov ecx, dword [esp + 0x54]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret 0xc
mov byte [esp + 0x44], bl
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov dword [esp + 0x44], 0xffffffff
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret 0xc
Function at 0x416880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x534279
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov eax, dword [0x5c6ed0]
push str.DELETE_FROM_groupSettings_WHERE_name__AND_option__AND_type__
xor edi, edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], edi
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x28], edi
mov eax, dword [ebx]
mov edi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x18]
call edi
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
push 2
lea ecx, [esp + 0x18]
call edi
lea ecx, [esp + 0x30]
push ecx
push 3
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeNoRead_void_]
push str.position
mov ecx, esi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
jne 0x41693c
mov ecx, ebx
mov eax, ebp
call fcn.00414e50
test eax, eax
je 0x41693c
mov dword [eax + 0x90], 0
mov eax, ebp
mov dword [ebp + 0x118], 1
call fcn.00412400
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
add esp, 0x20
ret 4
Function at 0x416a70
Capabilities:
Access peb ldr_data
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x536982
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x5c6ed0]
push str.SELECT_value_FROM_groupSettings_WHERE_name__AND_option__AND_type_
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::db::CCommand::constructor_class_wtw::db::CConnection___wchar_t_const__]
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov esi, dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__wchar_t_const___int_]
push 0xffffffffffffffff
push eax
push 1
lea ecx, [esp + 0x28]
call esi
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
push 0xffffffffffffffff
push eax
push 2
lea ecx, [esp + 0x28]
call esi
lea eax, [esp + 0x44]
push eax
push 3
lea ecx, [esp + 0x24]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::bind_int__int_const__]
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public:_void___thiscall_wtw::CString::constructor_void_]
mov byte [esp + 0x38], 1
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.libWTW.module_public:_long_int___thiscall_wtw::db::CCommand::executeAndRead_class_wtw::CString__]
test eax, eax
jne 0x416b62
push 0xa
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.libWTW.module_public:_wchar_t_const____thiscall_wtw::CString::c_str_void_const]
push eax
call dword [sym.imp.MSVCR90.dll_wcstol]
mov edx, dword [esp + 0x58]
add esp, 0xc
mov dword [edx], eax
mov byte [esp + 0x38], 0
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 0x10
mov byte [esp + 0x38], 0
lea ecx, [esp + 0xc]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::CString::destructor_void_]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x1c]
call dword [sym.imp.libWTW.module_public_virtual:_void___thiscall_wtw::db::CCommand::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret 0x10