Function at 0x40560f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4e8c90
sub esp, 0x168
mov eax, dword [0x93e25c]
mov dword [esp + 0x164], eax
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x17c]
mov eax, dword [esi + 0xc34]
mov dword [esp + 0x40], eax
mov eax, 0x50
xor ebp, ebp
lea ecx, [esp + 0x124]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1b8]
mov edi, vtable.Query_arena.0
lea edx, [esp + 0x74]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x184]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x844320
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x5c], edi
mov eax, dword [eax + 0x28]
cmp ecx, eax
je 0x4e8d63
push ecx
mov ecx, dword [ebx + 0xac]
push eax
push ecx
push 0x75682c
push ebp
push 0x526
call fcn.005db890
mov eax, dword [esp + 0x34]
add esp, 0x18
cmp eax, ebp
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], edi
je 0x4e8d59
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call fcn.005d8be0
add esp, 4
mov eax, 1
jmp 0x4e926a
push ebp
lea eax, [esp + 0x78]
push 0x2000
push eax
call fcn.00404700
add esp, 0xc
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.004033d2
push 0x44
call fcn.0040105a
add esp, 4
cmp eax, ebp
je 0x4e8e87
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x188]
push ecx
mov ecx, dword [ebx + 0x1b8]
push edx
push ecx
mov ecx, eax
call fcn.0040268a
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x4e8e8b
push esi
mov ecx, eax
call fcn.0040947b
test eax, eax
jne 0x4e8e8b
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00406d52
mov eax, dword [esp + 0x184]
xor edi, edi
cmp eax, ebp
jbe 0x4e8e20
mov ebp, dword [esp + 0x180]
mov ecx, dword [esp + 0x24]
push ebp
push edi
push esi
call fcn.0040413d
mov ebx, eax
test ebx, ebx
jne 0x4e920e
mov eax, dword [esp + 0x184]
inc edi
add ebp, 4
cmp edi, eax
jb 0x4e8df5
mov ebx, dword [esp + 0x2c]
xor ebp, ebp
cmp dword [0x81ebd4], ebp
je 0x4e8ea6
mov eax, dword [esi + 0xab8]
and eax, 0x40000
xor ecx, ecx
or eax, ecx
je 0x4e8ea6
push 7
push 0x741504
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
mov dword [esp + 0x1c], ebp
call fcn.004096ab
mov ecx, dword [ebx + 0xb8]
mov edx, dword [ebx + 0xb4]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00407216
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp eax, ecx
jae 0x4e8eaf
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0x2e
jmp 0x4e8eca
mov dword [esp + 0x24], ebp
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.00406d52
mov ebx, 1
jmp 0x4e9215
mov dword [esp + 0x28], ebp
jmp 0x4e902b
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.0040a849
test eax, eax
jne 0x4e8ece
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [edx + eax], 0x2e
inc dword [esp + 0x14]
mov ecx, dword [ebx + 0xc0]
mov edx, dword [ebx + 0xbc]
push ecx
push edx
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00407216
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x10
cmp eax, ecx
jae 0x4e8f09
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0x28
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
jmp 0x4e8f33
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.0040a849
test eax, eax
jne 0x4e8f2f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [edx + eax], 0x28
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
jmp 0x4e8f33
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x184]
xor edi, edi
cmp ecx, ebp
jbe 0x4e8ffc
cmp edi, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 0x844320
je 0x4e8f8f
cmp eax, dword [esp + 0x18]
jae 0x4e8f70
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0x2c
jmp 0x4e8f8b
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.0040a849
test eax, eax
jne 0x4e8f8f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [edx + eax], 0x2c
inc dword [esp + 0x14]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x28]
push edi
call fcn.004033aa
push esi
mov ecx, eax
call fcn.004e5d60
add esp, 8
cmp eax, ebp
lea ecx, [esp + 0x10]
je 0x4e8fb9
push eax
call fcn.004064ec
jmp 0x4e8fc5
push 4
push str.NULL
call fcn.004096ab
cmp dword [esp + 0x50], ebp
je 0x4e8fe8
mov edx, dword [esp + 0x44]
push edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebp
call fcn.005d8be0
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov eax, dword [esp + 0x184]
inc edi
cmp edi, eax
mov eax, dword [esp + 0x14]
jb 0x4e8f44
cmp eax, dword [esp + 0x18]
jae 0x4e900c
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0x29
jmp 0x4e9027
inc eax
push eax
lea ecx, [esp + 0x14]
call fcn.0040a849
test eax, eax
jne 0x4e902b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov byte [edx + eax], 0x29
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x58]
push edx
push ebp
push ebx
push esi
mov dword [esi + 0xc34], ecx
call fcn.0040b0c8
add esp, 0x10
test eax, eax
je 0x4e9053
mov ebx, 1
jmp 0x4e9210
mov eax, dword [esi + 0xabc]
mov ebp, dword [esi + 0xab8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e90ae
push 0x974678
mov dword [esi + 0xb88], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x974b10]
mov ebx, dword [0x974b14]
push 0x974678
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add edi, 1
adc ebx, 0
push ebx
push edi
push esi
mov ecx, 0x81e578
call fcn.0040a33f
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.004033d2
mov ecx, dword [esi + 0xab8]
mov eax, dword [esi + 0xabc]
and ecx, 0xfffbffff
mov dword [esi + 0xab8], ecx
push esi
mov ecx, ebx
mov dword [esi + 0xabc], eax
call fcn.00409f70
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x5c]
mov ebx, eax
push edx
lea eax, [esp + 0x34]
mov dword [esi + 0xabc], ecx
push eax
mov ecx, esi
mov dword [esi + 0xab8], ebp
call fcn.00406d52
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4e91cf
push esi
mov ecx, 0x81e578
call fcn.00409598
mov eax, dword [esi + 0xc54]
test eax, eax
je 0x4e91cf
mov ecx, dword [esi + 0xc58]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0x526
push 0
push ecx
push edx
push eax
push esi
lea ecx, [esp + 0xac]
call fcn.004025f9
lea ecx, [esp + 0x94]
push ecx
mov ecx, 0x81e578
call fcn.00406e83
test eax, eax
je 0x4e9187
mov eax, dword [esi + 0xc58]
test eax, eax
je 0x4e9187
push str.Invoked_ROUTINE_modified_a_transactional_table_but_MySQL_failed_to_reflect_this_change_in_the_binary_log
push 0x451
push 1
push esi
call fcn.00407766
add esp, 0x10
mov eax, dword [esp + 0xc4]
test eax, eax
mov dword [esi + 0xb88], 0
mov dword [esp + 0x94], vtable.Query_log_event.0
je 0x4e91b0
push eax
call fcn.005d8be0
add esp, 4
mov eax, dword [esp + 0xa4]
test eax, eax
mov dword [esp + 0x94], vtable.Log_event.0
je 0x4e91cf
push eax
call fcn.005d8be0
add esp, 4
test ebx, ebx
jne 0x4e91fc
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x4e91fc
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xbc]
push ecx
push ebx
push 0x529
call fcn.005db890
add esp, 0xc
mov ebx, 1
mov eax, dword [esp + 0x58]
xor ebp, ebp
test eax, eax
je 0x4e9210
mov dword [esi + 0x878], eax
jmp 0x4e9210
xor ebp, ebp
mov edi, vtable.Query_arena.0
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x4e9222
call fcn.00401447
lea ecx, [esp + 0x30]
call fcn.00403cce
lea ecx, [esp + 0x74]
push ebp
push ecx
call fcn.005d8f70
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
add esp, 8
cmp eax, ebp
mov dword [esi + 0xc34], edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], edi
je 0x4e9268
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ebp
call fcn.005d8be0
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebp
pop ebx
call fcn.006cedd0
add esp, 0x168
ret 0x10