Function at 0x411fa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579faa
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
call fcn.0044d418
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x411ff0
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 4], esi
cmp dword [0x5e0bc4], esi
sete cl
mov dword [ebp - 0x50], ecx
call fcn.0044d418
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41202a
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edx, [eax + 0x10]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 1
cmp dword [0x5e0be8], esi
je 0x4120f1
cmp dword [0x5e0bf0], esi
je 0x4120dd
mov ecx, dword [0x5e0bf4]
mov ebx, dword [ecx - 0xc]
cmp ebx, esi
je 0x4120dd
lea eax, [ecx - 0x10]
lea esi, [edx - 0x10]
cmp eax, esi
je 0x4120a2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4120d1
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4120d1
push eax
call fcn.00407af0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x41209c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x3c], ebx
mov edi, dword [ebp - 0x3c]
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x38], esp
mov ebx, esp
call edx
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x412116
cmp eax, dword [edi - 0x10]
jne 0x412116
lea esi, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x41214f
push ebx
push ecx
lea ecx, [ebp - 0x3c]
call fcn.00407870
jmp 0x4120a2
push 0xe
push 0x5ac9f4
lea ecx, [ebp - 0x34]
call fcn.00407870
jmp 0x412889
lea ecx, [ebp - 0x3c]
push ecx
call fcn.00411db0
mov edx, dword [ebp - 0x3c]
cmp dword [edx - 0xc], esi
jne 0x4120a2
push 0xf
push 0x5aca14
lea ecx, [ebp - 0x34]
call fcn.00407870
jmp 0x412889
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x41212f
call fcn.0043d450
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
push edi
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054de82
add esp, 0x10
add esi, 0x10
mov dword [ebx], esi
call fcn.0044aaa0
mov esi, eax
add esp, 4
test esi, esi
jne 0x412176
push 0xe
push 0x5aca34
lea ecx, [ebp - 0x34]
call fcn.00407870
jmp 0x412889
push 0x230
call fcn.0044c8d5
mov esi, eax
add esp, 4
test esi, esi
je 0x4121b3
push 0x104
lea edx, [esi + 4]
push 0
push edx
mov dword [esi + 0x204], 0
mov dword [esi], 0
call fcn.00550f40
add esp, 0xc
mov ebx, esi
mov dword [ebp - 0x44], esi
jmp 0x4121b8
xor ebx, ebx
mov dword [ebp - 0x44], ebx
cmp dword [edi - 4], 1
mov dword [ebp - 0x2c], 0
jle 0x4121d1
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004076d0
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x2c]
push ecx
push edx
mov ecx, str.des_sqlite
mov edx, ebx
call fcn.00447c70
mov esi, eax
neg esi
sbb esi, esi
inc esi
xor edi, edi
cmp esi, edi
jne 0x412212
push 0x10
push 0x5aca6c
lea ecx, [ebp - 0x34]
call fcn.00407870
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044c90f
add esp, 4
jmp 0x412840
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x2c]
push edx
push ebx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x4c], edi
call fcn.00412ad0
lea ecx, [ebp - 0x78]
call fcn.0045ddf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x78]
push eax
push ecx
mov ecx, dword [ebp - 0x48]
push edx
push ebx
call fcn.00412d90
call fcn.0044d418
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x412261
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x30]
push ecx
push str.DbGuid
push ebx
mov byte [ebp - 4], 3
call fcn.00412970
call fcn.0044d418
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41229d
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 4
call fcn.0044d418
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4122ca
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x28]
push ecx
push str.CurrDate
push ebx
mov byte [ebp - 4], 5
call fcn.00412970
push 0
call fcn.0054f48c
mov dword [ebp - 0x7c], edx
add esp, 4
lea edx, [ebp - 0x80]
push edx
mov esi, str._Y__m__d
lea edi, [ebp - 0x38]
mov dword [ebp - 0x80], eax
call fcn.004139b0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call fcn.0040d290
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41233d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x28]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x412355
push 0x80004005
call fcn.00407ad0
mov eax, dword [ebp - 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41237e
test dx, dx
je 0x41237a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41237e
add eax, 4
add ecx, 4
test dx, dx
jne 0x412358
xor eax, eax
jmp 0x412383
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setg al
test al, al
je 0x412398
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040d290
lea edx, [ebp - 0x38]
push edx
push ebx
mov dword [ebp - 0x38], 0
call fcn.00412c40
mov eax, dword [ebx]
test eax, eax
je 0x4123c1
push eax
mov eax, dword [ebx + 0x214]
call eax
add esp, 4
mov dword [ebx], 0
lea ecx, [ebp - 0x64]
call fcn.0045c2a5
mov byte [ebp - 4], 7
mov ebx, dword [ebp - 0x30]
xor eax, eax
xor ecx, ecx
mov esi, 1
mov word [ebp - 0x24], cx
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
cmp dword [ebx - 4], esi
jle 0x4123fa
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [ebp - 0x30]
call fcn.004076d0
mov ebx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
cmp dword [edi - 4], esi
jle 0x412411
mov eax, dword [edi - 0xc]
push eax
lea ecx, [ebp - 0x28]
call fcn.004076d0
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
push ecx
push edx
push eax
mov edx, ebx
mov ecx, edi
call fcn.0040ea30
mov edx, dword [ebp - 0x5c]
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.0045c6cf
cmp dword [ebx - 4], esi
jle 0x41244d
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.004076d0
mov ebx, dword [ebp - 0x30]
cmp dword [edi - 4], esi
jle 0x412461
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004076d0
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x24]
push edx
push eax
push 0
mov edx, ebx
mov ecx, edi
call fcn.0040ea30
mov edx, dword [ebp - 0x5c]
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push edx
lea ecx, [ebp - 0x64]
call fcn.0045c6cf
xor esi, esi
cmp dword [ebp - 0x70], esi
jle 0x4124f0
cmp dword [ebx - 4], 1
jle 0x4124a3
mov eax, dword [ebx - 0xc]
push eax
lea ecx, [ebp - 0x30]
call fcn.004076d0
mov ebx, dword [ebp - 0x30]
cmp dword [edi - 4], 1
jle 0x4124b8
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [ebp - 0x28]
call fcn.004076d0
mov edi, dword [ebp - 0x28]
test esi, esi
js 0x41250a
cmp esi, dword [ebp - 0x70]
jge 0x41250a
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + esi*4]
lea edx, [ebp - 0x24]
push edx
push ecx
push 6
mov edx, ebx
mov ecx, edi
call fcn.0040ea30
mov eax, dword [ebp - 0x5c]
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
push eax
lea ecx, [ebp - 0x64]
call fcn.0045c6cf
inc esi
cmp esi, dword [ebp - 0x70]
jl 0x41248e
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41250f
push 0x80004005
call fcn.00407ad0
call fcn.0044d2d7
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 8
cmp dword [0x5e0be8], 0
je 0x4126bc
mov ecx, dword [0x5e0bec]
mov edx, dword [ecx - 0xc]
test edx, edx
je 0x4126bc
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x41258f
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x412582
mov ebx, dword [eax]
cmp ebx, dword [esi]
jne 0x412582
push eax
call fcn.00407af0
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x41257a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebx + 0x10]
mov dword [ebp - 0x2c], edi
jmp 0x41258f
push edx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00407870
mov edi, dword [ebp - 0x2c]
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea ebx, [edi - 0x10]
mov dword [ebp - 0x38], esp
mov dword [ebp - 0x38], esp
call eax
cmp dword [ebx + 0xc], 0
lea ecx, [ebx + 0xc]
jl 0x4125bd
cmp eax, dword [ebx]
jne 0x4125bd
mov esi, ebx
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4125f9
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x4125d6
call fcn.0043d450
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0054de82
add esp, 0x10
mov edx, dword [ebp - 0x38]
add esi, 0x10
lea edi, [ebp - 0x64]
mov dword [edx], esi
call fcn.0040d5d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x412621
push 8
push 0x5acac8
lea ecx, [ebp - 0x34]
call fcn.00407870
mov byte [ebp - 4], 7
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41263e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0045c4e3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41266d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412690
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412831
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x412831
mov ecx, dword [ebp - 0x48]
push ecx
xor esi, esi
push 0x8b
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x50], esi
call fcn.0045012b
mov byte [ebp - 4], 9
push 0x5aaef4
lea ecx, [ebp - 0xa4]
mov dword [ebp - method.CDialogCheckCodeInput.virtual_0], vtable.CDialogCheckCodeInput.0
call fcn.004079b0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xa
call fcn.0045c2a5
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x8c], esi
call fcn.0045b0ea
call fcn.0045b0ea
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
call fcn.0045c60d
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xc
call fcn.004508a3
lea esi, [eax - 1]
neg esi
sbb esi, esi
inc esi
mov dword [ebp - method.CDialogCheckCodeInput.virtual_0], vtable.CDialogCheckCodeInput.0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xe
call fcn.0045c4e3
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412790
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 8
call fcn.00450072
lea eax, [edi - 0x10]
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0045c4e3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4127ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412811
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412831
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0045de07
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x412885
cmp dword [ebx + 0x204], 0
je 0x41287c
mov eax, dword [ebx]
test eax, eax
je 0x412865
push eax
mov eax, dword [ebx + 0x214]
call eax
add esp, 4
mov dword [ebx], 0
mov ecx, dword [ebx + 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x204], 0
push ebx
call fcn.0044c90f
add esp, 4
test esi, esi
jne 0x4128ae
cmp dword [ebp - 0x50], 0
je 0x4128a4
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
push 0x30
push 0x5ab178
push edx
call fcn.00455405
jmp 0x4128ae
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4128f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret 4