Function at 0x535750
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2055
push 0
push 0
dec ecx
jne 0x535758
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x536288
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x534684]
call fcn.005349a4
mov dword [ebp - 0x24], eax
lea edx, [ebp - 8]
mov eax, 0x25
call fcn.00535708
lea edx, [ebp - 0x101f4]
mov eax, dword [0x65b190]
mov eax, dword [eax]
call fcn.00527654
mov eax, dword [ebp - 0x101f4]
mov edx, 0x40
call fcn.00420d2c
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x53623b
push dword fs:[edx]
mov dword fs:[edx], esp
mov ecx, 2
mov edx, 0xfffffea0
mov eax, dword [ebp - 0x1c]
call fcn.00420f88
lea edx, [ebp - 0x101f0]
mov ecx, 0x160
mov eax, dword [ebp - 0x1c]
call fcn.00420f30
lea eax, [ebp - 0x101f0]
mov edx, 0x536298
movzx ecx, byte [eax]
inc ecx
call fcn.00407660
jne 0x536224
lea eax, [ebp - 0x101fc]
push eax
lea eax, [ebp - 0x10200]
lea edx, [ebp - 0x100e7]
call fcn.004080d8
mov ecx, dword [ebp - 0x10200]
xor edx, edx
mov eax, dword [ebp - 0x24]
call fcn.00534c00
mov eax, dword [ebp - 0x101fc]
lea edx, [ebp - 0x101f8]
call fcn.0041fdf8
mov edx, dword [ebp - 0x101f8]
mov eax, 0x6613d0
call fcn.004073f0
mov edx, dword [0x6613d0]
mov eax, dword [ebp - 0x18]
call fcn.00535564
test al, al
jne 0x535b51
lea eax, [ebp - 0x10204]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov eax, dword [ebp - 0x10204]
mov dl, 1
call fcn.00421024
test al, al
jne 0x5359a6
mov edx, dword [0x6613d0]
mov eax, dword [ebp - 0x18]
call fcn.00535628
lea eax, [ebp - 0x10208]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov ecx, dword [ebp - 0x10208]
mov dl, 1
mov eax, dword [0x46deec]
call fcn.0046e2a8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1020c]
push eax
lea eax, [ebp - 0x10210]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10210]
mov ecx, 0x5362f4
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x1020c]
push eax
lea eax, [ebp - 0x10214]
mov ecx, 0x536308
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10214]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 8]
call fcn.00423e3c
fstp qword [ebp - 0x40]
wait
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
lea edx, [ebp - 0xc]
mov eax, dword [0x65b244]
call fcn.00424ec0
lea eax, [ebp - 0x10218]
push eax
lea eax, [ebp - 0x1021c]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x1021c]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x10218]
push eax
lea eax, [ebp - 0x10220]
mov ecx, 0x536338
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10220]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x28]
call fcn.004052c4
jmp 0x5360c0
lea eax, [ebp - 0x10224]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov ecx, dword [ebp - 0x10224]
mov dl, 1
mov eax, dword [0x46deec]
call fcn.0046e2a8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10228]
mov ecx, 0x536308
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10228]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x64]
test al, al
jne 0x535b1c
mov edx, dword [0x6613d0]
mov eax, dword [ebp - 0x18]
call fcn.00535628
lea eax, [ebp - 0x1022c]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov ecx, dword [ebp - 0x1022c]
mov dl, 1
mov eax, dword [0x46deec]
call fcn.0046e2a8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x10230]
push eax
lea eax, [ebp - 0x10234]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10234]
mov ecx, 0x5362f4
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x10230]
push eax
lea eax, [ebp - 0x10238]
mov ecx, 0x536308
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10238]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 8]
call fcn.00423e3c
fstp qword [ebp - 0x48]
wait
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea edx, [ebp - 0x10]
mov eax, dword [0x65b244]
call fcn.00424ec0
lea eax, [ebp - 0x1023c]
push eax
lea eax, [ebp - 0x10240]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10240]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x1023c]
push eax
lea eax, [ebp - 0x10244]
mov ecx, 0x536338
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10244]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x28]
call fcn.004052c4
jmp 0x5360c0
push 0
push 0x536340
push 0x536348
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [0x65b190]
mov eax, dword [eax]
call fcn.00526ec8
call fcn.004067fc
jmp 0x536242
lea eax, [ebp - 0x10248]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov eax, dword [ebp - 0x10248]
mov dl, 1
call fcn.00421024
test al, al
jne 0x535baa
push 0
push 0x536340
push 0x536348
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [0x65b190]
mov eax, dword [eax]
call fcn.00526ec8
call fcn.004067fc
jmp 0x536242
lea eax, [ebp - 0x1024c]
mov ecx, 0x5362b0
mov edx, dword [ebp - 8]
call fcn.004081bc
mov ecx, dword [ebp - 0x1024c]
mov dl, 1
mov eax, dword [0x46deec]
call fcn.0046e2a8
mov dword [ebp - 0x28], eax
xor eax, eax
push ebp
push 0x535c92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10250]
push eax
lea eax, [ebp - 0x10258]
push eax
lea eax, [ebp - 0x1025c]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x1025c]
mov ecx, 0x536378
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x10258]
push eax
lea eax, [ebp - 0x10254]
push eax
lea eax, [ebp - 0x10260]
mov ecx, 0x536308
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10260]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10254]
push eax
lea eax, [ebp - 0x10264]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10264]
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.00534b1c
mov eax, dword [ebp - 0x10250]
call fcn.00420928
mov dword [ebp - 0x2c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x535caf
dec dword [ebp - 0x2c]
cmp dword [ebp - 0x2c], 0
jle 0x535d2b
lea eax, [ebp - 0x10268]
push eax
lea edx, [ebp - 0x1026c]
mov eax, dword [ebp - 0x2c]
call fcn.0042072c
mov eax, dword [ebp - 0x1026c]
push eax
lea eax, [ebp - 0x10270]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10270]
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.00534a14
mov eax, dword [ebp - 0x10268]
push eax
lea eax, [ebp - 0x10274]
mov ecx, 0x536308
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10274]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 8]
jmp 0x535d60
push 0
push 0x536340
push 0x536348
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [0x65b190]
mov eax, dword [eax]
call fcn.00526ec8
call fcn.004067fc
jmp 0x536242
xor eax, eax
push ebp
push 0x535e2d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1027c]
push eax
lea eax, [ebp - 0x10280]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10280]
mov ecx, 0x536388
mov eax, dword [ebp - 0x24]
call fcn.00534a14
mov eax, dword [ebp - 0x1027c]
push eax
lea eax, [ebp - 0x10278]
push eax
lea eax, [ebp - 0x10284]
mov ecx, 0x536338
mov edx, dword [0x6613d0]
call fcn.004081bc
mov ecx, dword [ebp - 0x10284]
mov edx, 0x53631c
mov eax, dword [ebp - 0x28]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10278]
push eax
lea eax, [ebp - 0x10288]
mov ecx, 0x5362dc
mov edx, dword [0x6613d0]
call fcn.004081bc
mov edx, dword [ebp - 0x10288]
mov eax, dword [ebp - 0x24]
pop ecx
call fcn.00534b1c
mov edx, dword [0x65b244]
mov eax, dword [ebp - 0x14]
call fcn.00425774
fstp qword [ebp - 0x50]
wait
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x535e62
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, 1
push dword [ebp - 0x54]
push dword [ebp - 0x58]
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
call fcn.00423eb8
fstp qword [ebp - 0x60]
wait
call fcn.00423e3c
fcomp qword [ebp - 0x60]
wait
fnstsw ax
sahf
jbe 0x535e9b
mov al, 1
jmp 0x535eaa
call fcn.00423e3c
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
setb al
test al, al
je 0x535ee3
push 0
push 0x536340
push 0x536348
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
mov eax, dword [0x65b190]
mov eax, dword [eax]
call fcn.00526ec8
call fcn.004067fc
jmp 0x536242
mov eax, dword [ebp - 0x2c]
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
je 0x535ef8
cmp dword [ebp - 0x2c], 0xa
jge 0x535f51
push 0
push 0x536340
push 0x5363ac
lea edx, [ebp - 0x10290]
mov eax, dword [ebp - 0x2c]
call fcn.0042072c
push dword [ebp - 0x10290]
push 0x5363c4
lea eax, [ebp - 0x1028c]
mov edx, 3
call fcn.00408244
mov eax, dword [ebp - 0x1028c]
call fcn.00407f68
push eax
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
jmp 0x5360c0
call fcn.00423e3c
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00461848
mov ecx, 0xa
cdq
idiv ecx
test edx, edx
jne 0x5360c0
call fcn.00423e3c
fcomp qword [ebp - 0x38]
wait
fnstsw ax
sahf
je 0x5360c0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x64], eax
mov eax, 1
push dword [ebp - 0x64]
push dword [ebp - 0x68]
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
call fcn.00423eb8
fstp qword [ebp - 0x70]
wait
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, 1
push dword [ebp - 0x74]
push dword [ebp - 0x78]
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
call fcn.00423eb8
fstp qword [ebp - 0x80]
wait
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
mov eax, 1
push dword [ebp - 0x84]
push dword [ebp - 0x88]
add eax, eax
add eax, eax
lea eax, [eax + eax*2]
call fcn.00423eb8
fstp qword [ebp - 0x90]
wait
push 0
push 0x536340
push 0x5363dc
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
call fcn.0046175c
movzx eax, ax
lea edx, [ebp - 0x10298]
call fcn.0042072c
push dword [ebp - 0x10298]
push 0x5363f4
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call fcn.00461780
movzx eax, ax
lea edx, [ebp - 0x1029c]
call fcn.0042072c
push dword [ebp - 0x1029c]
push 0x536404
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
call fcn.004617a4
movzx eax, ax
lea edx, [ebp - 0x102a0]
call fcn.0042072c
push dword [ebp - 0x102a0]
push 0x536414
push 0x536428
lea eax, [ebp - 0x10294]
mov edx, 8
call fcn.00408244
mov eax, dword [ebp - 0x10294]
call fcn.00407f68
push eax
mov eax, dword [0x65b190]
mov eax, dword [eax]
mov eax, dword [eax + 0x178]
push eax
call sub.user32.dll_MessageBoxW
xor ecx, ecx
mov edx, dword [ebp - 0x10094]
mov eax, dword [ebp - 0x1c]
call fcn.00420f88
lea eax, [ebp - 0x102a8]
lea edx, [ebp - 0x101e7]
mov ecx, 0
call fcn.004077d0
mov ecx, dword [ebp - 0x102a8]
lea eax, [ebp - 0x102a4]
mov edx, 0x53643c
call fcn.00407878
mov edx, dword [ebp - 0x102a4]
mov eax, dword [ebp - 0x18]
add eax, 4
call fcn.00408028
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
call fcn.00420d84
mov dword [ebp - 0x20], eax
xor edx, edx
push ebp
push 0x536188
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x10090]
mov ecx, 0x10000
mov eax, dword [ebp - 0x1c]
call fcn.00420f30
mov ebx, eax
lea edx, [ebp - 0x10090]
mov ecx, ebx
mov eax, dword [ebp - 0x20]
call fcn.00420f5c
test ebx, ebx
je 0x536156
cmp ebx, eax
je 0x536129
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53618f
mov ecx, 2
mov edx, 0xfffffea0
mov eax, dword [ebp - 0x20]
call fcn.00420f88
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SetEndOfFile
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536242
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53628f
lea eax, [ebp - 0x102ac]
call fcn.00407010
lea eax, [ebp - 0x102a8]
mov edx, 2
call fcn.004070a0
lea eax, [ebp - 0x102a0]
mov edx, 0x2c
call fcn.00407070
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00407070
ret