Function at 0x412b58
Capabilities:
Reference sql statements
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x134], eax
mov eax, 0x7cecfc
call fcn.007b7c14
mov word [ebp - 0x120], 0x18
lea eax, [ebp - 0x9c]
call fcn.00402e20
inc dword [ebp - 0x114]
lea edx, [ebp - 0x9c]
inc dword [ebp - 0x114]
mov ecx, dword [sym.KDEMR.exe__F_PtMain]
mov eax, dword [ecx]
call fcn.0042d734
cmp dword [ebp - 0x9c], 0
jne 0x412bba
mov edx, 0x7cd872
jmp 0x412bc0
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x13c], edx
add esp, 0xfffffff8
push esp
call fcn.00404764
pop ecx
lea eax, [ebp - 0x28]
push eax
call fcn.00404788
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call fcn.00404640
add esp, 0xc
push dword [ebp - 0x13c]
lea eax, [ebp - 0x28]
push eax
call fcn.004047bc
add esp, 8
inc dword [ebp - 0x114]
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.00402554
mov word [ebp - 0x120], 0xc
mov word [ebp - 0x120], 0x24
add esp, 0xfffffff8
push esp
call fcn.00404764
pop ecx
lea ecx, [ebp - 0x50]
push ecx
call fcn.00404788
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.00404640
add esp, 0xc
push 0x7cd873
lea edx, [ebp - 0x50]
push edx
call fcn.004047bc
add esp, 8
inc dword [ebp - 0x114]
mov word [ebp - 0x120], 0xc
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push 0x7cd8a9
call fcn.00406708
pop ecx
push eax
push 0x7cd8a9
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov word [ebp - 0x120], 0x30
lea ecx, [ebp - 0x98]
push ecx
call fcn.007c7b38
pop ecx
add dword [ebp - 0x114], 4
mov word [ebp - 0x120], 0xc
push str.SELECT__FROM_UNI_CLIENT_WHERE_STATE__C_AND_YYMC__
lea eax, [ebp - 0x50]
push eax
call fcn.004047bc
add esp, 8
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x140], edx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x140]
lea ecx, [ebp - 0x50]
push ecx
call fcn.00409d90
add esp, 0x10
push 0x7cd8e3
call fcn.00406708
pop ecx
push eax
push 0x7cd8e3
lea eax, [ebp - 0x50]
push eax
call fcn.00406718
add esp, 0xc
mov word [ebp - 0x120], 0x3c
lea edx, [ebp - 0x50]
push edx
call fcn.00405270
pop ecx
mov dword [ebp - 0x144], eax
lea eax, [ebp - 0xa0]
xor ecx, ecx
mov edx, dword [ebp - 0x144]
call fcn.007c5314
inc dword [ebp - 0x114]
lea eax, [ebp - 0xa0]
inc dword [ebp - 0x114]
push dword [eax]
push 0x7e9794
call fcn.00405fe4
pop ecx
lea edx, [ebp - 0x98]
pop ecx
call fcn.0040b454
test al, al
je 0x412d86
lea eax, [ebp - 0x98]
push eax
call fcn.007c7b44
pop ecx
test al, al
jne 0x412d8a
xor edx, edx
jmp 0x412d8f
mov edx, 1
push edx
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x4131bc
mov word [ebp - 0x120], 0x54
push 0x7cd8e5
lea eax, [ebp - 0xf4]
push eax
call fcn.007c7b8c
add esp, 8
inc dword [ebp - 0x114]
lea edx, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x98]
push ecx
call fcn.007c7b4a
add esp, 8
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.007c7ba4
add esp, 8
lea edx, [ebp - 0xf8]
push edx
inc dword [ebp - 0x114]
call fcn.007c7b98
pop ecx
mov dword [ebp - 0x148], eax
add esp, 0xfffffff8
push esp
call fcn.00404764
pop ecx
lea ecx, [ebp - 0xc8]
push ecx
call fcn.00404788
add esp, 0xc
push 0
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.00404640
add esp, 0xc
push dword [ebp - 0x148]
lea edx, [ebp - 0xc8]
push edx
call fcn.004047bc
add esp, 8
inc dword [ebp - 0x114]
dec dword [ebp - 0x114]
push 2
lea ecx, [ebp - 0xf8]
push ecx
call fcn.007c7b92
add esp, 8
dec dword [ebp - 0x114]
push 2
lea eax, [ebp - 0xf4]
push eax
call fcn.007c7b92
add esp, 8
mov word [ebp - 0x120], 0x48
mov word [ebp - 0x120], 0x60
add esp, 0xfffffff8
push esp
call fcn.00404764
pop ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.00404788
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00404640
add esp, 0xc
push 0x7cd8e8
lea eax, [ebp - 0xf0]
push eax
call fcn.004047bc
add esp, 8
inc dword [ebp - 0x114]
mov word [ebp - 0x120], 0x48
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0xc8]
push edx
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00409d90
add esp, 0x10
push 0x7cd8f8
call fcn.00406708
pop ecx
push eax
push 0x7cd8f8
lea eax, [ebp - 0xf0]
push eax
call fcn.00406718
add esp, 0xc
mov edx, 0x7cd915
lea eax, [ebp - 0x100]
xor ecx, ecx
call fcn.007c5314
inc dword [ebp - 0x114]
lea edx, [ebp - 0x100]
inc dword [ebp - 0x114]
push dword [edx]
mov word [ebp - 0x120], 0x6c
lea eax, [ebp - 0xf0]
push eax
call fcn.00405270
pop ecx
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0xfc]
xor ecx, ecx
mov edx, dword [ebp - 0x14c]
call fcn.007c5314
inc dword [ebp - 0x114]
lea eax, [ebp - 0xfc]
inc dword [ebp - 0x114]
push dword [eax]
push 0x7e982c
call fcn.00406958
pop ecx
pop edx
pop ecx
call fcn.0040c93c
and eax, 0xff
cmp eax, 1
sbb edx, edx
neg edx
push edx
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0xfc]
mov edx, 2
call fcn.00402554
pop ecx
test cl, cl
je 0x41300c
mov eax, dword [sym.KDEMR.exe__F_PtMain]
mov eax, dword [eax]
call fcn.0054f634
push eax
call sub.USER32.DLL_DestroyWindow
call fcn.00406ad4
call sub.KERNEL32.DLL_GetCurrentProcess
mov dword [ebp - 0x150], eax
push 0
push dword [ebp - 0x150]
call sub.KERNEL32.DLL_TerminateProcess
push str.BEGIN_UPDATE_UNI_ZYMBGSB_SET_LOCK___0_WHERE_LOCK___1
lea edx, [ebp - 0x50]
push edx
call fcn.004047bc
add esp, 8
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x154], ecx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x154]
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push str.__UPDATE_UNI_TEMPLSB_SET_LOCK___0_WHERE_LOCK___1
call fcn.00406708
pop ecx
push eax
push str.__UPDATE_UNI_TEMPLSB_SET_LOCK___0_WHERE_LOCK___1
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x158], ecx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x158]
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push str.__UPDATE_UNI_ZYBLLSB_SET_LOCK___0_WHERE_LOCK___1
call fcn.00406708
pop ecx
push eax
push str.__UPDATE_UNI_ZYBLLSB_SET_LOCK___0_WHERE_LOCK___1
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x15c], ecx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x15c]
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push str.__DELETE_FROM_UNI_CLIENT_WHERE_STATE__C_AND_YYMC__
call fcn.00406708
pop ecx
push eax
push str.__DELETE_FROM_UNI_CLIENT_WHERE_STATE__C_AND_YYMC__
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov ecx, dword [ebp - 0x138]
mov dword [ebp - 0x160], ecx
push 0xffffffffffffffff
push 0
push dword [ebp - 0x160]
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push 0x7cd9fb
call fcn.00406708
pop ecx
push eax
push 0x7cd9fb
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov word [ebp - 0x120], 0x78
lea ecx, [ebp - 0x50]
push ecx
call fcn.00405270
pop ecx
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, dword [ebp - 0x164]
call fcn.007c5314
inc dword [ebp - 0x114]
lea eax, [ebp - 0x104]
inc dword [ebp - 0x114]
push dword [eax]
push 0x7e9794
call fcn.00405fe4
pop ecx
pop edx
call fcn.0040bc4c
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.00402554
dec dword [ebp - 0x114]
push 0
push 1
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00404640
add esp, 0xc
dec dword [ebp - 0x114]
push 0
push 1
lea eax, [ebp - 0xc8]
push eax
call fcn.00404640
add esp, 0xc
mov word [ebp - 0x120], 0xc
push str.INSERT_INTO_UNI_CLIENT_IP_SN_YYMC_STATE__VALUES_
lea edx, [ebp - 0x50]
push edx
call fcn.004047bc
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x50]
push eax
call fcn.00409d90
add esp, 0x10
push 0x7cda35
call fcn.00406708
pop ecx
push eax
push 0x7cda35
lea edx, [ebp - 0x50]
push edx
call fcn.00406718
add esp, 0xc
mov word [ebp - 0x120], 0x84
mov ecx, dword [0x7e9ae8]
mov dword [ebp - 0x16c], ecx
lea eax, [ebp - 0x108]
call fcn.00402e20
inc dword [ebp - 0x114]
push dword [ebp - 0x16c]
push 0x7cda39
lea edx, [ebp - 0x108]
push edx
call fcn.0040354c
add esp, 0xc
lea ecx, [ebp - 0x108]
inc dword [ebp - 0x114]
mov dword [ebp - 0x168], ecx
mov eax, dword [ebp - 0x168]
cmp dword [eax], 0
jne 0x413262
mov edx, 0x7cda3c
jmp 0x41326a
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx]
mov dword [ebp - 0x170], edx
push dword [ebp - 0x170]
call fcn.00406708
pop ecx
push eax
push dword [ebp - 0x170]
lea eax, [ebp - 0x50]
push eax
call fcn.00406718
add esp, 0xc
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00402554
push 0x7cda3d
call fcn.00406708
pop ecx
push eax
push 0x7cda3d
lea ecx, [ebp - 0x50]
push ecx
call fcn.00406718
add esp, 0xc
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x174], eax
push 0xffffffffffffffff
push 0
push dword [ebp - 0x174]
lea edx, [ebp - 0x50]
push edx
call fcn.00409d90
add esp, 0x10
push 0x7cda41
call fcn.00406708
pop ecx
push eax
push 0x7cda41
lea ecx, [ebp - 0x50]
push ecx
call fcn.00406718
add esp, 0xc
mov word [ebp - 0x120], 0x90
lea eax, [ebp - 0x50]
push eax
call fcn.00405270
pop ecx
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x10c]
xor ecx, ecx
mov edx, dword [ebp - 0x178]
call fcn.007c5314
inc dword [ebp - 0x114]
lea eax, [ebp - 0x10c]
inc dword [ebp - 0x114]
push dword [eax]
push 0x7e9794
call fcn.00405fe4
pop ecx
pop edx
call fcn.0040bc4c
sub dword [ebp - 0x114], 2
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00402554
sub dword [ebp - 0x114], 4
push 2
lea ecx, [ebp - 0x98]
push ecx
call fcn.007c7b3e
add esp, 8
dec dword [ebp - 0x114]
push 0
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.00404640
add esp, 0xc
dec dword [ebp - 0x114]
push 0
push 1
lea edx, [ebp - 0x28]
push edx
call fcn.00404640
add esp, 0xc
mov ecx, dword [ebp - 0x130]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret