Function at 0x593350
Capabilities:
Clear file content

Disassembly:
push 0xffffffffffffffff
push 0x6638f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], 0x400
jne 0x5933d1
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov byte [edx + 0x4c], 1
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x40]
mov ebp, 1
mov dword [ecx + 0x44], ebp
mov edx, dword [esi + 0x104]
mov ecx, dword [esi + 0x40]
push ebp
push edx
call fcn.0056c1b0
mov eax, dword [esi + 0xc]
xor ebx, ebx
mov dword [eax + 0xf0], ebx
mov dword [eax + 0xf4], ebx
jmp 0x5936cd
lea ecx, [esp + 0x14]
call fcn.004024f0
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0xc]
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.005928c0
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x334], 0x200
jne 0x593419
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x593404
sub eax, edx
push ebx
dec eax
push eax
lea ecx, [esp + 0x1c]
call fcn.00404070
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x334], 0x20
jne 0x5934cb
mov edx, dword [esp + 0x14]
push 1
lea ecx, [esi + 0x28]
push edx
mov dword [ecx], ebx
call fcn.00557790
mov edi, eax
cmp edi, ebx
jg 0x593492
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x40], 1
push edi
lea eax, [esp + 0x1c]
push str.Error_MakeSdxFrList__ld_r_n
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
mov ecx, esi
call fcn.005b42c0
mov byte [esp + 0x40], bl
lea ecx, [esp + 0x18]
call fcn.00402560
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
xor eax, eax
jmp 0x593942
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x3c]
mov eax, ecx
or eax, edx
je 0x5936b7
mov eax, dword [esi + 0xc]
mov dword [eax + 0xf0], ecx
mov ecx, esi
mov dword [eax + 0xf4], edx
call fcn.005b4790
mov ecx, dword [esi + 0x274]
call fcn.005625b0
jmp 0x5936b7
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 + 0x334]
push ecx
lea edi, [esi + 0x28]
push edx
mov ecx, edi
call fcn.00557c40
test eax, eax
je 0x59347a
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x334]
mov ebp, 0xd
cmp eax, 0x200
jne 0x593539
mov ecx, dword [esi + 0x40]
mov edx, dword [ecx + 0x40]
mov byte [edx + 0x4c], 1
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x40]
mov dword [ecx + 0x44], 1
mov edx, dword [esi + 0x104]
mov ecx, dword [esi + 0x40]
push 1
push edx
call fcn.0056c1b0
jmp 0x5935cf
cmp eax, 8
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax + 0x10]
push ecx
mov ecx, dword [esi + 0x274]
jne 0x59362d
add ecx, 0x10
call fcn.0056b530
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056b4c0
cmp dword [esp + 0x18], ebx
je 0x59358d
mov dword [esi + 0x14c], 0x7582
jmp 0x59347a
cmp dword [esp + 0x1c], ebx
je 0x5935cf
mov ecx, dword [esi + 0xc]
mov byte [ecx + 0x18d], 1
mov edx, dword [esi + 0xb8]
mov ecx, dword [esi + 0xc]
push edx
mov dword [edi], ebx
call fcn.005d0280
mov eax, dword [esi + 0x14]
cmp dword [eax], ebx
je 0x593609
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 + 0x334]
cmp eax, 0x200
je 0x5936b7
mov dword [esi + 0x1cc], ebx
cmp eax, 8
jne 0x5936b1
mov dword [esi + 0x1c8], ebx
jmp 0x5936b7
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x320], ebx
jne 0x5935cf
mov ecx, dword [esi + 0xb8]
mov edx, dword [0x75e284]
push ecx
push 0x14d6
push 0x111
jmp 0x5935c8
add ecx, 0x10
call fcn.0056b530
mov ecx, dword [esi + 0x274]
lea edx, [esp + 0x20]
push edx
push ebp
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.0056b930
mov edi, eax
cmp dword [esp + 0x20], ebp
je 0x593696
xor edi, edi
mov ecx, dword [esi + 0x274]
add ecx, 0x10
call fcn.0056b4c0
cmp edi, ebx
jne 0x5935cf
jmp 0x59347a
mov dword [esi + 0x1c8], ebp
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ebp, 1
mov edx, dword [esi + 0xc]
mov byte [edx + 0x338], bl
mov eax, dword [esi + 0xc]
push ebp
push ebx
mov byte [eax + 0x174], 1
push ebx
mov ecx, esi
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
call fcn.005b57e0
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push ebp
mov ecx, esi
call eax
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx + 0x10]
mov ecx, dword [esi + 0x1ac]
cmp eax, ecx
jl 0x593712
mov eax, ecx
mov dword [esi + 0x1b0], eax
cmp eax, ebx
jne 0x593722
mov dword [esi + 0x1b0], ebp
mov edx, dword [esi + 0xc]
cmp byte [edx + 0x356], bl
je 0x593745
cmp byte [0x75e2ab], bl
je 0x593940
cmp byte [0x75e2aa], bl
jne 0x593940
cmp byte [esi + 0x888], bl
jne 0x593940
mov eax, dword [esi + 0x274]
push ebx
push ebx
push ebx
push eax
lea ecx, [esi + 0x28]
call fcn.0055bb70
mov ecx, dword [esi + 0x274]
mov dword [ecx + 0x9c], ebp
mov eax, dword [esi + 0x274]
mov dword [eax + 0x80], ebx
mov dword [eax + 0x84], ebx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x60], ebx
mov dword [eax + 0x64], ebx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x58], ebx
mov dword [eax + 0x5c], ebx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x3218], ebx
mov dword [eax + 0x321c], ebx
mov eax, dword [esi + 0x274]
mov dword [eax + 0x88], ebx
mov dword [eax + 0x8c], ebx
mov edx, dword [esi + 0x274]
mov eax, dword [edx + 0xcc]
cmp eax, ebx
je 0x5937d2
mov eax, dword [eax + 0x10]
jmp 0x5937d8
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0x24]
cmp eax, 2
jne 0x593819
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x470], ebx
je 0x5937f0
cmp dword [ecx + 0x1c4], ebx
jne 0x593819
call fcn.005d5170
test eax, eax
jne 0x593819
mov ecx, dword [0x75ecc0]
push ecx
mov ecx, dword [esi + 0x20]
call fcn.0056b3d0
mov dword [esi + 0x14c], 0x756c
xor eax, eax
jmp 0x593942
mov ecx, dword [esi + 0x274]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [ecx + 0x3200]
push eax
call edx
mov eax, dword [esi + 0x274]
mov dword [esi + 0x47c], ebx
mov dword [esi + 0x680], ebx
mov dword [esi + 0x278], ebx
mov ecx, dword [eax + 0x3200]
mov dword [esi + 0x480], ecx
mov edx, dword [esi + 0x680]
add dword [esi + 0x47c], ebp
xor eax, eax
cmp edx, ebx
jbe 0x593886
mov ecx, dword [esi + 0x274]
mov edi, dword [ecx + 0x3200]
lea ecx, [esi + 0x684]
cmp dword [ecx], edi
je 0x593886
add eax, ebp
add ecx, 4
cmp eax, dword [esi + 0x680]
jb 0x593875
cmp eax, edx
jne 0x5938ab
cmp edx, 0x80
jae 0x5938ab
mov edx, dword [esi + 0x274]
mov ecx, dword [edx + 0x3200]
mov dword [esi + eax*4 + 0x684], ecx
add dword [esi + 0x680], ebp
mov edi, dword [esi + 0x884]
cmp edi, 0xffffffff
je 0x593940
mov edx, dword [esi + 0x278]
xor eax, eax
cmp edx, ebx
jbe 0x5938e1
lea ecx, [esi + 0x27c]
lea esp, [esp]
cmp dword [ecx], edi
je 0x5938e1
add eax, ebp
add ecx, 4
cmp eax, dword [esi + 0x278]
jb 0x5938d0
cmp eax, edx
jne 0x5938fa
cmp edx, 0x80
jae 0x5938fa
mov dword [esi + eax*4 + 0x27c], edi
add dword [esi + 0x278], ebp
mov ecx, dword [esi + 0x680]
cmp ebx, ecx
jae 0x593923
mov edx, dword [esi + 0x884]
lea eax, [esi + 0x684]
cmp dword [eax], edx
je 0x593921
add ebx, ebp
add eax, 4
cmp ebx, dword [esi + 0x680]
jb 0x593910
cmp ebx, ecx
jne 0x593940
cmp ecx, 0x80
jae 0x593940
mov edx, dword [esi + 0x884]
mov dword [esi + ebx*4 + 0x684], edx
add dword [esi + 0x680], ebp
mov eax, ebp
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.00620b8d
add esp, 0x30
ret