Function at 0x47ae36
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 + 0x4bb06c], 0
add eax, 8
cmp eax, 0x30
jne 0x47ae48
mov eax, dword [0x4c3b78]
or dword [ebp - 0x14], 0xffffffff
xor ecx, ecx
cmp eax, edi
je 0x47ae7f
mov edx, dword [0x4c3b70]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0x50]
cmp dword [ebp - 0x14], edx
jge 0x47ae7a
mov dword [ebp - 0x14], edx
inc ecx
cmp ecx, eax
jne 0x47ae66
or dword [ebp - 0x24], 0xffffffff
cmp dword [0x4c9374], 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 0x47aea8
cmp byte [0x4c937c], 0
mov byte [ebp - 1], 1
jne 0x47aeac
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 0x47afa9
jmp 0x47aec9
xor edi, edi
cmp dword [esi + 0x64], edi
jne 0x47af81
cmp byte [ebp - 1], 0
jne 0x47af81
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 0x47af7e
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 0x47af0f
mov edi, dword [eax + 0x78]
mov ecx, edi
call fcn.00411ee2
test al, al
je 0x47af69
mov al, byte [edi + 0x3c]
mov byte [ebp - 2], 1
test al, 0x40
je 0x47af29
test al, 0x20
je 0x47af30
mov byte [0x4bb06c], 1
and al, 0x47
je 0x47af3b
mov byte [0x4bb074], 1
test al, al
je 0x47af46
mov byte [0x4bb07c], 1
mov edi, dword [edi + 0x50]
test edi, edi
jle 0x47af69
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 0x47aec7
mov esi, dword [ebp - 8]
cmp byte [ebp - 2], 0
je 0x47af8e
mov byte [0x4bb094], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x47af9d
mov byte [0x4bb084], 1
cmp eax, dword [ebp - 0x20]
je 0x47afa9
mov byte [0x4bb08c], 1
mov eax, dword [0x4c9224]
mov edi, 0x401
test eax, eax
je 0x47afdc
cmp dword [ebp - 0x10], 0
ja 0x47afc7
cmp dword [eax + 0x24], 0
ja 0x47afc7
xor al, al
jmp 0x47afc9
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 + 0x4bb06c], al
setne al
push eax
mov eax, dword [esi + 0x4bb068]
mov eax, dword [eax]
imul eax, eax, 0x14
push dword [eax + 0x4bad2c]
mov eax, dword [ebp - 8]
push edi
push dword [eax + 0x8c]
call ebx
add esi, 8
cmp esi, 0x30
jne 0x47afde
cmp byte [0x4c9335], 0
je 0x47b01d
push 6
pop edi
jmp 0x47b032
mov ecx, dword [ebp - 8]
call fcn.00478e39
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx + ecx + 2]
mov edi, ecx
xor esi, esi
mov eax, dword [esi + 0x4a5f1c]
and eax, edi
neg eax
sbb eax, eax
inc eax
push eax
movzx eax, word [esi + 0x4a5f18]
push eax
mov eax, dword [ebp - 8]
push 0x404
push dword [eax + 0x8c]
call ebx
add esi, 0xc
cmp esi, 0xcc
jb 0x47b034
pop edi
pop esi
pop ebx
leave
ret