Function at 0x5be530
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1048
call fcn.006d05d0
mov eax, dword [0x93e25c]
push ebx
mov ebx, dword [esp + 0x106c]
push ebp
xor ebp, ebp
cmp ebx, ebp
push esi
mov dword [esp + 0x1050], eax
push edi
mov dword [esp + 0x4c], 0x202
jne 0x5be57d
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xdc]
lea ebx, [esp + 0xdc]
rep stosd dword es:[edi], eax
mov dword [esp + 0x1078], ebx
mov eax, dword [esp + 0x1070]
mov ecx, dword [esp + 0x1060]
lea edx, [ecx + eax]
cmp edx, 0x40
mov dword [esp + 0x64], edx
ja 0x5bf88f
mov esi, dword [esp + 0x1068]
cmp esi, ebp
je 0x5bf88f
xor eax, eax
mov ecx, 0xb0
lea edi, [esp + 0x994]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x107c]
and eax, 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
je 0x5be5e8
mov eax, dword [ebx + 0x34]
test ah, 0x40
jne 0x5be5e1
and eax, 0x8075
jmp 0x5be5e4
and eax, 0x70
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 8]
cmp dword [ebx + 0xc], eax
jbe 0x5be5f3
mov dword [ebx + 0xc], eax
shl edx, 6
push 0x30
push edx
call fcn.005d8b50
add esp, 8
cmp eax, ebp
mov dword [esp + 0x58], eax
jne 0x5be627
call fcn.005e0030
mov eax, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
call fcn.006cedd0
add esp, 0x1048
ret
mov edx, dword [esp + 0x106c]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x5c], ebx
xor ebp, ebp
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], esi
jmp 0x5be650
mov si, word [edx + 2]
mov eax, dword [esp + 0x20]
movzx ecx, si
add eax, ecx
mov dword [esp + 0x20], eax
movsx eax, word [edx]
test eax, eax
je 0x5be707
cmp eax, 9
je 0x5be707
inc ebp
cmp eax, 4
jne 0x5be6b1
mov eax, dword [esp + 0xab4]
inc eax
cmp ebx, 0x7fffffff
mov dword [esp + 0xab4], eax
je 0x5be709
cmp si, 0xc
jne 0x5be69f
mov ebx, bind
jmp 0x5be709
lea ecx, [ecx*8 - 0x40]
mov eax, 1
shl eax, cl
add ebx, eax
jmp 0x5be709
cmp eax, 2
je 0x5be6ef
cmp eax, 1
je 0x5be6ef
cmp eax, 8
jne 0x5be6e5
mov ax, word [edx + 2]
mov esi, dword [esp + 0x1c]
movzx ecx, ax
dec ebp
inc ebx
lea ecx, [esi + ecx - 1]
inc edi
cmp ax, 0x101
mov dword [esp + 0x1c], ecx
jb 0x5be709
inc dword [esp + 0x18]
add ebx, 2
jmp 0x5be709
cmp eax, 3
je 0x5be709
add edi, ecx
dec ebp
jmp 0x5be709
cmp ebx, 0x7fffffff
je 0x5be704
xor eax, eax
cmp si, 0xff
seta al
inc eax
add ebx, eax
inc edi
jmp 0x5be709
add edi, ecx
mov eax, dword [esp + 0x34]
add edx, 0x20
dec eax
mov dword [esp + 0x34], eax
jne 0x5be650
mov ecx, ebp
and cl, 7
cmp cl, 1
mov dword [esp + 0x5c], ebx
jne 0x5be751
mov eax, dword [esp + 0x106c]
cmp edx, eax
je 0x5be751
sub edx, 0x20
cmp word [edx], 3
jne 0x5be744
cmp word [edx + 2], 1
je 0x5be74a
cmp edx, eax
jne 0x5be734
jmp 0x5be751
dec ebp
mov word [edx], 0
inc edi
test ebp, ebp
mov al, byte [esp + 0x107c]
jne 0x5be760
test al, 2
je 0x5be76d
mov edx, dword [esp + 0x10]
or edx, 1
mov dword [esp + 0x10], edx
jmp 0x5be771
mov edx, dword [esp + 0x10]
test dl, 1
jne 0x5be77d
and edx, 0xffffffdf
mov dword [esp + 0x10], edx
test dl, 5
jne 0x5be786
add edi, dword [esp + 0x1c]
test al, 4
je 0x5be799
or edx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x4c], 0x602
test al, 8
jne 0x5be7a2
test dl, 0x20
je 0x5be7aa
or edx, 0x20
mov dword [esp + 0x10], edx
inc edi
test al, 0x40
je 0x5be7b5
or edx, 0x40
mov dword [esp + 0x10], edx
lea eax, [ebp + 7]
shr eax, 3
cmp ebx, 0x7fffffff
mov dword [esp + 0x68], eax
je 0x5be7e2
mov ebp, dword [esp + 0x20]
mov ecx, edx
and ecx, 0x22
sub cl, 0x22
neg cl
sbb ecx, ecx
inc ecx
add ecx, eax
add ecx, ebp
add ebx, ecx
mov dword [esp + 0x5c], ebx
mov ecx, dword [esp + 0x1078]
add edi, eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov esi, eax
or esi, ecx
mov dword [esp + 0x34], edi
jne 0x5be860
mov esi, dword [esp + 0x1078]
mov ebp, dword [esi + 8]
test ebp, ebp
je 0x5be860
cmp ebx, 0x7fffffff
je 0x5be84a
xor esi, esi
push esi
push ebp
push 0xffffffffffffffff
push 0xffffffffffffffff
xor edi, edi
call fcn.006cfc60
cmp edx, edi
jb 0x5be846
ja 0x5be82a
cmp eax, ebx
jb 0x5be846
push esi
push ebp
push edi
push ebx
call fcn.006cfc20
mov ecx, dword [esp + 0x1078]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
xor ebp, ebp
mov esi, ecx
jmp 0x5be88c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1078]
or ecx, 0xffffffff
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
xor ebp, ebp
mov esi, eax
jmp 0x5be890
mov esi, dword [esp + 0x1078]
mov edi, dword [esi + 8]
xor ebp, ebp
cmp edi, ebp
jne 0x5be890
mov edi, dword [esp + 0x34]
and dl, 1
neg dl
push ebp
sbb edx, edx
and edx, 3
add edx, edi
push edx
push ecx
push eax
call fcn.006cfc60
mov dword [esi + 8], eax
mov edx, dword [esp + 0x10]
mov ebx, edx
and ebx, 5
mov edx, dword [0x840f34]
push edx
je 0x5be8a8
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push eax
push ecx
jmp 0x5be8ad
mov eax, dword [esi + 8]
push ebp
push eax
call fcn.005be4b0
mov esi, dword [esi + 8]
mov edi, eax
xor eax, eax
add esp, 0xc
mov dword [esp + 0x50], esi
or esi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x54], eax
jne 0x5be8fd
lea ecx, [edi*8]
mov eax, 1
xor edx, edx
call fcn.006cfb80
mov ecx, dword [esp + 0x34]
or esi, 0xffffffff
push ebp
add eax, esi
push ecx
adc edx, esi
push edx
push eax
call fcn.006cfc60
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
jmp 0x5be900
or esi, 0xffffffff
cmp ebx, ebp
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
jne 0x5be919
cmp eax, edi
ja 0x5be921
lea edx, [edi + 1]
mov dword [esp + 0x20], edx
jmp 0x5be921
add eax, dword [esp + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xa04], eax
cmp dword [esp + 0x1070], ebp
lea ecx, [esp + 0x19c]
lea edx, [esp + 0x11c]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0xa08], ecx
mov dword [esp + 0xa0c], edx
je 0x5be979
mov eax, dword [0x840f1c]
add edi, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x1060], ebp
mov dword [esp + 0x14], ebp
jbe 0x5bed35
mov esi, dword [esp + 0x1064]
add esi, 4
jmp 0x5be9a0
mov ecx, dword [esp + 0xa08]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x30]
mov dword [ecx + edx*8], 0xffffffff
mov eax, dword [esp + 0xa08]
mov dword [eax + edx*8 + 4], 0xffffffff
mov ax, word [esi + 2]
xor ecx, ecx
xor ebp, ebp
test ah, 4
mov dword [esp + 0x38], ecx
mov dword [esp + 0x28], ebx
je 0x5bea39
cmp dword [esp + 0x24], ecx
mov word [esi + 2], 0x400
je 0x5be9eb
add word [esi], 0xfffd
mov di, word [esi]
test di, di
mov edx, dword [esi + 0x18]
jbe 0x5bea1d
add edx, 0x12
lea esp, [esp]
mov al, byte [edx]
cmp al, 2
je 0x5bea12
cmp al, 0x10
je 0x5bea12
cmp al, 0x12
jne 0x5bee90
movzx eax, word [esi]
inc ecx
add edx, 0x18
cmp ecx, eax
jl 0x5bea00
add edi, 4
add ebx, 0x20
mov word [esi], di
mov dword [esp + 0x28], ebx
mov ecx, 1
mov ebp, 0x20
jmp 0x5bec30
test al, al
jns 0x5bead0
mov edx, dword [esp + 0x10]
or edx, 2
xor edi, edi
cmp word [esi], di
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x18]
mov word [esi + 2], 0x8a
jbe 0x5beaa6
add edx, 0x12
nop
mov cl, byte [edx]
cmp cl, 1
je 0x5bea75
cmp cl, 0xf
je 0x5bea75
cmp cl, 0x11
jne 0x5bee90
xor eax, eax
mov ax, word [edx - 4]
test al, 0x20
jne 0x5bea9b
cmp cl, 0xf
je 0x5bea89
cmp cl, 0x11
jne 0x5bea9b
or eax, 8
cmp cl, 0xf
setne cl
inc cl
mov word [edx - 4], ax
mov byte [edx + 3], cl
movzx eax, word [esi]
inc edi
add edx, 0x18
cmp edi, eax
jl 0x5bea60
mov eax, dword [esp + 0x60]
inc eax
add ebx, 0x102
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ebx
mov ecx, 1
mov ebp, 0xfe
mov dword [esp + 0x38], 0xdf
jmp 0x5bec30
test al, 2
je 0x5beb19
mov eax, dword [esi + 0x18]
test byte [eax + 0xe], 1
je 0x5beae7
cmp byte [eax + 0x12], 7
jne 0x5beae7
and byte [eax + 0xe], 0xfe
mov eax, dword [esi + 0x18]
test byte [eax + 0xe], 0x29
mov edi, dword [esp + 0x10]
jne 0x5beb08
xor eax, eax
mov ax, word [esi + 2]
and eax, 0xfffd
or eax, 0x28
mov word [esi + 2], ax
jmp 0x5beb1d
or byte [eax + 0xe], 2
or byte [esi + 2], 8
or edi, 2
mov dword [esp + 0x10], edi
jmp 0x5beb1d
mov edi, dword [esp + 0x10]
mov ax, word [esi + 2]
test al, 0x20
je 0x5beb2c
or edi, 2
mov dword [esp + 0x10], edi
test al, 0x10
je 0x5beb46
mov eax, dword [esp + 0x1078]
mov bl, byte [eax + 0x39]
test bl, bl
je 0x5beb46
inc edx
mov dword [esp + 0xab0], edx
cmp word [esi], 0
mov eax, dword [esi + 0x18]
mov dword [esp + 0x44], 0
jbe 0x5bec30
add eax, 0x10
mov edi, edi
mov bl, byte [eax + 2]
movzx edx, bl
add edx, 0xfffffffd
cmp edx, 0xf
ja case.0x5beb75.7
movzx edx, byte [edx + 0x5bf8c4]
jmp dword [edx*4 + 0x5bf8b8]
or byte [eax - 2], 0x40
jmp case.0x5beb75.7
xor edx, edx
mov dx, word [eax - 2]
test dl, 0x20
jne case.0x5beb75.7
or edx, 8
cmp bl, 0xf
mov word [eax - 2], dx
je 0x5beba3
cmp bl, 0x10
mov edx, 2
jne 0x5beba8
mov edx, 1
mov byte [eax + 5], dl
test byte [eax - 2], 1
je 0x5bebce
or byte [esi + 2], 0xc
mov dx, word [eax]
movzx ebx, dx
or edi, 2
inc ecx
add ebp, ebx
cmp dx, 0xff
jb 0x5bebce
add ebp, 2
add ecx, 2
test byte [eax - 2], 0x28
je 0x5bebf1
or byte [esi + 2], 8
mov dx, word [eax]
movzx ebx, dx
inc ecx
or edi, 2
add ebp, ebx
cmp dx, 0xff
jb 0x5bebf1
add ebp, 2
add ecx, 2
movzx edx, word [eax]
mov ebx, dword [esp + 0x28]
add ebx, edx
mov dl, byte [eax + 4]
test dl, dl
mov dword [esp + 0x28], ebx
je 0x5bec15
or byte [eax - 2], 0x10
inc ebx
or edi, 2
or byte [esi + 2], 0x48
mov dword [esp + 0x28], ebx
mov edx, dword [esp + 0x44]
movzx ebx, word [esi]
inc edx
add eax, 0x18
cmp edx, ebx
mov dword [esp + 0x44], edx
jb 0x5beb60
mov dword [esp + 0x10], edi
mov ax, word [esi]
mov edx, dword [esp + 0x18]
movzx edi, ax
add edx, edi
cmp ax, 0x10
mov dword [esp + 0x18], edx
ja 0x5bee90
mov al, byte [esi + 2]
and al, 0x41
cmp al, 1
jne 0x5bec66
test edx, edx
je 0x5bec66
mov eax, dword [esp + 0xa04]
mov dword [eax + edx*4 - 4], 1
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
add ecx, ebx
mov edx, ecx
sub edx, eax
add edx, edi
mov edi, dword [0x840f1c]
lea eax, [edx*4 + 0x1b]
xor edx, edx
div edi
inc eax
imul eax, edi
cmp ax, 0x4000
mov word [esi + 6], ax
ja 0x5bee90
cmp ecx, 0x458
jae 0x5bee90
mov edx, dword [esp + 0x2c]
movzx eax, ax
cmp edx, eax
jae 0x5becb8
mov dword [esp + 0x2c], eax
mov eax, ecx
sub eax, ebp
mov word [esi + 0xc], ax
cmp ecx, dword [esp + 0x1c]
mov word [esi + 0xa], bx
mov word [esi + 0xe], cx
jbe 0x5becd2
mov dword [esp + 0x1c], ecx
movzx edi, word [esi + 6]
xor edx, edx
add ecx, ecx
lea eax, [edi - 5]
div ecx
mov edx, dword [esp + 0x54]
push 0
push eax
mov eax, dword [esp + 0x58]
push edx
push eax
call fcn.006cfc60
mov ecx, eax
mov ebx, edx
mov eax, edi
cdq
push edx
push eax
push ebx
push ecx
call fcn.006cfc20
mov ebp, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x1060]
add ebp, eax
mov eax, dword [esp + 0x14]
adc ebx, edx
inc eax
add esi, 0x3c
cmp eax, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], eax
jb 0x5be9a0
xor ebp, ebp
or esi, 0xffffffff
mov eax, dword [esp + 0x2c]
shr eax, 0xa
cmp eax, ebp
mov dword [esp + 0x38], eax
je 0x5bed61
jmp 0x5bed50
dec eax
mov dword [esp + eax*8 + 0x11c], esi
mov dword [esp + eax*8 + 0x120], esi
jne 0x5bed50
mov eax, dword [esp + 0x1070]
mov edi, dword [esp + 0x1074]
xor ebx, ebx
cmp eax, ebp
mov dword [esp + 0x14], ebp
jbe 0x5bee1d
mov esi, dword [esp + 0x1060]
shl esi, 3
jmp 0x5bed90
mov al, byte [esp + 0x1060]
mov ecx, dword [esp + 0xa08]
mov dl, bl
add dl, al
movzx eax, word [edi]
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
add edx, eax
mov dword [esi + ecx], 0xffffffff
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xa08]
mov dword [esi + edx + 4], 0xffffffff
mov ebp, dword [0x840f1c]
lea ecx, [ecx + ecx + 8]
xor edx, edx
lea eax, [ebp - 5]
div ecx
mov ecx, dword [esp + 0x50]
push 0
push eax
mov eax, dword [esp + 0x5c]
push eax
push ecx
call fcn.006cfc60
push 0
push ebp
push edx
push eax
call fcn.006cfc20
mov ecx, dword [esp + 0x3c]
add ecx, eax
adc dword [esp + 0x40], edx
mov eax, dword [esp + 0x1070]
inc ebx
add esi, 8
add edi, 0xc
cmp ebx, eax
mov dword [esp + 0x3c], ecx
jb 0x5bed90
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1070]
mov esi, dword [esp + 0x38]
add eax, edx
lea edx, [edx + ecx*2]
add esi, ecx
add edx, ecx
mov ecx, dword [esp + 0x14]
lea ebx, [eax + esi*2 + 0x2c]
mov dword [esp + 0x18], eax
add eax, ecx
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x1068]
imul eax, eax, 7
shl ebx, 2
lea edx, [ebx + edx*4 + 0x64]
lea ecx, [edx + ecx*2]
add eax, ecx
cmp eax, 0xffff
mov dword [esp + 0x44], eax
jbe 0x5bef77
mov esi, dword [esp + 0x105c]
push esi
call fcn.005e21e0
add eax, esi
push eax
push 0
push str.MyISAM_table__s_has_too_many_columns_and_or_indexes_and_or_unique_constraints.
push 0
call fcn.005db940
add esp, 0x14
call fcn.005e0030
mov dword [eax], 0x8c
push 0x97a500
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.005e0030
mov esi, dword [eax]
mov eax, dword [esp + 0x48]
dec eax
je 0x5bef04
dec eax
je 0x5beecd
dec eax
jne 0x5bef4a
mov edx, dword [esp + 0x4c]
push 0
push edx
call fcn.005dc1d0
add esp, 8
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5bef04
mov eax, dword [esp + 0x105c]
push 0
push 6
push str..MYD
push 0x73a01c
push eax
lea ecx, [esp + 0xc68]
push ecx
call fcn.005dc850
add esp, 0x14
push eax
call fcn.005e30c0
add esp, 8
mov edx, dword [esp + 0x10]
push 0
push edx
call fcn.005dc1d0
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
jne 0x5bef4a
mov eax, dword [esp + 0x105c]
push 0
push 6
push str..MYI
push 0x73a01c
push eax
lea ecx, [esp + 0xc68]
push ecx
call fcn.005dc850
add esp, 0x14
push eax
call fcn.005e30c0
add esp, 8
mov edx, dword [esp + 0x58]
push edx
call fcn.005d8be0
add esp, 4
call fcn.005e0030
pop edi
mov dword [eax], esi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1044]
call fcn.006cedd0
add esp, 0x1048
ret
push 4
lea edx, [esp + 0x998]
push 0x840f08
push edx
call fcn.006cfd80
mov esi, dword [esp + 0x1084]
mov eax, dword [esi + 0x34]
mov edi, dword [esp + 0x1c]
and eax, 0x4000
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0x4004
or eax, edi
mov dword [esi + 0x34], eax
mov byte [esp + 0x999], al
shr eax, 8
mov byte [esp + 0x998], al
mov eax, dword [esp + 0x44]
mov byte [esp + 0x99b], al
shr eax, 8
mov byte [esp + 0x99a], al
mov al, byte [esi + 0x38]
mov byte [esp + 0x9a1], bl
shr ebx, 8
test al, al
mov byte [esp + 0x99d], 0xb0
mov byte [esp + 0x99c], 0
mov byte [esp + 0x99f], 0x64
mov byte [esp + 0x99e], 0
mov byte [esp + 0x9a0], bl
je 0x5bf016
mov byte [esp + 0x9a8], al
jmp 0x5bf024
mov eax, dword [0x8410fc]
mov cl, byte [eax]
mov byte [esp + 0x9a8], cl
mov dl, byte [esp + 0x38]
or eax, 0xffffffff
mov byte [esp + 0x9a9], dl
mov dword [esp + 0x9e4], eax
mov dword [esp + 0x9e8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x9f4], eax
xor eax, eax
push eax
mov dword [esp + 0x9fc], eax
mov dword [esp + 0xa00], eax
call fcn.006d15df
mov ebx, dword [esp + 0x68]
mov ecx, dword [esi + 0x14]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0xa34], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x9f0], eax
mov eax, dword [esp + 0x30]
imul eax, ebx
shl eax, 4
mov dword [esp + 0x9f4], ecx
mov ecx, eax
mov dword [esp + 0xaa8], edx
mov edx, dword [esp + 0x40]
xor eax, eax
add esp, 4
add ecx, edx
mov edx, dword [esi + 0x24]
adc eax, ebp
mov ebp, dword [esi + 0x20]
shrd ecx, eax, 0xa
shr eax, 0xa
cmp edx, eax
mov dword [esp + 0xa40], 0xffff
mov dword [esp + 0xb8c], edi
jb 0x5bf0d7
ja 0x5bf0d3
cmp ebp, ecx
jbe 0x5bf0d7
mov ecx, ebp
mov eax, edx
push 3
push eax
push ecx
call fcn.005be4b0
mov dl, byte [esp + 0x107c]
mov dword [esp + 0xab4], eax
mov al, byte [esp + 0x6c]
mov byte [esp + 0x9b6], al
mov eax, dword [esp + 0x24]
mov byte [esp + 0x9af], al
shr eax, 8
mov byte [esp + 0x9ae], al
mov eax, dword [esp + 0x20]
movzx ecx, bl
mov byte [esp + 0x9b1], al
shr eax, 8
add esp, 0xc
cmp ebx, 0x40
mov byte [esp + 0x9a6], bl
mov dword [esp + 0xaac], ecx
mov byte [esp + 0x9a7], dl
mov byte [esp + 0x9a4], al
jae 0x5bf160
mov eax, 1
xor edx, edx
mov ecx, ebx
call fcn.006cfb80
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0xa28], edx
jmp 0x5bf16a
or eax, 0xffffffff
mov dword [esp + 0xa28], eax
mov ecx, dword [0x840f1c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0xa24], eax
lea eax, [edx + ecx - 1]
mov edx, dword [esi + 8]
dec ecx
not ecx
and eax, ecx
xor ecx, ecx
mov dword [esp + 0x9c4], eax
mov dword [esp + 0xa5c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x9c8], ecx
mov dword [esp + 0xa60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xabc], eax
mov eax, dword [esi + 0xc]
add ecx, 0xb
mov dword [esp + 0xa80], eax
and ecx, 0xfffffff8
mov eax, edi
shr eax, 5
mov dword [esp + 0xac0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xa7c], edx
mov edx, dword [esp + 0x20]
and eax, 1
add eax, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xa88], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xa94], edx
mov edx, dword [esp + 0x1068]
mov dword [esp + 0xa90], ecx
mov ecx, dword [esp + 0x68]
mov ebx, edi
and ebx, 0x10
mov dword [esp + 0xa8c], eax
mov dword [esp + 0xab8], ecx
mov dword [esp + 0xa9c], edx
mov dword [esp + 0xaa0], ecx
je 0x5bf243
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [esp + 0xa64], ecx
mov dword [esp + 0xa68], edx
lea edx, [eax + 3]
mov ecx, 0x14
cmp edx, ecx
jae 0x5bf265
mov edx, dword [esp + 0xab4]
test edx, edx
jne 0x5bf265
cmp eax, ecx
mov dword [esp + 0xa98], eax
ja 0x5bf26c
mov dword [esp + 0xa98], ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5bf285
push 0
call fcn.006d15df
add esp, 4
mov dword [esp + 0xa34], eax
push 0x97a500
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi]
test eax, eax
je 0x5bf318
test ebx, ebx
je 0x5bf2cc
push 0x5c
push eax
call fcn.006d18f0
add esp, 8
test eax, eax
je 0x5bf2b0
mov byte [eax], 0
mov eax, dword [esi]
mov ecx, dword [esp + 0x105c]
push 5
push str..MYI
push eax
push ecx
lea edx, [esp + 0xc64]
push edx
jmp 0x5bf2e1
push 4
push str..MYI
push 0x73a01c
push eax
lea eax, [esp + 0xc64]
push eax
call fcn.005dc850
mov ecx, dword [esp + 0x1070]
add esp, 0x14
push 4
push str..MYI
push 0x73a01c
push ecx
lea edx, [esp + 0xe64]
push edx
call fcn.005dc850
add esp, 0x14
lea ebp, [esp + 0xe54]
xor edi, edi
jmp 0x5bf350
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x105c]
add eax, 4
neg eax
sbb eax, eax
and eax, 0x20
push eax
push str..MYI
push 0x73a01c
push ecx
lea edx, [esp + 0xc64]
push edx
call fcn.005dc850
add esp, 0x14
xor ebp, ebp
mov edi, 0x100
lea eax, [esp + 0xc54]
push eax
call fcn.005ab8d0
add esp, 4
test eax, eax
je 0x5bf38a
mov esi, dword [esp + 0x105c]
push esi
call fcn.005e21e0
add eax, esi
push eax
push 0
push str.MyISAM_table__s_is_in_use__most_likely_by_a_MERGE_table_._Try_FLUSH_TABLES.
push 0
call fcn.005db940
add esp, 0x14
jmp 0x5bee9b
or edi, 0x10
push edi
mov edi, dword [esp + 0x50]
push edi
push 0
lea ecx, [esp + 0xc60]
push ecx
push ebp
call fcn.005e2f00
add esp, 0x14
test eax, eax
mov dword [esp + 0x10], eax
jl 0x5bee9b
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x48], 1
jne 0x5bf4a7
mov eax, dword [esi + 4]
test eax, eax
je 0x5bf450
test ebx, ebx
je 0x5bf404
push 0x5c
push eax
call fcn.006d18f0
add esp, 8
test eax, eax
je 0x5bf3e7
mov byte [eax], 0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x105c]
push 5
push str..MYD
push edx
push eax
lea ecx, [esp + 0xc64]
push ecx
jmp 0x5bf419
push 4
push str..MYD
push 0x73a01c
push eax
lea edx, [esp + 0xc64]
push edx
call fcn.005dc850
mov eax, dword [esp + 0x1070]
add esp, 0x14
push 4
push str..MYD
push 0x73a01c
push eax
lea ecx, [esp + 0xe64]
push ecx
call fcn.005dc850
add esp, 0x14
lea ecx, [esp + 0xe54]
xor eax, eax
jmp 0x5bf47b
mov edx, dword [esp + 0x105c]
push 4
push str..MYD
push 0x73a01c
push edx
lea eax, [esp + 0xc64]
push eax
call fcn.005dc850
add esp, 0x14
xor ecx, ecx
mov eax, 0x100
or eax, 0x10
push eax
push edi
push 0
lea edx, [esp + 0xc60]
push edx
push ecx
call fcn.005e2f00
add esp, 0x14
test eax, eax
mov dword [esp + 0x4c], eax
jl 0x5bee9b
mov dword [esp + 0x48], 3
mov ecx, dword [esp + 0x10]
push 2
lea eax, [esp + 0x998]
push eax
push ecx
call fcn.005abc60
add esp, 0xc
test eax, eax
jne 0x5bee9b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xa5c]
push edx
push eax
call fcn.005acb60
add esp, 8
test eax, eax
jne 0x5bee9b
mov ecx, dword [esp + 0xaac]
mov ebx, dword [esp + 0x1070]
sub ecx, ebx
mov dword [esp + 0x14], eax
je 0x5bf616
mov ebp, dword [esp + 0x1064]
add ebp, 4
jmp 0x5bf510
mov eax, dword [esp + 0x10]
xor esi, esi
mov si, word [ebp + 2]
lea edx, [ebp - 4]
push edx
push eax
shr esi, 8
and esi, 4
call fcn.005ad240
add esp, 8
test eax, eax
jne 0x5bee9b
movzx ecx, word [ebp]
xor edi, edi
sub ecx, esi
je 0x5bf571
xor ebx, ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x10]
add edx, ebx
push edx
push eax
call fcn.005ad390
add esp, 8
test eax, eax
jne 0x5bee9b
movzx ecx, word [ebp]
inc edi
sub ecx, esi
add ebx, 0x18
cmp edi, ecx
jb 0x5bf541
mov ebx, dword [esp + 0x1070]
xor edi, edi
test esi, esi
jbe 0x5bf5f9
jmp 0x5bf580
mov ecx, dword [esp + 0x10]
xor eax, eax
mov word [esp + 0x7c], ax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
push eax
lea edx, [edi*8]
push ecx
mov byte [esp + 0x8a], 6
mov byte [esp + 0x8b], 7
mov byte [esp + 0x8c], 0
mov byte [esp + 0x8d], 0
mov byte [esp + 0x8e], 0
mov byte [esp + 0x8f], 0
mov word [esp + 0x88], 8
mov dword [esp + 0x7c], edx
mov word [esp + 0x86], 0x40
call fcn.005ad390
add esp, 8
test eax, eax
jne 0x5bee9b
inc edi
cmp edi, esi
jb 0x5bf580
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xaac]
inc eax
sub edx, ebx
add ebp, 0x3c
cmp eax, edx
mov dword [esp + 0x14], eax
jb 0x5bf510
mov esi, dword [esp + 0x20]
lea eax, [ebx*4]
sub esi, eax
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0xa0]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
xor ebp, ebp
test ebx, ebx
mov dword [esp + 0x9c], ecx
jbe 0x5bf70d
mov edi, dword [esp + 0x30]
add edi, 4
mov ecx, dword [esp + 0x10]
mov dx, word [0x840f1c]
mov ax, di
mov word [esp + 0xae], ax
mov word [esp + 0xb2], ax
mov word [esp + 0xb0], ax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0x90], esi
push ecx
mov word [esp + 0xac], 1
mov word [esp + 0xae], 0x100
mov word [esp + 0xb2], dx
mov byte [esp + 0xa2], 9
mov word [esp + 0xa0], 4
add esi, 4
call fcn.005ad240
add esp, 8
test eax, eax
jne 0x5bee9b
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x88]
push edx
push eax
call fcn.005ad390
add esp, 8
test eax, eax
jne 0x5bee9b
inc ebp
cmp ebp, ebx
jb 0x5bf670
mov al, byte [esp + 0x9a7]
xor ebp, ebp
test al, al
jbe 0x5bf7b6
mov ebx, dword [esp + 0x1074]
mov ecx, dword [esp + 0x10]
push ebx
push ecx
call fcn.005ad540
add esp, 8
test eax, eax
jne 0x5bee9b
movzx eax, word [ebx]
mov esi, dword [ebx + 4]
lea edx, [eax + eax*2]
lea edi, [esi + edx*8]
cmp esi, edi
jae 0x5bf7a2
jmp 0x5bf750
mov cl, byte [esi + 0x12]
cmp cl, 0xf
jb 0x5bf785
cmp cl, 0x12
ja 0x5bf785
xor eax, eax
mov ax, word [esi + 0xe]
test al, 0x20
jne 0x5bf785
or eax, 8
cmp cl, 0xf
mov word [esi + 0xe], ax
je 0x5bf77d
cmp cl, 0x10
mov eax, 2
jne 0x5bf782
mov eax, 1
mov byte [esi + 0x15], al
mov eax, dword [esp + 0x10]
push esi
push eax
call fcn.005ad390
add esp, 8
test eax, eax
jne 0x5bee9b
add esi, 0x18
cmp esi, edi
jb 0x5bf750
movzx ecx, byte [esp + 0x9a7]
inc ebp
add ebx, 0xc
cmp ebp, ecx
jb 0x5bf725
mov eax, dword [esp + 0xa9c]
xor edi, edi
test eax, eax
jbe 0x5bf7f5
mov esi, dword [esp + 0x106c]
lea ebx, [ebx]
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.005ad5b0
add esp, 8
test eax, eax
jne 0x5bee9b
mov eax, dword [esp + 0xa9c]
inc edi
add esi, 0x20
cmp edi, eax
jb 0x5bf7d0
mov eax, dword [esp + 0xa5c]
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push eax
push ecx
call fcn.005e81d0
add esp, 0x14
test eax, eax
jne 0x5bee9b
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5bf83f
mov edx, dword [esp + 0x4c]
push 0
push edx
mov dword [esp + 0x50], 2
call fcn.005dc1d0
add esp, 8
test eax, eax
jne 0x5bee9b
push 0x97a500
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
push 0
push eax
call fcn.005dc1d0
add esp, 8
test eax, eax
jne 0x5bee9b
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005d8be0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1044]
call fcn.006cedd0
add esp, 0x1048
ret
call fcn.005e0030
mov ecx, dword [esp + 0x1054]
pop edi
pop esi
pop ebp
mov dword [eax], 0x8c
mov eax, 0x8c
pop ebx
call fcn.006cedd0
add esp, 0x1048
ret