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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x29c
mov eax, dword [0x93e25c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x2a0], eax
mov eax, dword [esi + 0x58]
push edi
call fcn.004a9c70
mov edi, eax
mov ecx, edi
lea edx, [ecx + 1]
xor ebx, ebx
mov edi, edi
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x4aac90
sub ecx, edx
push ecx
mov ecx, dword [esi + 0x2c]
push edi
call fcn.00409c69
mov eax, dword [esi + 0x2c]
mov edi, dword [ebp + 0xc]
mov dword [eax + 0x34], ebx
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0xbfc], ebx
mov eax, dword [esi + 0x2c]
mov byte [eax + 0xb5], bl
mov dword [eax + 0x2bc], ebx
mov byte [eax + 0x2c8], bl
mov dword [eax + 0xbfc], ebx
mov byte [edi + 0x116c], bl
mov dword [edi + 0x1168], ebx
mov edx, dword [esi + 0x2c]
push edx
call fcn.004054ed
mov eax, dword [esi + 0x2c]
push eax
call fcn.00405c54
mov eax, dword [ebp + 0x10]
add esp, 8
cmp eax, ebx
jne 0x4aad0a
mov ecx, dword [esi + 8]
mov dword [edi + 0x1108], ecx
mov edx, dword [esi + 0xc]
mov dword [edi + 0x110c], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x814]
push 0x82543c
push 0x82542c
push ecx
call fcn.004018fc
add esp, 0xc
test eax, eax
je 0x4ab1fe
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x2c]
push 0x974678
mov dword [ecx + 0x8e0], eax
mov dword [ecx + 0x8d8], eax
mov dword [ecx + 0x8dc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x974b10]
mov edx, dword [0x974b14]
mov ecx, eax
mov edi, edx
add eax, 1
adc edx, ebx
mov dword [0x974b10], eax
mov dword [0x974b14], edx
mov edx, dword [esi + 0x2c]
mov dword [edx + 0xb30], ecx
push 0x974678
mov dword [edx + 0xb34], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x2c]
push ebx
push eax
call fcn.00406767
xor eax, eax
mov ecx, 0x74
lea edi, [esp + 0xd8]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xb74]
mov edx, dword [eax + 0x814]
push ecx
mov ecx, dword [eax + 0x14]
push edx
push ecx
call fcn.005d9060
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x54]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xf4], eax
mov eax, dword [0x975c1c]
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x214], 0xb
mov dword [esp + 0x230], 1
je 0x4aae14
mov eax, dword [esi + 0x2c]
lea edx, [esp + 0xd0]
push edx
push eax
call fcn.00408166
add esp, 8
test eax, eax
je 0x4ab1fe
movzx edx, byte [esi + 0x7d]
movzx ecx, byte [esi + 0x7c]
movzx eax, byte [esi + 0x7e]
mov edi, dword [esi + 0x38]
add ecx, edx
movzx edx, byte [esi + 0x7f]
add ecx, eax
movzx eax, byte [esi + 0x80]
add ecx, edx
mov edx, dword [esi + 0x44]
add ecx, eax
lea eax, [edx + ecx*2]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x40]
add eax, edi
lea eax, [ecx + eax*2 + 0xca]
mov ecx, dword [esi + 0x3c]
add eax, edx
add eax, ecx
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x14]
add ecx, 0xc
push eax
push edx
mov dword [esp + 0x14], ebx
call fcn.005d8dd0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4ab20e
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x2c]
lea ecx, [eax + 0x86c]
push ecx
add eax, 0x868
push eax
lea edx, [esp + 0x94]
push edx
push edi
push ebx
mov ecx, esi
call fcn.00405b00
mov eax, dword [esp + 0x8c]
mov byte [eax], bl
mov ecx, dword [esi + 0x2c]
sub eax, edi
mov dword [ecx + 0x34], eax
mov edx, dword [esi + 0x2c]
mov dword [edx + 0x30], edi
mov al, byte [esi + 0x81]
test al, 4
je 0x4aaebf
mov edi, 1
jmp 0x4aaecd
xor edi, edi
test al, 8
je 0x4aaecd
mov dword [esp + 0xc], 1
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x2c]
mov dword [ecx + 0x714], 0x1f
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0x2c]
xor ecx, ecx
mov dword [eax + 0x724], edi
mov cl, byte [esi + 0x81]
mov edx, dword [esi + 0x5c]
and ecx, 1
push ecx
push edx
lea ecx, [esp + 0x98]
call fcn.004081d4
movzx eax, byte [esi + 0x7c]
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
movzx eax, byte [esi + 0x7d]
mov dword [esp + 0x38], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
movzx eax, byte [esi + 0x7e]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x70]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x7f]
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 0x80]
mov dword [esp + 0x4c], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x9c], edx
xor edx, edx
mov dl, byte [esi + 0x81]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], ecx
mov ecx, 0x843bd8
lea eax, [esp + 0x60]
mov dword [esp + 0x94], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x38]
mov dword [esp + 0xa0], eax
mov al, byte [esi + 0x82]
mov dword [esp + 0x98], ecx
and edx, 2
test al, 1
lea ecx, [esp + 0x4c]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], edx
je 0x4aafeb
mov dword [esp + 0x64], ebx
mov eax, dword [esi + 0x60]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x74], 0x837188
lea ecx, [esp + 0x74]
mov dword [esp + 0x78], ecx
mov eax, dword [edx + 0x2c]
add eax, 0x320
lea ecx, [esp + 0xd0]
mov edx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x1c], ebx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x2c]
mov eax, dword [esp + 0xdc]
add ecx, 0x320
push ecx
lea edx, [esp + 0x78]
push edx
push eax
mov ecx, esi
call fcn.00409c3c
mov eax, dword [ebp + 8]
cmp eax, ebx
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [ecx + 0x484], edx
je 0x4ab06e
mov ecx, dword [esi + 0x2c]
mov edx, dword [eax]
mov dword [ecx + 0x60], edx
mov ecx, dword [esi + 0x2c]
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x80], edx
xor edx, edx
cmp eax, ebx
mov eax, dword [esp + 0xc]
setne dl
lea ecx, [esp + 0x80]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x80], 0x837188
push edx
push eax
push edi
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x88]
push eax
mov eax, dword [esi + 0x2c]
lea ecx, [esp + 0xe8]
push ecx
lea edx, [esp + 0xac]
push edx
push eax
call fcn.00403c7e
add esp, 0x24
test eax, eax
je 0x4ab0dc
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0xbfc], 1
mov ecx, dword [esi + 0x2c]
cmp dword [ecx + 0xac8], ebx
je 0x4ab145
mov eax, dword [ebp + 0xc]
mov dl, byte [eax + 0xee8]
add eax, 0xee8
cmp dl, bl
mov edi, eax
jne 0x4ab100
mov edi, str.FIRST
mov edx, dword [ecx + 0x814]
push edx
call fcn.00403a17
add esp, 4
push eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xac8]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edi
lea edx, [esp + 0xc4]
push edx
push eax
push ecx
call fcn.006313d0
mov edx, dword [esi + 0x54]
add esp, 0xc
push eax
push edx
push str.Slave:_load_data_infile_on_table__s_at_log_position__s_in_log__s_produced__ld_warning_s_._Default_database:__s
call fcn.00409269
add esp, 0x18
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4ab158
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx + 0x80]
mov dword [eax + 0x20], edx
cmp dword [esp + 0x58], ebx
je 0x4ab17b
mov eax, dword [esp + 0x4c]
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], ebx
call fcn.005d8be0
add esp, 4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
cmp dword [esp + 0x1c], ebx
je 0x4ab19e
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.005d8be0
add esp, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x30], ebx
je 0x4ab1c1
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call fcn.005d8be0
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
cmp dword [esp + 0x44], ebx
je 0x4ab1e4
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
call fcn.005d8be0
add esp, 4
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x6c], ebx
je 0x4ab20e
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
call fcn.005d8be0
jmp 0x4ab20b
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4ab20e
push eax
call fcn.0040a399
add esp, 4
mov edx, dword [esi + 0x2c]
mov dword [edx + 0x60], ebx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x814]
push 0x974678
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x2c]
mov dword [edx + 0x818], ebx
mov edi, dword [esi + 0x2c]
mov eax, dword [edi + 0x814]
push eax
call fcn.005d8be0
mov dword [edi + 0x814], ebx
mov dword [edi + 0xb74], ebx
mov ecx, dword [esi + 0x2c]
mov dword [ecx + 0x30], ebx
mov edx, dword [esi + 0x2c]
add esp, 4
push 0x974678
mov dword [edx + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x2c]
push ebx
push ebx
push eax
call fcn.00405b32
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0xbfc]
add esp, 0xc
cmp ecx, ebx
je 0x4ab2f8
mov cl, byte [eax + 0xb5]
cmp cl, bl
lea edi, [eax + 0xb5]
je 0x4ab29d
mov ebx, dword [eax + 0x2bc]
jmp 0x4ab2ae
mov ecx, dword [0x974690]
mov edi, dword [ecx + 0x1a4]
mov ebx, 0x451
mov edx, dword [esp + 0xc]
push edx
call fcn.00403a17
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [esi + 0x54]
push eax
push edi
push str.Error__s_running_LOAD_DATA_INFILE_on_table__s._Default_database:__s
push ebx
push ecx
call fcn.004028f6
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0x14]
push 1
push eax
call fcn.005d8f70
add esp, 0x24
mov eax, 1
mov ecx, dword [esp + 0x2a4]
call fcn.006cedd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [eax + 0x14]
push 1
push ecx
call fcn.005d8f70
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0xbd4]
add esp, 8
cmp eax, ebx
je 0x4ab352
mov eax, dword [esp + 0xc]
push eax
call fcn.00403a17
mov ecx, dword [esi + 0x54]
mov edx, dword [ebp + 0xc]
push eax
push ecx
push str.Fatal_error_running_LOAD_DATA_INFILE_on_table__s._Default_database:__s
push 0x451
push edx
call fcn.004028f6
add esp, 0x18
mov eax, 1
mov ecx, dword [esp + 0x2a4]
call fcn.006cedd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0x10], ebx
je 0x4ab36e
xor eax, eax
mov ecx, dword [esp + 0x2a4]
call fcn.006cedd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
push eax
mov ecx, esi
call fcn.0040c0b3
mov ecx, dword [esp + 0x2a4]
call fcn.006cedd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc