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

Disassembly:
sub esp, 0x29c
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], esi
jge 0x4232ba
pop edi
mov eax, 0xfffffffd
pop esi
add esp, 0x29c
ret 8
cmp dword [esi + 0x4f4], edi
je 0x4232d2
pop edi
mov eax, 0xfffffffb
pop esi
add esp, 0x29c
ret 8
push ebx
lea eax, [esi + 0x18]
push ebp
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x88]
push 0x10
push edi
push edi
push edi
push edi
push 0x2000
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.004266d0
add esp, 0x20
test eax, eax
jne 0x4235d0
push 0x400
push 0x400
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.00484da0
add esp, 0x10
test al, al
jne 0x4235d0
push 0x400
push 0x400
lea eax, [esp + 0x50]
push 4
mov edi, 1
push eax
mov dword [esp + 0x2c], edi
call fcn.00484da0
add esp, 0x10
test al, al
jne 0x4235d0
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
sub eax, ebx
cdq
mov ebx, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x5c]
mov ebp, eax
add ebp, edi
push 0x200
lea ecx, [esp + 0xb0]
adc ebx, edx
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00484a90
add esp, 0xc
test eax, eax
je 0x42347f
mov edi, dword [esp + 0x2b4]
dec eax
inc eax
mov byte [esp + eax + 0xab], 0
mov ecx, eax
lea esi, [esp + 0xac]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x28], eax
jne 0x4233d7
mov dword [esp + 0x10], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
jmp 0x4233fb
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4233fb
lea eax, [esp + 0xac]
push eax
call fcn.0044f710
add esp, 4
test eax, eax
jne 0x4235c9
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.00471df0
add esp, 8
test eax, eax
mov dword [esp + 0x24], eax
je 0x4235d0
mov eax, dword [esp + 0x10]
test eax, eax
lea eax, [esp + 0x48]
jne 0x423428
lea eax, [esp + 0x34]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.00484e10
add esp, 8
test al, al
jne 0x4235d0
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
sub eax, esi
cdq
mov ebx, edx
mov edx, dword [esp + 0x5c]
mov ebp, eax
add ebp, edx
push 0x200
lea eax, [esp + 0xb0]
adc ebx, ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.00484a90
add esp, 0xc
test eax, eax
jne 0x4233a1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x4235c2
lea edx, [esp + 0x5c]
push edx
call fcn.00427040
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x4234ab
or esi, 0xffffffff
jmp 0x4235d5
mov eax, dword [esp + 0x38]
xor edi, edi
test eax, eax
jbe 0x4234f3
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00484f70
mov edx, dword [esp + 0x1c]
push 0x10
push edx
call fcn.00482780
add esp, 0x14
test eax, eax
je 0x4234ea
mov eax, dword [esp + 0x10]
push eax
push str.Error_deleting__s_during_purge
call fcn.004247f0
add esp, 8
mov eax, dword [esp + 0x38]
inc edi
cmp edi, eax
jb 0x4234b5
mov ecx, dword [esi + 0x88]
push 0x10
push ecx
call fcn.00480170
lea edi, [esi + 0x2e9]
push 0x10
push edi
call fcn.00482780
push 0x10
push 0x810a
push edi
call fcn.00480120
add esp, 0x1c
test eax, eax
mov dword [esi + 0x88], eax
jne 0x423540
push str.Could_not_re_open_the_binlog_index_file_during_log_purge_for_write
call fcn.004247f0
add esp, 4
mov esi, 0xfffffff9
jmp 0x4235d5
mov eax, dword [esp + 0x4c]
xor ebx, ebx
test eax, eax
jbe 0x4235ac
lea ebx, [ebx]
push ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00484f70
mov edx, dword [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push 0x14
dec ecx
push ecx
mov ecx, dword [esi + 0x88]
push edx
push ecx
call fcn.00481590
add esp, 0x1c
test eax, eax
jne 0x423536
mov edx, dword [esi + 0x88]
push 0x14
push 1
push 0x4e9068
push edx
call fcn.00481590
add esp, 0x10
test eax, eax
jne 0x423536
mov eax, dword [esp + 0x4c]
inc ebx
cmp ebx, eax
jb 0x423550
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.0044f650
add esp, 8
xor esi, esi
jmp 0x4235d5
mov esi, 0xfffffffe
jmp 0x4235d5
mov esi, 0xfffffff8
jmp 0x4235d5
mov esi, 0xfffffffa
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x1c]
test eax, eax
pop ebp
pop ebx
je 0x4235f7
lea eax, [esp + 0x2c]
push eax
call fcn.00484fc0
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42360c
lea ecx, [esp + 0x40]
push ecx
call fcn.00484fc0
add esp, 4
lea edx, [esp + 0x54]
push edx
call fcn.00427040
add esp, 4
pop edi
mov eax, esi
pop esi
add esp, 0x29c
ret 8