Function at 0x4f9910
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x723adf
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov edi, dword [ebp + 8]
push 0
push 9
push 0x110a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov esi, 0xf
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], esi
mov byte [ebp - 0x68], 0
push eax
push 3
push 0x110a
push dword [edi]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4fa144
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x113e
push dword [edi]
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x50], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
cmovne ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4fa144
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0x113e
push dword [edi]
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x50], 4
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
test eax, eax
cmovne edx, dword [ebp - 0x2c]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f9a44
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.0044f130
cmp dword [ebp - 0x70], 0
je 0x4fa144
lea eax, [ebp - 0x98]
push eax
call fcn.00515bb0
add esp, 4
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x88]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 4
cmp eax, 0xa
jb 0x4fa198
cmp dword [ebp - 0x84], 0x10
lea eax, [ebp - 0x98]
push 0xa
cmovae eax, dword [ebp - 0x98]
push str.address.db
push ecx
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x40]
call fcn.004cc200
push 1
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x9c]
call fcn.004e8110
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x9d], al
mov byte [ebp - 4], 4
call fcn.0044f440
cmp byte [ebp - 0x9d], 0
jne 0x4f9b29
mov ecx, dword [ebp - 0xa8]
mov eax, 0x74
push eax
push 4
call fcn.004f3b70
jmp 0x4fa0a5
push 0
push 0
push 0
push str.BEGIN_TRANSACTION
push dword [ebp - 0x9c]
call fcn.0045e090
add esp, 0x14
test eax, eax
je 0x4f9b5e
mov ecx, dword [ebp - 0xa8]
mov eax, 0x75
push eax
push 4
call fcn.004f3b70
jmp 0x4fa0a5
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb8], eax
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 6
call fcn.004e5aa0
push 1
push str.select___from___where_____
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 7
call fcn.004cc520
mov esi, eax
push str.org_id
push esi
mov byte [ebp - 4], 8
call fcn.004cb4e0
add esp, 8
mov ecx, esi
call fcn.004db070
mov esi, eax
push 0x738e94
push esi
call fcn.004cb4e0
add esp, 8
mov ecx, esi
call fcn.004db070
mov esi, eax
push 0x738dac
push esi
call fcn.004cb4e0
add esp, 8
mov ecx, esi
call fcn.004db070
cmp dword [ebp - 0x6c], 0x10
lea ecx, [ebp - 0x80]
push dword [ebp - 0x70]
cmovae ecx, dword [ebp - 0x80]
mov esi, eax
push ecx
push esi
call fcn.004cba60
add esp, 0xc
mov ecx, esi
call fcn.004db070
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.004dbac0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4f9c7f
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4f9c4b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f9c41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa19d
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x40]
call fcn.0044f440
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 7
call fcn.004cd010
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xb4]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xb8]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
jne 0x4fa07a
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xb8]
call fcn.0051a1f0
test al, al
je 0x4fa07a
lea ecx, [ebp - 0xd4]
call fcn.004edd20
test al, al
je 0x4f9d80
mov eax, dword [str.org_id]
mov dword [ebp - 0x40], eax
mov ax, word [0x738da0]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 6
mov word [ebp - 0x3c], ax
mov byte [ebp - 0x3a], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xd4]
call fcn.004e9910
push eax
lea ecx, [ebp - 0x68]
call fcn.004e7290
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x4f9d6b
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4f9d61
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa1a2
push edx
push ecx
call fcn.006f4b9f
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xb0], eax
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xa
cmp edi, 7
jb 0x4f9dcc
cmp edi, 0x10
mov dword [ebp - 0x18], 7
push 7
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push str.UPDATE
push esi
call fcn.006f6ff0
add esp, 0xc
mov byte [esi + 7], 0
jmp 0x4f9e66
mov eax, edi
mov ecx, closesocket
shr eax, 1
sub ecx, eax
cmp edi, ecx
jbe 0x4f9de2
mov ecx, closesocket
jmp 0x4f9dee
add eax, edi
mov ecx, 0xf
cmp eax, ecx
cmova ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0xa4], ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0044f2f0
mov ecx, dword [str.UPDATE]
mov esi, eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x14], eax
mov dword [esi], ecx
mov cx, word [0x738e9c]
mov word [esi + 4], cx
mov cl, byte [0x738e9e]
mov byte [esi + 6], cl
mov byte [esi + 7], 0
cmp edi, 0x10
jb 0x4f9e63
mov ecx, dword [ebp - 0x28]
inc edi
mov eax, ecx
cmp edi, 0x1000
jb 0x4f9e59
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa1a2
push edi
push ecx
call fcn.006f4b9f
add esp, 8
mov dword [ebp - 0x28], esi
push 3
push 0x738e94
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 5
push str._SET
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 0xd
push str.commonly_used
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 0xc
push str._0_WHERE
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 6
push str.org_id
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 3
push 0x738eb8
lea ecx, [ebp - 0x28]
call fcn.0044ef80
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
push eax
call fcn.0044ef80
push 5
push str._or
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 6
push str.org_id
lea ecx, [ebp - 0x28]
call fcn.0044ef80
push 7
push str._LIKE_
lea ecx, [ebp - 0x28]
call fcn.0044ef80
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x28]
push eax
call fcn.0044ef80
push 3
push 0x738ecc
lea ecx, [ebp - 0x28]
call fcn.0044ef80
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0xac]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0xb0]
push dword [eax]
call fcn.00460ff0
add esp, 0x14
test eax, eax
jne 0x4fa035
push dword [ebp - 0xac]
call fcn.004618f0
add esp, 4
cmp eax, 0x65
jne 0x4fa035
lea ecx, [ebp - 0x9c]
call fcn.004e80f0
test al, al
je 0x4fa04e
mov edi, dword [ebp - 0xa8]
cmp byte [edi + 0x2a0], 0
lea esi, [edi + 0x294]
jne 0x4fa006
cmp dword [esi + 0x10], 0
lea edi, [esi + 0x10]
je 0x4fa000
push 0x4ff
push 0xffffffffffffffff
push 0
push edi
push 1
mov byte [esi + 0xc], 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
je 0x4f9ff2
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0x4ff
push 0xffffffffffffffff
push 0
push edi
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x4f9fc0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov edi, dword [ebp - 0xa8]
cmp dword [esi + 0x10], 0
mov byte [esi + 0xc], 0
jne 0x4fa02f
push 0
push 0
push esi
push 0x4fb620
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4fa05d
mov byte [esi + 0xc], 1
push 0x76
mov ecx, edi
jmp 0x4fa056
push 0
push 0
push 0
push str.ROLLBACK_TRANSACTION
push dword [ebp - 0x9c]
call fcn.0045e090
add esp, 0x14
mov ecx, dword [ebp - 0xa8]
push 0x75
push 4
call fcn.004f3b70
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4fa07a
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0xac], eax
lea ecx, [ebp - 0xd4]
call fcn.004e68e0
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x4fa0a2
push eax
call fcn.00462630
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0xb4], eax
mov esi, dword [ebp - 0x54]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4fa0d9
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa0cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa1a2
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test eax, eax
je 0x4fa108
push eax
call fcn.0045d5b0
add esp, 4
neg eax
sbb eax, eax
and dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x98]
call fcn.0044f440
xor edi, edi
cmp esi, 0x10
jb 0x4fa149
mov ecx, dword [ebp - 0x68]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x4fa138
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa1a2
push esi
push ecx
call fcn.006f4b9f
add esp, 8
jmp 0x4fa149
mov edi, 1
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x4fa179
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4fa16f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4fa1a2
push edx
push ecx
call fcn.006f4b9f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret 4
call fcn.0044f120
call fcn.006fb96e
call fcn.006fb96e
int3