Function at 0x530d50
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5d44cf
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x65d4e4]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x65d4e4]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov ebp, 7
mov dword [esp + 0x9c], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], bx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], bx
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 3
call fcn.00528f40
push ebx
push edi
lea ecx, [esp + 0x30]
mov byte [esp + 0xa4], 4
call fcn.00529190
mov ecx, eax
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x530e15
sub ecx, edi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.0041ef50
call fcn.0041aef0
mov edi, dword [eax + 0x128]
call fcn.0041aef0
cmp edi, ebx
mov eax, dword [eax + 0x110]
mov dword [esp + 0x20], eax
je 0x530f7a
cmp eax, ebx
je 0x530f7a
cmp dword [esp + 0x70], 8
mov eax, dword [esp + 0x5c]
jae 0x530e68
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
push ecx
push ebx
push ebx
push eax
push ebx
call edi
cmp eax, ebx
jne 0x530edb
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x530ecd
xor ebp, ebp
cmp dword [esp + 0x18], ebx
jbe 0x530edb
cmp edi, ebx
je 0x530edb
cmp ebp, ebx
lea ecx, [esp + 0x3c]
jne 0x530ea9
mov edx, dword [edi]
push edx
call fcn.0041ed40
jmp 0x530ebf
push 0x5f8c9c
call fcn.00530c90
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x40]
call fcn.00530c90
add ebp, 1
add edi, 4
cmp ebp, dword [esp + 0x18]
jb 0x530e93
jmp 0x530edb
push 0x5f4234
lea ecx, [esp + 0x40]
call fcn.0041ed40
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x530eec
push eax
call dword [esp + 0x24]
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x530efb
lea eax, [esp + 0x40]
push ebx
push eax
lea ecx, [esp + 0x30]
call fcn.00529100
mov edi, eax
mov ecx, edi
lea ebp, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
add ecx, 1
cmp al, bl
jne 0x530f10
sub ecx, ebp
push ecx
push edi
lea ecx, [esp + 0x7c]
call fcn.00409790
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x7c]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00407e40
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x9c], 3
call fcn.00528f50
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x530f73
mov edx, dword [esp + 0x40]
push edx
call fcn.00595eb8
add esp, 4
mov ebp, 7
jmp 0x530fc5
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x62b600
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00409790
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x9c], 3
call fcn.00528f50
mov edi, 8
cmp dword [esp + 0x54], edi
jb 0x530fc5
mov edx, dword [esp + 0x40]
push edx
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x70], edi
mov word [esp + 0x40], bx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
jb 0x530fe5
mov eax, dword [esp + 0x5c]
push eax
call fcn.00595eb8
add esp, 4
cmp dword [esp + 0x8c], 0x10
mov word [esp + 0x5c], bx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebp
jb 0x531009
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00595eb8
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.005b1988
add esp, 0x8c
ret