Function at 0x47ad1f
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 8], esi
xor eax, eax
mov byte [eax + 0x4ba074], 0
add eax, 8
cmp eax, 0x30
jne 0x47ad31
mov eax, dword [0x4c2b58]
or dword [ebp - 0x14], 0xffffffff
xor ecx, ecx
cmp eax, edi
je 0x47ad68
mov edx, dword [0x4c2b50]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0x50]
cmp dword [ebp - 0x14], edx
jge 0x47ad63
mov dword [ebp - 0x14], edx
inc ecx
cmp ecx, eax
jne 0x47ad4f
or dword [ebp - 0x24], 0xffffffff
cmp dword [0x4c8334], 0xf
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0xc], edi
jne 0x47ad91
cmp byte [0x4c833c], 0
mov byte [ebp - 1], 1
jne 0x47ad95
mov byte [ebp - 1], 0
mov eax, dword [esi + 0xc0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 2], 0
cmp dword [eax + 0x14], edi
jbe 0x47ae92
jmp 0x47adb2
xor edi, edi
cmp dword [esi + 0x64], edi
jne 0x47ae6a
cmp byte [ebp - 1], 0
jne 0x47ae6a
mov eax, dword [eax + 8]
push 2
push dword [ebp - 0x24]
push 0x100c
push eax
call ebx
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x47ae67
mov esi, dword [ebp - 8]
imul eax, eax, 0xdc
mov ecx, dword [esi + 0x5c]
add eax, ecx
xor edi, edi
cmp dword [eax], edi
jne 0x47adf8
mov edi, dword [eax + 0x78]
mov ecx, edi
call fcn.00411f30
test al, al
je 0x47ae52
mov al, byte [edi + 0x3c]
mov byte [ebp - 2], 1
test al, 0x40
je 0x47ae12
test al, 0x20
je 0x47ae19
mov byte [0x4ba074], 1
and al, 0x47
je 0x47ae24
mov byte [0x4ba07c], 1
test al, al
je 0x47ae2f
mov byte [0x4ba084], 1
mov edi, dword [edi + 0x50]
test edi, edi
jle 0x47ae52
add dword [ebp - 0x18], edi
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax + 1]
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x10]
mov eax, dword [esi + 0xc0]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jb 0x47adb0
mov esi, dword [ebp - 8]
cmp byte [ebp - 2], 0
je 0x47ae77
mov byte [0x4ba09c], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x47ae86
mov byte [0x4ba08c], 1
cmp eax, dword [ebp - 0x20]
je 0x47ae92
mov byte [0x4ba094], 1
mov eax, dword [0x4c81e4]
mov edi, 0x401
test eax, eax
je 0x47aec5
cmp dword [ebp - 0x10], 0
ja 0x47aeb0
cmp dword [eax + 0x24], 0
ja 0x47aeb0
xor al, al
jmp 0x47aeb2
mov al, 1
xor ecx, ecx
test al, al
setne cl
push ecx
push 0x13
push edi
push dword [esi + 0x8c]
call ebx
xor esi, esi
xor eax, eax
cmp byte [esi + 0x4ba074], al
setne al
push eax
mov eax, dword [esi + 0x4ba070]
mov eax, dword [eax]
imul eax, eax, 0x14
push dword [eax + 0x4b9d34]
mov eax, dword [ebp - 8]
push edi
push dword [eax + 0x8c]
call ebx
add esi, 8
cmp esi, 0x30
jne 0x47aec7
cmp byte [0x4c82f5], 0
je 0x47af06
push 6
pop edi
jmp 0x47af1b
mov ecx, dword [ebp - 8]
call fcn.00478d22
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx + ecx + 2]
mov edi, ecx
xor esi, esi
mov eax, dword [esi + 0x4a4eb4]
and eax, edi
neg eax
sbb eax, eax
inc eax
push eax
movzx eax, word [esi + 0x4a4eb0]
push eax
mov eax, dword [ebp - 8]
push 0x404
push dword [eax + 0x8c]
call ebx
add esi, 0xc
cmp esi, 0xcc
jb 0x47af1d
pop edi
pop esi
pop ebx
leave
ret