Function at 0x57b0c0
Capabilities:
Clear file content

Disassembly:
push 0xffffffffffffffff
push 0x63a258
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call fcn.004024e0
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0xc]
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.0057a620
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x310], 0x200
jne 0x57b13c
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57b127
sub eax, edx
push ebx
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00403f70
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x32b], bl
je 0x57b14e
mov ecx, esi
call fcn.00579d20
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x310], 0x20
lea ebp, [esi + 0x28]
jne 0x57b201
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
mov dword [ebp], ebx
call fcn.00542fd0
mov edi, eax
cmp edi, ebx
jg 0x57b1c8
lea ecx, [esp + 0x18]
call fcn.004024e0
mov byte [esp + 0x40], 1
push edi
lea ecx, [esp + 0x1c]
push str.Error_MakeSdxFrList__ld_r_n
push ecx
call fcn.00402f60
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00597fd0
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x18]
call fcn.00402550
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
xor eax, eax
jmp 0x57b671
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov eax, ecx
or eax, edx
je 0x57b3e9
mov eax, dword [esi + 0xc]
mov dword [eax + 0xf0], ecx
mov ecx, esi
mov dword [eax + 0xf4], edx
call fcn.005984a0
mov ecx, dword [esi + 0x25c]
call fcn.0054c7f0
jmp 0x57b3e9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov edx, dword [eax + 0x310]
push ecx
push edx
mov ecx, ebp
call fcn.00543320
test eax, eax
je 0x57b1b0
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x310]
cmp eax, 0x200
jne 0x57b267
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x28]
mov byte [edx + 0x4c], 1
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x28]
mov dword [ecx + 0x44], 1
mov edx, dword [esi + 0x104]
mov ecx, dword [esi + 0x40]
push 1
push edx
call fcn.00555900
jmp 0x57b2fb
cmp eax, 8
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 0x25c]
jne 0x57b359
add ecx, 0x10
call fcn.00554f70
mov edx, dword [esi + 0x25c]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x25c]
add ecx, 0x10
call fcn.00554f50
cmp dword [esp + 0x18], ebx
je 0x57b2bb
mov dword [esi + 0x140], 0x7582
jmp 0x57b1b0
cmp dword [esp + 0x1c], ebx
je 0x57b2fb
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x175], 1
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xc]
push edx
call fcn.005b28a0
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
je 0x57b335
mov ecx, dword [esi + 0xb8]
mov edx, dword [eax]
push ecx
push 0x14d5
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov eax, dword [ecx + 0x310]
cmp eax, 0x200
je 0x57b3e9
mov dword [esi + 0x1c4], ebx
cmp eax, 8
jne 0x57b3df
mov dword [esi + 0x1c0], ebx
jmp 0x57b3e9
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x300], ebx
jne 0x57b2fb
mov ecx, dword [esi + 0xb8]
mov edx, dword [0x70fbf0]
push ecx
push 0x14d6
push 0x111
jmp 0x57b2f4
add ecx, 0x10
call fcn.00554f70
mov ecx, dword [esi + 0x25c]
lea edx, [esp + 0x20]
push edx
push 0xd
lea eax, [esp + 0x2c]
push eax
add ecx, 0x10
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], 0x46
mov byte [esp + 0x31], 0x4c
mov byte [esp + 0x32], 0x56
mov byte [esp + 0x33], 1
mov byte [esp + 0x34], 5
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 9
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
call fcn.00555340
cmp dword [esp + 0x20], 0xd
mov edi, eax
je 0x57b3c4
xor edi, edi
mov ecx, dword [esi + 0x25c]
add ecx, 0x10
call fcn.00554f50
cmp edi, ebx
jne 0x57b2fb
jmp 0x57b1b0
mov dword [esi + 0x1c0], 0xd
mov edx, dword [esi + 0xc]
mov edi, 1
push edi
push ebx
mov byte [edx + 0x314], bl
push ebx
mov ecx, esi
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
call fcn.00599560
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push edi
mov ecx, esi
call edx
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 0x10]
mov ecx, dword [esi + 0x1a4]
cmp eax, ecx
jl 0x57b429
mov eax, ecx
mov dword [esi + 0x1a8], eax
cmp eax, ebx
jne 0x57b439
mov dword [esi + 0x1a8], edi
cmp byte [0x70fc04], bl
jne 0x57b44c
mov ecx, dword [esi + 0xc]
cmp byte [ecx + 0x332], bl
jne 0x57b454
cmp byte [esi + 0x870], bl
je 0x57b46c
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402550
mov eax, edi
jmp 0x57b671
mov edx, dword [esi + 0x25c]
push ebx
push ebx
push ebx
push edx
mov ecx, ebp
call fcn.00547170
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x84], edi
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x68], ebx
mov dword [eax + 0x6c], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x31f8], ebx
mov dword [eax + 0x31fc], ebx
mov eax, dword [esi + 0x25c]
mov dword [eax + 0x70], ebx
mov dword [eax + 0x74], ebx
mov ecx, dword [esi + 0x25c]
mov eax, dword [ecx + 0xb4]
cmp eax, ebx
je 0x57b4e0
mov eax, dword [eax + 0x10]
jmp 0x57b4e6
mov edx, dword [esi + 0xc]
mov eax, dword [edx + 0x24]
cmp eax, 2
jne 0x57b524
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x444], ebx
je 0x57b4fe
cmp dword [ecx + 0x1a4], ebx
jne 0x57b524
call fcn.005b7390
test eax, eax
jne 0x57b524
mov eax, dword [0x7105c0]
mov ecx, dword [esi + 0x20]
push eax
call fcn.00554e70
mov dword [esi + 0x140], 0x756c
jmp 0x57b1b0
mov ecx, dword [esi + 0x25c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [ecx + 0x31e0]
push eax
call edx
mov eax, dword [esi + 0x25c]
mov dword [esi + 0x464], ebx
mov dword [esi + 0x668], ebx
mov dword [esi + 0x260], ebx
mov ecx, dword [eax + 0x31e0]
mov dword [esi + 0x468], ecx
mov edx, dword [esi + 0x668]
add dword [esi + 0x464], edi
xor eax, eax
cmp edx, ebx
jbe 0x57b590
mov ecx, dword [esi + 0x25c]
mov edi, dword [ecx + 0x31e0]
lea ecx, [esi + 0x66c]
cmp dword [ecx], edi
je 0x57b590
inc eax
add ecx, 4
cmp eax, dword [esi + 0x668]
jb 0x57b580
cmp eax, edx
jne 0x57b5b5
cmp edx, 0x80
jae 0x57b5b5
mov edx, dword [esi + 0x25c]
mov ecx, dword [edx + 0x31e0]
mov dword [esi + eax*4 + 0x66c], ecx
inc dword [esi + 0x668]
mov edi, dword [esi + 0x86c]
cmp edi, 0xffffffff
je 0x57b644
mov edx, dword [esi + 0x260]
xor eax, eax
cmp edx, ebx
jbe 0x57b5e6
lea ecx, [esi + 0x264]
cmp dword [ecx], edi
je 0x57b5e6
inc eax
add ecx, 4
cmp eax, dword [esi + 0x260]
jb 0x57b5d6
cmp eax, edx
jne 0x57b5ff
cmp edx, 0x80
jae 0x57b5ff
mov dword [esi + eax*4 + 0x264], edi
inc dword [esi + 0x260]
mov ecx, dword [esi + 0x668]
cmp ebx, ecx
jae 0x57b627
mov edx, dword [esi + 0x86c]
lea eax, [esi + 0x66c]
cmp dword [eax], edx
je 0x57b625
inc ebx
add eax, 4
cmp ebx, dword [esi + 0x668]
jb 0x57b615
cmp ebx, ecx
jne 0x57b644
cmp ecx, 0x80
jae 0x57b644
mov edx, dword [esi + 0x86c]
mov dword [esi + ebx*4 + 0x66c], edx
inc dword [esi + 0x668]
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x57b66c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005f85e7
add esp, 0x30
ret