joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a870
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571f71
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x40]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov dword [edx], ecx
sub eax, ecx
mov ecx, dword [edi + 0x30]
sar eax, 1
mov dword [ecx], eax
mov dword [ebp - 0x6c], 0x5919f8
mov dword [ebp - 4], ebx
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x5c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.004114c0
mov ecx, esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ebx
call fcn.00411590
mov word [ebp - 0x1c], ax
cmp dword [ebp - 0x24], ebx
jne 0x40a8ff
mov eax, dword [ebp - 0x50]
or eax, 4
push ebx
mov ecx, esi
call fcn.004116a0
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 4]
and dword [ebp + eax - 0x58], 0xfffffffe
lea eax, [ebp + eax - 0x6c]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
lea eax, [ebp + eax - 0x6c]
push ecx
lea edx, [ebp - 0x6c]
push edx
mov dword [eax + 0x18], 6
mov dword [eax + 0x1c], ebx
call fcn.0040aab0
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + eax + 0xc]
add ecx, eax
and dl, 6
movsx eax, dl
neg eax
sbb eax, eax
not eax
test ecx, eax
je 0x40a966
lea ecx, [ebp - 0x6c]
push ecx
call fcn.0040ac70
mov edx, 0xffff
cmp ax, dx
jne 0x40a966
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x5c]
mov dword [ebp + ecx - 0x6c], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
push edx
mov dword [ebp - 0x5c], vtable.std::ios_base.0
call fcn.0050fb4a
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40b670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571528
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00411550
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x14]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.0040be60
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0050fec1
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x40b765
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.0050f492
mov eax, dword [edi + 4]
test eax, eax
je 0x40b745
cmp eax, 0xffffffff
jae 0x40b745
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x2c]
not esi
call fcn.0050f4ba
and esi, edi
je 0x40b765
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x40b773
lea ecx, [ebp + 0xc]
call fcn.0040e9b0
cmp byte [ebp + 0x18], 0
jne 0x40b781
lea ecx, [ebp + 0x14]
call fcn.0040e9b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40b7b5
cmp dword [ebp + 0x14], ecx
je 0x40b7bb
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x40b7c4
cmp dword [esp + 0x10], 0
jne 0x40b7c4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x40b7c7
cmp dword [ebp + 0x14], 0
je 0x40b78d
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x40b791
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 0x20
Function at 0x40b800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x571528
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x24]
mov edi, ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0xc], ecx
push eax
mov ecx, esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00411550
lea ecx, [esp + 0x10]
push ecx
push ecx
push eax
mov dword [esp + 0x6c], 0
mov esi, dword [esi + 0x14]
push esi
lea edx, [ebp + 0x14]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.0040be60
add esp, 0x1c
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0050ff84
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x28], edx
test eax, eax
je 0x40b8f5
push 0
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.0050f492
mov eax, dword [edi + 4]
test eax, eax
je 0x40b8d5
cmp eax, 0xffffffff
jae 0x40b8d5
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [esp + 0x2c]
not esi
call fcn.0050f4ba
and esi, edi
je 0x40b8f5
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
cmp byte [ebp + 0x10], 0
jne 0x40b903
lea ecx, [ebp + 0xc]
call fcn.0040e9b0
cmp byte [ebp + 0x18], 0
jne 0x40b911
lea ecx, [ebp + 0x14]
call fcn.0040e9b0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x40b945
cmp dword [ebp + 0x14], ecx
je 0x40b94b
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x30]
cmp dword [esp + 0x14], edx
je 0x40b954
cmp dword [esp + 0x10], 0
jne 0x40b954
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], edx
jmp 0x40b957
cmp dword [ebp + 0x14], 0
je 0x40b91d
mov eax, dword [esp + 0xc]
or dword [eax], 1
jmp 0x40b921
or dword [eax], 2
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 0x20
Function at 0x411880
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f2db
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0050fa9c
push 4
mov dword [ebp - 4], 0
call fcn.0052b764
mov edi, eax
add esp, 4
test edi, edi
je 0x4118fc
call fcn.0050f39e
mov dword [edi], eax
call fcn.0050f15d
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0050f492
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x4118f2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0050f4ba
jmp 0x4118fe
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x412a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [edi]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 8]
push esi
add eax, eax
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412a8e
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x412a5d
cmp eax, 2
jne 0x412a78
mov eax, dword [ebp - 4]
test esi, esi
je 0x412a88
test eax, eax
je 0x412a83
test al, 1
jne 0x412a78
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x412a88
mov eax, 0xd
mov esp, ebp
pop ebp
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4131d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
sub eax, 0
push ebx
je 0x4132ab
dec eax
je 0x413263
dec eax
jne 0x4132dd
lea eax, [ebp - 0x20]
push eax
call fcn.004cec10
add esp, 4
cmp dword [eax + 0x10], 0
setne bl
cmp dword [ebp - 0xc], 8
jb 0x41321c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0052b74a
add esp, 4
xor edx, edx
mov dword [ebp - 0xc], 7
mov dword [ebp - 0x10], 0
mov word [ebp - 0x20], dx
test bl, bl
je 0x4132dd
push 3
push edx
push esi
push 0x59c04c
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3c]
push eax
call fcn.004cdbc0
add esp, 4
cmp dword [eax + 0x10], 0
setne bl
cmp dword [ebp - 0x28], 8
jb 0x413288
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0052b74a
add esp, 4
xor edx, edx
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], dx
test bl, bl
je 0x4132dd
push 3
push edx
push esi
push str.firefox.exe
jmp 0x413241
cmp byte [ebp + 0xc], 0
je 0x4132ce
push esi
call fcn.004c7f00
add esp, 4
test eax, eax
sete al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
push 3
push 0
push esi
push str.iexplore.exe
jmp 0x413241
push 3
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
cmp eax, 0x20
setle al
xor ecx, ebp
pop ebx
call fcn.0052b755
mov esp, ebp
pop ebp
ret
Function at 0x417680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x417698
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4176ca
mov ecx, dword [ebp + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4176c6
cmp esi, eax
jae 0x4176ca
dec edi
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4176b8
cmp esi, eax
jb 0x4176d0
pop esi
xor eax, eax
pop edi
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x417f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576268
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push str.IDH_IMAP
push eax
call fcn.00412bd0
add esp, 8
push eax
xor ebx, ebx
push esi
mov dword [esp + 0x40], ebx
call fcn.0041a1c0
cmp dword [esp + 0x20], 8
jb 0x417f88
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0052b74a
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [esi + 0xac], ecx
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0xb4], ecx
mov word [esp + 0xc], dx
mov edx, dword [ebp + 0xc]
mov dword [esi + 0xb0], edx
mov edx, dword [ebp + 0x14]
mov dword [esi + 0xb8], edx
mov dword [esi], vtable.uibr::dialog_imap.0
mov dword [esi + 0x28], vtable.uibr::dialog_imap.1.0
mov dword [esi + 0x54], vtable.uibr::dialog_imap.2.0
mov dword [esi + 0xcc], ebx
mov eax, 7
mov dword [esi + 0xd0], eax
xor ecx, ecx
mov word [esi + 0xbc], cx
mov dword [esi + 0xec], eax
mov dword [esi + 0xe8], ebx
mov dword [esp + 0x20], eax
xor edx, edx
mov word [esi + 0xd8], dx
mov dword [esp + 0x1c], ebx
mov byte [esi + 0xf4], bl
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41b4d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 4], eax
movzx ecx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
mov esi, dword [0x5c2728]
push edi
push 0xf0
push ecx
mov edi, 1
push esi
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41b6a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b6a0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b6a0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendDlgItemMessageW]
jmp 0x41b548
mov edi, dword [ebp - 0x10c]
movzx eax, word [esi]
xor edx, edx
cmp dx, ax
je 0x41b68b
mov ecx, dword [esi + 4]
mov edi, eax
movzx eax, word [esi + 2]
mov edx, 0x403
add esi, 8
mov dword [ebp - 0x114], ecx
cmp dx, ax
jne 0x41b5d9
push 3
push esi
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x104]
push ecx
mov dword [ebp - 0x108], eax
call fcn.00423380
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x110]
push edx
mov edx, dword [ecx + 4]
push 0
push 0x143
push edi
push edx
call ebx
cmp eax, 0xffffffff
jne 0x41b5b7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x108]
lea ecx, [ebp - 0x104]
cmp eax, ecx
je 0x41b65f
push eax
call fcn.0052be85
add esp, 4
jmp 0x41b65f
mov edx, 0x1234
cmp dx, ax
jne 0x41b65f
push 3
push esi
lea ecx, [ebp - 0x108]
lea eax, [ebp - 0x104]
push ecx
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x108], eax
call fcn.00423380
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 0x104]
mov dword [ebp - 0x130], eax
cmp eax, edx
je 0x41b635
push eax
call fcn.0052be85
add esp, 4
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 0x138]
push eax
mov eax, dword [edx + 4]
push 0
push 0x40b
push edi
push eax
call ebx
cmp eax, 0xffffffff
jne 0x41b65f
mov dword [ebp - 0x10c], 0
add esi, dword [ebp - 0x114]
cmp dword [ebp - 0x10c], 0
jne 0x41b542
mov eax, dword [ebp - 0x10c]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 8
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0052b755
mov esp, ebp
pop ebp
ret 8

