Function at 0x4bc3f7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], edi
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x80]
lea esi, [edi + 0x18]
mov dword [edi + 0x14], eax
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.0043e31a
lea ebx, [edi + 0x24]
mov ecx, ebx
mov dword [ebp - 0x30], ebx
call fcn.004bcb28
push dword [edi + 0x14]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x44]
push eax
call fcn.0045e360
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x44]
push 0x30
pop ecx
cdq
idiv ecx
lea ecx, [edi - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004bbfc6
push eax
mov ecx, esi
call fcn.0043a9f8
lea ecx, [ebp - 0x50]
call fcn.0042ef97
mov eax, dword [edi + 0x1c]
xor esi, esi
mov ecx, dword [edi + 0x18]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x28], esi
test eax, eax
je 0x4bc531
mov edi, dword [ebp - 0x30]
xor ebx, ebx
mov eax, dword [ebp - 0x44]
add eax, ebx
cmp dword [eax + 0x28], 0
je 0x4bc50f
cmp dword [eax + 0x10], 0
je 0x4bc50f
cmp dword [eax + 0x14], 8
jb 0x4bc4a8
mov eax, dword [eax]
mov edx, esi
shl edx, 2
push eax
mov dword [ebp - 0x34], edx
push dword [edx + ecx]
call fcn.0045a254
pop ecx
pop ecx
test al, al
jne 0x4bc50f
mov eax, dword [ebp - 0x2c]
push ecx
mov esi, esp
mov eax, dword [eax]
add eax, dword [ebp - 0x34]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402f5d
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x44]
add eax, 0x18
add eax, ebx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4bc4eb
mov eax, dword [eax]
push ecx
mov ecx, esp
push eax
call fcn.00402af5
lea ecx, [ebp - 0x4c]
call fcn.0047f0dd
push eax
mov ecx, edi
call fcn.0047ef5e
lea ecx, [ebp - 0x4c]
call fcn.0041d619
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
inc esi
add ebx, 0x30
mov dword [ebp - 0x28], esi
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4bc48f
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x4bc541
xor ebx, ebx
cmp dword [edi + 0x38], ebx
jne 0x4bc563
jmp 0x4bc543
xor ebx, ebx
push ebx
push ebx
lea eax, [edi - 0x20]
push eax
push 0x4bcac1
push ebx
push ebx
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
test eax, eax
je 0x4bc563
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x3f5
push esi
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push esi
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_CheckDlgButton]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
push dword [edi - 0x1c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x24]
push eax
push dword [edi - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x576d78]
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0x44]
call fcn.00443e8f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8