Function at 0x52c5d0
Capabilities:
Execute anti-debugging instructions
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0xc1c]
sub esp, 0xc1c
push 0xffffffffffffffff
push 0x567710
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x586220]
xor eax, ebp
mov dword [ebp + 0xc18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0xc24]
mov ebx, dword [ebp + 0xc28]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], ebx
mov dword [ebp + 0x14], 0
cmp esi, 0x1fefa
je 0x52cc6d
call fcn.0052d490
rdtsc
mov dword [ebp - 0x48], edx
xor cl, cl
xor dl, dl
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x12], 0
mov byte [ebp - 0x11], dl
test ebx, ebx
je 0x52c672
cmp dword [ebx], 7
jb 0x52c663
inc dword [0x585fc0]
mov cl, 1
jmp 0x52c672
mov eax, dword [ebx]
cmp eax, dword [0x585fbc]
jbe 0x52c672
mov dword [0x585fbc], eax
test esi, esi
je 0x52cbd4
test cl, cl
jne 0x52cbd4
mov byte [ebp - 0x13], dl
xor edi, edi
mov al, byte [esi + edi]
xor al, 0x33
cmp al, 0x1d
je 0x52c697
cmp al, 0x33
je 0x52c697
inc edi
jmp 0x52c687
mov al, byte [esi + edi]
xor al, 0x33
cmp al, 0x1d
jne 0x52cbd4
push 0x400
lea eax, [ebp + 0x818]
push 0
push eax
call fcn.00535f30
push edi
lea eax, [ebp + 0x818]
mov dword [ebp + 0x10], 0
push esi
push eax
call fcn.005358e0
add esp, 0x18
lea eax, [ebp + 0x818]
push eax
call fcn.0052acc0
mov esi, eax
mov dword [ebp + 0x10], esi
test esi, esi
jne 0x52c79a
push eax
lea eax, [ebp + 0x818]
push eax
call fcn.0052ccc0
mov dword [ebp + 0x10], eax
test eax, eax
je 0x52c707
inc dword [0x585f94]
jmp 0x52c797
inc dword [0x585f98]
call fcn.0052e270
mov ecx, eax
test ecx, ecx
je 0x52c797
xorps xmm0, xmm0
lea eax, [ebp + 0x18]
movq qword [ebp], xmm0
xor esi, esi
mov dword [ebp + 4], eax
lea esp, [esp]
movsx ax, byte [ebp + esi + 0x818]
mov word [ebp + esi*2 + 0x18], ax
test ax, ax
je 0x52c746
inc esi
jmp 0x52c730
lea eax, [esi + esi]
mov word [ebp], ax
mov eax, dword [ebp]
add eax, 2
mov word [ebp + 2], ax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp]
push eax
push 0
push 0
call ecx
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x52c777
inc dword [0x585f78]
mov dword [ebp - 0x40], eax
jmp 0x52c77d
inc dword [0x585f7c]
lea eax, [esi + esi]
push eax
lea eax, [ebp + 0x18]
push 0
push eax
call fcn.00535f30
xorps xmm0, xmm0
add esp, 0xc
movq qword [ebp], xmm0
mov esi, dword [ebp + 0x10]
push edi
lea eax, [ebp + 0x818]
push 0
push eax
call fcn.00535f30
mov ecx, dword [ebp - 0x20]
inc edi
xor edx, edx
mov dword [ebp - 0x44], edi
add esp, 0xc
mov dword [ebp - 0x18], edx
mov al, byte [ecx + edi]
xor al, 0x33
cmp al, 0x10
jne 0x52c7db
inc edi
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x44], edi
lea eax, [ecx + edi]
push eax
call fcn.00539f36
mov esi, dword [ebp + 0x10]
add esp, 4
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x52c7f1
cmp dword [ebx], 7
jb 0x52c7f1
inc dword [0x585fc0]
mov al, 1
mov esi, dword [ebp + 0x10]
jmp 0x52c7f4
mov al, byte [ebp - 0x13]
test esi, esi
je 0x52c98e
test al, al
jne 0x52c98e
mov eax, dword [esi + 0x3c]
mov ecx, esi
test eax, eax
je 0x52c810
lea ecx, [eax + esi]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x52c98e
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
cmp dword [ecx + 0x78], eax
je 0x52c844
cmp dword [ecx + 0x7c], eax
je 0x52c844
mov eax, dword [ecx + 0x78]
mov ebx, dword [ecx + 0x7c]
add eax, esi
add ebx, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x52c98e
cmp dword [ecx + 0x7c], 0x28
jb 0x52c98e
mov edx, dword [eax + 0x1c]
mov ecx, dword [eax + 0x10]
add edx, esi
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
add edx, esi
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x24]
add eax, esi
mov dword [ebp - 0x28], edx
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x52c98e
cmp byte [ebp - 0x12], 0
je 0x52c9fd
inc dword [0x585f80]
test ecx, ecx
je 0x52c98e
mov esi, dword [ebp - 0x24]
cmp edx, esi
jae 0x52c8bf
mov bh, 1
jmp 0x52c991
mov eax, edx
sub eax, esi
cmp eax, ecx
jae 0x52c8b8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edx + eax*4]
test eax, eax
je 0x52c98e
mov edi, dword [ebp + 0x10]
lea esi, [eax + edi]
cmp esi, dword [ebp - 0x34]
jb 0x52c9f8
cmp esi, dword [ebp - 0x2c]
ja 0x52c9f8
push dword [ebp - 0x20]
push esi
call fcn.0052d1a0
test al, al
je 0x52c9e0
push edi
push esi
call fcn.0052ccc0
test eax, eax
je 0x52c91b
mov dword [ebp + 0x10], eax
inc dword [0x585f94]
jmp 0x52c921
inc dword [0x585f98]
mov dword [ebp + 0x14], 0
inc dword [0x585f6c]
call fcn.0052e130
test eax, eax
je 0x52c9d4
inc dword [0x585f9c]
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp - 0x18]
push 0
push dword [ebp + 0x10]
call eax
cmp eax, 0xc0000138
jne 0x52c95f
mov dword [ebp + 0x14], 0
jmp 0x52c965
cmp dword [ebp + 0x14], 0
jne 0x52c97c
inc dword [0x585fb8]
inc dword [0x585fa0]
inc dword [0x585fa4]
mov bh, byte [ebp - 0x11]
jmp 0x52c99b
inc dword [0x585fb8]
inc dword [0x585fac]
inc dword [0x585fb0]
mov bh, byte [ebp - 0x11]
cmp dword [ebp + 0x14], 0
jne 0x52cbe3
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x52c9b8
call fcn.0052dbb0
test eax, eax
je 0x52c9ae
push esi
call eax
cmp dword [ebp + 0x14], 0
jne 0x52cbe3
mov bl, byte [ebp - 0x12]
inc dword [0x585f74]
test bl, bl
je 0x52cbdb
inc dword [0x585f88]
jmp 0x52cbec
mov bh, byte [ebp - 0x11]
mov dword [ebp + 0x14], 0
jmp 0x52c99b
inc dword [0x585f68]
test ebx, ebx
je 0x52c9ec
inc dword [ebx]
push ebx
push esi
call fcn.0052c5d0
mov dword [ebp + 0x14], eax
jmp 0x52c98e
mov dword [ebp + 0x14], esi
jmp 0x52c98e
inc dword [0x585f84]
test ecx, ecx
je 0x52c98e
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x52c98e
test eax, eax
je 0x52c98e
mov edx, dword [ebp - 0x30]
test edx, edx
je 0x52c98e
xor ebx, ebx
mov dword [ebp - 0x18], ebx
cmp ebx, edx
jae 0x52c98e
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x52cb79
mov eax, dword [ebp - 0x20]
add ecx, dword [ebp + 0x10]
add eax, edi
mov dword [ebp - 0x24], eax
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52ca64
test dl, dl
je 0x52ca60
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52ca64
add ecx, 2
add eax, 2
test dl, dl
jne 0x52ca44
xor eax, eax
jmp 0x52ca69
sbb eax, eax
or eax, 1
test eax, eax
jne 0x52cb6f
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], 8
movzx eax, word [eax + ebx*2]
mov eax, dword [esi + eax*4]
test eax, eax
je 0x52cb6f
mov ebx, dword [ebp + 0x10]
lea esi, [eax + ebx]
cmp esi, dword [ebp - 0x34]
jb 0x52cbbf
cmp esi, dword [ebp - 0x2c]
ja 0x52cbbf
push dword [ebp - 0x20]
push esi
call fcn.0052d1a0
test al, al
je 0x52cb99
push ebx
push esi
call fcn.0052ccc0
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x52cad6
push ebx
mov dword [ebp + 0x10], eax
inc dword [0x585f94]
push eax
call fcn.0052c130
mov dword [ebp + 0x14], eax
jmp 0x52cae3
inc dword [0x585f98]
mov dword [ebp + 0x14], 0
inc dword [0x585f6c]
cmp dword [ebp + 0x14], 0
jne 0x52cbc8
call fcn.0052e130
mov esi, eax
test esi, esi
je 0x52cb90
xorps xmm0, xmm0
push ebx
movq qword [ebp + 8], xmm0
call fcn.0052d710
mov word [ebp + 8], ax
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp + 0xc], ebx
mov word [ebp + 0xa], ax
lea eax, [ebp + 0x14]
push eax
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
call esi
xorps xmm0, xmm0
movq qword [ebp + 8], xmm0
cmp eax, 0xc0000138
je 0x52cb44
cmp eax, 0xc0000142
jne 0x52cb4b
mov dword [ebp + 0x14], 0
inc dword [0x585f9c]
cmp dword [ebp + 0x14], 0
jne 0x52cb82
inc dword [0x585fb8]
inc dword [0x585fa0]
inc dword [0x585fa8]
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x28]
inc ebx
jmp 0x52ca23
inc dword [0x585fac]
inc dword [0x585fb4]
jmp 0x52cbc2
mov dword [ebp + 0x14], 0
jmp 0x52cb69
inc dword [0x585f68]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x52cba8
inc dword [eax]
push eax
push esi
call fcn.0052c5d0
mov dword [ebp + 0x14], eax
jmp 0x52cbc2
mov dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
je 0x52cb69
mov dword [ebp - 4], 0xffffffff
jmp 0x52c98e
mov bh, dl
jmp 0x52c991
inc dword [0x585f8c]
jmp 0x52cbec
inc dword [0x585f70]
mov bl, byte [ebp - 0x12]
mov ecx, dword [0x585fd8]
rdtsc
mov esi, eax
mov eax, dword [0x585fdc]
sub esi, dword [ebp - 0x4c]
sbb edx, dword [ebp - 0x48]
or ecx, eax
je 0x52cc1a
mov ecx, dword [0x585fd8]
mov eax, dword [0x585fdc]
cmp eax, edx
ja 0x52cc26
jb 0x52cc1a
cmp ecx, esi
jae 0x52cc26
mov dword [0x585fd8], esi
mov dword [0x585fdc], edx
cmp dword [ebp + 0x14], 0
je 0x52cc38
push 0
call fcn.0052f5e0
mov eax, dword [ebp + 0x14]
jmp 0x52cc8f
test bl, bl
je 0x52cc5e
test bh, bh
je 0x52cc4f
push 0x4750412d
call fcn.0052f5e0
mov eax, dword [ebp + 0x14]
jmp 0x52cc8f
push 0xc0000138
call fcn.0052f5e0
mov eax, dword [ebp + 0x14]
jmp 0x52cc8f
push 0xc0000139
call fcn.0052f5e0
mov eax, dword [ebp + 0x14]
jmp 0x52cc8f
cmp dword [0x585ffc], 0x33c0
jne 0x52cc8d
call fcn.005301dd
add eax, 0x33c0
mov dword [0x585ffc], eax
mov eax, dword [ebp + 0x14]
jmp 0x52cc8f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc18]
xor ecx, ebp
call fcn.00535482
lea esp, [ebp + 0xc1c]
pop ebp
ret 8