Function at 0x47af58
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 + 0x4bb074], 0
add eax, 8
cmp eax, 0x30
jne 0x47af6a
mov eax, dword [0x4c3b58]
or dword [ebp - 0x14], 0xffffffff
xor ecx, ecx
cmp eax, edi
je 0x47afa1
mov edx, dword [0x4c3b50]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0x50]
cmp dword [ebp - 0x14], edx
jge 0x47af9c
mov dword [ebp - 0x14], edx
inc ecx
cmp ecx, eax
jne 0x47af88
or dword [ebp - 0x24], 0xffffffff
cmp dword [0x4c9354], 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 0x47afca
cmp byte [0x4c935c], 0
mov byte [ebp - 1], 1
jne 0x47afce
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 0x47b0cb
jmp 0x47afeb
xor edi, edi
cmp dword [esi + 0x64], edi
jne 0x47b0a3
cmp byte [ebp - 1], 0
jne 0x47b0a3
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 0x47b0a0
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 0x47b031
mov edi, dword [eax + 0x78]
mov ecx, edi
call fcn.00411f38
test al, al
je 0x47b08b
mov al, byte [edi + 0x3c]
mov byte [ebp - 2], 1
test al, 0x40
je 0x47b04b
test al, 0x20
je 0x47b052
mov byte [0x4bb074], 1
and al, 0x47
je 0x47b05d
mov byte [0x4bb07c], 1
test al, al
je 0x47b068
mov byte [0x4bb084], 1
mov edi, dword [edi + 0x50]
test edi, edi
jle 0x47b08b
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 0x47afe9
mov esi, dword [ebp - 8]
cmp byte [ebp - 2], 0
je 0x47b0b0
mov byte [0x4bb09c], 1
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x47b0bf
mov byte [0x4bb08c], 1
cmp eax, dword [ebp - 0x20]
je 0x47b0cb
mov byte [0x4bb094], 1
mov eax, dword [0x4c9204]
mov edi, 0x401
test eax, eax
je 0x47b0fe
cmp dword [ebp - 0x10], 0
ja 0x47b0e9
cmp dword [eax + 0x24], 0
ja 0x47b0e9
xor al, al
jmp 0x47b0eb
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 + 0x4bb074], al
setne al
push eax
mov eax, dword [esi + 0x4bb070]
mov eax, dword [eax]
imul eax, eax, 0x14
push dword [eax + 0x4bad34]
mov eax, dword [ebp - 8]
push edi
push dword [eax + 0x8c]
call ebx
add esi, 8
cmp esi, 0x30
jne 0x47b100
cmp byte [0x4c9315], 0
je 0x47b13f
push 6
pop edi
jmp 0x47b154
mov ecx, dword [ebp - 8]
call fcn.00478f5b
xor ecx, ecx
test al, al
sete cl
lea ecx, [ecx + ecx + 2]
mov edi, ecx
xor esi, esi
mov eax, dword [esi + 0x4a5f44]
and eax, edi
neg eax
sbb eax, eax
inc eax
push eax
movzx eax, word [esi + 0x4a5f40]
push eax
mov eax, dword [ebp - 8]
push 0x404
push dword [eax + 0x8c]
call ebx
add esi, 0xc
cmp esi, 0xcc
jb 0x47b156
pop edi
pop esi
pop ebx
leave
ret