Function at 0x41cc20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x570af8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0041c840
push eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x70], 0
call fcn.0041c7b0
add esp, 0x10
push 0x5a90c0
lea eax, [esp + 0x30]
push eax
call fcn.00532abb
int3
Function at 0x4237c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
cmp dword [0x5c3af8], esi
jne 0x4237fe
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x4237f4
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x5c3af4], eax
mov dword [0x5c3af8], 1
mov eax, dword [0x5c3af4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42381a
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call edi
mov esi, eax
test esi, esi
jne 0x423856
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
jne 0x423849
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x423838
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
push eax
call ecx
jmp 0x423840
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
push edx
call eax
test eax, eax
je 0x423856
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
push edx
push eax
call edi
pop edi
pop esi
pop ebp
ret 8
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x4260c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579570
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5bafe0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x27
xor eax, eax
xor esi, esi
push str.SELECT_guid_FROM_guid_v1_WHERE_guid_1_
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], edi
mov ebx, edx
mov byte [ebp - 0x2d], 0
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
call fcn.00402850
mov dword [ebp - 4], esi
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x2c]
lea edi, [ebp - 0x6c]
call fcn.004696b0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 8
jb 0x42613e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0052b74a
add esp, 4
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x68]
xor edx, edx
push esi
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], dx
call fcn.00484c10
add esp, 4
push esi
call fcn.00484cc0
xor edi, edi
add esp, 4
cmp eax, edi
je 0x42617f
push eax
lea esi, [ebp - 0x48]
call fcn.004385f0
push 0x5a8c7c
mov eax, esi
push eax
call fcn.00532abb
mov ecx, ebx
call fcn.00411230
push 2
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
mov ebx, 1
mov eax, ebx
mov ecx, esi
call fcn.00486030
add esp, 0x10
cmp eax, edi
je 0x4261b8
push eax
lea esi, [ebp - 0x48]
call fcn.004385f0
push 0x5a8c7c
mov ecx, esi
push ecx
call fcn.00532abb
cmp esi, edi
je 0x4261c4
movzx eax, word [esi + 0x30]
cmp eax, ebx
je 0x42621d
push 0xb
push str.uibr::error
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], 0
call fcn.00402e40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x50], 0x10
jb 0x4261f3
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x34], edx
jmp 0x4261f9
lea eax, [ebp - 0x64]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0052b87d
push 0x5a8c3c
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.uibr::error.0
mov dword [ebp - 0x38], edi
call fcn.00532abb
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
push eax
lea edi, [ebp - 0x3c]
call fcn.004c3dc0
mov byte [ebp - 4], 4
nop
push esi
call fcn.00485620
mov ecx, eax
add esp, 4
sub ecx, 0
je 0x4262b5
sub ecx, 0x64
jne 0x42624a
mov byte [ebp - 0x2d], bl
jmp 0x426230
sub ecx, ebx
je 0x426252
test eax, eax
jne 0x4262cb
lea edi, [ebp - 0x3c]
call fcn.004c3ee0
mov byte [ebp - 4], 2
cmp byte [ebp - 0x38], 0
jne 0x426286
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push str.ROLLBACK_
push eax
mov dword [ebp - 0x34], 0
call fcn.004a7310
add esp, 0x14
push esi
mov dword [ebp - 4], 0xffffffff
call fcn.00484b50
mov al, byte [ebp - 0x2d]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052b755
mov esp, ebp
pop ebp
ret
push ebx
lea esi, [ebp - 0x80]
call fcn.004385f0
push 0x5a8c7c
mov ecx, esi
push ecx
call fcn.00532abb
push eax
lea esi, [ebp - 0x5c]
call fcn.004385f0
push 0x5a8c7c
mov edx, esi
push edx
call fcn.00532abb
int3
Function at 0x426bb0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x575143
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi], vtable.pix::ipc::job_base.0
mov dword [esi + 4], 0xa
mov byte [esi + 8], 1
mov ecx, dword [eax]
xor ebx, ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], 0x1f4
mov byte [esi + 0x14], bl
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0052b764
add esp, 4
cmp eax, ebx
je 0x426c81
mov dword [edi], eax
xor edx, edx
mov dword [eax + 4], edx
xor ecx, ecx
mov dword [eax], ecx
mov edx, dword [edi]
mov dword [edx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.uibr::job_imap.0
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], 0xffffffff
mov al, byte [ebp + 0x10]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xc]
mov byte [esi + 0x3e], al
mov word [esi + 0x3c], bx
mov dword [esi + 0x40], ebx
xor eax, eax
cmp dword [ecx + 0xc], ebx
je 0x426c68
mov ecx, dword [ecx + 0x4c]
push ecx
call fcn.004d7f80
add eax, 0x64
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.0052b87d
push 0x5a8cb4
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], vtable.std::bad_alloc.0
call fcn.00532abb
int3