Function at 0x569a40
Capabilities:
Move file

Disassembly:
sub esp, 0x33c
mov eax, dword [0x65ada4]
xor eax, esp
mov dword [esp + 0x338], eax
mov eax, dword [esp + 0x348]
push ebx
mov ebx, dword [esp + 0x350]
push ebp
mov ebp, dword [esp + 0x34c]
push esi
push edi
mov edi, dword [esp + 0x350]
push edi
lea esi, [esp + 0x34]
mov dword [esp + 0x18], eax
call fcn.00564be0
add esp, 4
mov esi, edi
call fcn.00565010
test ebx, ebx
je 0x569a93
mov byte [ebx], 0
push edi
push 1
lea ecx, [esp + 0x1b]
push ecx
push 0x5a8a1a
push str.test
push str.test
call fcn.0056c9c0
add esp, 0x18
test eax, eax
jne 0x569cda
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x18]
test eax, eax
je 0x569ae0
mov esi, eax
lea edx, [esp + 0x3c]
push edx
push str.tbdesc
lea eax, [ebp + 0x102]
push 0
push eax
call fcn.0056ae90
push ebx
push esi
push ebp
lea ecx, [esp + 0x58]
push edi
push ecx
call fcn.00567810
mov edi, eax
add esp, 0x24
test edi, edi
jne 0x569cef
test byte [ebp + 0x7dd], 1
jne 0x569bbe
lea ecx, [ebp + 0x203]
mov eax, 0x5abacc
jmp 0x569b30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x569b52
test dl, dl
je 0x569b4c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x569b52
add eax, 2
add ecx, 2
test dl, dl
jne 0x569b30
xor ebx, ebx
xor eax, eax
jmp 0x569b59
sbb eax, eax
sbb eax, 0xffffffff
xor ebx, ebx
cmp eax, ebx
jne 0x569b69
mov dword [ebp + 0x653], 1
jmp 0x569ba9
mov ecx, str.TB_STD_SYSTEM
lea eax, [ebp + 0x607]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x569b94
test dl, dl
je 0x569b90
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x569b94
add eax, 2
add ecx, 2
test dl, dl
jne 0x569b74
xor eax, eax
jmp 0x569b99
sbb eax, eax
sbb eax, 0xffffffff
xor edx, edx
cmp eax, ebx
setne dl
add edx, 2
mov dword [ebp + 0x653], edx
mov dword [ebp + 0x78e], ebx
mov dword [ebp + 0x78a], ebx
mov byte [ebp + 0x789], 0
jmp 0x569bc0
xor ebx, ebx
test byte [ebp + 0x7dd], 2
jne 0x569bd5
mov dword [ebp + 0x63b], ebx
mov dword [ebp + 0x63f], ebx
push ebx
push esi
mov ecx, ebp
call fcn.00566230
mov edi, eax
add esp, 8
cmp edi, ebx
jne 0x569cef
lea eax, [esp + 0x140]
push eax
push str.dblist.ini
push 0
mov byte [ebp + 0x7dd], 3
call fcn.0056b750
push 0
push 0
push 0
push ebp
lea edx, [esp + 0x15c]
xor ecx, ecx
call fcn.005650b0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x569cef
lea ecx, [esp + 0x18]
cmp esi, ecx
jne 0x569c68
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.MSVCR90.dll_free]
xor ebx, ebx
cmp eax, ebx
je 0x569c45
push eax
call edi
add esp, 4
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x569c52
push eax
call edi
add esp, 4
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x569c5f
push eax
call edi
add esp, 4
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x248]
push str._s__
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
lea ecx, [esp + 0x250]
push ecx
lea edx, [esp + 0x4c]
push edx
call sub.MSVCR90.dll_rename
add esp, 0x14
mov eax, dword [ebp + 0x793]
cmp eax, 2
je 0x569ca5
cmp eax, 3
jne 0x569cb1
mov ecx, 0x43
mov word [ebp + 0x797], cx
push 0
lea esi, [esp + 0x34]
call fcn.00564be0
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x348]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00586584
add esp, 0x33c
ret
mov eax, dword [esp + 0x14]
push eax
push ebp
push edi
call fcn.00568160
mov edi, eax
add esp, 0xc
test edi, edi
je 0x569c95
push 0
lea esi, [esp + 0x34]
call fcn.00564be0
add esp, 4
mov eax, edi
jmp 0x569cc1