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

Disassembly:
jmp 0x5720d0
sub esp, 0xd98
mov eax, dword [0x93e25c]
push ebx
push ebp
mov ebp, dword [esp + 0xda4]
mov ecx, dword [ebp + 0xabc]
mov dword [esp + 0xd9c], eax
xor eax, eax
and ecx, 2
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
or eax, ecx
push edi
je 0x572132
mov eax, dword [str._unknown_]
push 0xc0e
push str.._sql_table.cc
push eax
push str.init
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x57213c
mov dword [ebp + 0x880], str.init
mov ebx, dword [esp + 0xdbc]
cmp dword [0x974594], 2
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x14], eax
jne 0x57215c
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x5c], ecx
jmp 0x572160
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0xdb0]
test edi, edi
mov esi, dword [ebx + 0xc]
mov dword [esp + 0x28], esi
je 0x572187
mov eax, dword [0x973ee0]
mov edx, dword [eax + 0x68]
push esi
push edi
push eax
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
jne 0x572190
mov edi, esi
mov dword [esp + 0xdb0], edi
mov eax, dword [esp + 0xdb8]
mov ecx, dword [eax + 0x4c]
push 0
push 0
push ebx
push ebp
mov dword [esp + 0x4c], ecx
call fcn.00408af3
mov edx, dword [esp + 0xdd0]
mov eax, dword [edx + 0x38]
add esp, 0x10
test eax, eax
je 0x5721dc
push eax
mov esi, ebp
call fcn.0056eed0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd94]
call fcn.006cedd0
add esp, 0xd98
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [0x81f924]
push 0x974550
push eax
push esi
push ecx
lea edx, [esp + 0x1e4]
push str._s__s__s_s
push edx
call fcn.006cf753
lea eax, [esp + 0x1ec]
push eax
mov ecx, eax
push ecx
call fcn.005e2e40
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x1f8]
push eax
push ebp
call fcn.0040a790
add esp, 0x2c
cmp eax, 2
jne 0x572368
mov ecx, dword [esp + 0xdc0]
test dword [ecx + 0x30], 0xffffffdf
jne 0x572368
mov eax, dword [ebp + 0x50]
test eax, eax
jne 0x57234a
test byte [ebp + 0xb68], 1
jne 0x57234a
push 1
push 0
push ebp
call fcn.00404b6f
add esp, 0xc
test eax, eax
jne 0x573a62
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push ebp
call fcn.0040b39d
add esp, 8
test eax, eax
je 0x572296
mov esi, 1
jmp 0x57231d
mov eax, dword [esp + 0xdb4]
push 1
push eax
push eax
push edi
push ebx
push ebp
call fcn.0040c0ae
add esp, 0x18
test eax, eax
jne 0x57230d
mov eax, dword [0x81ebd4]
test eax, eax
je 0x5722fc
mov ecx, ebp
call fcn.00405ae7
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
push 0x526
push 0
push 0
push edx
push eax
push ebp
lea ecx, [esp + 0x15c]
call fcn.004025f9
lea ecx, [esp + 0x144]
push ecx
mov ecx, 0x81e578
call fcn.00406e83
lea ecx, [esp + 0x144]
call fcn.00407220
push 0
push 0
push 0
push 0
push ebp
call fcn.00409854
add esp, 0x14
push 0
push ebx
push ebp
call fcn.0040529a
mov esi, dword [esp + 0x1c]
add esp, 0xc
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
call fcn.00402a8b
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd94]
call fcn.006cedd0
add esp, 0xd98
ret
mov edx, dword [0x974690]
mov eax, dword [edx + 0x300]
push 0
push eax
push 0x4a8
call fcn.005db9a0
jmp 0x573a5f
push 6
push ebx
push ebp
call fcn.004047d2
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x573a62
mov esi, dword [esp + 0xdb4]
test esi, esi
je 0x5724eb
lea ecx, [esp + 0x1d4]
push esi
push ecx
call fcn.0062b5e0
lea edx, [esp + 0x7ac]
mov eax, edx
push esi
push eax
mov dword [esp + 0x30], edx
call fcn.0062b5e0
mov eax, dword [0x974594]
add esp, 0x10
test eax, eax
je 0x5723ed
cmp eax, 2
je 0x5723dd
mov eax, dword [0x97491c]
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0x1d4]
push edx
push eax
call dword [ecx + 0x2c]
add esp, 8
mov dword [esp + 0x20], esi
mov eax, dword [0x97491c]
mov ecx, dword [eax + 0x64]
push esi
push eax
call dword [ecx + 0x2c]
add esp, 8
cmp edi, dword [esp + 0x28]
jne 0x57241e
mov ebx, dword [esp + 0x14]
mov eax, dword [0x973ee0]
mov edx, dword [eax + 0x68]
push ebx
lea ecx, [esp + 0x1d8]
push ecx
push eax
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
jne 0x57241e
mov esi, ebx
mov dword [esp + 0x20], ebx
jmp 0x57250a
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 0xe4]
test ecx, ecx
je 0x57245c
lea ecx, [esp + 0x1d4]
push ecx
push edi
push ebp
call fcn.00409309
add esp, 0xc
test eax, eax
je 0x572511
lea edx, [esp + 0x1d4]
push edx
push 0
push 0x41a
jmp 0x573a5a
push 0
push edi
push 0x974718
lea eax, [esp + 0x3e0]
push 0x200
push eax
call fcn.0062b600
add esp, 0x14
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push edi
push ebp
call fcn.004099d0
add esp, 0xc
test eax, eax
jne 0x5724c6
push eax
push eax
push 0x974550
lea ecx, [esp + 0x3e0]
push ecx
lea edx, [esp + 0x1e4]
push edx
mov eax, edx
push eax
call fcn.005dc850
add esp, 0x14
push eax
call fcn.006d2006
add esp, 8
test eax, eax
je 0x5724c6
xor edi, edi
jmp 0x5724cb
mov edi, 1
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x572511
mov ecx, dword [esp + 0x20]
push ecx
push 0
push 0x41a
jmp 0x573a5a
cmp dword [0x974594], 2
jne 0x5724fe
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
jmp 0x572506
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x14]
mov dword [esp + 0xdb4], esi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xdb8]
mov edx, dword [ecx]
mov ecx, dword [edi + 0x5c]
cmp ecx, 0x14
mov eax, dword [edx + 0xdc]
lea ebx, [edi + 0x5c]
mov dword [esp + 0x40], eax
jne 0x572535
mov dword [ebx], eax
push esi
mov esi, ebp
call fcn.0056dd40
add esp, 4
test eax, eax
jne 0x573a62
cmp dword [edi + 0x60], 0xffffffff
mov ebx, dword [ebx]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x1c], ebx
jne 0x572563
mov eax, dword [esi]
mov ecx, dword [eax + 0xe0]
mov dword [edi + 0x60], ecx
mov edx, dword [esp + 0x40]
push 2
push edx
call fcn.0040969c
add esp, 8
test eax, eax
jne 0x573a4e
push 2
push ebx
call fcn.0040969c
add esp, 8
test eax, eax
jne 0x573a4e
mov ecx, dword [ebp + 0xabc]
and ecx, 2
xor ebx, ebx
or eax, ecx
je 0x5725be
mov eax, dword [str._unknown_]
push 0xc9a
push str.._sql_table.cc
push eax
push str.setup
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x5725c8
mov dword [ebp + 0x880], str.setup
mov eax, dword [esp + 0xdc0]
test dword [eax + 0x30], 0xfffffddf
jne 0x5728a9
mov ecx, dword [esi]
cmp dword [ecx + 0xe4], ebx
jne 0x5728a9
mov eax, dword [eax + 0x34]
dec eax
je 0x57262e
dec eax
jne 0x572697
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x18]
mov edx, 0x15
mov eax, esi
mov edi, ebp
call fcn.0056d830
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 2
call dword [edx + 0x108]
jmp 0x572663
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x18]
mov edx, 0x15
mov eax, esi
mov edi, ebp
call fcn.0056d830
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 2
call dword [eax + 0x10c]
cmp eax, 0x83
mov dword [esp + 0x10], eax
jne 0x572697
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x68]
mov eax, dword [0x974690]
mov ecx, dword [eax + 0x7c]
push edx
push ecx
push 0x407
push 0
push ebp
mov dword [esp + 0x24], 0
call fcn.0040a1b4
add esp, 0x14
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x5727bb
mov ebx, dword [esp + 0xdb4]
cmp ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0xdb0]
jne 0x5726ce
cmp esi, edi
je 0x5727f0
mov ecx, dword [ebp + 0xabc]
and ecx, 2
xor eax, eax
or eax, ecx
je 0x572700
mov edx, dword [str._unknown_]
push 0xccd
push str.._sql_table.cc
push edx
push str.rename
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x57270a
mov dword [ebp + 0x880], str.rename
mov eax, dword [esp + 0x18]
push eax
push ebp
call fcn.004060c3
push ebx
push esi
push ebp
call fcn.004099d0
add esp, 0x14
test eax, eax
jne 0x57279a
push eax
lea ecx, [esp + 0x1d8]
push ecx
call fcn.006d2006
add esp, 8
test eax, eax
je 0x57279a
push ebx
call fcn.005e2180
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push ebx
push esi
push edx
mov byte [eax], 0
mov eax, dword [esp + 0x50]
push edi
push eax
call fcn.00402892
add esp, 0x18
test eax, eax
jne 0x5727aa
mov ecx, dword [esp + 0x14]
push ebx
push esi
push ecx
push edi
push ebp
call fcn.0040a85d
add esp, 0x14
test eax, eax
je 0x5727f0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
push edx
push edi
push ebx
push esi
push eax
call fcn.00402892
mov dword [esp + 0x24], 0xffffffff
mov esi, dword [esp + 0x24]
add esp, 0x14
jmp 0x572869
push ebx
push 0
push 0x41a
call fcn.005db890
add esp, 0xc
mov dword [esp + 0x10], 0xffffffff
mov esi, dword [esp + 0x10]
jmp 0x572869
cmp esi, 0x83
jne 0x572853
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x68]
mov eax, dword [0x974690]
mov ecx, dword [eax + 0x7c]
push edx
push ecx
push 0x407
push 0
push ebp
mov dword [esp + 0x24], 0
call fcn.0040a1b4
add esp, 0x14
mov eax, dword [0x81ebd4]
test eax, eax
je 0x57283c
mov ecx, ebp
call fcn.00405ae7
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
push 0x526
push 0
push 0
push edx
push eax
push ebp
lea ecx, [esp + 0x15c]
call fcn.004025f9
lea ecx, [esp + 0x144]
push ecx
mov ecx, 0x81e578
call fcn.00406e83
lea ecx, [esp + 0x144]
call fcn.00407220
push 0
push 0
push 0
push 0
push ebp
call fcn.00409854
mov esi, dword [esp + 0x24]
add esp, 0x14
jmp 0x572869
test esi, esi
jle 0x572869
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
push 0
push esi
call dword [eax + 0x18]
or esi, 0xffffffff
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xdbc]
push 0
push eax
push ebp
mov ecx, 0x974d40
mov dword [eax + 0x4c], 0
call fcn.004091f6
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd94]
call fcn.006cedd0
add esp, 0xd98
ret
mov eax, dword [esp + 0x3c]
test al, 0x10
jne 0x5728bf
mov ecx, dword [esi]
mov edx, dword [ecx + 0xd4]
mov dword [edi + 0x30], edx
mov dword [edi + 0x34], ebx
test al, 0x20
jne 0x5728d1
mov ecx, dword [esi]
mov edx, dword [ecx + 0xd8]
mov dword [edi + 0x28], edx
mov dword [edi + 0x2c], ebx
test al, 0x40
jne 0x5728e0
mov ecx, dword [esi]
mov edx, dword [ecx + 0xb8]
mov dword [edi + 0x44], edx
test ah, 2
jne 0x5728f0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x88]
mov dword [edi + 4], edx
and eax, 1
mov dword [esp + 0x58], eax
jne 0x57291a
cmp dword [esi + 0x50], ebx
je 0x57291a
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 0x40
call dword [eax + 0xac]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x40]
mov dword [edi + 0x38], edx
mov eax, dword [ecx + 0x44]
mov dword [edi + 0x3c], eax
mov ebx, dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xd0]
mov esi, dword [eax + 0x7c]
mov edi, dword [ebx + 0x18]
mov eax, dword [esp + 0xdc0]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
lea edx, [eax + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
add eax, 0xc
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x80], edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.0040ba0a
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x572ba4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x68]
cmp eax, 0xfe
mov edi, 1
jne 0x5729af
mov dword [esp + 0x44], edi
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
je 0x572a09
lea ebx, [ebx]
cmp dword [eax + 4], edi
jne 0x5729f4
mov eax, dword [eax]
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
mov eax, dword [ebx + 0x1c]
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572a89
mov dword [esp + 0x50], esi
mov esi, dword [esi]
mov eax, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x4c], esi
jne 0x5729d0
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x80]
mov esi, dword [eax]
mov edi, dword [esi + 4]
cmp edi, ebp
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
mov dword [esp + 0x84], esi
je 0x572a6e
mov edi, edi
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x572a50
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
mov eax, dword [ebx + 0x1c]
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572ac1
mov dword [esp + 0x88], esi
mov esi, dword [esi]
mov edi, dword [esi + 4]
cmp edi, ebp
mov dword [esp + 0x84], esi
jne 0x572a30
mov dword [esp + 0x8c], esi
push 0x64
call fcn.0040105a
add esp, 4
cmp eax, ebp
je 0x572af2
push ebx
push ebx
mov ecx, eax
call fcn.0040273e
mov ebp, eax
jmp 0x572af4
mov ecx, dword [ebx + 0x48]
and ecx, 0x7f
cmp cl, 0xf
mov dword [esp + 0x54], esi
jne 0x572ab3
cmp dword [esp + 0x58], ebp
jne 0x572ab3
mov eax, dword [esp + 0xdb8]
mov ecx, dword [eax + 0x4c]
or ecx, edi
mov dword [eax + 0x38], ebp
mov dword [eax + 0x3c], ebp
mov dword [eax + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.0040323d
jmp 0x572b87
cmp dword [edi + 8], ebp
mov dword [esp + 0x8c], esi
mov dword [edi + 0x54], ebx
jne 0x572b87
push edi
lea ecx, [esp + 0xc0]
call fcn.00405501
lea ecx, [esp + 0x80]
call fcn.0040943a
jmp 0x572b87
xor ebp, ebp
push ebp
lea ecx, [esp + 0xc0]
call fcn.00405501
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
mov edi, dword [esi + 4]
test edi, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
je 0x572b87
lea ebx, [ebx]
mov edx, dword [edi]
mov eax, dword [0x9749e0]
mov ecx, dword [eax + 0x68]
push edx
mov edx, dword [ebx + 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572b51
mov dword [esp + 0x34], esi
mov esi, dword [esi]
mov edi, dword [esi + 4]
test edi, edi
mov dword [esp + 0x30], esi
jne 0x572b20
mov dword [esp + 0x38], esi
jmp 0x572b87
cmp dword [ebp + 0x18], 0xfc
mov dword [esp + 0x38], esi
je 0x572c3c
mov edi, dword [edi + 4]
test edi, edi
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x14], edi
je 0x572b76
and eax, 0xffffefff
jmp 0x572b7b
or eax, 0x1000
lea ecx, [esp + 0x2c]
mov dword [ebp + 0x28], eax
call fcn.00408314
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
add eax, 4
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x572998
mov ebp, dword [esp + 0xdac]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx]
mov edi, dword [ebx + 4]
lea esi, [esp + 0xbc]
xor eax, eax
cmp edi, eax
mov ecx, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
je 0x572ce8
mov eax, dword [edi + 4]
test eax, eax
je 0x572be5
mov eax, dword [edi + 0x54]
test eax, eax
je 0x572d1d
mov eax, dword [edi + 0x18]
cmp eax, 0xa
je 0x572bf7
cmp eax, 0xe
je 0x572bf7
cmp eax, 0xc
jne 0x572c23
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x572c23
mov eax, dword [edi + 0x28]
not eax
test eax, 0x1001
jne 0x572c23
test dword [ebp + 0x454], 0x1000000
je 0x572c23
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], 1
mov eax, dword [edi + 8]
test eax, eax
jne 0x572c4c
push edi
lea ecx, [esp + 0xc0]
call fcn.00405501
jmp 0x572cdb
mov eax, dword [ebp + 4]
push eax
push 0
push 0x44d
jmp 0x573a5a
cmp eax, dword [str.first]
jne 0x572c63
push edi
lea ecx, [esp + 0xc0]
call fcn.0040a6dc
jmp 0x572cdb
mov dword [esp + 0x34], esi
mov esi, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
je 0x572cb0
jmp 0x572c80
mov eax, dword [eax]
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
mov eax, dword [edi + 8]
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572ccd
mov dword [esp + 0x34], esi
mov esi, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], esi
jne 0x572c80
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 8]
push eax
push ecx
push 0
push 0x41e
call fcn.005db890
add esp, 0x10
jmp 0x573a62
push edi
lea ecx, [esp + 0x30]
call fcn.00402bd5
mov esi, dword [esp + 0x2c]
mov ebx, dword [ebx]
mov edi, dword [ebx + 4]
test edi, edi
jne 0x572bd3
mov eax, dword [esp + 0xdc0]
mov ecx, dword [eax + 0x14]
xor edx, edx
cmp ecx, edx
je 0x572d27
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
push edx
push 0
push 0x41e
call fcn.005db890
add esp, 0x10
jmp 0x573a62
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 4]
push ecx
jmp 0x572d08
cmp dword [esp + 0xc4], edx
jne 0x572d4d
mov eax, dword [0x974690]
mov ecx, dword [eax + 0x168]
push 0
push ecx
push 0x442
call fcn.005db9a0
jmp 0x573a5f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x68]
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], 0x837188
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x48]
mov ecx, dword [ecx]
cmp dword [ecx + 0x100], edx
mov dword [esp + 0x58], edx
jbe 0x573009
add eax, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x48]
mov esi, dword [eax]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x4c], esi
je 0x572ddd
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x572dc8
mov eax, dword [eax]
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
push edi
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572e48
mov dword [esp + 0x50], esi
mov esi, dword [esi]
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x4c], esi
jne 0x572da5
mov dword [esp + 0x54], esi
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x14]
xor ecx, ecx
lea edx, [esp + 0x68]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], 0x837188
mov dword [esp + 0x6c], edx
cmp dword [eax + 4], ecx
mov dword [esp + 0x90], ecx
jbe 0x572fda
lea ebx, [ebx]
mov eax, dword [ebp]
test eax, eax
je 0x572f23
mov edi, dword [esp + 0xbc]
mov esi, dword [edi + 4]
test esi, esi
mov ebx, dword [eax + 0x1c]
je 0x572f23
mov eax, dword [esi + 4]
test eax, eax
je 0x572e5a
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push eax
push ebx
push ecx
call dword [edx + 0x1c]
jmp 0x572e6a
lea ecx, [esp + 0x48]
mov dword [esp + 0x54], esi
call fcn.0040323d
jmp 0x572fda
mov edx, dword [esi]
mov eax, dword [0x9749e0]
mov ecx, dword [eax + 0x68]
push edx
push ebx
push eax
call dword [ecx + 0x1c]
add esp, 0xc
test eax, eax
je 0x572e7f
mov edi, dword [edi]
mov esi, dword [edi + 4]
test esi, esi
jne 0x572e30
jmp 0x572f23
mov eax, dword [esi + 0x54]
test eax, eax
movzx edi, word [ebp + 0xc]
je 0x572eea
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x68]
push eax
call fcn.004081c0
add esp, 4
test eax, eax
je 0x572ee8
mov ecx, dword [esi + 0x18]
push ecx
call fcn.004081c0
add esp, 4
test eax, eax
je 0x572ee8
mov edx, dword [esi + 0x54]
cmp dword [edx + 0x4c], edi
jne 0x572ec8
xor eax, eax
mov ax, word [ebp + 0x10]
and eax, 0x402
cmp eax, 0x400
jne 0x572ee8
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x572eea
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0xec]
mov ecx, eax
xor edx, edx
mov eax, edi
div dword [ecx + 0x58]
cmp dword [esi + 0x1c], eax
jae 0x572eea
xor edi, edi
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0xec]
mov ecx, eax
mov eax, edi
xor edx, edx
div dword [ecx + 0x58]
push 8
mov edi, eax
call fcn.0040105a
add esp, 4
test eax, eax
je 0x572f17
mov edx, dword [esi]
mov dword [eax], edx
mov dword [eax + 4], edi
jmp 0x572f19
xor eax, eax
push eax
lea ecx, [esp + 0x6c]
call fcn.00401ed3
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
inc eax
add ebp, 0x18
cmp eax, edx
mov dword [esp + 0x90], eax
jb 0x572e10
mov eax, dword [esp + 0x70]
test eax, eax
je 0x572fda
mov edx, ecx
mov eax, dword [edx]
test ah, 4
je 0x572f60
mov esi, 4
jmp 0x572f95
test al, 1
je 0x572f8c
mov edx, dword [0x839bdc]
mov eax, dword [0x9749e0]
mov ecx, dword [eax + 0x68]
push edx
mov edx, dword [esp + 0x80]
push edx
push eax
call dword [ecx + 0x1c]
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x572f95
movzx esi, al
shr esi, 7
or esi, 2
push 0x1c
call fcn.0040105a
add esp, 4
test eax, eax
je 0x572fcb
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ecx + 0x10]
shr edx, 0xd
and edx, 1
push edx
mov edx, dword [esp + 0x84]
push ecx
push edx
push esi
mov ecx, eax
call fcn.00405493
jmp 0x572fcd
xor eax, eax
push eax
lea ecx, [esp + 0xb4]
call fcn.004073ba
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
add edx, 0x2c
mov dword [esp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [edx + 0x100]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jb 0x572d81
mov ebp, dword [esp + 0xdac]
mov ebx, dword [esp + 0xdc0]
mov edi, dword [ebx + 0x18]
mov esi, dword [edi + 4]
test esi, esi
je 0x573065
lea ebx, [ebx]
cmp dword [esi], 5
je 0x573032
push esi
lea ecx, [esp + 0xb4]
call fcn.004073ba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x57305c
mov ebx, dword [0x839bdc]
mov ecx, dword [0x9749e0]
mov edx, dword [ecx + 0x68]
push ebx
push eax
push ecx
call dword [edx + 0x1c]
add esp, 0xc
test eax, eax
je 0x573088
mov ebx, dword [esp + 0xdc0]
mov edi, dword [edi]
mov esi, dword [edi + 4]
test esi, esi
jne 0x573020
mov eax, dword [ebx + 8]
test eax, eax
je 0x573098
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov eax, dword [edx]
push eax
push 0
push 0x443
call fcn.005db890
add esp, 0xc
jmp 0x5739d9
mov eax, dword [esi + 0x14]
push eax
push 0
push 0x500
jmp 0x573a5a
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x5730bf
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [eax]
push ecx
push 0
push 0x443
call fcn.005db890
add esp, 0xc
jmp 0x5739d9
mov eax, dword [ebp + 0xb40]
mov ecx, dword [0x9730a0]
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx]
mov esi, dword [edx + 0x124]
push eax
push ecx
push str.sql
push str._s__lx__lx
lea edx, [esp + 0xe4]
push 0x50
push edx
and esi, 0xfffffffe
call fcn.0062b5c0
mov eax, dword [0x974594]
add esp, 0x18
test eax, eax
je 0x573118
mov eax, dword [0x97491c]
mov ecx, dword [eax + 0x64]
lea edx, [esp + 0xd4]
push edx
push eax
call dword [ecx + 0x2c]
add esp, 8
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x40]
je 0x573144
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
call dword [edx + 0x130]
test eax, eax
jne 0x573144
push eax
push 0x4c1
call fcn.005db890
add esp, 8
jmp 0x5739d9
mov edi, dword [esp + 0xdb8]
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x57316f
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x80]
mov dword [edi + 0x10], edx
mov eax, dword [ebx]
mov ecx, dword [eax + 0x84]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
push edi
call dword [edx + 0xd8]
mov eax, dword [edi + 0x40]
test al, 0x82
jne 0x57318a
mov cl, byte [esp + 0x3c]
test cl, cl
jns 0x573190
and esi, 0xffffff7d
test eax, 0x20020
je 0x57319d
and esi, 0xfffdffdf
test eax, 0x40040
je 0x5731aa
and esi, 0xfffbffbf
or esi, eax
mov dword [edi + 0x40], esi
mov eax, dword [ebx]
mov ecx, dword [eax + 0xe4]
xor edx, edx
cmp ecx, edx
je 0x5731c1
or dword [edi + 0x68], 1
mov ecx, dword [esp + 0xdc0]
test dword [ecx + 0x30], 0xfffffe7f
jne 0x5731ff
test dword [edi + 0x4c], 0xfffcffff
jne 0x5731ff
mov ebx, dword [ebx]
cmp dword [ebx + 0xe4], edx
jne 0x5731ff
cmp dword [ebx + 0xc8], edx
je 0x5731ff
cmp byte [ebx + 0x14c], 0xa
jae 0x5731fb
cmp dword [esp + 0x44], edx
jne 0x5731ff
xor eax, eax
jmp 0x573204
mov eax, 1
mov esi, dword [esp + 0xdb0]
xor ecx, ecx
cmp eax, edx
sete cl
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x80], ecx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x573244
test cl, cl
je 0x573240
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x573244
add eax, 2
add esi, 2
test cl, cl
jne 0x573220
xor eax, eax
jmp 0x573249
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edx
jne 0x5732b7
cmp dword [edi + 0x20], edx
je 0x573280
lea edx, [esp + 0xd4]
push edx
lea eax, [esp + 0x9a8]
push eax
call fcn.0062b5e0
mov ecx, dword [edi + 0x20]
push 1
push ecx
lea edx, [esp + 0x9b4]
push edx
call fcn.005ec140
add esp, 0x14
mov dword [edi + 0x20], eax
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x5732bd
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0xba8]
push ecx
call fcn.0062b5e0
mov edx, dword [edi + 0x1c]
push 1
push edx
lea eax, [esp + 0xbb4]
push eax
call fcn.005ec140
add esp, 0x14
mov dword [edi + 0x1c], eax
jmp 0x5732bd
mov dword [edi + 0x20], edx
mov dword [edi + 0x1c], edx
mov ecx, dword [ebp + 0xabc]
mov eax, dword [ebp + 0xab8]
mov edx, dword [esp + 0xdb8]
push 0
push 1
mov ebx, ecx
mov dword [ebp + 0xabc], ecx
mov edi, eax
and eax, 0xfffbffff
lea ecx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0xdbc]
push edx
mov dword [ebp + 0xab8], eax
lea eax, [esp + 0xe4]
push eax
push ecx
push ebp
call fcn.00403aa3
mov esi, eax
add esp, 0x1c
test esi, esi
mov dword [ebp + 0xab8], edi
mov dword [ebp + 0xabc], ebx
jne 0x572890
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, dword [esp + 0x18]
je 0x57341c
mov edx, dword [ebx]
mov eax, dword [edx + 0xe4]
test eax, eax
lea edx, [esp + 0xd4]
je 0x573392
xor eax, eax
mov ecx, 0x74
lea edi, [esp + 0x5d4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xdb0]
push 2
mov ecx, edx
mov dword [esp + 0x5e4], eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [esp + 0x5ec], ecx
push eax
lea ecx, [esp + 0x5e0]
push ecx
push ebp
mov dword [esp + 0x5fc], edx
call fcn.0040884b
add esp, 0x14
mov dword [esp + 0x24], eax
mov edi, eax
jmp 0x5733f6
mov edi, dword [esp + 0xdb0]
mov eax, dword [0x81f924]
push edx
push edi
push eax
push str._s__s__s
lea ecx, [esp + 0x3e4]
push 0x200
push ecx
call fcn.0062b5c0
push 4
push 0x73a01c
lea edx, [esp + 0x3f4]
push 0x73a01c
push edx
mov eax, edx
push eax
call fcn.005dc850
push 0
lea ecx, [esp + 0x104]
push ecx
push edi
lea edx, [esp + 0x40c]
push edx
push ebp
call fcn.00402b71
mov edi, eax
add esp, 0x40
mov dword [esp + 0x24], edi
test edi, edi
jne 0x573420
mov ecx, dword [esp + 0xdb0]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0xd4]
push eax
push ecx
push edx
call fcn.00403102
add esp, 0xc
jmp 0x5739d9
mov edi, dword [esp + 0x24]
mov ecx, dword [ebp + 0xabc]
xor eax, eax
and ecx, 2
mov dword [ebp + 0xac8], eax
or eax, ecx
mov dword [ebp + 0xb80], 1
je 0x573461
mov eax, dword [str._unknown_]
push 0xec1
push str.._sql_table.cc
push eax
push str.copy_to_tmp_table
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x57346b
mov dword [ebp + 0x880], str.copy_to_tmp_table
mov ecx, dword [ebp + 0xa90]
mov edx, dword [ebp + 0xa94]
xor eax, eax
cmp edi, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
je 0x5734f9
mov eax, dword [edi]
mov cl, byte [eax + 0x151]
test cl, cl
jne 0x57357b
mov ecx, dword [edi + 0x50]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0xdc0]
push edx
mov dword [edi + 0x4c], ecx
mov dword [edi + 0x478], 0
mov ecx, dword [eax + 0x34]
push ecx
mov ecx, dword [esp + 0xdd0]
lea edx, [esp + 0x4c]
push edx
mov edx, dword [esp + 0xdd0]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0xddc]
push ecx
push edx
push eax
lea ecx, [esp + 0xd8]
push ecx
push ebx
mov ecx, edi
call fcn.0056f910
add esp, 0x24
mov esi, eax
jmp 0x57357b
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x15
mov eax, ebx
mov edi, ebp
call fcn.0056d830
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
push 4
push ebp
call dword [edx + 0xbc]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, dword [esp + 0xdc0]
mov ecx, dword [ecx + 0x34]
push eax
mov edi, ebx
call fcn.0056dc90
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
add esp, 4
push 0
push ebp
call dword [edx + 0xbc]
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push ebp
call fcn.00404593
push 1
push ebp
mov esi, eax
call fcn.00404593
mov edi, dword [esp + 0x34]
add esp, 0x10
test eax, eax
je 0x57357b
mov esi, 1
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [ebp + 0xaa0], eax
mov dword [ebp + 0xaa4], ecx
mov dword [ebp + 0xb80], 0
mov edx, dword [ebx]
mov eax, dword [edx + 0xe4]
test eax, eax
je 0x573687
test esi, esi
je 0x5735cb
mov ecx, dword [esp + 0xdb0]
lea eax, [esp + 0xd4]
push eax
push ecx
push ebp
call fcn.00404921
add esp, 0xc
jmp 0x5739d9
mov eax, dword [ebp + 0x4c]
test eax, eax
je 0x5735e3
push eax
push ebp
call fcn.004079b4
add esp, 8
mov dword [ebp + 0x4c], 0
mov edx, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x90]
push edx
push ecx
push ebp
call fcn.00404921
mov edx, dword [esp + 0xdc0]
mov esi, dword [esp + 0xdbc]
push edx
push esi
push edi
push ebp
call fcn.00409f9d
add esp, 0x1c
test eax, eax
je 0x573632
lea eax, [esp + 0xd4]
push eax
push esi
push ebp
call fcn.00404921
push edi
call fcn.005d8be0
add esp, 0x10
jmp 0x5739d9
mov eax, dword [0x81ebd4]
test eax, eax
je 0x57393b
mov ecx, ebp
call fcn.00405ae7
mov ecx, dword [ebp + 0x34]
mov edx, dword [ebp + 0x30]
push 0x526
push 0
push 0
push ecx
push edx
push ebp
lea ecx, [esp + 0x15c]
call fcn.004025f9
lea eax, [esp + 0x144]
push eax
mov ecx, 0x81e578
call fcn.00406e83
lea ecx, [esp + 0x144]
call fcn.00407220
jmp 0x57393b
test edi, edi
je 0x57369a
push edi
call fcn.00408bed
push edi
call fcn.005d8be0
add esp, 8
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x5736cb
mov edx, dword [esp + 0xdb0]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xd4]
push ecx
push edx
push eax
call fcn.00403102
add esp, 0xc
jmp 0x5739ce
mov ecx, dword [ebp + 0xabc]
and ecx, 2
xor eax, eax
or eax, ecx
je 0x5736fd
mov ecx, dword [str._unknown_]
push 0xf19
push str.._sql_table.cc
push ecx
push str.rename_result_table
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x573707
mov dword [ebp + 0x880], str.rename_result_table
mov edx, dword [ebp + 0xb40]
mov eax, dword [0x9730a0]
push edx
push eax
push str.sql
push str._s2__lx__lx
lea ecx, [esp + 0x134]
push 0x20
push ecx
call fcn.0062b5c0
mov eax, dword [0x974594]
add esp, 0x18
test eax, eax
je 0x573750
mov eax, dword [0x97491c]
mov edx, dword [eax + 0x64]
lea ecx, [esp + 0x124]
push ecx
push eax
call dword [edx + 0x2c]
add esp, 8
push ebx
push ebp
call fcn.004060c3
mov edx, dword [esp + 0xdbc]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xdb8]
mov edi, dword [esp + 0x30]
add esp, 8
cmp edx, eax
jne 0x573778
cmp esi, edi
je 0x5737ab
mov eax, dword [esp + 0xdb4]
push eax
push esi
push ebp
call fcn.004099d0
add esp, 0xc
test eax, eax
jne 0x5739a4
push eax
lea ecx, [esp + 0x1d8]
push ecx
call fcn.006d2006
add esp, 8
test eax, eax
je 0x5739a4
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, ebx
jne 0x5737bb
mov dword [esp + 0x1c], ebx
jmp 0x5737bf
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x124]
push edx
push edi
push eax
push edi
push ebx
call fcn.00402892
mov edx, dword [esp + 0x30]
add esp, 0x14
test eax, eax
lea ecx, [esp + 0xd4]
je 0x5737f6
push ecx
push esi
push edx
call fcn.00403102
add esp, 0xc
jmp 0x5739ce
mov eax, dword [esp + 0x20]
push eax
push esi
push ecx
push esi
push edx
call fcn.00402892
add esp, 0x14
test eax, eax
jne 0x573835
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xdb4], eax
jne 0x57381c
cmp esi, edi
je 0x573875
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
push edi
push ebp
call fcn.0040a85d
add esp, 0x14
test eax, eax
je 0x573875
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push esi
push ecx
call fcn.00403102
mov eax, dword [esp + 0x28]
lea edx, [esp + 0xe0]
push edx
push esi
push eax
call fcn.00403102
mov ecx, dword [esp + 0x74]
push ecx
push edi
lea edx, [esp + 0x144]
push edx
push edi
push ebx
call fcn.00402892
add esp, 0x2c
jmp 0x5739ce
lea eax, [esp + 0x124]
push eax
push edi
push ebx
call fcn.00403102
mov ecx, dword [ebp + 0xabc]
and ecx, 2
xor eax, eax
add esp, 0xc
or eax, ecx
je 0x5738b9
mov ecx, dword [str._unknown_]
push 0xf83
push str.._sql_table.cc
push ecx
push 0x7714b8
lea ecx, [ebp + 0xb08]
call fcn.00401f91
jmp 0x5738c3
mov dword [ebp + 0x880], 0x7714b8
mov eax, dword [0x81ebd4]
test eax, eax
je 0x57390f
mov ecx, ebp
call fcn.00405ae7
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
push 0x526
push 0
push 0
push edx
push eax
push ebp
lea ecx, [esp + 0x15c]
call fcn.004025f9
lea ecx, [esp + 0x144]
push ecx
mov ecx, 0x81e578
call fcn.00406e83
lea ecx, [esp + 0x144]
call fcn.00407220
call fcn.00402f31
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xdbc]
push 0
push eax
push ebp
mov ecx, 0x974d40
mov dword [eax + 0x4c], 0
call fcn.004091f6
mov ecx, dword [ebp + 0xac8]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
push ecx
push eax
lea esi, [eax + edx]
mov edx, dword [0x974690]
mov eax, dword [edx + 0x170]
push esi
push eax
lea ecx, [esp + 0xe4]
push 0x50
push ecx
call fcn.0062b5c0
lea edx, [esp + 0xec]
push edx
push 0
push 0
push esi
push ebp
call fcn.00409854
add esp, 0x2c
pop edi
pop esi
mov dword [ebp + 0xbc4], 0
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xd94]
call fcn.006cedd0
add esp, 0xd98
ret
lea eax, [esp + 0x1d4]
push eax
push 0
push 0x41a
call fcn.005db890
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0xe0]
push ecx
push esi
push edx
call fcn.00403102
add esp, 0x18
push 0x973b9c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x60]
test eax, eax
je 0x573a62
mov eax, dword [ebp + 0xb54]
test eax, eax
je 0x573a62
mov edx, dword [esp + 0x64]
mov eax, dword [edx + 0x18]
xor esi, esi
xor ecx, ecx
sub eax, 0xa
je 0x573a09
sub eax, 2
je 0x573a42
sub eax, 2
jne 0x573a10
mov esi, str.0000_00_00
xor ecx, ecx
mov edi, dword [ebp + 0xc20]
mov dword [ebp + 0xc20], 1
mov eax, dword [edx]
push eax
push ecx
push esi
call fcn.005dc810
add esp, 4
push eax
push esi
push 2
push ebp
call fcn.00401d34
add esp, 0x18
mov dword [ebp + 0xc20], edi
jmp 0x573a62
mov esi, str.0000_00_00_00:00:00
mov ecx, 1
jmp 0x573a10
mov ecx, dword [esp + 0x14]
push ecx
push 0
push 0x407
call fcn.005db890
add esp, 0xc
mov ecx, dword [esp + 0xda4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
call fcn.006cedd0
add esp, 0xd98
ret