joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ba0
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
mov ebx, ecx
mov dword [esp + 0x14], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x406c2f
push esi
call fcn.0041f926
add esp, 4
test eax, eax
mov dword [ebx + 0x38], eax
je 0x406c2f
push eax
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x406c2f
mov eax, dword [ebx + 0x38]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0x43fa38
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x406c2f
mov esi, dword [esp + 0x18]
lea eax, [ebx + 4]
mov ecx, 0xd
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
xor ecx, ecx
cmp edx, 0xfeef04bd
sete cl
mov dword [ebx + 0x48], ecx
mov eax, dword [ebx + 0x48]
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x409cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cdc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00409c20
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.00401900
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x409d42
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40b6a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d0b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x451330]
mov dword [esp + 0x18], eax
mov dword [esp], 0
call fcn.00433b2e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
push 0xa
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.004220e4
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40b700
push esi
push edi
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
call fcn.00401b10
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.00401900
mov edi, dword [esp + 0x38]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40b752
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c]
pop esi
call fcn.0041e059
add esp, 0x28
ret

Function at 0x40c360
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
mov eax, dword [0x451330]
mov ecx, dword [ecx + 4]
push esi
push edi
mov edi, dword [esp + 0x114]
push ecx
push 0x104
mov dword [esp + 0x114], eax
lea eax, [esp + 0x10]
push eax
push 0x43f89f
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ecx, ecx
cmp ecx, eax
sbb esi, esi
lea eax, [edi - 0x10]
neg esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c3b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10c]
pop edi
mov eax, esi
pop esi
call fcn.0041e059
add esp, 0x108
ret 4
Function at 0x40c3e0
Capabilities:
Read .ini file

Disassembly:
mov ecx, dword [ecx + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c432
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0xc

Function at 0x40c510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43d1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 1
call fcn.00433b2e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push 0x440f8c
push ecx
mov byte [esp + 0x24], 2
call fcn.00401e40
mov esi, dword [esi + 4]
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add esp, 0xc
push esi
mov esi, dword [esp + 0x10]
push esi
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c59a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
jg 0x40c5de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x40c8a0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x43d238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
mov eax, dword [0x451330]
push ebp
push esi
mov dword [esp + 0x108], eax
mov esi, ecx
mov eax, dword [esp + 0x120]
test eax, eax
mov ebp, dword [esp + 0x11c]
mov dword [esp + 0x114], 0
je 0x40c974
push 0xff
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 8]
add esi, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40c908
push ebx
push edi
sub eax, edx
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00401b10
mov edx, dword [esi]
mov edi, dword [edx - 0xc]
mov eax, edx
push 0x5c
push eax
call fcn.0041eb49
add esp, 8
test eax, eax
jne 0x40c93b
or ebx, 0xffffffff
jmp 0x40c93f
sub eax, dword [esi]
mov ebx, eax
mov eax, dword [esi]
push 0x5c
push eax
call fcn.0041eb49
add esp, 8
test eax, eax
jne 0x40c955
or eax, 0xffffffff
jmp 0x40c957
sub eax, dword [esi]
sub edi, ebx
dec edi
push edi
inc eax
push eax
mov ecx, esi
call fcn.0040c290
mov eax, dword [ebp - 0xc]
push eax
push ebp
mov ecx, esi
call fcn.00401c90
pop edi
pop ebx
jmp 0x40c986
add esi, 4
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.00401d90
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0x114], ecx
jne 0x40c9b8
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c9b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x40c9d8
test al, 0x10
lea eax, [ebp - 0x10]
lea edx, [eax + 0xc]
jne 0x40c9a3
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c9d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x104]
pop ebp
call fcn.0041e059
add esp, 0x110
ret 8
Function at 0x40ca00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43d273
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x451330]
push ebp
push esi
mov dword [esp + 0x110], eax
push edi
mov esi, ecx
mov dword [esp + 0xc], 0
push 0x43f89f
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], 2
call fcn.00401f20
mov esi, dword [esi + 4]
mov ecx, dword [esp + 0x134]
mov ebp, dword [esp + 0x130]
mov edi, dword [esp + 0x12c]
push esi
push 0x104
lea eax, [esp + 0x18]
push eax
push ecx
push ebp
push edi
mov byte [esp + 0x138], 3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x10]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ca88
sub eax, ecx
push eax
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.00401b10
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00401900
mov esi, dword [esp + 0x12c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x120], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cae2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x120], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x120], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
mov dword [esp + 0x120], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cb52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x118]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
pop ebp
call fcn.0041e059
add esp, 0x118
ret 0x10

Function at 0x40cfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
push ecx
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x43f89f
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dbServer
mov dword [esp + 0x28], edi
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DatabaseLogin
mov byte [esp + 0x2c], 1
call fcn.00401f20
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ca00
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
Function at 0x40d040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d2f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x10], ebx
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x14], esp
mov ebp, esp
push esi
mov dword [esp + 0x2c], ebx
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.dbServer
mov byte [esp + 0x30], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.DatabaseLogin
mov byte [esp + 0x34], 2
call fcn.00401f20
mov byte [esp + 0x30], bl
mov ebx, dword [esp + 0x38]
push ebx
mov ecx, edi
call fcn.0040ca00
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d0dc
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8

Function at 0x40d100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dbServer
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DatabaseLogin
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d195
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4

Function at 0x40d1b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
push ecx
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x43f898
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dbDatabase
mov dword [esp + 0x28], edi
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DatabaseLogin
mov byte [esp + 0x2c], 1
call fcn.00401f20
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ca00
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
Function at 0x40d240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dbDatabase
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DatabaseLogin
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d2d5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4

Function at 0x40d2f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
push ecx
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov ecx, esp
mov dword [esp + 0xc], esp
push 0x441478
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dbUser
mov dword [esp + 0x28], edi
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DatabaseLogin
mov byte [esp + 0x2c], 1
call fcn.00401f20
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ca00
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4

Function at 0x40d380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dbUser
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DatabaseLogin
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d415
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4
Function at 0x40d430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
push ecx
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], edi
mov ecx, esp
mov dword [esp + 0xc], esp
push str.edan
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.dbPWD
mov dword [esp + 0x28], edi
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.DatabaseLogin
mov byte [esp + 0x2c], 1
call fcn.00401f20
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040ca00
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4

Function at 0x40d4c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.dbPWD
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DatabaseLogin
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d555
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4

Function at 0x40d650
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.CachePiturePathSave
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Collection
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d6e5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4
Function at 0x40d700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d370
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 0x43f89f
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x43f89f
mov dword [esp + 0x2c], ebx
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.CachePiturePathSave
mov byte [esp + 0x30], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.Collection
mov byte [esp + 0x34], 2
call fcn.00401f20
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x34], bl
call fcn.0040ca00
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.00401d90
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.00401900
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d7f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 4

Function at 0x40d810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43d398
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x10], esp
mov ebp, esp
push esi
mov dword [esp + 0x28], 0
call fcn.00401900
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.PiturePathSave
mov byte [esp + 0x2c], 1
call fcn.00401f20
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Collection
mov byte [esp + 0x30], 2
call fcn.00401f20
mov ecx, edi
mov byte [esp + 0x2c], 0
call fcn.0040c440
mov dword [esp + 0x20], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d8a5
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4