Function at 0x53b180
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572b4e
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x8c], edi
cmp edi, 0xffff
ja 0x53c00c
mov eax, dword [0x7dcc88]
cmp eax, 1
je 0x53b2b0
cmp dword [0x66a970], 0
je 0x53b2b0
cmp eax, 2
je 0x53c00c
test byte [0x7dcc84], 1
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x53b20c
or dword [0x7dcc84], 1
call esi
mov dword [0x7dcc80], eax
call esi
sub eax, dword [0x7dcc80]
cmp eax, 0x1b58
jbe 0x53b2b0
xor eax, eax
mov dword [ebp - 0x36], eax
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x948df3fc
mov dword [ebp - 0x40], 0xd1f19c83
mov dword [ebp - 0x3c], 0x5219caff
mov word [ebp - 0x38], 0x524f
xor esi, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53b260
sub eax, edx
je 0x53b28d
jmp 0x53b270
xor byte [ebp + esi - 0x44], 0x37
lea eax, [ebp - 0x44]
inc esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x53b280
sub eax, edx
cmp esi, eax
jb 0x53b270
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.0054bf94
xor edx, edx
add esp, 8
cmp dword [ebp - 0x64], 0x117005
setne dl
inc edx
mov dword [0x7dcc88], edx
cmp byte [ebx + 0x42], 0
jne 0x53b2c9
lea eax, [ebx + 0x73]
push eax
mov ecx, ebx
call fcn.00539da0
test al, al
je 0x53c00c
mov ecx, ebx
call fcn.0053a500
cmp byte [ebx + 0x42], 0
mov dword [ebx + 0x2a0], edi
je 0x53c00c
xor esi, esi
mov dword [0x7dcc70], esi
cmp edi, dword [ebx + 0x3a]
jge 0x53c00c
lea edx, [ebp - 0xa4]
push edx
lea eax, [ebp - 0x98]
lea ecx, [ebx + 4]
push eax
mov dword [ebp - 0xa4], edi
call fcn.0053a5a0
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [ebx + 8]
je 0x53b3d7
mov eax, dword [ecx + 0xc]
mov dword [0x7dcc70], eax
cmp eax, esi
je 0x53b3dc
cmp byte [eax + 0x2b], 0
je 0x53b3dc
mov ecx, dword [ebp + 0xc]
sub ecx, esi
je 0x53b354
dec ecx
je 0x53b392
dec ecx
jne 0x53b3dc
cmp dword [eax + 4], esi
jne 0x53b354
cmp dword [eax], esi
je 0x53b3dc
mov ecx, dword [eax]
mov dword [ebx + 0x67], ecx
mov edx, dword [0x7dcc70]
mov eax, dword [edx + 4]
mov dword [ebx + 0x6b], eax
mov ecx, dword [0x7dcc70]
mov edx, dword [ecx + 8]
mov dword [ebx + 0x6f], edx
call fcn.0040ada0
mov ecx, dword [0x7dcc70]
mov dword [ecx + 0xc], eax
mov edx, dword [0x7dcc70]
add edx, 0x16
mov dword [ebx + 0x63], edx
mov al, 1
jmp 0x53c00e
cmp dword [eax + 8], esi
jne 0x53b39b
cmp dword [eax], esi
je 0x53b3dc
mov eax, dword [eax]
mov dword [ebx + 0x67], eax
mov ecx, dword [0x7dcc70]
mov edx, dword [ecx + 4]
mov dword [ebx + 0x6b], edx
mov eax, dword [0x7dcc70]
mov ecx, dword [eax + 8]
mov dword [ebx + 0x6f], ecx
call fcn.0040ada0
mov edx, dword [0x7dcc70]
mov dword [edx + 0xc], eax
mov eax, dword [0x7dcc70]
add eax, 0x16
mov dword [ebx + 0x63], eax
mov al, 1
jmp 0x53c00e
mov eax, dword [0x7dcc70]
cmp dword [0x66a970], esi
je 0x53b444
test byte [0x7dcc84], 2
jne 0x53b408
or dword [0x7dcc84], 2
mov dword [ebp - 4], esi
call fcn.0040ada0
mov dword [0x7dcc7c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0040ada0
sub eax, dword [0x7dcc7c]
cmp eax, 0x1f40
jbe 0x53b43f
mov eax, dword [0x66ada4]
cmp eax, esi
je 0x53b42b
cmp eax, dword [0x664d70]
je 0x53b43f
push 3
push 1
call fcn.0053e280
add esp, 8
add edi, eax
mov dword [ebp - 0x8c], edi
mov eax, dword [0x7dcc70]
cmp byte [ebx + 0x27b], 0
je 0x53bf3e
mov eax, dword [ebx + 0x29c]
cmp dword [eax + edi*4], esi
je 0x53c00c
lea ecx, [ebx + 0x177]
push 0x574a98
push ecx
call fcn.00546285
mov esi, eax
mov eax, dword [0x7dcc70]
add esp, 8
test eax, eax
jne 0x53b49d
push 0x2c
call fcn.00545848
add esp, 4
test eax, eax
je 0x53b496
mov ecx, eax
call fcn.00539d70
jmp 0x53b498
xor eax, eax
mov dword [0x7dcc70], eax
mov byte [eax + 0x2b], 1
call fcn.0040ada0
mov edx, dword [ebx + 0x29c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [edx + eax*4]
push 0
push ecx
push esi
call fcn.0054aa89
push esi
push 0x10
lea edx, [ebp - 0x64]
push 1
push edx
call fcn.005461ac
movzx ecx, word [ebp - 0x64]
mov eax, dword [0x7dcc70]
mov word [eax + 0x16], cx
movzx eax, word [ebp - 0x62]
mov edx, dword [0x7dcc70]
mov word [edx + 0x18], ax
movzx edx, word [ebp - 0x60]
mov ecx, dword [0x7dcc70]
mov word [ecx + 0x1a], dx
movzx ecx, word [ebp - 0x5e]
mov eax, dword [0x7dcc70]
mov word [eax + 0x1c], cx
movzx eax, word [ebp - 0x5c]
mov edx, dword [0x7dcc70]
mov word [edx + 0x1f], ax
movzx edx, word [ebp - 0x5a]
mov ecx, dword [0x7dcc70]
mov word [ecx + 0x21], dx
mov eax, dword [ebp - 0x58]
mov ecx, dword [0x7dcc70]
and eax, 0xffffff
mov dword [ecx + 0x23], eax
mov edx, dword [ebp - 0x58]
mov eax, dword [0x7dcc70]
shr edx, 0x18
mov byte [eax + 0x1e], dl
mov eax, dword [ebp - 0x58]
and eax, 0xffffff
add eax, 0x10
push eax
call fcn.00542ae0
mov ecx, dword [ebx + 0x29c]
mov edx, dword [ebp - 0x8c]
mov edi, eax
mov eax, dword [ecx + edx*4]
push 0
push eax
push esi
mov dword [ebp - 0x84], edi
call fcn.0054aa89
mov ecx, dword [ebp - 0x58]
and ecx, 0xffffff
push esi
add ecx, 0x10
push ecx
push 1
push edi
call fcn.005461ac
push esi
call fcn.00545eee
movzx edx, word [edi]
add esp, 0x40
push edx
mov ecx, ebx
call fcn.00539d10
cmp eax, 4
jge 0x53b5b0
mov esi, 4
mov dword [ebp - 0xac], esi
jmp 0x53b5b8
mov esi, eax
mov dword [ebp - 0xac], eax
movzx eax, word [edi + 2]
push eax
mov ecx, ebx
call fcn.00539d10
cmp eax, 4
jge 0x53b5ce
mov eax, 4
imul eax, esi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
mov dword [ebp - 0xa4], esi
call fcn.00542ae0
push esi
push 0
push eax
mov dword [ebp - 0x9c], eax
call fcn.005454d0
xor ecx, ecx
add esp, 0x10
xor esi, esi
test dword [edi + 0xc], 0xffffff
mov dword [ebp - 0x88], ecx
jle 0x53b6c9
lea ecx, [ecx]
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], 0
add edi, eax
mov edx, dword [ebp - 0x7c]
mov al, byte [edi + edx + 0x10]
test al, al
je 0x53b68e
movzx edx, al
test edx, edx
jle 0x53b68e
mov eax, dword [ebp - 0x7c]
and eax, 1
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x9c]
add eax, esi
mov dword [ebp - 0x90], edx
add esi, 8
cmp dword [ebp - 0x98], 0
jne 0x53b673
mov edx, dword [0x5890f0]
mov dword [eax], edx
mov edx, dword [0x5890f4]
mov dword [eax + 4], edx
add eax, 8
jmp 0x53b686
mov edx, dword [edi + ecx + 0x18]
mov dword [eax], edx
mov edx, dword [edi + ecx + 0x1c]
mov dword [eax + 4], edx
add eax, 8
add ecx, 8
dec dword [ebp - 0x90]
jne 0x53b651
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp eax, 7
jle 0x53b625
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x88]
mov edx, dword [edx + 0xc]
lea eax, [eax + ecx + 8]
and edx, 0xffffff
xor ecx, ecx
mov dword [ebp - 0x88], eax
cmp eax, edx
jl 0x53b610
mov edi, dword [ebp - 0x84]
movzx ecx, word [edi + 2]
movzx eax, word [edi]
imul eax, ecx
xor ecx, ecx
xor esi, esi
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x90], esi
neg ecx
or ecx, eax
push ecx
call fcn.00542ae0
mov ecx, dword [ebp - 0x84]
movzx edx, word [ecx]
movzx ecx, word [ecx + 2]
imul edx, ecx
add edx, edx
push edx
push esi
push eax
mov dword [ebp - 0xa0], eax
call fcn.005454d0
xor eax, eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov al, 0xff
add esp, 0x10
mov dword [ebp - 0x88], esi
mov byte [ebp - 0x51], al
mov byte [ebp - 0x4d], al
mov byte [ebp - 0x49], al
cmp dword [ebp - 0xa4], esi
jle 0x53bc8c
fld qword [0x581ac0]
mov dword [ebp - 0x98], esi
fld qword [0x576408]
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x9c]
mov ecx, dword [eax + edx]
mov edx, dword [eax + edx + 4]
mov dword [ebp - 0xb0], edx
add eax, 8
mov dword [ebp - 0x90], eax
mov eax, ecx
shr eax, 0x10
mov edx, ecx
shr edx, 8
and dl, 0xf8
mov byte [ebp - 0x54], dl
mov ebx, eax
shr ebx, 8
and bl, 0xf8
mov byte [ebp - 0x50], bl
mov edx, ecx
shr edx, 3
and dl, 0xfc
mov ebx, eax
shr ebx, 3
and bl, 0xfc
mov byte [ebp - 0x53], dl
mov byte [ebp - 0x4f], bl
mov dl, cl
add dl, dl
mov bl, al
add bl, bl
add dl, dl
add bl, bl
add dl, dl
add bl, bl
mov byte [ebp - 0x52], dl
mov byte [ebp - 0x4e], bl
cmp cx, ax
jbe 0x53b8f2
movzx esi, byte [ebp - 0x54]
fnstcw word [ebp - 0x7e]
movzx edi, byte [ebp - 0x50]
lea eax, [edi + esi*2 + 1]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0x7e]
fild dword [ebp - 0x7c]
or eax, 0xc00
fdiv st(2)
mov dword [ebp - 0x7c], eax
movzx eax, byte [ebp - 0x4f]
movzx edx, dl
movzx ebx, bl
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
mov cl, byte [ebp - 0x7c]
mov byte [ebp - 0x4c], cl
movzx ecx, byte [ebp - 0x53]
lea eax, [eax + ecx*2 + 1]
fldcw word [ebp - 0x7e]
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fdiv st(2)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
movzx eax, byte [ebp - 0x7c]
mov byte [ebp - 0x4b], al
lea eax, [ebx + edx*2 + 1]
mov dword [ebp - 0x7c], eax
fldcw word [ebp - 0x7e]
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fdiv st(2)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
movzx eax, byte [ebp - 0x7c]
mov byte [ebp - 0x4a], al
lea eax, [esi + edi*2 + 1]
mov dword [ebp - 0x7c], eax
fldcw word [ebp - 0x7e]
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fdiv st(2)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
movzx eax, byte [ebp - 0x7c]
mov byte [ebp - 0x48], al
movzx eax, byte [ebp - 0x4f]
fldcw word [ebp - 0x7e]
lea ecx, [ecx + eax*2 + 1]
mov dword [ebp - 0x7c], ecx
lea ecx, [edx + ebx*2 + 1]
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fdiv st(2)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
movzx eax, byte [ebp - 0x7c]
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0x47], al
fldcw word [ebp - 0x7e]
fild dword [ebp - 0x7c]
fdiv st(2)
fnstcw word [ebp - 0x7e]
mov byte [ebp - 0x45], 0xff
movzx eax, word [ebp - 0x7e]
fadd st(1)
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
mov dl, byte [ebp - 0x7c]
mov byte [ebp - 0x46], dl
fldcw word [ebp - 0x7e]
jmp 0x53b98d
movzx ecx, byte [ebp - 0x54]
fnstcw word [ebp - 0x7e]
movzx eax, byte [ebp - 0x50]
add eax, ecx
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0x7e]
fild dword [ebp - 0x7c]
movzx ecx, byte [ebp - 0x4f]
fmul st(1)
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
mov dword [ebp - 0x48], 0xffff00ff
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
mov al, byte [ebp - 0x7c]
mov byte [ebp - 0x4c], al
movzx eax, byte [ebp - 0x53]
add ecx, eax
fldcw word [ebp - 0x7e]
mov dword [ebp - 0x7c], ecx
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fmul st(1)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
movzx eax, bl
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
mov cl, byte [ebp - 0x7c]
mov byte [ebp - 0x4b], cl
movzx ecx, dl
add eax, ecx
fldcw word [ebp - 0x7e]
mov dword [ebp - 0x7c], eax
fild dword [ebp - 0x7c]
fnstcw word [ebp - 0x7e]
fmul st(1)
movzx eax, word [ebp - 0x7e]
or eax, 0xc00
mov dword [ebp - 0x7c], eax
fadd st(1)
fldcw word [ebp - 0x7c]
fistp dword [ebp - 0x7c]
mov dl, byte [ebp - 0x7c]
mov byte [ebp - 0x4a], dl
fldcw word [ebp - 0x7e]
mov edi, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
mov esi, dword [ebp - 0x98]
add edi, edi
xor edx, edx
add edi, edi
mov dword [ebp - 0x94], 4
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffffc
mov eax, 3
shl eax, cl
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffffc
and eax, dword [ebp - 0xb0]
shr eax, cl
cmp byte [ebp + eax*4 - 0x51], 0
jne 0x53b9e0
mov dword [ebp - 0x80], 0xf81f
jmp 0x53ba20
movzx ecx, byte [ebp + eax*4 - 0x54]
mov ebx, 0xfff8
and cx, bx
mov bl, byte [ebp + eax*4 - 0x53]
mov al, byte [ebp + eax*4 - 0x52]
and bl, 0xfc
shl cx, 5
movzx ebx, bl
or cx, bx
mov ebx, dword [ebp - 0x84]
add cx, cx
shr al, 3
add cx, cx
movzx eax, al
add cx, cx
or cx, ax
movzx ecx, cx
mov dword [ebp - 0x80], ecx
movzx eax, word [ebx]
mov dword [ebp - 0x7c], eax
cmp edi, eax
jge 0x53ba54
movzx eax, word [ebx + 2]
lea ecx, [esi + edx]
cmp ecx, eax
jge 0x53ba54
mov ebx, dword [ebp - 0xa0]
mov cx, word [ebp - 0x80]
sub eax, esi
sub eax, edx
dec eax
imul eax, dword [ebp - 0x7c]
add eax, edi
mov word [ebx + eax*2], cx
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffffe
mov eax, 3
shl eax, cl
mov ecx, dword [ebp - 0x94]
add ecx, 0xfffffffe
and eax, dword [ebp - 0xb0]
shr eax, cl
cmp byte [ebp + eax*4 - 0x51], 0
jne 0x53ba85
mov dword [ebp - 0x80], 0xf81f
jmp 0x53bac5
movzx ecx, byte [ebp + eax*4 - 0x54]
mov ebx, 0xfff8
and cx, bx
mov bl, byte [ebp + eax*4 - 0x53]
mov al, byte [ebp + eax*4 - 0x52]
and bl, 0xfc
shl cx, 5
movzx ebx, bl
or cx, bx
mov ebx, dword [ebp - 0x84]
add cx, cx
shr al, 3
add cx, cx
movzx eax, al
add cx, cx
or cx, ax
movzx ecx, cx
mov dword [ebp - 0x80], ecx
movzx eax, word [ebx]
lea ecx, [edi + 1]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jge 0x53bafd
movzx eax, word [ebx + 2]
lea ecx, [esi + edx]
cmp ecx, eax
jge 0x53bafd
mov ebx, dword [ebp - 0xa0]
mov cx, word [ebp - 0x80]
sub eax, esi
sub eax, edx
dec eax
imul eax, dword [ebp - 0x7c]
add eax, edi
mov word [ebx + eax*2 + 2], cx
mov ebx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x94]
mov eax, 3
shl eax, cl
and eax, dword [ebp - 0xb0]
shr eax, cl
cmp byte [ebp + eax*4 - 0x51], 0
jne 0x53bb22
mov dword [ebp - 0x80], 0xf81f
jmp 0x53bb62
movzx ecx, byte [ebp + eax*4 - 0x54]
mov ebx, 0xfff8
and cx, bx
mov bl, byte [ebp + eax*4 - 0x53]
mov al, byte [ebp + eax*4 - 0x52]
and bl, 0xfc
shl cx, 5
movzx ebx, bl
or cx, bx
mov ebx, dword [ebp - 0x84]
add cx, cx
shr al, 3
add cx, cx
movzx eax, al
add cx, cx
or cx, ax
movzx ecx, cx
mov dword [ebp - 0x80], ecx
movzx ecx, word [ebx]
lea eax, [edi + 2]
cmp eax, ecx
jge 0x53bb90
movzx eax, word [ebx + 2]
lea ebx, [esi + edx]
cmp ebx, eax
jge 0x53bb90
mov ebx, dword [ebp - 0xa0]
sub eax, esi
sub eax, edx
dec eax
imul eax, ecx
mov cx, word [ebp - 0x80]
add eax, edi
mov word [ebx + eax*2 + 4], cx
mov ecx, dword [ebp - 0x94]
add ecx, 2
mov eax, 3
shl eax, cl
and eax, dword [ebp - 0xb0]
shr eax, cl
cmp byte [ebp + eax*4 - 0x51], 0
jne 0x53bbb8
mov dword [ebp - 0x80], 0xf81f
jmp 0x53bbf2
movzx ecx, byte [ebp + eax*4 - 0x54]
mov ebx, 0xfff8
and cx, bx
mov bl, byte [ebp + eax*4 - 0x53]
mov al, byte [ebp + eax*4 - 0x52]
shl cx, 5
and bl, 0xfc
movzx ebx, bl
or cx, bx
add cx, cx
shr al, 3
add cx, cx
movzx eax, al
add cx, cx
or cx, ax
movzx ecx, cx
mov dword [ebp - 0x80], ecx
mov ebx, dword [ebp - 0x84]
movzx eax, word [ebx]
lea ecx, [edi + 3]
mov dword [ebp - 0x7c], eax
cmp ecx, eax
jge 0x53bc30
movzx eax, word [ebx + 2]
lea ecx, [esi + edx]
cmp ecx, eax
jge 0x53bc30
mov ebx, dword [ebp - 0xa0]
mov cx, word [ebp - 0x80]
sub eax, esi
sub eax, edx
dec eax
imul eax, dword [ebp - 0x7c]
add eax, edi
mov word [ebx + eax*2 + 6], cx
mov ebx, dword [ebp - 0x84]
add dword [ebp - 0x94], 8
inc edx
cmp edx, 4
jl 0x53b9af
mov eax, dword [ebp - 0x88]
inc eax
lea edx, [eax*4]
mov dword [ebp - 0x88], eax
cmp edx, dword [ebp - 0xac]
jl 0x53bc70
add esi, 4
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x98], esi
mov eax, dword [ebp - 0xa4]
cmp dword [ebp - 0x90], eax
jl 0x53b751
mov ebx, dword [ebp - 0xa8]
fstp st(0)
fstp st(0)
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00544d5d
mov ecx, dword [ebp - 0x84]
movzx eax, word [ecx]
movzx edx, word [ecx + 2]
imul eax, edx
lea eax, [eax + eax*2]
add eax, eax
push eax
call fcn.00542ae0
mov edx, dword [ebp - 0x84]
movzx edx, word [edx + 2]
add esp, 8
xor edi, edi
xor esi, esi
dec edx
mov dword [ebp - 0x88], eax
mov ecx, eax
mov dword [ebp - 0x90], edx
js 0x53be4f
lea esp, [esp]
mov eax, dword [ebp - 0x84]
movzx eax, word [eax]
mov ebx, dword [ebp - 0xa0]
mov edx, eax
imul edx, dword [ebp - 0x90]
lea edx, [ebx + edx*2]
mov dword [ebp - 0xa4], edx
xor edx, edx
mov dword [ebp - 0xac], ecx
add ecx, 2
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x9c], edx
cmp eax, edx
jle 0x53be23
lea ecx, [ecx]
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x9c]
mov ax, word [eax + edx*2]
mov word [ebp - 0x7c], ax
mov edx, dword [ebp - 0x7c]
mov eax, edx
sar eax, 3
and al, 0xfc
mov byte [ebp - 0x7d], al
mov al, dl
add al, al
mov ebx, edx
sar ebx, 8
add al, al
and bl, 0xf8
add al, al
cmp edx, 0xf81f
jne 0x53bd85
test edi, edi
je 0x53bd6b
mov edx, 0xc0
cmp word [edi], dx
je 0x53be02
mov edi, ecx
lea esi, [ecx + 2]
add ecx, 4
xor eax, eax
mov edx, 0xc0
mov word [esi], ax
mov word [edi], dx
jmp 0x53be02
cmp bl, 0xf8
je 0x53bdd5
cmp bl, 8
jbe 0x53bdd5
movzx edx, bl
mov dword [ebp - 0x98], edx
and edx, reloc.WS2_32.dll_getsockopt
jns 0x53bda5
dec edx
or edx, 0xfffffff8
inc edx
jne 0x53bdd5
cmp bl, al
jne 0x53bdd5
mov al, byte [ebp - 0x7d]
cmp bl, al
je 0x53bdc0
movzx eax, al
sub eax, 4
cmp dword [ebp - 0x98], eax
jne 0x53bdd5
test edi, edi
je 0x53bdce
mov edx, 0xc2
cmp word [edi], dx
je 0x53bdf8
mov eax, 0xc2
jmp 0x53bde8
test edi, edi
je 0x53bde3
mov edx, 0xc1
cmp word [edi], dx
je 0x53bdf8
mov eax, 0xc1
mov edi, ecx
lea esi, [ecx + 2]
add ecx, 4
xor edx, edx
mov word [edi], ax
mov word [esi], dx
mov ax, word [ebp - 0x7c]
mov word [ecx], ax
add ecx, 2
inc word [esi]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x9c]
movzx edx, word [edx]
inc eax
mov dword [ebp - 0x9c], eax
cmp eax, edx
jl 0x53bd20
mov eax, dword [ebp - 0xac]
mov edx, ecx
sub edx, eax
sar edx, 1
dec edx
xor edi, edi
xor esi, esi
dec dword [ebp - 0x90]
mov word [eax], dx
jns 0x53bce0
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0xa8]
sub ecx, eax
sar ecx, 1
lea edi, [ecx + ecx]
push edi
mov esi, eax
call fcn.00542ae0
push edi
push esi
push eax
mov dword [ebp - 0x88], eax
call fcn.00545160
push esi
call fcn.00544d5d
mov eax, dword [ebp - 0xa0]
push eax
call fcn.00544d5d
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.00544d5d
mov edx, dword [0x7dcc70]
mov eax, dword [ebp - 0x88]
add esp, 0x1c
mov dword [edx], eax
call fcn.0040ada0
mov ecx, dword [0x7dcc70]
sub eax, dword [ebp - 0xb8]
add ecx, 0x16
add dword [0x7dcc78], eax
mov dword [ebx + 0x63], ecx
call fcn.0040ada0
mov edx, dword [0x7dcc70]
mov edi, dword [ebp - 0x8c]
mov dword [edx + 0xc], eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xa8]
push ecx
lea ecx, [ebx + 4]
mov dword [ebp - 0xb8], edi
call fcn.0053a5a0
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebx + 8]
jne 0x53bf1b
lea edx, [ebp - 0xb4]
mov dword [ebp - 0xb4], edi
push edx
lea eax, [ebp - 0xbc]
xor edi, edi
push eax
lea ecx, [ebx + 4]
mov dword [ebp - 0xb0], edi
call fcn.0053ae80
mov eax, dword [eax]
jmp 0x53bf1d
xor edi, edi
mov ecx, dword [0x7dcc70]
mov dword [eax + 0xc], ecx
mov edx, dword [0x7dcc70]
mov eax, dword [edx]
mov dword [ebx + 0x67], eax
mov dword [ebx + 0x6b], edi
mov dword [ebx + 0x6f], edi
mov al, 1
jmp 0x53c00e
mov ecx, dword [ebx + 0x5f]
mov ecx, dword [ecx + edi*4]
cmp ecx, esi
jle 0x53c00c
cmp ecx, dword [ebx + 0x3e]
jge 0x53c00c
cmp edi, esi
jl 0x53c00c
cmp edi, dword [ebx + 0x57]
jge 0x53c00c
xor esi, esi
test eax, eax
jne 0x53bf8a
push 0x2c
call fcn.00545848
add esp, 4
test eax, eax
je 0x53bf83
mov ecx, eax
call fcn.00539d70
jmp 0x53bf85
xor eax, eax
mov dword [0x7dcc70], eax
movzx ecx, word [ebx + 0x38]
cmp cx, 0x11
jne 0x53c0de
xor eax, eax
lea edx, [ebx + 0x73]
push 0x574a98
push edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], al
call fcn.00546285
mov ecx, dword [ebp - 0x8c]
mov edi, eax
mov eax, dword [ebx + 0x5f]
mov edx, dword [eax + ecx*4]
push 0
push edx
push edi
call fcn.0054aa89
push edi
push 0x11
lea eax, [ebp - 0x68]
push 1
push eax
call fcn.005461ac
add esp, 0x24
cmp byte [ebx + 0x2a4], 0
je 0x53c03b
cmp byte [0x7dcc74], 0
jne 0x53c02c
mov ecx, dword [0x7dcc70]
push ecx
call fcn.00544d52
push edi
mov dword [0x7dcc70], esi
call fcn.00545eee
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov edi, edi
xor byte [ebp + eax - 0x68], 0x50
inc eax
cmp eax, 0x11
jb 0x53c030
mov eax, dword [0x7dcc70]
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x16], edx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x1a], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x1e], edx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x22], ecx
mov dl, byte [ebp - 0x58]
mov byte [eax + 0x26], dl
mov eax, dword [ebp - 0x5b]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00542ae0
mov ecx, dword [ebp - 0x8c]
mov esi, eax
mov eax, dword [ebx + 0x5f]
mov edx, dword [eax + ecx*4]
push 0
add edx, 0x11
push edx
push edi
call fcn.0054aa89
mov eax, dword [ebp - 0x5b]
push edi
lea ecx, [eax + eax]
push ecx
push 1
push esi
call fcn.005461ac
add esp, 0x20
cmp byte [ebx + 0x2a4], 0
je 0x53c209
cmp byte [0x7dcc74], 0
je 0x53c209
mov ecx, dword [ebp - 0x5b]
xor eax, eax
add ecx, ecx
je 0x53c209
jmp 0x53c0d0
xor byte [eax + esi], 0x50
inc eax
cmp eax, ecx
jb 0x53c0d0
jmp 0x53c209
mov edx, 0x1388
cmp cx, dx
jne 0x53c21d
xor eax, eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], al
lea eax, [ebx + 0x73]
push 0x574a98
push eax
call fcn.00546285
mov ecx, dword [ebx + 0x5f]
mov edx, dword [ebp - 0x8c]
mov edi, eax
mov eax, dword [ecx + edx*4]
push 0
push eax
push edi
call fcn.0054aa89
push edi
push 0x15
lea ecx, [ebp - 0x6c]
push 1
push ecx
call fcn.005461ac
add esp, 0x24
cmp byte [ebx + 0x2a4], 0
je 0x53c16f
cmp byte [0x7dcc74], 0
jne 0x53c162
mov edx, dword [0x7dcc70]
push edx
call fcn.00544d52
add esp, 4
mov dword [0x7dcc70], esi
jmp 0x53c00c
xor eax, eax
xor byte [ebp + eax - 0x6c], 0x50
inc eax
cmp eax, 0x11
jb 0x53c164
mov eax, dword [0x7dcc70]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x16], ecx
mov edx, dword [ebp - 0x68]
mov dword [eax + 0x1a], edx
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x1e], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 0x22], edx
mov ecx, dword [ebp - 0x5c]
mov dword [eax + 0x26], ecx
mov dl, byte [ebp - 0x58]
mov byte [eax + 0x2a], dl
mov eax, dword [ebp - 0x5f]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00542ae0
mov ecx, dword [ebp - 0x8c]
mov esi, eax
mov eax, dword [ebx + 0x5f]
mov edx, dword [eax + ecx*4]
push 0
add edx, 0x15
push edx
push edi
call fcn.0054aa89
mov eax, dword [ebp - 0x5f]
push edi
lea ecx, [eax + eax]
push ecx
push 1
push esi
call fcn.005461ac
add esp, 0x20
cmp byte [ebx + 0x2a4], 0
je 0x53c209
cmp byte [0x7dcc74], 0
je 0x53c209
mov ecx, dword [ebp - 0x5f]
xor eax, eax
add ecx, ecx
je 0x53c209
lea esp, [esp]
xor byte [eax + esi], 0x50
inc eax
cmp eax, ecx
jb 0x53c200
push edi
call fcn.00545eee
mov edi, dword [ebp - 0x8c]
mov eax, dword [0x7dcc70]
add esp, 4
mov byte [eax + 0x2b], 1
mov edx, dword [0x7dcc70]
mov dword [edx], esi
mov eax, dword [0x7dcc70]
add eax, 0x16
mov dword [ebx + 0x63], eax
call fcn.0040ada0
mov ecx, dword [0x7dcc70]
lea edx, [ebp - 0xb8]
mov dword [ecx + 0xc], eax
push edx
lea ecx, [ebx + 4]
mov dword [ebp - 0xb8], edi
call fcn.0053b100
mov ecx, dword [0x7dcc70]
mov dword [eax], ecx
xor eax, eax
mov dword [ebx + 0x6b], eax
mov dword [ebx + 0x6f], eax
mov dword [ebx + 0x67], esi
mov al, 1
jmp 0x53c00e