Function at 0x10053040
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, ecx
push ebx
push esi
push edi
mov ebx, dword [eax + 4]
mov edi, edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ebx
cmp ebx, 0x61a8
jbe 0x10053435
cmp ebx, 0x3d7e30
jae 0x10053435
mov eax, dword [eax]
lea edx, [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, edi
xor al, al
mov dword [esp + 0x18], 0
mov byte [esp + 0x20], al
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
call fcn.10053800
test al, al
je 0x10053435
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100530c1
mov edx, dword [ecx + 0x84]
jmp 0x100530c3
xor edx, edx
mov eax, dword [edx + 0xc]
sub eax, dword [edx + 8]
sar eax, 2
dec eax
movzx esi, ax
test ecx, ecx
je 0x100530dc
mov ecx, dword [ecx + 0x84]
jmp 0x100530de
xor ecx, ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.10097c50
mov edx, dword [esp + 0x38]
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], edx
cmp edx, ecx
jbe 0x10053101
mov dword [esp + 0x24], ecx
test al, al
je 0x10053435
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x10053118
mov ecx, dword [ecx + 0x84]
jmp 0x1005311a
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp si, ax
jae 0x10053435
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp esi, eax
jae 0x10053141
mov eax, dword [ecx + 8]
mov esi, dword [eax + esi*4]
jmp 0x10053143
xor esi, esi
cmp byte [esi + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x2c], ecx
jne 0x1005315d
mov ecx, esi
call fcn.10097cc0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
lea edx, [eax + ecx]
mov dword [esp + 0x44], edx
cmp ecx, edx
ja 0x10053435
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
jae 0x10053435
mov eax, dword [esp + 0x24]
cmp eax, ecx
jbe 0x10053435
test eax, eax
je 0x10053435
test edx, edx
je 0x10053435
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
push esi
call fcn.10095250
test al, al
je 0x10053435
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x100531c4
mov ecx, dword [ecx + 0x84]
jmp 0x100531c6
xor ecx, ecx
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp si, ax
jae 0x10053435
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
movzx esi, si
sar eax, 2
cmp esi, eax
jae 0x100531f0
mov eax, dword [ecx + 8]
mov esi, dword [eax + esi*4]
jmp 0x100531f2
xor esi, esi
cmp byte [esi + 0x24], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x1c], ecx
jne 0x1005320c
mov ecx, esi
call fcn.10097cc0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi + 0x20]
add eax, ecx
mov dword [esp + 0x38], eax
cmp ecx, eax
ja 0x10053435
mov edx, dword [esp + 0x18]
cmp edx, ebx
jae 0x10053435
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10053435
test eax, eax
je 0x10053435
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
add eax, 0xffff9e58
sub ebx, dword [esp + 0x28]
cmp eax, dword [esp + 0x24]
jb 0x1005325c
mov al, 1
mov byte [esp + 0x20], al
jmp 0x10053260
mov al, byte [esp + 0x20]
cmp ebx, 0x61a8
jae 0x10053270
test al, al
je 0x10053435
mov esi, ecx
sub esi, edx
cmp dword [esp + 0x30], esi
jb 0x10053435
mov eax, dword [esp + 0x10]
mov ecx, edi
add eax, edx
mov dword [esp + 0x14], eax
call fcn.100952e0
mov ecx, edi
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
call fcn.10095300
lea ecx, [eax + 0x18]
lea eax, [esp + 0x48]
push eax
call fcn.10094400
mov ecx, edi
call fcn.10095300
lea ecx, [eax + 0x3c]
lea eax, [esp + 0x50]
push eax
call fcn.10094400
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x50]
test ecx, ecx
jne 0x1005340d
test eax, eax
je 0x100532f2
mov edx, dword [esp + 0x2c]
cmp edx, eax
jne 0x100532f2
lea eax, [ebx - 0x61a8]
cmp dword [esp + 0x54], eax
jbe 0x100532f2
mov al, byte [esp + 0x20]
test al, al
je 0x10053435
mov ecx, edi
call fcn.10095300
lea ecx, [eax + 0x90]
lea eax, [esp + 0x50]
push eax
call fcn.10094400
mov ecx, edi
call fcn.10095300
lea ecx, [eax + 0x48]
lea eax, [esp + 0x48]
push eax
call fcn.10094400
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x50], eax
jne 0x1005343e
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
add eax, edx
mov ecx, dword [ecx + 4]
cmp eax, ecx
jae 0x10053348
add eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1005343e
mov ebx, dword [esp + 0x48]
cmp ebx, dword [esp + 0x1c]
jbe 0x1005343e
add eax, ebx
cmp eax, dword [esp + 0x38]
jae 0x1005343e
sub ebx, dword [esp + 0x1c]
add ebx, edx
lea eax, [ebx + 0x1c]
cmp eax, ecx
jae 0x1005343e
mov ecx, dword [esp + 0x10]
movzx eax, byte [ebx + ecx + 0x1b]
shl ax, 8
movzx edx, ax
movzx eax, byte [ebx + ecx + 0x1a]
or edx, eax
movzx eax, byte [ebx + ecx + 0x19]
shl ax, 8
movzx eax, ax
shl edx, 0x10
or edx, eax
movzx eax, byte [ebx + ecx + 0x18]
or edx, eax
movzx eax, byte [ebx + ecx + 0x13]
shl ax, 8
movzx ecx, ax
mov eax, dword [esp + 0x10]
movzx eax, byte [ebx + eax + 0x12]
or ecx, eax
mov eax, dword [esp + 0x10]
shl ecx, 0x10
movzx eax, byte [ebx + eax + 0x11]
shl ax, 8
movzx eax, ax
or ecx, eax
mov eax, dword [esp + 0x10]
movzx ebx, byte [ebx + eax + 0x10]
mov eax, 0x51eb851f
or ebx, ecx
imul ecx, esi, 0x32
add ebx, edx
mul ecx
mov eax, dword [esp + 0x34]
shr edx, 5
sub eax, edx
cmp ebx, eax
ja 0x1005343e
mov eax, dword [esp + 0x3c]
cmp ebx, dword [eax + 4]
jae 0x1005343e
add ebx, dword [esp + 0x10]
jmp 0x10053442
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jne 0x100532d6
lea eax, [ebx - 0x61a8]
cmp dword [esp + 0x4c], eax
jbe 0x100532f2
mov al, byte [esp + 0x20]
test al, al
jne 0x100532f2
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x14]
mov ecx, edi
call fcn.10095300
lea ecx, [eax + 0xc]
lea eax, [esp + 0x50]
push eax
call fcn.10094400
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
jbe 0x1005347d
mov eax, dword [esp + 0x54]
add eax, ecx
cmp eax, dword [esp + 0x38]
ja 0x1005347d
mov edi, dword [esp + 0x18]
sub ecx, edx
cmp esi, ecx
jbe 0x10053483
lea esi, [ecx + edi]
jmp 0x10053483
mov edi, dword [esp + 0x18]
add esi, edi
cmp esi, dword [esp + 0x30]
jae 0x10053435
mov edx, dword [esp + 0x10]
add edx, esi
xor esi, esi
mov eax, ebx
cmp ebx, edx
jae 0x1005358a
jmp 0x100534a0
mov cl, byte [eax]
cmp cl, 0x8b
jne 0x100534b7
cmp byte [eax + 1], 0xff
jne 0x100534b7
cmp byte [eax + 2], 0x55
je 0x1005359e
cmp cl, 0x55
jne 0x100534cc
cmp byte [eax + 1], 0x8b
jne 0x100534cc
cmp byte [eax + 2], 0xec
je 0x1005359e
cmp cl, 0xcc
jne 0x100534e5
cmp byte [eax - 1], 0xc3
je 0x1005359e
cmp byte [eax - 3], 0xc2
je 0x1005359e
cmp cl, 0x83
jne 0x100534fa
cmp byte [eax + 1], 0xc4
jne 0x100534fa
cmp byte [eax + 3], 0xc3
je 0x1005359e
cmp cl, 0x50
jb 0x10053514
cmp cl, 0x55
ja 0x10053514
cmp byte [eax + 1], 0xff
jne 0x10053514
cmp byte [eax + 2], 0x15
je 0x1005359e
cmp cl, 0x68
jne 0x10053525
cmp byte [eax + 5], 0xff
jne 0x10053525
cmp byte [eax + 6], 0x15
je 0x1005359e
cmp cl, 0x6a
jne 0x10053536
cmp byte [eax + 2], 0xff
jne 0x10053536
cmp byte [eax + 3], 0x15
je 0x1005359e
cmp cl, 0x64
jne 0x10053559
cmp byte [eax + 1], 0xa1
jne 0x10053559
cmp byte [eax + 2], 0
jne 0x10053559
cmp byte [eax + 3], 0
jne 0x10053559
cmp byte [eax + 4], 0
jne 0x10053559
cmp byte [eax + 5], 0
je 0x1005359e
cmp cl, 0xff
jne 0x1005356a
cmp byte [eax + 1], 0x35
jne 0x1005356a
cmp byte [eax + 6], 0xe8
je 0x1005359e
cmp cl, 0x8b
jne 0x10053581
cmp byte [eax + 1], 0xc0
jne 0x10053581
cmp byte [eax + 2], 0xff
jne 0x10053581
cmp byte [eax + 3], 0x25
je 0x1005359e
inc eax
cmp eax, edx
jb 0x100534a0
inc esi
cmp si, 1
jb 0x10053491
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x20]
push ecx
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x34]
push edi
push dword [esp + 0x4c]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [ebp + 8]
push edx
mov edx, dword [esp + 0x58]
push eax
push dword [esp + 0x70]
push dword [esp + 0x5c]
call fcn.100535f0
add esp, 0x34
test al, al
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret